]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
aarch64: Fix DO_CALL block comment
[thirdparty/glibc.git] / ChangeLog
CommitLineData
82aab97c
RH
12014-05-25 Richard Henderson <rth@twiddle.net>
2
c69abcee
RH
3 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4 block comment.
5
82aab97c
RH
6 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7 define if !NOT_IN_libc.
8 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9 define with non-default symbol versions.
10
8820e3ac
RH
112014-05-23 Richard Henderson <rth@twiddle.net>
12
900e445f
RH
13 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14 (vfork, __vfork): Define via compat_symbol.
15
8820e3ac
RH
16 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17 [!HAVE_IFUNC] (vfork_compat): Remove.
18 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19
e59252a5
JM
202014-05-23 Joseph Myers <joseph@codesourcery.com>
21
22 [BZ #16978]
23 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
24 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25 variable.
26
132c7f5f
RH
272014-05-23 Richard Henderson <rth@twiddle.net>
28
bc89e962
RH
29 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33
34 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
37 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
39 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
42 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
46 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
47 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
49 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
50 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
52 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
53 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
54 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
56 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
57 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
58 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
59 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
60 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
61 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
62 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
63 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
64 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
65 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
66 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
67 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
68 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
69 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
70 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
72 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
73 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
74 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
75 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
76 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
77 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
78 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
79 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
80 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
81 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
82 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
83 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
84 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
85 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
86 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
87 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
88 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
89 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
90
e2fa4bc2
RH
91 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
92 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
93 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
94 before exiting on error.
95 (__libc_vfork): New strong alias.
96 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
97 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
98
279b24e2
RH
99 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
100 that was previously under [RESET_PID].
101 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
102
132c7f5f
RH
103 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
104
b72592e7
JM
1052014-05-23 Joseph Myers <joseph@codesourcery.com>
106
107 [BZ #16977]
108 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
109 value when x - 1 is zero.
110 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
111 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
112 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
113 0.0L for an argument of 1.0L.
114 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
115 Likewise.
116 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
117 value when x - 1 is zero.
118 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
119 * sysdeps/i386/fpu/libm-test-ulps: Update.
120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
121
2302d679
RV
1222014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
123
124 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
125 alphasort and versionsort.
126
32999d63
AZ
1272014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
128
129 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
130 macro.
131 [copysignf]: Likewise.
132
019324d0
SP
1332014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
134
135 * crypt/md5-crypt.c: Fix formatting.
136
34fff5c2
KS
1372014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
138
139 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
140 (b64_from_24bit): New function.
141
3d2badac
AZ
1422014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
143
144 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
145 libc_hidden_builtin_def to ifunc.
146 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
147 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
148
f7bb179f 1492014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
150
151 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
152 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
153
4134b50d
JM
1542014-05-21 Joseph Myers <joseph@codesourcery.com>
155
bb7d0337
JM
156 * nscd/Depend (linuxthreads): Remove.
157 (nptl): Add.
158 * resolv/Depend (linuxthreads): Remove.
159 * rt/Depend (linuxthreads): Remove.
160
4134b50d
JM
161 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
162 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
163 $(common-objpfx)elf/.
164 (link-libc-before-gnulib): Likewise.
165 (elfobjdir): Remove variable.
166 * Makefile (install): Use $(elf-objpfx) instead of
167 $(common-objpfx)elf/.
168 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
169 $(elfobjdir)/.
170 (link-libc-deps): Likewise.
171 ($(common-objpfx)libc.so): Likewise.
172 ($(common-objpfx)linkobj/libc.so): Likewise.
173 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
174 instead of $(common-objpfx)elf/.
175 (symbolic-link-list): Likewise.
176 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
177 [$(cross-compiling) = no]: Likewise.
178 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
179 $(elfobjdir)/.
180 (static-gnulib-arch): Likewise.
181 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
182 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
183 $(common-objpfx)elf/.
184
3612eb8f
RH
1852014-05-21 Richard Henderson <rth@redhat.com>
186
a6b3657b
RH
187 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
188 (SINGLE_THREAD_P): Use the correct width load. Fold
189 into the ldr offset.
190
3612eb8f
RH
191 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
192 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
193
175cef41
JM
1942014-05-20 Joseph Myers <joseph@codesourcery.com>
195
196 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
197 (libgcc_s_resume): Use __attribute_used__.
198 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
199 Likewise.
200
e13bccd3
AZ
2012014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202
203 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
204 optimization when used with float constants.
205
7c112a38
AZ
206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
207
ae75a883
AJ
2082014-05-20 Aurelien Jarno <aurelien@aurel32.net>
209
210 [BZ #16915]
211 * locale/nl_langinfo_l.c: Make direct reference to every
212 _nl_current_CATEGORY symbol.
213 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
214 (tests-static): Add tst-langinfo-static.
215 (tests-special): Add tst-langinfo-static.out.
216 ($(objpfx)tst-langinfo.out): Redirect output.
217 ($(objpfx)tst-langinfo-static.out): New.
218 * localedata/tst-langinfo.sh: Send output to stdout.
219 * localedata/tst-langinfo-static.c: New file.
220
4406c41c
AJ
221 [BZ #16965]
222 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
223 when the shift amount is modulo the limb size.
224
4c0a1e63
RH
2252014-05-20 Richard Henderson <rth@redhat.com>
226
de9d8f20
RH
227 [BZ #16967]
228 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
229 Change type of sa_flags from unsigned int to int.
230
4c0a1e63
RH
231 [BZ #16966]
232 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
233
234 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
235
a60339aa
WN
2362014-05-20 Will Newton <will.newton@linaro.org>
237
238 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
239 Test the return value of the system call in the nocancel case.
240
7d05a816
YR
2412014-05-20 Will Newton <will.newton@linaro.org>
242 Yvan Roux <yvan.roux@linaro.org>
243
244 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
245 #include of asm/ptrace.h.
246 (PTRACE_GET_THREAD_AREA): Remove #undef.
247 (PTRACE_GETHBPREGS): Likewise.
248 (PTRACE_SETHBPREGS): Likewise.
249 (struct user_regs_struct): New structure.
250 (struct user_fpsimd_struct): New structure.
251 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
252 #include of asm/ptrace.h and second #include of sys/user.h.
253 (PTRACE_GET_THREAD_AREA): Remove #undef.
254 (PTRACE_GETHBPREGS): Likewise.
255 (PTRACE_SETHBPREGS): Likewise.
256 (ELF_NGREG): Use new struct user_regs_struct.
257 (elf_fpregset_t): Use new struct user_fpsimd_struct.
258
af121e37
AZ
2592014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
260
261 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
262 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
263
834caf06
JM
2642014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
265
266 [BZ #16958]
267 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
268 membar to avoid block loads/stores to overlap previous stores.
269
e184a918
RH
2702014-05-17 Richard Henderson <rth@redhat.com>
271
272 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
273 Create the __##syscall_name##_nocancel entry point.
274 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
275 Remove; let the sysdep-cancel.h code create it.
276
f56c7a6a
DM
2772014-05-17 David S. Miller <davem@davemloft.net>
278
279 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
280 Protect with __USE_GNU.
281 (TIOCSET_TEMPT): Likewise.
282 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
283 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
284 these are already provided in bits/ioctl-types.h
285
f75616b2
RM
2862014-05-16 Roland McGrath <roland@hack.frob.com>
287
3edeca86
RM
288 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
289 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
290
f75616b2
RM
291 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
292 Use wait4 regardless of [__NR_waitpid].
293
deb0f7f6
MR
2942014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
295
296 PR libgcc/60166
297 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
298 (_FP_NANSIGN_Q): Set the quiet bit.
299
79520f4b
JM
3002014-05-16 Joseph Myers <joseph@codesourcery.com>
301
302 * benchtests/Makefile
303 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
304 not $(common-objpfx)math/libm.so.
305 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
306 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
307 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
308 $(common-objpfx)dlfcn/libdl.so.
309 ($(objpfx)tst-audit8): Depend on $(libm), not
310 $(common-objpfx)math/libm.so.
311 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
312 not $(common-objpfx)dlfcn/libdl.so.
313 * math/Makefile
314 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
315 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
316 [$(build-shared) = yes].
317 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
318 $(common-objpfx)nptl/libpthread.so.
319 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
320 $(common-objpfx)math/libm.so$(libm.so-version) or
321 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
322 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
323 $(common-objpfx)dlfcn/libdl.so.
324 * setjmp/Makefile (link-libm): Remove variable.
325 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
326 * stdio-common/Makefile (link-libm): Remove variable.
327 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
328 * stdlib/Makefile (link-libm): Remove variable.
329 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
330 ($(objpfx)tst-strtod-round): Likewise.
331 ($(objpfx)tst-tininess): Likewise.
332 ($(objpfx)tst-strtod-underflow): Likewise.
333 ($(objpfx)tst-strtod6): Likewise.
334 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
335 $(libdl), not $(common-objpfx)nptl/libpthread.so and
336 $(common-objpfx)dlfcn/libdl.so.
337
026b0fe4
AZ
3382014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
339
340 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
341 BSD terminal modes definitions.
342
def4bcb2
RM
3432014-05-16 Roland McGrath <roland@hack.frob.com>
344
fe39b021
RM
345 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
346 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
347
1d1fc46e 348 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
349 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
350 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
351 Don't do #include_next.
352 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
353 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
354 Don't do #include_next.
355 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
356 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
357 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
358 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
359
c72399fb
AM
3602014-05-16 Allan McRae <allan@archlinux.org>
361
d51d659d
AM
362 * po/sv.po: Update Swedish translation from translation project.
363
c72399fb
AM
364 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
365 in sed expression.
366
d0583c40
AJ
3672014-05-16 Aurelien Jarno <aurelien@aurel32.net>
368
369 [BZ #16917]
370 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
371 errno if the TIOCGPTN ioctl fails with an error different than
372 EINVAL.
373 * login/tst-ptsname.c: New file.
374 * login/Makefile (tests): Add tst-ptsname.
375
d16e6ec7
AJ
376 [BZ #16943]
377 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
378 and prlimit64.
379
cf26a0cb
SP
3802014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
381
382 [BZ #16849]
383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
384 herrno to return EAI_AGAIN.
385
5675da1e
RM
3862014-05-14 Roland McGrath <roland@hack.frob.com>
387
a5d87b3d
RM
388 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
389 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
390 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
391 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
392 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
393 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
394 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
395 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
396 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
397 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
398 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
399 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
400 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
401 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
402 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
403 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
404 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
405 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
406 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
407 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
408 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
409 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
410 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
411 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
412 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
413 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
414 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
415 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
416 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
417 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
419 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
423 Moved ...
424 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
426 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
428 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
430 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
432 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
434 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
436 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
438 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
440 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
442 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
444 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
446 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
448 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
450 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
452 Moved ...
453 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
457 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
459 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
461 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
463 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
465 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
467 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
469 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
471 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
473 Moved ...
474 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
477
039890a6
RM
478 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
479 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
480 (libpthread-sysdep_routines): Add elision-related stuff here instead.
481 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
482 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
483 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
484 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
485 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
486 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
487 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
488 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
489 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
490 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
491 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
492 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
493 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
494 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
495 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
496 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
497 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
498 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
499 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
500 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
501 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
502 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
503 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
504 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
505 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
506 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
507 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
508 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
509
65c89320
RM
510 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
511 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
512
348f8e8c
RM
513 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
514 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
515 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
516 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
517 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
518 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
519 Moved ...
520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
521 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
522 Moved ...
523 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
524 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
525 Moved ...
526 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
527 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
528 Moved ...
529 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
530 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
531 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
532 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
533 Moved ...
534 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
535 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
536 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
537 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
538 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
539 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
540 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
541 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
542 Moved ...
543 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
544 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
545 Moved ...
546 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
547 ... here.
548 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
549 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
550 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
551 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
552 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
553 Moved ...
554 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
555 ... here.
556 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
557 Moved ...
558 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
559 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
560 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
561 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
562 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
563 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
564 Moved ...
565 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
566 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
567 Moved ...
568 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
569 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
570 Moved ...
571 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
572 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
573 Moved ...
574 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
575 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
576 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
577 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
578 Moved ...
579 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
580 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
581 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
582 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
583 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
584 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
585 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
586 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
587 Moved ...
588 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
589 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
590 Moved ...
591 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
592 ... here.
593 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
594 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
595 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
596 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
597 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
598 Moved ...
599 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
600 ... here.
601 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
602 Moved ...
603 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
604 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
605 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
606 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
607 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
608 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
609 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
610 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
611 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
612 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
613 Moved ...
614 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
615 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
616 Moved ...
617 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
618 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
619 Moved ...
620 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
621 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
622 Moved ...
623 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
624 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
625 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
626 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
627 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
628 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
629 Moved ...
630 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
631 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
632 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
633 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
634 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
635 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
636 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
637 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
638 Moved ...
639 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
640 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
641 Moved ...
642 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
643 ... here.
644 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
645 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
646 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
647 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
648 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
649 Moved ...
650 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
651 ... here.
652 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
653 Moved ...
654 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
655 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
656 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
657 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
658 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
659 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
660 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
661 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
662 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
663 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
664 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
665
5085af05
RM
666 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
667 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
668
708f0813
RM
669 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
670 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
671
c96067bc
RM
672 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
673 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
674 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
675 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
676 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
677 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
678 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
679 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
680 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
681 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
682 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
683 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
684 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
685 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
686 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
688 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
689 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
690 Moved ...
691 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
692 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
693 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
694 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
695 Moved ...
696 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
697 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
698 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
699 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
700 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
701 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
702 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
703 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
704 Moved ...
705 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
706 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
707 Moved ...
708 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
710 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
711 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
712 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
713 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
714 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
715 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
716 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
717 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
718 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
719 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
720 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
721 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
722 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
723 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
724 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
725
ec136444
RM
726 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
727 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
728 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
729 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
730 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
731
2fbdf533
RM
732 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
733 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
734 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
735 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
736 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
737 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
738 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
739 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
740 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
741 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
742
4c68138b
RM
743 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
744 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
745
4eaae765
RM
746 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
747 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
748 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
749 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
750 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
751 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
752 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
753 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
754 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
755 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
756 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
757 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
758 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
759 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
761 Update #include.
762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
763 Likewise.
764 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
765 Likewise.
766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
767 Likewise.
768 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
769 Likewise.
770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
771 Likewise.
772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
773 Likewise.
774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
775 Likewise.
776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
777 Likewise.
778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
779 Likewise.
4ef6befa
RM
780 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
781 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
782 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
784 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
785 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
787 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
789 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
790 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
791 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
792 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
793 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
794 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 795
941d7dfd
RM
796 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
797 that was previously under [RESET_PID].
798 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
799 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
800 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
801
1b731c35
RM
802 * sysdeps/i386/nptl/Implies: New file.
803 * sysdeps/x86_64/nptl/Implies: New file.
804 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
805 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
806 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
807 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
808
e2787137
RM
809 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
810 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
811 (__libc_vfork): New strong alias.
812 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
813 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
814
815 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
816 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
817 (__libc_vfork): New strong alias.
818 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
819 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
820
5675da1e
RM
821 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
822 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
823 (__libc_vfork): New strong alias.
824 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
825 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
826 * nptl/pt-vfork.c: New file.
827 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
828 (libpthread: GLIBC_2.20): New version set (empty).
829
4f02e2b8
WN
8302014-05-14 Will Newton <will.newton@linaro.org>
831
832 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
833 rather than #if.
834
0bf061d3
JM
8352014-05-14 Joseph Myers <joseph@codesourcery.com>
836
1a84c3d6
JM
837 [BZ #16564]
838 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
839 arguments with exponent 65 or above.
840 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
841 arguments 0x1p113L or above.
842 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
843 to arguments 0x1p107L or above.
844 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
845 positive arguments with exponent 65 or above.
846 * math/auto-libm-test-in: Add more tests of log1p.
847 * math/auto-libm-test-out: Regenerated.
848
01dbacd2
JM
849 [BZ #16928]
850 * math/s_cacos.c (__cacos): Ensure zero real part of result from
851 non-finite arguments is +0.
852 * math/s_cacosf.c (__cacosf): Likewise.
853 * math/s_cacosl.c (__cacosl): Likewise.
854 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
855 * sysdeps/i386/fpu/libm-test-ulps: Update.
856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
857
913d03c8
JM
858 [BZ #16927]
859 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
860 value.
861 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
862 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
863 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
864 for explicit high bit of mantissa when testing for argument equal
865 to 1.
866 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
867 * sysdeps/i386/fpu/libm-test-ulps: Update.
868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
869
0bf061d3
JM
870 [BZ #16516]
871 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
872 (__erf): Scale by 16 instead of 8 in potentially underflowing
873 case. Ensure exception if result actually underflows.
874 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
875 (__erff): Scale by 16 instead of 8 in potentially underflowing
876 case. Ensure exception if result actually underflows.
877 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
878 (efx8): Remove variable.
879 (__erfl): Scale by 16 instead of 8 in potentially underflowing
880 case. Ensure exception if result actually underflows.
881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
882 (efx8): Remove variable.
883 (__erfl): Scale by 16 instead of 8 in potentially underflowing
884 case. Ensure exception if result actually underflows.
885 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
886 (efx8): Remove variable.
887 (__erfl): Scale by 16 instead of 8 in potentially underflowing
888 case. Ensure exception if result actually underflows.
889 * math/auto-libm-test-in: Add more tests of erf.
890 * math/auto-libm-test-out: Regenerated.
891
73ba67cb
AS
8922014-05-14 Andreas Schwab <schwab@suse.de>
893
3d8c8bff
AS
894 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
895 Remove code conditionalized on USE___THREAD.
896
73ba67cb
AS
897 * config.h.in (HAVE_PT_CHOWN): Define as 0.
898 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
899 not definedness.
900
5c521ecd
JM
9012014-05-14 Joseph Myers <joseph@codesourcery.com>
902
5e7698c6
JM
903 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
904 Define unconditionally.
905 (__ASSUME_O_CLOEXEC): Likewise.
906 (__ASSUME_SOCK_CLOEXEC): Likewise.
907 (__ASSUME_IN_NONBLOCK): Likewise.
908 (__ASSUME_PIPE2): Likewise.
909 (__ASSUME_EVENTFD2): Likewise.
910 (__ASSUME_SIGNALFD4): Likewise.
911 (__ASSUME_DUP3): Likewise.
912 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
913 (__ASSUME_DUP3): Do not define.
914 (__ASSUME_EVENTFD2): Likewise.
915 (__ASSUME_IN_NONBLOCK): Likewise.
916 (__ASSUME_O_CLOEXEC): Likewise.
917 (__ASSUME_PIPE2): Likewise.
918 (__ASSUME_SIGNALFD4): Likewise.
919 (__ASSUME_SOCK_CLOEXEC): Likewise.
920 (__ASSUME_UTIMES): Undefine.
921 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
922 (__ASSUME_UTIMES): Do not define.
923 (__ASSUME_O_CLOEXEC): Likewise.
924 (__ASSUME_SOCK_CLOEXEC): Likewise.
925 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
926 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
927 0x020621].
928 (__ASSUME_PIPE2): Likewise.
929 (__ASSUME_EVENTFD2): Likewise.
930 (__ASSUME_SIGNALFD4): Likewise.
931 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
932 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
933 Do not define.
934 (__ASSUME_EVENTFD2): Likewise.
935 (__ASSUME_SIGNALFD4): Likewise.
936 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
937 (__ASSUME_32BITUIDS): Likewise.
938 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
939 (__ASSUME_IPC64): Likewise.
940 (__ASSUME_ST_INO_64_BIT): Likewise.
941 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
942 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
943 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
944 (__ASSUME_UTIMES): Do not define.
945 (__ASSUME_PSELECT): Likewise.
946 (__ASSUME_PPOLL): Likewise.
947 (__ASSUME_O_CLOEXEC): Likewise.
948 (__ASSUME_SOCK_CLOEXEC): Likewise.
949 (__ASSUME_IN_NONBLOCK): Likewise.
950 (__ASSUME_PIPE2): Likewise.
951 (__ASSUME_EVENTFD2): Likewise.
952 (__ASSUME_SIGNALFD4): Likewise.
953 (__ASSUME_DUP3): Likewise.
954 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
955 (__ASSUME_UTIMES): Likewise.
956 (__ASSUME_O_CLOEXEC): Likewise.
957 (__ASSUME_SOCK_CLOEXEC): Likewise.
958 (__ASSUME_IN_NONBLOCK): Likewise.
959 (__ASSUME_PIPE2): Likewise.
960 (__ASSUME_EVENTFD2): Likewise.
961 (__ASSUME_SIGNALFD4): Likewise.
962 (__ASSUME_DUP3): Likewise.
963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
964 (__ASSUME_UTIMES): Likewise.
965 (__ASSUME_O_CLOEXEC): Likewise.
966 (__ASSUME_SOCK_CLOEXEC): Likewise.
967 (__ASSUME_IN_NONBLOCK): Likewise.
968 (__ASSUME_PIPE2): Likewise.
969 (__ASSUME_EVENTFD2): Likewise.
970 (__ASSUME_SIGNALFD4): Likewise.
971 (__ASSUME_DUP3): Likewise.
972 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
973 Likewise.
974 (__ASSUME_UTIMES): Likewise.
975 (__ASSUME_EVENTFD2): Likewise.
976 (__ASSUME_SIGNALFD4): Likewise.
977 * sysdeps/unix/sysv/linux/tile/kernel-features.h
978 (__ASSUME_O_CLOEXEC): Likewise.
979 (__ASSUME_SOCK_CLOEXEC): Likewise.
980 (__ASSUME_IN_NONBLOCK): Likewise.
981 (__ASSUME_PIPE2): Likewise.
982 (__ASSUME_EVENTFD2): Likewise.
983 (__ASSUME_SIGNALFD4): Likewise.
984 (__ASSUME_DUP3): Likewise.
985 (__ASSUME_UTIMES): Undefine.
986
5c521ecd
JM
987 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
988 feclearexcept. Remove symbol versioning code.
989 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
990 symbol versioning code.
991 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
992 symbol versioning code.
993 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
994 feupdateenv. Remove symbol versioning code.
995 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
996 fegetexceptflag. Remove symbol versioning code.
997 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
998 fesetexceptflag. Remove symbol versioning code.
999 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1000 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1001 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1002 (__posix_fadvise64_l32): Remove prototype.
1003 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1004 code.
1005
5da9dfad
RM
10062014-05-13 Roland McGrath <roland@hack.frob.com>
1007
1008 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1009 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1010 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1011 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1012
893b4f37
SK
10132014-05-13 Sami Kerola <kerolasa@iki.fi>
1014
1015 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1016 current working directory
1017
e0db6517
RM
10182014-05-13 Roland McGrath <roland@hack.frob.com>
1019
58aa195d
RM
1020 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1021 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1022 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1023 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1024 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1025 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1026 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1027 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1029 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1031 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1032 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1033 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1034 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1035 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1037 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1038 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1039 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1040 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1041 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1043 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1045 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1047 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1048 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1049 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1050 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1051 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1053 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1054 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1055 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1056 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1057 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1058 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1059 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1060 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1061 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1062
8c6d01f0
RM
1063 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1064 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1065
1066 * sysdeps/unix/sysv/linux/arm/Makefile
1067 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1068 Add rt-aeabi_unwind_cpp_pr1.
1069 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1070 Add nptl-aeabi_unwind_cpp_pr1.
1071 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1072 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1073 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1074 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1075 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1076 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1077
1078 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1079 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1080 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1081 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1082
bba6da4e
RM
1083 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1084 Deconditionalize the code that was previously under [RESET_PID].
1085 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1086
e0db6517
RM
1087 * sysdeps/generic/exit-thread.h: New file.
1088 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1089 * include/unistd.h (__exit_thread): Remove declaration.
1090 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1091 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1092 * csu/libc-start.c: Include <exit-thread.h>.
1093 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1094 * nptl/pthread_create.c: Include <exit-thread.h>.
1095 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1096 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1097 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1098 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1099 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1100 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1101 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1102 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1103 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1104 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1105 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1106 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1107 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1108 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1109 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1110 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1111 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1112
01eb16fd
AS
11132014-05-13 Andreas Schwab <schwab@suse.de>
1114
1115 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1116
637461d9
JM
11172014-05-12 Joseph Myers <joseph@codesourcery.com>
1118
1119 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1120 (__ASSUME_UTIMES): Do not condition on kernel version.
1121 (__ASSUME_PSELECT): Define unconditionally.
1122 (__ASSUME_PPOLL): Likewise.
1123 (__ASSUME_ATFCTS): Likewise.
1124 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1125 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1126 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1127 (__ASSUME_UTIMENSAT): Define unconditionally.
1128 (__ASSUME_PRIVATE_FUTEX): Likewise.
1129 (__ASSUME_FALLOCATE): Likewise.
1130 (__ASSUME_O_CLOEXEC): Likewise.
1131 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1132 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1133 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1134 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1135 (__ASSUME_IN_NONBLOCK): Likewise.
1136 (__ASSUME_PIPE2): Likewise.
1137 (__ASSUME_EVENTFD2): Likewise.
1138 (__ASSUME_SIGNALFD4): Likewise.
1139 (__ASSUME_DUP3): Likewise.
1140 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1141 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1142 (__ASSUME_AT_RANDOM): Likewise.
1143 (__ASSUME_PREADV): Likewise.
1144 (__ASSUME_PWRITEV): Likewise.
1145 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1146 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1147 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1149 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1150 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1151 (__ASSUME_O_CLOEXEC): Define unconditionally.
1152 (__ASSUME_PSELECT): Do not undefine conditionally.
1153 (__ASSUME_PPOLL): Likewise.
1154 (__ASSUME_ATFCTS): Likewise.
1155 (__ASSUME_SET_ROBUST_LIST): Likewise.
1156 (__ASSUME_UTIMENSAT): Likewise.
1157 (__ASSUME_FDATASYNC): Define unconditionally.
1158 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1159 (__ASSUME_SIGFRAME_V2): Likewise.
1160 )__ASSUME_EVENTFD2): Likewise.
1161 (__ASSUME_SIGNALFD4): Likewise.
1162 (__ASSUME_PSELECT): Do not undefine conditionally.
1163 (__ASSUME_PPOLL): Likewise.
1164 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1165 (__ASSUME_PSELECT): Define unconditionally.
1166 (__ASSUME_PPOLL): Likewise.
1167 (__ASSUME_O_CLOEXEC): Likewise.
1168 (__ASSUME_SOCK_CLOEXEC): Likewise.
1169 (__ASSUME_IN_NONBLOCK): Likewise.
1170 (__ASSUME_PIPE2): Likewise.
1171 (__ASSUME_EVENTFD2): Likewise.
1172 (__ASSUME_SIGNALFD4): Likewise.
1173 (__ASSUME_DUP3): Likewise.
1174 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1175 (__ASSUME_O_CLOEXEC): Likewise.
1176 (__ASSUME_SOCK_CLOEXEC): Likewise.
1177 (__ASSUME_IN_NONBLOCK): Likewise.
1178 (__ASSUME_PIPE2): Likewise.
1179 (__ASSUME_EVENTFD2): Likewise.
1180 (__ASSUME_SIGNALFD4): Likewise.
1181 (__ASSUME_DUP3): Likewise.
1182 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1183 (__ASSUME_EVENTFD2): Likewise.
1184 (__ASSUME_SIGNALFD4): Likewise.
1185 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1186
315eb1d8
AS
11872014-05-12 Andreas Schwab <schwab@suse.de>
1188
1189 [BZ #16932]
1190 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1191 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1192 than maximum RPC packet size.
1193 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1194 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1195 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1196 (_nss_nis_getservbyport_r): Likewise.
1197
91df99f7
WN
11982014-05-12 Will Newton <will.newton@linaro.org>
1199
1200 * malloc/Makefile (tests): Add tst-mallopt.
1201 * malloc/tst-mallopt.c: New file.
1202
0a982a29
RM
12032014-05-09 Roland McGrath <roland@hack.frob.com>
1204
1205 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1206 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1207
0ded08a5
AZ
12082014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209
1210 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1211 (tst-tlsmod6.so): Likewise.
1212
55d4d550
RM
12132014-05-09 Roland McGrath <roland@hack.frob.com>
1214
1215 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1216
77d08aca
JM
12172014-05-09 Joseph Myers <joseph@codesourcery.com>
1218
1219 [BZ #16064]
1220 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1221 and <dl-procinfo.h>.
1222 (__fegetenv): Save SSE state in envp->__eip if supported.
1223 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1224 envp->__eip if supported.
1225 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1226 and <dl-procinfo.h>.
1227 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1228 __data_offset and __data_selector in environment to 0. Set SSE
1229 state if supported.
1230 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1231 test-fenv-sse.
1232 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1233 -mfpmath=sse.
1234 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1235
28162f4d
WN
12362014-05-09 Will Newton <will.newton@linaro.org>
1237
1238 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1239 and libc_relro_required for ARM.
1240 * sysdeps/arm/preconfigure: Regenerate.
1241
5a414ff7
DV
12422014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1243 Stefan Liebler <stli@linux.vnet.ibm.com>
1244
1245 * config.make.in (enable-lock-elision): New Makefile variable.
1246 * configure.ac: Likewise.
1247 * configure: Regenerate.
1248 * sysdeps/s390/configure.ac:
1249 Add check for gcc transactions support.
1250 * sysdeps/s390/configure: Regenerate.
1251 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1252 Build elision files if enabled.
1253 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1254 Add lock elision support for s390.
1255 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1256 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1257 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1258 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1259 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1260 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1261 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1262 Likewise.
1263 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1264 Likewise.
1265 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1266 Likewise.
1267 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1268 Likewise.
1269 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1270 (__lll_timedlock_elision, __lll_lock_elision)
1271 (__lll_unlock_elision, __lll_trylock_elision)
1272 (lll_timedlock_elision, lll_lock_elision)
1273 (lll_unlock_elision, lll_trylock_elision): Add.
1274 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1275 (pthread_mutex_t): Add lock elision support for s390.
1276
1a2f40e5
W
12772014-05-14 Wilco <wdijkstr@arm.com>
1278
1279 * sysdeps/arm/fclrexcpt.c: Cleanup.
1280 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1281 * sysdeps/arm/feenablxcpt.c: Cleanup.
1282 * sysdeps/arm/fegetenv.c: Cleanup.
1283 * sysdeps/arm/fegetexcept.c: Cleanup.
1284 * sysdeps/arm/fegetround.c: Cleanup.
1285 * sysdeps/arm/feholdexcpt.c: Cleanup.
1286 * sysdeps/arm/fesetenv.c: Cleanup.
1287 * sysdeps/arm/fesetround.c: Cleanup.
1288 * sysdeps/arm/feupdateenv.c: Cleanup.
1289 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1290 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1291 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1292 * sysdeps/arm/ftestexcept.c: Cleanup.
1293 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1294 * sysdeps/arm/setfpucw.c: Cleanup.
1295
f63c86fe
WN
12962014-05-09 Will Newton <will.newton@linaro.org>
1297
1298 * sysdeps/arm/armv7/strcmp.S: New file.
1299 * NEWS: Mention addition of ARMv7 optimized strcmp.
1300
7a1a51b5
RM
13012014-05-08 Roland McGrath <roland@hack.frob.com>
1302
95afbbe5
RM
1303 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1304 look for %.ac rather than %.in.
1305
1306 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1307 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1308 * sysdeps/mach/hurd/configure: Regenerated.
1309 * sysdeps/unix/sysv/linux/configure: Regenerated.
1310
7a1a51b5
RM
1311 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1312
5057ad3b
SE
13132014-05-07 Steve Ellcey <sellcey@mips.com>
1314
1315 [BZ# 16922]
1316 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1317 (LONG_SUB): Ditto.
1318 (PTR_SUB): Ditto.
1319
8dc97517
AS
13202014-05-07 Andreas Schwab <schwab@suse.de>
1321
1322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1323 when skipping over non-matching result from nscd.
1324
ce0c5b8f
OB
13252014-05-07 Ondřej Bílka <neleai@seznam.cz>
1326
1327 [BZ #16876]
1328 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1329
a1189263
OB
1330 [BZ #16877]
1331 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1332 nscd security class.
ce0c5b8f 1333
0f58d252
RM
13342014-05-06 Roland McGrath <roland@hack.frob.com>
1335
1336 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1337 * sysdeps/arm/unwind.h: ... here.
1338
83df9ad0
AJ
13392014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1340
ce0c5b8f
OB
1341 [BZ# 16916]
1342 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1343 Define.
83df9ad0 1344
f360f94a
VR
13452014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1346
1347 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1348 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1349 multiarch strncpy for PPC64.
1350 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1351 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1353 multiarch optimizations.
1354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1355 (__libc_ifunc_impl_list): Likewise.
1356 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1357 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1358 multiarch stpncpy for PPC64.
1359 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1360 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1361
978a41c3
AS
13622014-05-06 Andreas Schwab <schwab@suse.de>
1363
1364 [BZ #16912]
1365 * gmon/mcount.c (_MCOUNT_DECL): Use
1366 atomic_compare_and_exchange_bool_acq instead of
1367 catomic_compare_and_exchange_bool_acq.
1368
eb1ed03d
RM
13692014-05-05 Roland McGrath <roland@hack.frob.com>
1370
fe658845
RM
1371 * elf/Makefile (others, install-bin): Remove pldd.
1372 (pldd-modules): Variable removed.
1373 ($(objpfx)pldd): Target removed.
1374 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1375 (others, install-bin): Append pldd here.
1376 ($(objpfx)pldd): New target.
1377
eb1ed03d
RM
1378 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1379 to 0, so the first #if test emitted later doesn't see it undefined.
1380 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1381 * sysdeps/gnu/errlist.c: Regenerated.
1382
19c4bec0
AZ
13832014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1384
1385 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1386 [libc_hidden_builtin_def]: Define to empty value.
1387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1388 [libc_hidden_builtin_def]: Likewise.
1389 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1390 [libc_hidden_builtin_def]: Likewise.
1391 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1392 [libc_hidden_builtin_def]: Likewise.
1393 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1394 __redirect_memcpy and define ifunc as default hidden symbol.
1395 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1396 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1397
7776e669
AC
13982014-05-04 Adam Conrad <adconrad@0c3.net>
1399
1400 * locale/iso-4217.def: Reintroduce XDR currency.
1401
d69aeb12
AM
14022014-05-04 Allan McRae <allan@archlinux.org>
1403
1404 * po/eo.po: Update Esperanto translation from translation project.
1405
8f1df5cf
CD
14062014-05-02 Carlos O'Donell <carlos@redhat.com>
1407
1408 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1409 and FEATURE_INDEX_MAX to 1.
1410 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1411
13e402e7
SE
14122014-05-01 Steve Ellcey <sellcey@mips.com>
1413
1414 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1415 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1416 * iconvdata/big5.c (ONE_DIRECTION): Define.
1417 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1418 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1419 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1420 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1421 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1422 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1423 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1424 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1425 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1426 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1427 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1428 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1429 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1430 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1431 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1432 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1433 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1434 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1435 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1436 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1437 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1438 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1439 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1440 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1441 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1442 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1443 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1444 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1445 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1446 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1447 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1448 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1449 * iconvdata/johab.c (ONE_DIRECTION): Define.
1450 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1451 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1452 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1453 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1454 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1455 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1456 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1457 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1458 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1459 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1460
c727f032
RM
14612014-05-01 Roland McGrath <roland@hack.frob.com>
1462
8f2f08d0
RM
1463 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1464 (_IO_JUMPS_OFFSET): Define to 0.
1465
c727f032
RM
1466 * nptl/sysdeps/pthread/bits/libc-lock.h
1467 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1468 (__libc_lock_define_initialized_recursive): Always define using
1469 initializer. Modern compilers treat uninitialized (implicit zero) and
1470 explicit zero initializers the same (i.e. put the datum in bss).
1471
a849e800
AS
14722014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1473
1474 * nscd/nscd-client.h: Include <string.h>.
1475
5331255b
DM
14762014-05-01 David S. Miller <davem@davemloft.net>
1477
1478 [BZ #16885]
1479 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1480 multiple zero bytes exist at the end of a string.
1481 Reported by Aurelien Jarno <aurelien@aurel32.net>
1482
1483 * string/test-strcmp.c (check): Add explicit test for situations where
1484 there are multiple zero bytes after the first.
1485
4fdfe821
AS
14862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1487
1488 [BZ #16890]
1489 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1490 when compiling wprintf.
1491 * stdio-common/tstdiomisc.c (t3): New function.
1492 (main): Call it.
1493
0cdddc25
SE
14942014-05-01 Steve Ellcey <sellcey@mips.com>
1495
1496 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1497 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1498 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1499 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1500
6426d77e
SE
15012014-05-01 Steve Ellcey <sellcey@mips.com>
1502
1503 * stdlib/longlong.h: Updated from GCC.
1504
6d96f5e4
WN
15052014-05-01 Will Newton <will.newton@linaro.org>
1506 Bernard Ogden <bernie.ogden@linaro.org>
1507
7470db0c
WN
1508 * NEWS: Update fixed bug list.
1509
6d96f5e4
WN
1510 [BZ #15119]
1511 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1512
211d653c
DM
15132014-04-30 David S. Miller <davem@davemloft.net>
1514
4fa262fa
DM
1515 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1516 (libc_feholdexcept_setround_sparc_ctx): New function.
1517 (libc_fesetenv_sparc_ctx): Likewise.
1518 (libc_feupdateenv_sparc_ctx): Likewise.
1519 (libc_feholdsetround_sparc_ctx): Likewise.
1520 (libc_feholdexcept_setround_ctx): Define.
1521 (libc_feholdexcept_setroundf_ctx): Likewise.
1522 (libc_feholdexcept_setroundl_ctx): Likewise.
1523 (libc_fesetenv_ctx): Likewise.
1524 (libc_fesetenvf_ctx): Likewise.
1525 (libc_fesetenvl_ctx): Likewise.
1526 (libc_feupdateenv_ctx): Likewise.
1527 (libc_feupdateenvf_ctx): Likewise.
1528 (libc_feupdateenvl_ctx): Likewise.
1529 (libc_feresetround_ctx): Likewise.
1530 (libc_feresetroundf_ctx): Likewise.
1531 (libc_feresetroundl_ctx): Likewise.
1532 (libc_feholdsetround_ctx): Likewise.
1533 (libc_feholdsetroundf_ctx): Likewise.
1534 (libc_feholdsetroundl_ctx): Likewise.
1535
1d3d93ef
DM
1536 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1537 with __USE_GNU instead of XOPEN cpp guards.
1538
8aa583c3
DM
1539 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1540 0.
1541
211d653c
DM
1542 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1543 with XOPEN cpp guards.
1544
60c8f1f6
JB
15452014-04-30 Julian Brown <julian@codesourcery.com>
1546
1547 [BZ #16888]
1548 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1549 handling.
1550
9a461d46
JM
15512014-04-30 Joseph Myers <joseph@codesourcery.com>
1552
d0f5b3f8
JM
1553 [BZ #9894]
1554 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1555 Change to 2.6.32.
1556 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1557 * sysdeps/unix/sysv/linux/configure: Regenerated.
1558 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1559 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1560 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1561 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1562 * README: Update reference to required Linux kernel version.
1563 * manual/install.texi (Linux): Update reference to required Linux
1564 kernel headers version.
1565 * INSTALL: Regenerated.
1566
9a461d46
JM
1567 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1568 header inclusion.
1569 [POSIX] (limits.h): Likewise.
1570 [POSIX] (math.h): Likewise.
1571 [POSIX] (sys/wait.h): Likewise.
1572 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1573 function.
1574 [POSIX] (stddef.h): Do not allow header inclusion.
1575
1775babf
AZ
15762014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1577
57f41c40 1578 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1579
8f630cca
YY
15802014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1581
1582 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1583 Return immediately after lll_futex_wake.
1584
1cdeb237
SP
15852014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1586
bc8f194c
SP
1587 [BZ #16791]
1588 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1589 structure.
1590 (datahead_init_pos): Call datahead_init_common early.
1591 (datahead_init_neg): Likewise.
1592
1cdeb237
SP
1593 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1594 datahead_init_neg): New functions.
1595 * nscd/aicache.c (addhstaiX): Use them.
1596 * nscd/grpcache.c (cache_addgr): Likewise.
1597 * nscd/hstcache.c (cache_addhst): Likewise.
1598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1599 * nscd/netgroupcache.c (do_notfound): Likewise.
1600 (addgetnetgrentX): Likewise.
1601 (addinnetgrX): Likewise.
1602 * nscd/pwdcache.c (cache_addpw): Likewise.
1603 * nscd/servicescache.c (cache_addserv): Likewise.
1604
16b293a7
SP
16052014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1606 Atsushi Onoe <atsushi@onoe.org>
1607
1608 [BZ #14308]
1609 [BZ #12994]
1610 [BZ #13651]
1611 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1612 one response is valid.
1613 * resolv/res_send.c (send_dg): Check for validity of other
1614 response if the current response is a referral.
1615
a28a9b94
SE
16162014-04-29 Steve Ellcey <sellcey@mips.com>
1617
1618 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1619
2ca180e9
SL
16202014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1621
1622 [BZ #16823]
1623 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1624 Always divide by positive zero when computing -Inf result.
1625 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1626 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1627
18f2945a
AZ
16282014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629
1630 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1631 FPSCR if value do not change.
1632 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1633 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1634 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1635 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1636 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1637 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1638 function.
1639
5abebba4
CD
16402014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1641
1642 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1643 * sysdeps/unix/sysv/linux/hppa: Move directory from
1644 ports/systeps/unix/sysv/linux/hppa.
1645 * README: Update listing for hppa-*-linux-gnu.
1646
f7ed60c2
OB
16472014-04-28 Ondřej Bílka <neleai@seznam.cz>
1648
fff763a5
OB
1649 [BZ #16754]
1650 * manual/stdio.texi (Hook functions): Fix types of stream hook
1651 functions.
f7ed60c2
OB
1652 [BZ #16854]
1653 * socket/sys/socket.h: Fix typo in comment.
1654
df639d73
WD
16552014-04-28 Wilco <wdijkstr@arm.com>
1656
f7ed60c2 1657 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1658 * sysdeps/arm/math_private.h: New file.
1659 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1660
48332d82
L
16612014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1662
1663 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1664 with __int128_t.
1665 (La_x86_64_retval): Likewise.
1666
e5e0d9a4
IB
16672014-04-24 Ian Bolton <ian.bolton@arm.com>
1668
1669 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1670 fpsr if value didn't change.
1671 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1672 to fpcr if value didn't change.
1673 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1674 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1675 fpsr or fpcr if value didn't change.
1676 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1677 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1678 fpcr if value didn't change.
1679 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1680 to fpsr if value didn't change.
1681
bacc75f7
SP
16822014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1683
1684 * nptl/tst-sem3.c: Use test-skeleton.c
1685 (main): Rename to do_test. Use return instead of
1686 exit.
1687 * nptl/tst-sem4.c: Use test-skeleton.c
1688 (main): Rename to do_test.
1689
a059d359
DM
16902014-04-22 David S. Miller <davem@davemloft.net>
1691
1692 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1693 (struct sigaction): New struct member __glibc_reserved0, change
1694 type of sa_flags to int.
1695
ea6c92f3
YZ
16962014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1697
1698 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1699 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1700
766c4a36
SP
17012014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1702
1703 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1704 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1705
140cc7ab
VK
17062014-04-22 Will Newton <will.newton@linaro.org>
1707 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1708
1709 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1710 (__longjmp): Add longjmp and longjmp_target SystemTap
1711 probes.
1712 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1713 (__sigsetjmp): Add setjmp SystemTap probe.
1714
c54e5cf7
CD
17152014-04-17 Carlos O'Donell <carlos@redhat.com>
1716
1717 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1718 match manual order.
1719
75ffb047
AZ
17202014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1721
1722 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1723
2cd925f7
AZ
1724 * sysdeps/powerpc/fpu/fenv_private.h
1725 (libc_feholdexcept_setroundl_ctx): Define to
1726 libc_feholdexcept_setround_ppc_ctx.
1727 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1728 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1729 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1730 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1731
39e6cd8d
IB
17322014-04-17 Ian Bolton <ian.bolton@arm.com>
1733
1734 * sysdeps/aarch64/math-tests.h: New file.
1735
f9281df9
SY
17362014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1737
1738 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1739 New.
1740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1741 Check and set bit_AVX2_Usable.
1742 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1743 macro.
1744 (bit_AVX2): Likewise.
1745 (index_AVX2_Usable): Likewise.
1746 (CPUID_AVX2): Likewise.
1747 (HAS_AVX2): Likewise.
1748
37d35007
WN
17492014-04-17 Will Newton <will.newton@linaro.org>
1750
7c677662
WN
1751 * manual/setjmp.texi (System V contexts): Add note that
1752 calling setcontext on a context created by a call to a
1753 signal handler is undefined. Update text to note that
1754 setcontext from a signal handler is possible but not
1755 recommended.
1756
37d35007 1757 [BZ #16629]
e04a4e9d
WN
1758 * stdlib/tst-setcontext.c: Include signal.h.
1759 (main): Check that the signal stack before and
1760 after swapcontext is the same.
1761
37d35007
WN
1762 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1763 Re-implement to restore registers in user code and avoid
1764 rt_sigreturn system call.
1765
423a7160
W
17662014-04-17 Wilco <wdijkstr@arm.com>
1767
1768 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1769 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1770 * math/test-fenv.c: Skip exception trap tests on targets which only
1771 support non-stop mode.
1772
bc93ab29
IB
17732014-04-17 Ian Bolton <ian.bolton@arm.com>
1774 Wilco Dijkstra <wilco.dijkstra@arm.com>
1775
1776 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1777 (libc_feholdsetround_aarch64_ctx)
1778 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1779 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1780 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1781 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1782 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1783 (libc_feresetround_noexl_ctx): Define.
1784
95fc5fa3
RH
17852014-04-16 Richard Henderson <rth@redhat.com>
1786
ddb04724
RH
1787 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1788
d77c0899
RH
1789 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1790 unwind tables.
1791
a3df56fc
RH
1792 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1793 const from the non-libc, non-ldso copy.
1794
95fc5fa3
RH
1795 * sysdeps/alpha/libm-test-ulps: Regenerate.
1796
7e0b6763
IB
17972014-04-16 Ian Bolton <ian.bolton@arm.com>
1798 Wilco Dijkstra <wilco.dijkstra@arm.com>
1799
1800 * sysdeps/aarch64/fpu/math_private.h: New file.
1801
a9ea2e0c
MS
18022014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1803
1804 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1805
ea8ba7cd
IZ
18062014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1807
1808 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1809 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1811 Intel MPX bound registers before _dl_profile_fixup.
1812 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1813 registers after _dl_profile_fixup. Save and restore bound
1814 registers bnd0/bnd1 when calling _dl_call_pltexit.
1815 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1816 (LR_BND_OFFSET): Likewise.
1817 (LRV_BND0_OFFSET): Likewise.
1818 (LRV_BND1_OFFSET): Likewise.
1819
9f2a4fbc
ST
18202014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1821
1822 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1823 to...
1824 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1825 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1826 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1827 fields.
9f2a4fbc 1828
fd15a59b
ST
18292014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1830
1831 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1832
f19dfa0a
SL
18332014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1834
1835 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1836
4fa8bc3b
SL
18372014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1838
1839 [BZ #14770]
1840 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1841 * sysdeps/s390/configure: Regenerate.
1842
8ea587db
SL
1843 [BZ #16824]
1844 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1845 Set round-to-nearest internally to reduce error accumulation.
1846
aa5f0ff1
AM
18472014-04-16 Alan Modra <amodra@gmail.com>
1848
1849 [BZ #16740]
1850 [BZ #16619]
1851 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1852 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1853 * NEWS: Update fixed bug list.
aa5f0ff1 1854
bb9c256f
SP
18552014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1856
1857 * benchtests/Makefile: Depend on libraries in build directory.
1858 (bench-math): Separate out math tests.
1859 (bench-pthread): Separate out pthread tests.
1860 (bench): Include math and pthread tests.
1861
f737dfd0
CD
18622014-04-14 Carlos O'Donell <carlos@redhat.com>
1863
1864 [BZ #16831]
1865 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1866 _dl_debug_initialize.
1867
0699f766
CD
1868 * configure.ac: Remove SELinux header check.
1869 * configure: Regenerate.
1870 * nscd/selinux.c (perms): Array of const char* to permission names.
1871 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1872 default policy. Call string_to_security_class and string_to_av_perm to
1873 translate strings. Enforce default policy and call avs_has_perm with
1874 results of translated strings.
1875
809bd45f
DM
18762014-04-13 David S. Miller <davem@davemloft.net>
1877
1878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1879
89e691f2
AM
18802014-04-12 Allan McRae <allan@archlinux.org>
1881
1882 [BZ #16838]
1883 * manual/string.texi (Collation Functions): Fix qsort argument
1884 order in example.
1885 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1886
9c9daaeb
CM
18872014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1888
1889 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1890 Make the test a no-op if there are no exceptions defined.
1891
95561fb9
PP
18922014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1893
fe8d072c 1894 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1895 enable-hardcoded-path-in-tests
1896
970c602a
WN
18972014-04-11 Will Newton <will.newton@linaro.org>
1898
1899 * benchtests/Makefile (extra-objs): Add json-lib.o.
1900 (bench-func): Tidy up JSON output.
1901 * benchtests/bench-skeleton.c: Include json-lib.h.
1902 (main): Use JSON library functions to do output of
1903 benchmark results.
1904 * benchtests/bench-timing-type.c (main): Output the
1905 timing type simply, leaving formatting to the user.
1906 * benchtests/json-lib.c: New file.
1907 * benchtests/json-lib.h: Likewise.
1908
36875b06
TR
19092014-04-11 Torvald Riegel <triegel@redhat.com>
1910
1911 [BZ #15215]
1912 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1913 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1914 memory barriers. Add comments.
1915 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1916 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1917 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1918 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1919 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1920 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1921
579db35a
SL
19222014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1923
1924 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1925 * sysdeps/s390/s390-64/configure.ac: ... this ...
1926 * sysdeps/s390/configure.ac: ... to here.
1927 * sysdeps/s390/s390-32/configure: Delete file.
1928 * sysdeps/s390/s390-64/configure: Delete file.
1929 * sysdeps/s390/configure: Regenerate.
1930
c12e9f37
JAPH
19312014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1932
1933 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1934
439bda32
WN
19352014-04-11 Will Newton <will.newton@linaro.org>
1936
1937 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1938 to zero if it is not defined elsewhere. (mtrim): Test
1939 the value of MALLOC_DEBUG with #if rather than #ifdef.
1940
6a5d6ea1
TR
19412014-04-10 Torvald Riegel <triegel@redhat.com>
1942
1943 * benchtests/pthread_once-inputs: New file.
1944 * benchtests/pthread_once-source.c: New file.
1945 * benchtests/README: Update documentation.
1946
a4c75cfd
IZ
19472014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1948 H.J. Lu <hongjiu.lu@intel.com>
1949
1950 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1951 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1952 * sysdeps/x86_64/configure: Regenerated.
1953 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1954 macro.
1955 (REGISTER_SAVE_RAX): Likewise.
1956 (REGISTER_SAVE_RCX): Likewise.
1957 (REGISTER_SAVE_RDX): Likewise.
1958 (REGISTER_SAVE_RSI): Likewise.
1959 (REGISTER_SAVE_RDI): Likewise.
1960 (REGISTER_SAVE_R8): Likewise.
1961 (REGISTER_SAVE_R9): Likewise.
1962 (REGISTER_SAVE_BND0): Likewise.
1963 (REGISTER_SAVE_BND1): Likewise.
1964 (REGISTER_SAVE_BND2): Likewise.
1965 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1966 bound registers when calling _dl_fixup.
1967
27822ce6
AZ
19682014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1969
1970 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1971 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1972 of its definition.
27822ce6
AZ
1973 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1974 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1975 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1976 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1977 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1978 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1979 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1980
a88ddc90
PTB
19812014-04-09 Peter Brett <peter@peter-b.co.uk>
1982
1983 [BZ #15514]
1984 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1985 pathconf(_PC_NAME_MAX).
1986
01f8eac2
AZ
19872014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988
1989 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1990 Remove macro usage.
1991 (__PTHREAD_SPINS): Move definition to ...
1992 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1993 (__PTHREAD_SPINS): ... here.
1994 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1995 (__PTHREAD_SPIN): Likewise.
1996 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1997 (__PTHREAD_SPIN): Likewise.
1998 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1999 (__PTHREAD_SPIN): Likewise.
2000 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2001 (__PTHREAD_SPIN): Likewise.
2002 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2003 (__PTHREAD_SPIN): Likewise.
2004 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2005 (__PTHREAD_SPIN): Likewise.
2006 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2007 (__PTHREAD_SPIN): Likewise.
2008 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2009 (__PTHREAD_SPIN): Likewise.
2010 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2011 (__PTHREAD_SPIN): Likewise.
2012 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2013 (__PTHREAD_SPIN): Likewise.
2014 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2015 (__PTHREAD_SPIN): Likewise.
2016 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2017 (__PTHREAD_SPIN): Likewise.
2018
de21c33c
AZ
2019 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2020 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2021 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2022 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2023 imply folder.
2024 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2025 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2026 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2027 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2028 correct imply path.
2029 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2030 strlen symbol for non multi-arch builds.
2031 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2032 missing hidden_def and weak_alias.
2033
862c472e
CD
20342014-04-08 Carlos O'Donell <carlos@redhat.com>
2035
2036 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2037
8667f90e
WN
20382014-04-07 Will Newton <will.newton@linaro.org>
2039
2040 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2041 and contents. [!_LIBC] Remove #ifndef and contents.
2042 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2043 * string/memccpy.c (__memccpy): Use ANSI prototype.
2044 * string/memfrob.c (memfrob): Likewise.
2045 * string/strcoll.c (STRCOLL): Likewise.
2046 * string/strlen.c (strlen): Likewise.
2047 * string/strtok.c (STRTOK): Likewise.
2048 * string/strcat.c: Remove unused #include of memcopy.h.
2049 (strcat): Use ANSI prototype.
2050 * string/strchr.c: Remove unused #include of memcopy.h.
2051 (strchr): Use ANSI prototype.
2052 * string/strcmp.c: Remove unused #include of memcopy.h.
2053 (strcmp): Use ANSI prototype.
2054 * string/strcpy.c: Remove unused #include of memcopy.h.
2055 (strcpy): Use ANSI prototype.
2056
7ffa9423
AZ
20572014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058
2059 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2060 * config.make.in (config-extra-cppflags): Set it from
2061 libc_extra_cppflags.
2062 * configure.ac (libc_extra_cflags): Make it accumulate over
2063 configure fragments.
2064 (libc_extra_cppflags): New flag.
2065 * configure. Regenerate.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2067 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2068 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2070
8bd70862
AZ
2071 [BZ #16815]
2072 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2073 result for FE_DOWNWARD rounding mode.
2074 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2075 Likewise.
2076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2077
d42f3448
CM
20782014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2079
2080 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2081 in function argument name.
2082
1c21d115
DS
20832014-04-03 David Svoboda <svoboda@cert.org>
2084
2085 [BZ #5666]
2086 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2087 explicitly.
2088
fcccd512
RM
20892014-04-03 Roland McGrath <roland@hack.frob.com>
2090
2091 * elf/dl-unmap-segments.h: New file.
2092 * sysdeps/generic/ldsodefs.h
2093 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2094 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2095 * elf/dl-fptr.c: Likewise.
2096 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2097 * sysdeps/aarch64/tlsdesc.c: Likewise.
2098 * sysdeps/arm/tlsdesc.c: Likewise.
2099 * sysdeps/i386/tlsdesc.c: Likewise.
2100 * sysdeps/tile/dl-runtime.c: Likewise.
2101 * sysdeps/x86_64/tlsdesc.c: Likewise.
2102 * elf/dl-load.h: New file.
2103 * elf/dl-load.c: Include it.
2104 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2105 Macros moved to dl-load.h.
2106 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2107 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2108 Use _dl_unmap_segments in place of __munmap.
2109 Break out segment-mapping loop into ...
2110 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2111
f6488e2b
WN
21122014-04-03 Will Newton <will.newton@linaro.org>
2113
2114 * elf/dl-lookup.c (do_lookup_x): Remove comment
2115 referring to nested function and move variable
2116 declarations down to before first use.
2117
6f05bafe
JM
21182014-04-02 Joseph Myers <joseph@codesourcery.com>
2119
a84e78c8
JM
2120 [BZ #16799]
2121 [BZ #16800]
2122 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2123 with 0 numerator.
2124 * math/s_catanf.c (__catanf): Likewise.
2125 * math/s_catanh.c (__catanh): Likewise.
2126 * math/s_catanhf.c (__catanhf): Likewise.
2127 * math/s_catanhl.c (__catanhl): Likewise.
2128 * math/s_catanl.c (__catanl): Likewise.
2129 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2130 by positive zero when computing -Inf result.
2131 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2132 (catanh_test): Likewise.
2133 * sysdeps/i386/fpu/libm-test-ulps: Update.
2134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2135
6f05bafe
JM
2136 [BZ #16789]
2137 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2138 instead of using underflowing value in computing result.
2139 * math/s_clog10.c (__clog10): Likewise.
2140 * math/s_clog10f.c (__clog10f): Likewise.
2141 * math/s_clog10l.c (__clog10l): Likewise.
2142 * math/s_clogf.c (__clogf): Likewise.
2143 * math/s_clogl.c (__clogl): Likewise.
2144 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2145 (clog10_test): Likewise.
2146 * sysdeps/i386/fpu/libm-test-ulps: Update.
2147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2148
b0abbc21
AM
21492014-04-02 Alan Modra <amodra@gmail.com>
2150
2151 [BZ #16739]
2152 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2153 output when value is near a power of two. Use int64_t for lx and
2154 remove casts. Use decimal rather than hex exponent constants.
2155 Don't use long double multiplication when double will suffice.
2156 * math/libm-test.inc (nextafter_test_data): Add tests.
2157 * NEWS: Add 16739 and 16786 to bug list.
2158
af6b1797
AM
2159 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2160
483818d7
AM
2161 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2162
f6c55796
WN
21632014-04-01 Will Newton <will.newton@linaro.org>
2164
2165 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2166 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2167
13f7fe35
FW
21682014-04-01 Florian Weimer <fweimer@redhat.com>
2169
2170 [BZ #13347]
2171 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2172 * nptl/tst-setuid2.c: New file.
2173 * nptl/Makefile (xtests): Add tst-setuid2.
2174
c859b32e
AM
21752014-04-01 Alan Modra <amodra@gmail.com>
2176
2177 [BZ #16786]
2178 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2179
54fa2475
JM
21802014-03-31 Joseph Myers <joseph@codesourcery.com>
2181
8795b4a4
JM
2182 [BZ #6803]
2183 [BZ #6804]
2184 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2185 set errno as appropriate.
2186 * math/w_scalbf.c (__scalbf): Likewise.
2187 * math/w_scalbl.c (__scalbl): Likewise.
2188 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2189 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2190 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2191 Add more NaN tests.
2192
54fa2475
JM
2193 [BZ #16349]
2194 * math/w_atan2.c: Include <errno.h>.
2195 (__atan2): Set errno for result underflowing to zero.
2196 * math/w_atan2f.c: Include <errno.h>.
2197 (__atan2f): Set errno for result underflowing to zero.
2198 * math/w_atan2l.c: Include <errno.h>.
2199 (__atan2l): Set errno for result underflowing to zero.
2200 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2201 tests.
2202 * math/auto-libm-test-out: Regenerated.
2203
757d9dd5
AZ
22042014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2205
2206 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2207 Encode instruction correctly in little endian.
2208 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2209 Likewise.
2210 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2211 Likewise.
2212 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2213 Likewise.
2214 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2215 Likewise.
2216
d7a68734
JM
22172014-03-31 Joseph Myers <joseph@codesourcery.com>
2218
47c5adeb
JM
2219 [BZ #9894]
2220 * sysdeps/unix/sysv/linux/kernel-features.h
2221 [__sparc__ && !__arch64__ && !__sparc_v9__]
2222 (__ASSUME_SET_ROBUST_LIST): Do not define.
2223 [__sparc__ && !__arch64__ && !__sparc_v9__]
2224 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2225 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2226 Likewise.
2227 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2228 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2229 (__ASSUME_REQUEUE_PI): Likewise.
2230 (__ASSUME_SET_ROBUST_LIST): Likewise.
2231 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2232 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2233 Undefine.
2234 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2235 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2236 Likewise.
2237 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2238 Likewise.
2239 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2240 Likewise.
2241 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2242 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2243 Undefine.
2244 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2245 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2246 Likewise.
2247
d7a68734
JM
2248 [BZ #16648]
2249 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2250 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2251 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2252
c760f5c2
WN
22532014-03-31 Will Newton <will.newton@linaro.org>
2254
2255 * benchtests/Makefile (bench): Add ffs and ffsll to list
2256 of tests.
2257 * benchtests/ffs-inputs: New file.
2258 * benchtests/ffsll-inputs: Likewise.
2259
ea6029b1
JM
22602014-03-29 Joseph Myers <joseph@codesourcery.com>
2261
2262 [BZ #16770]
2263 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2264 too large before casting to int.
2265 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2266 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2267 * math/libm-test.inc (scalb_test_data): Add more tests.
2268
cf806aff
SP
22692014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2270
56737508
SP
2271 * benchtests/Makefile (DETAILED_OPT): New make option.
2272 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2273 set.
2274 * benchtests/bench-skeleton.c: Include stdbool.h.
2275 (main): Store and print timings per input.
2276 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2277 member to each argument value.
2278 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2279 (_print_arg_data): Initialize per-input timing to 0.
2280
cb5e4aad
SP
2281 * benchtests/Makefile (timing-type): New binary.
2282 (bench-clean): Also remove bench-timing-type.
2283 (bench): New target for timing-type.
2284 (bench-func): Print output in JSON format.
2285 * benchtests/bench-skeleton.c (main): Print output in JSON
2286 format.
2287 * benchtests/bench-timing-type.c: New file.
2288 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2289 (TIMING_PRINT_STATS): Remove.
2290 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2291 name separately.
2292
cf806aff
SP
2293 * benchtests/bench-modf.c: Remove.
2294 * benchtests/modf-inputs: New inputs file.
2295
289e0779
JM
22962014-03-28 Joseph Myers <joseph@codesourcery.com>
2297
2298 [BZ #16362]
2299 * math/s_clog10.c (M_PI_LOG10E): New macro.
2300 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2301 imaginary parts are 0.
2302 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2303 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2304 imaginary parts are 0.
2305 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2306 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2307 imaginary parts are 0.
2308 * math/libm-test.inc (clog10_test_data): Update expected results
2309 for when real and imaginary parts are 0.
2310
277ae3f1
PP
23112014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2312
2313 * elf/dl-load.c: Finish conversion of __builtin_expect into
2314 __glibc_{un}likely.
2315
03a7091f
JM
23162014-03-27 Joseph Myers <joseph@codesourcery.com>
2317
2318 [BZ #16348]
2319 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2320 1+x for argument with exponent below -67.
2321 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2322 Likewise.
2323 * math/auto-libm-test-in: Add more tests of exp.
2324 * math/auto-libm-test-out: Regenerated.
2325
ea7d8b95
SP
23262014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2327
dd3022d7
SP
2328 [BZ #16759]
2329 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2330 (nscd_getnetgrent): Use it.
2331
ea7d8b95
SP
2332 [BZ #16760]
2333 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2334 of stpcpy.
2335
df5b85da
AK
23362014-03-27 Andi Kleen <ak@linux.intel.com>
2337
57f41c40
AS
2338 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2339 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2340 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2341 (lll_robust_unlock): Remove out of line section. Use cfi
2342 intrinsics.
df5b85da 2343 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2344 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2345 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2346 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2347 (lll_robust_unlock): Remove out of line section. Use cfi
2348 intrinsics.
df5b85da
AK
2349 (LLL_STUB_UNWIND_INFO*): Remove.
2350
fbd6b5a4
SP
23512014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2352
2353 [BZ #16758]
2354 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2355 blank values.
2356
1b26b855
PP
23572014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2358
2359 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2360
9be36fb8
JM
23612014-03-26 Joseph Myers <joseph@codesourcery.com>
2362
2363 [BZ #16198]
2364 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2365 fnstenv.
2366 * math/test-fenv-preserve.c: New file.
2367 * math/Makefile (tests): Add test-fenv-preserve.
2368
60a2f3c1
WN
23692014-03-26 Will Newton <will.newton@linaro.org>
2370
2371 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2372
a5e5f1e2
RM
23732014-03-25 Roland McGrath <roland@hack.frob.com>
2374
2375 * scripts/versionlist.awk: Partition the version sets and emit all
2376 GLIBC_* (sorted) before all others (sorted).
2377
00f4012a
JM
23782014-03-25 Joseph Myers <joseph@codesourcery.com>
2379
2380 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2381 GLIBC_2.2.5 version.
2382
7bc5a741
AZ
23832014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2384
2385 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2386 calls.
2387
7578473b
AZ
2388 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2389 previous change.
2390
f3f1dab3
AZ
2391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2392
6da36183
AS
23932014-03-25 Andreas Schwab <schwab@suse.de>
2394
2395 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2396 label to be used after in6ailist is initialized.
2397
f3f1dab3 23982014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2399
7578473b 2400 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2401 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2402
046651c1
JM
24032014-03-25 Joseph Myers <joseph@codesourcery.com>
2404
2405 [BZ #16357]
2406 [BZ #16599]
2407 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2408 min_plus_half.
2409 (fp_formats): Update initializers.
2410 (init_fp_formats): Initialize new field.
2411 (output_for_one_input_case): Allow underflow for results up to
2412 min_plus_half.
2413 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2414 * math/auto-libm-test-in: Don't mark some underflows from asin and
2415 atanh as spurious.
2416 * math/auto-libm-test-out: Regenerated.
2417 * sysdeps/i386/fpu/libm-test-ulps: Update.
2418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2419
003e49ed
AS
24202014-03-25 Andreas Schwab <schwab@suse.de>
2421
2422 * libio/Makefile (tst-ftell-partial-wide-ENV)
2423 (tst-ftell-active-handler-ENV): Define.
2424
de031874
SL
24252014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2426
2427 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2428
55a81e3b
PP
24292014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2430
2431 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2432
f3426898
JM
24332014-03-24 Joseph Myers <joseph@codesourcery.com>
2434
2435 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2436 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2437 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2438
a42faf59
PP
24392014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2440
2441 [BZ #16634]
a42faf59 2442 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2443 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2444 (open_path): Change from boolean 'secure' to complete flag 'mode'
2445 (_dl_map_object): Adjust.
a42faf59
PP
2446 * elf/Makefile (tests): Add tst-dlopen-aout.
2447 * elf/tst-dlopen-aout.c: New test.
2448
50936127
SL
24492014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2450
2451 [BZ #16714]
2452 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2453 (struct stat): Rename member pad0 to __glibc_reserved0.
2454
26011b5c
SL
2455 [BZ #16712]
2456 * sysdeps/s390/s390-32/bits/wordsize.h
2457 (__WORDSIZE32_SIZE_ULONG): New define.
2458 * sysdeps/s390/s390-64/bits/wordsize.h
2459 (__WORDSIZE32_SIZE_ULONG): Likewise.
2460 * sysdeps/generic/stdint.h (SIZE_MAX):
2461 Define as UL if __WORDSIZE32_SIZE_ULONG.
2462
a2d86bf1
SL
2463 [BZ #16713]
2464 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2465 (__glibc_reserved0): New variable.
2466 (sa_flags): Change type to int.
2467
78b6eebc
SL
2468 * posix/Makefile (before-compile): Use += before-compile instead
2469 of a :=.
2470
f1399b5a
SL
2471 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2472 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2473
a071766e
AS
24742014-03-20 Andreas Schwab <schwab@suse.de>
2475
2476 [BZ #16743]
2477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2478 non-matching result from nscd.
2479
27c673b8
SP
24802014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2481
2482 * scripts/bench.py: Moved to ...
2483 * benchtests/scripts/bench.py: ... here.
2484 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2485
44152e4b
AS
24862014-03-24 Andreas Schwab <schwab@suse.de>
2487
2488 [BZ #16002]
2489 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2490 alloca_account and account alloca use for struct in6ailist.
2491
b376a11a
JM
24922014-03-24 Joseph Myers <joseph@codesourcery.com>
2493
2494 [BZ #16284]
2495 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2496 rounding mode to recompute results that overflow to infinity or
2497 underflow to zero.
2498 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2499 bug 16284.
2500 * math/auto-libm-test-out: Regenerated.
2501 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2502 (ccosh_test): Likewise.
2503 (csin_test_data): Use plus_oflow.
2504 (csin_test): Use ALL_RM_TEST.
2505 (csinh_test_data): Use plus_oflow.
2506 (csinh_test): Use ALL_RM_TEST.
2507 * sysdeps/i386/fpu/libm-test-ulps: Update.
2508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2509
f7be7376
JM
25102014-03-21 Joseph Myers <joseph@codesourcery.com>
2511
1ca2d03e
JM
2512 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2513 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2514 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2515
f7be7376
JM
2516 [BZ #16731]
2517 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2518 when x - 1 is zero.
2519 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2520 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2521 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2522 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2523 argument is 1.
2524 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2525 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2526 zero.
2527 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2528 * sysdeps/i386/fpu/libm-test-ulps: Update.
2529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530
fdf4534d
SP
25312014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2532
df26ea53
SP
2533 * scripts/bench.pl: Remove file.
2534 * scripts/bench.py: New benchmark script.
2535 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2536 * benchtests/README: Mention python dependency.
2537 * scripts/pylintrc: New file.
2538 * scripts/pylint: New file.
2539
fdf4534d
SP
2540 * bits/mathdef.h: Use #ifdef instead of #if.
2541 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2542 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2543 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2544 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2545 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2546 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2547
6f23d093
AZ
25482014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2550
2551 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2553 and strpbrk-ppc64 objects.
2554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2555 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2556 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2557 multiarch strpbrk for POWER7.
2558 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2559 multiarch strpbrk for PPC64.
2560 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2561 ifunc selector.
2562 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2563 strpbrk for POWER7.
2564
8c92dfff
JM
25652014-03-20 Joseph Myers <joseph@codesourcery.com>
2566
2567 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2568 (atan_test): Likewise.
2569 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2570 (atanh_test): Use ALL_RM_TEST.
2571 (atan2_test_data): Likewise.
2572 (cabs_test): Likewise.
2573 (cacosh_test): Likewise.
2574 (carg_test): Likewise.
2575 (casin_test): Likewise.
2576 (casinh_test): Likewise.
2577 (cbrt_test): Likewise.
2578 (csqrt_test): Likewise.
2579 (erf_test): Likewise.
2580 (erfc_test): Likewise.
2581 (pow10_test): Likewise.
2582 (exp2_test): Likewise.
2583 (hypot_test): Likewise.
2584 (j0_test): Likewise.
2585 (j1_test): Likewise.
2586 (lgamma_test): Likewise.
2587 (gamma_test): Likewise.
2588 (sincos_test): Likewise.
2589 (tanh_test): Likewise.
2590 (y0_test): Likewise.
2591 (y1_test): Likewise.
2592 * sysdeps/i386/fpu/libm-test-ulps: Update.
2593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2594
6eaf95cb
AZ
25952014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2596
a387428c
SP
2597 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2599 and strcspn-ppc64 objects.
2600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2601 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2602 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2603 multiarch strcspn for POWER7.
2604 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2605 multiarch strcspn for PPC64.
2606 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2607 ifunc selector.
2608 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2609 strcspn for POWER7.
2610
ae3a5dff
JM
26112014-03-20 Joseph Myers <joseph@codesourcery.com>
2612
2613 * math/gen-libm-test.pl (generate_testfile): Expect only function
2614 name as argument to AUTO_TESTS_* and pass results for all rounding
2615 modes to parse_args.
2616 (parse_auto_input): Separate inputs of automatic tests from
2617 outputs before storing in %auto_tests.
2618 * math/libm-test.inc (acos_test_data): Update call to
2619 AUTO_TESTS_f_f.
2620 (acos_test): Use ALL_RM_TEST.
2621 (acos_tonearest_test_data): Remove.
2622 (acos_test_tonearest): Likewise.
2623 (acos_towardzero_test_data): Likewise.
2624 (acos_test_towardzero): Likewise.
2625 (acos_downward_test_data): Likewise.
2626 (acos_test_downward): Likewise.
2627 (acos_upward_test_data): Likewise.
2628 (acos_test_upward): Likewise.
2629 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2630 (asin_test_data): Likewise.
2631 (asin_test): Use ALL_RM_TEST.
2632 (asin_tonearest_test_data): Remove.
2633 (asin_test_tonearest): Likewise.
2634 (asin_towardzero_test_data): Likewise.
2635 (asin_test_towardzero): Likewise.
2636 (asin_downward_test_data): Likewise.
2637 (asin_test_downward): Likewise.
2638 (asin_upward_test_data): Likewise.
2639 (asin_test_upward): Likewise.
2640 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2641 (atan_test_data): Likewise.
2642 (atanh_test_data): Likewise.
2643 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2644 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2645 (carg_test_data): Likewise.
2646 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2647 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2648 (ccosh_test_data): Likewise.
2649 (cexp_test_data): Likewise.
2650 (clog_test_data): Likewise.
2651 (clog10_test_data): Likewise.
2652 (cos_test_data): Update call to AUTO_TESTS_f_f.
2653 (cos_test): Use ALL_RM_TEST.
2654 (cos_tonearest_test_data): Remove.
2655 (cos_test_tonearest): Likewise.
2656 (cos_towardzero_test_data): Likewise.
2657 (cos_test_towardzero): Likewise.
2658 (cos_downward_test_data): Likewise.
2659 (cos_test_downward): Likewise.
2660 (cos_upward_test_data): Likewise.
2661 (cos_test_upward): Likewise.
2662 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2663 (cosh_test): Use ALL_RM_TEST.
2664 (cosh_tonearest_test_data): Remove.
2665 (cosh_test_tonearest): Likewise.
2666 (cosh_towardzero_test_data): Likewise.
2667 (cosh_test_towardzero): Likewise.
2668 (cosh_downward_test_data): Likewise.
2669 (cosh_test_downward): Likewise.
2670 (cosh_upward_test_data): Likewise.
2671 (cosh_test_upward): Likewise.
2672 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2673 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2674 (ctan_test_data): Likewise.
2675 (ctan_test): Use ALL_RM_TEST.
2676 (ctan_tonearest_test_data): Remove.
2677 (ctan_test_tonearest): Likewise.
2678 (ctan_towardzero_test_data): Likewise.
2679 (ctan_test_towardzero): Likewise.
2680 (ctan_downward_test_data): Likewise.
2681 (ctan_test_downward): Likewise.
2682 (ctan_upward_test_data): Likewise.
2683 (ctan_test_upward): Likewise.
2684 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2685 (ctanh_test): Use ALL_RM_TEST.
2686 (ctanh_tonearest_test_data): Remove.
2687 (ctanh_test_tonearest): Likewise.
2688 (ctanh_towardzero_test_data): Likewise.
2689 (ctanh_test_towardzero): Likewise.
2690 (ctanh_downward_test_data): Likewise.
2691 (ctanh_test_downward): Likewise.
2692 (ctanh_upward_test_data): Likewise.
2693 (ctanh_test_upward): Likewise.
2694 (erf_test_data): Update call to AUTO_TESTS_f_f.
2695 (erfc_test_data): Likewise.
2696 (exp_test_data): Likewise.
2697 (exp_test): Use ALL_RM_TEST.
2698 (exp_tonearest_test_data): Remove.
2699 (exp_test_tonearest): Likewise.
2700 (exp_towardzero_test_data): Likewise.
2701 (exp_test_towardzero): Likewise.
2702 (exp_downward_test_data): Likewise.
2703 (exp_test_downward): Likewise.
2704 (exp_upward_test_data): Likewise.
2705 (exp_test_upward): Likewise.
2706 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2707 (exp10_test): Use ALL_RM_TEST.
2708 (exp10_tonearest_test_data): Remove.
2709 (exp10_test_tonearest): Likewise.
2710 (exp10_towardzero_test_data): Likewise.
2711 (exp10_test_towardzero): Likewise.
2712 (exp10_downward_test_data): Likewise.
2713 (exp10_test_downward): Likewise.
2714 (exp10_upward_test_data): Likewise.
2715 (exp10_test_upward): Likewise.
2716 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2717 (expm1_test_data): Likewise.
2718 (expm1_test): Use ALL_RM_TEST.
2719 (expm1_tonearest_test_data): Remove.
2720 (expm1_test_tonearest): Likewise.
2721 (expm1_towardzero_test_data): Likewise.
2722 (expm1_test_towardzero): Likewise.
2723 (expm1_downward_test_data): Likewise.
2724 (expm1_test_downward): Likewise.
2725 (expm1_upward_test_data): Likewise.
2726 (expm1_test_upward): Likewise.
2727 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2728 (fma_test): Use ALL_RM_TEST.
2729 (fma_towardzero_test_data): Remove.
2730 (fma_test_towardzero): Likewise.
2731 (fma_downward_test_data): Likewise.
2732 (fma_test_downward): Likewise.
2733 (fma_upward_test_data): Likewise.
2734 (fma_test_upward): Likewise.
2735 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2736 (j0_test_data): Update call to AUTO_TESTS_f_f.
2737 (j1_test_data): Likewise.
2738 (jn_test_data): Update call to AUTO_TESTS_if_f.
2739 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2740 (log_test_data): Update call to AUTO_TESTS_f_f.
2741 (log10_test_data): Likewise.
2742 (log1p_test_data): Likewise.
2743 (log2_test_data): Likewise.
2744 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2745 (pow_tonearest_test_data): Likewise.
2746 (sin_test_data): Update call to AUTO_TESTS_f_f.
2747 (sin_test): Use ALL_RM_TEST.
2748 (sin_tonearest_test_data): Remove.
2749 (sin_test_tonearest): Likewise.
2750 (sin_towardzero_test_data): Likewise.
2751 (sin_test_towardzero): Likewise.
2752 (sin_downward_test_data): Likewise.
2753 (sin_test_downward): Likewise.
2754 (sin_upward_test_data): Likewise.
2755 (sin_test_upward): Likewise.
2756 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2757 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2758 (sinh_test): Use ALL_RM_TEST.
2759 (sinh_tonearest_test_data): Remove.
2760 (sinh_test_tonearest): Likewise.
2761 (sinh_towardzero_test_data): Likewise.
2762 (sinh_test_towardzero): Likewise.
2763 (sinh_downward_test_data): Likewise.
2764 (sinh_test_downward): Likewise.
2765 (sinh_upward_test_data): Likewise.
2766 (sinh_test_upward): Likewise.
2767 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2768 (sqrt_test): Use ALL_RM_TEST.
2769 (sqrt_tonearest_test_data): Remove.
2770 (sqrt_test_tonearest): Likewise.
2771 (sqrt_towardzero_test_data): Likewise.
2772 (sqrt_test_towardzero): Likewise.
2773 (sqrt_downward_test_data): Likewise.
2774 (sqrt_test_downward): Likewise.
2775 (sqrt_upward_test_data): Likewise.
2776 (sqrt_test_upward): Likewise.
2777 (tan_test_data): Update call to AUTO_TESTS_f_f.
2778 (tan_test): Use ALL_RM_TEST.
2779 (tan_tonearest_test_data): Remove.
2780 (tan_test_tonearest): Likewise.
2781 (tan_towardzero_test_data): Likewise.
2782 (tan_test_towardzero): Likewise.
2783 (tan_downward_test_data): Likewise.
2784 (tan_test_downward): Likewise.
2785 (tan_upward_test_data): Likewise.
2786 (tan_test_upward): Likewise.
2787 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2788 (tgamma_test_data): Likewise.
2789 (y0_test_data): Likewise.
2790 (y1_test_data): Likewise.
2791 (yn_test_data): Update call to AUTO_TESTS_if_f.
2792 (main): Do not call removed functions.
2793
d71aeee8
JM
27942014-03-19 Joseph Myers <joseph@codesourcery.com>
2795
2796 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2797 (ldexp_test_data): Remove.
2798 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2799 scalbn_test_data.
2800 (scalb_test): Use ALL_RM_TEST.
2801
baaf1ded
AS
28022014-03-19 Andreas Schwab <schwab@suse.de>
2803
2804 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2805
b1115e91
JM
28062014-03-19 Joseph Myers <joseph@codesourcery.com>
2807
2808 [BZ #16649]
2809 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2810 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2811 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2812 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2813 (__ASSUME_PREADV): Undefine.
2814 (__ASSUME_PWRITEV): Likewise.
2815
0283ecca
RM
28162014-03-18 Roland McGrath <roland@hack.frob.com>
2817
7d375303
RM
2818 * bits/mman-linux.h: Add comment about non-Linux use.
2819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2820 bits/mman-linux.h resting place.
2821
0283ecca
RM
2822 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2823 * bits/mman-linux.h: ... here.
2824
aebe1003
AZ
28252014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2826
2827 * conform/conformtest.pl: Add standard definition when calling C
2828 preprocessor on data files.
2829 (checknamespace): Remove unused variable.
2830
b29b6bb8
JM
28312014-03-18 Joseph Myers <joseph@codesourcery.com>
2832
2833 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2834 minus_oflow, plus_uflow and minus_uflow in expected results.
2835 * math/libm-test.inc (scalbn_test_data): Add more tests of
2836 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2837 minus_uflow.
2838 (scalbn_test): Use ALL_RM_TEST.
2839 (scalbln_test_data): Add more tests of negative arguments. Use
2840 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2841 (scalbln_test): Use ALL_RM_TEST.
2842
c8f8fa15
RM
28432014-03-18 Roland McGrath <roland@hack.frob.com>
2844
2845 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2846
fede7a5f
WN
28472014-03-18 Will Newton <will.newton@linaro.org>
2848
2849 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2850 inaccurate comment.
2851
80cf0a58
JM
28522014-03-18 Joseph Myers <joseph@codesourcery.com>
2853
2854 * Makerules [!subdir] (check-abi): Exit with error status if a
2855 test failed.
2856
b3620862
JM
28572014-03-17 Joseph Myers <joseph@codesourcery.com>
2858
2859 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2860 for rint. Include results for all rounding modes.
2861 (nearbyint_test): Use ALL_RM_TEST.
2862 (rint_test_data): Include all tests used for nearbyint.
2863
788bba36
WN
28642014-03-17 Will Newton <will.newton@linaro.org>
2865
04ec140a
WN
2866 * nptl/sysdeps/pthread/pthread.h: Revert previous
2867 change.
2868
7579d8d5
WN
2869 * sysdeps/generic/ldsodefs.h: Revert previous
2870 change.
2871
c15cf13a
WN
2872 * libio/genops.c: Revert previous change.
2873 * libio/libioP.h: Likewise.
2874 * stdio-common/vfprintf.c: Likewise.
2875
d0ac1324
WN
2876 * sysdeps/generic/math_private.h: Revert previous
2877 change.
2878
9290130a
WN
2879 * sysdeps/generic/math_private.h: Check whether
2880 HAVE_RM_CTX is defined with #ifdef rather
2881 than #if.
2882
afb466fc
WN
2883 * argp/argp-fmtstream.h: Check whether
2884 __STRICT_ANSI__ is defined with #ifdef rather
2885 than #if.
2886 * argp/argp.h: Likewise.
2887
f7efd7c3
WN
2888 * libio/genops.c: Check whether
2889 _IO_JUMPS_OFFSET is defined with #ifdef rather
2890 than #if.
2891 * libio/libioP.h: Likewise.
2892 * stdio-common/vfprintf.c: Likewise.
2893
53f1bed3
WN
2894 * sysdeps/generic/ldsodefs.h: Check whether
2895 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2896 than #if.
2897
788bba36
WN
2898 * nptl/sysdeps/pthread/pthread.h: Check
2899 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2900 its value.
2901
fcd89ebe
SP
29022014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2903
ae42bbc5
SP
2904 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2905 setting O_APPEND.
2906 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2907 test case.
2908
ea33158c
SP
2909 [BZ #16680]
2910 * libio/fileops.c (_IO_file_open): Seek to end of file but
2911 don't cache the offset.
2912 (get_file_offset): Remove function.
2913 (do_ftell): Use cached offset when available.
2914 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2915 don't cache the offset.
2916 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2917 case.
2918 (do_one_test): Call it.
2919 (do_ftell_test): Fix up expected old offset for a+ mode.
2920 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2921 available.
2922
b1dbb426
SP
2923 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2924 up test status with function return status.
2925 (do_write_test): Likewise.
2926 (do_append_test): Likewise.
2927
fcd89ebe
SP
2928 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2929 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2930 Remove.
2931
9962a2d3
JM
29322014-03-17 Joseph Myers <joseph@codesourcery.com>
2933
2934 * math/gen-libm-test.pl (parse_args): Handle results specified for
2935 each rounding mode separately.
2936 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2937 tests and results from lrint_tonearest_test_data,
2938 lrint_towardzero_test_data, lrint_downward_test_data and
2939 lrint_upward_test_data.
2940 (lrint_test): Use ALL_RM_TEST.
2941 (lrint_tonearest_test_data): Remove.
2942 (lrint_test_tonearest): Likewise.
2943 (lrint_towardzero_test_data): Likewise.
2944 (lrint_test_towardzero): Likewise.
2945 (lrint_downward_test_data): Likewise.
2946 (lrint_test_downward): Likewise.
2947 (lrint_upward_test_data): Likewise.
2948 (lrint_test_upward): Likewise.
2949 (llrint_test_data): Merge in per-rounding-mode tests and results
2950 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2951 llrint_downward_test_data and llrint_upward_test_data.
2952 (llrint_test): Use ALL_RM_TEST.
2953 (llrint_tonearest_test_data): Remove.
2954 (llrint_test_tonearest): Likewise.
2955 (llrint_towardzero_test_data): Likewise.
2956 (llrint_test_towardzero): Likewise.
2957 (llrint_downward_test_data): Likewise.
2958 (llrint_test_downward): Likewise.
2959 (llrint_upward_test_data): Likewise.
2960 (llrint_test_upward): Likewise.
2961 (rint_test_data): Merge in per-rounding-mode tests and results
2962 from rint_tonearest_test_data, rint_towardzero_test_data,
2963 rint_downward_test_data and rint_upward_test_data. Add
2964 per-rounding-mode results for tests not in those arrays.
2965 (rint_test): Use ALL_RM_TEST.
2966 (rint_tonearest_test_data): Remove.
2967 (rint_test_tonearest): Likewise.
2968 (rint_towardzero_test_data): Likewise.
2969 (rint_test_towardzero): Likewise.
2970 (rint_downward_test_data): Likewise.
2971 (rint_test_downward): Likewise.
2972 (rint_upward_test_data): Likewise.
2973 (rint_test_upward): Likewise.
2974 (main): Don't call removed functions.
2975
5006148e
RM
29762014-03-14 Roland McGrath <roland@hack.frob.com>
2977
2978 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2979 "Compiled on ..." crapola. It is anti-useful.
2980
d6fe5e58
JM
29812014-03-14 Joseph Myers <joseph@codesourcery.com>
2982
2983 * scripts/evaluate-test.sh: Handle fourth argument to determine
2984 whether test run should stop on failure.
2985 * Makeconfig (stop-on-test-failure): New variable.
2986 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2987 $(stop-on-test-failure).
2988 * Makefile (tests): Give a summary of results from testing and
2989 exit with failure status if they include an ERROR or FAIL.
2990 (xtests): Likewise.
2991 * manual/install.texi (Configuring and compiling): Mention
2992 stop-on-test-failure=y.
2993 * INSTALL: Regenerated.
2994
498a2233
RM
29952014-03-14 Roland McGrath <roland@hack.frob.com>
2996
22dbc19d
RM
2997 * scripts/versionlist.awk: New file.
2998 * Makerules [$(build-shared) = yes]
2999 (postclean-generated): Add Versions.def, not Versions.def.v and
3000 Versions.def.v.i.
3001 ($(common-objpfx)Versions.def.v.i): Target removed.
3002 ($(common-objpfx)Versions.def): New target.
3003 ($(common-objpfx)Versions.all): Depend on that rather that
3004 $(common-objpfx)Versions.def.v.
3005 * Versions.def: File removed.
3006
498a2233
RM
3007 * Makeconfig (+gccwarn): Add -Wundef.
3008 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3009 a dl-sysdep.h breaking its contract.
3010 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3011 * include/stackinfo.h: New file.
3012 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3013 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3014 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3015 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3016 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3017 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3018 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3019 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3020 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3021 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3022 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3023 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3024 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3025 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3026 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3027
c7de5025
AZ
30282014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3029
3030 [BZ #16707]
3031 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3032 implementation.
3033 * math/libm-test.inc (round_test_data): Add more tests.
3034
98fb27a3
AZ
3035 [BZ #16706]
3036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3037 implementation.
3038 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3039
374f7f61
AZ
3040 [BZ #16701]
3041 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3042 implementation.
3043 * math/libm-test.inc (ceil_test_data): Add more tests.
3044
4655c291
AZ
3045 * math/libm-test.inc (trunc_test_data): Add more tests related to
3046 BZ#16414.
3047
d7329d4b
RM
30482014-03-14 Roland McGrath <roland@hack.frob.com>
3049
3050 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3051 with #if rather than #ifdef.
3052 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3053
aa4de9ce
L
30542014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3055
3056 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3057 first. Disable AVX-512 GCC support if assembler doesn't support
3058 it.
3059 * sysdeps/x86_64/configure: Regenerated.
3060
2e03fae7
CD
30612014-03-13 Carlos O'Donell <carlos@redhat.com>
3062
3063 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3064 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3065 (__old_pthread_attr_setstack): Likewise.
3066 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3067 [!_STACK_GROWS_DOWN]: Likewise.
3068
43ca83ec
MF
30692014-03-13 Mike Frysinger <vapier@gentoo.org>
3070
3071 * config.make.in (have-bash2): Delete.
3072 * configure.ac (libc_cv_have_bash2): Delete.
3073 * configure: Regenerate.
3074 * elf/Makefile (common-ldd-rewrite): Rename to ...
3075 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3076 (sh-ldd-rewrite): Delete.
3077 (bash-ldd-rewrite): Delete.
3078 (have-bash2): Delete checks.
57f41c40
AS
3079 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3080 ldd-rewrite.
c66e48b4
MF
3081
3082 * config.make.in (have-ksh): Delete.
3083 (KSH): Delete.
3084 * configure.ac (libc_cv_have_ksh): Delete.
3085 * configure: Regenerate.
3086
b93834ef
MF
3087 * elf/Makefile: Delete $(have-ksh) check.
3088 ($(objpfx)sotruss): Change KSH to BASH.
3089 * elf/sotruss.ksh: Rename to ...
3090 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3091 function style to match POSIX. Drop ksh vim mode setting.
3092
f3a4632a
MF
3093 * manual/time.texi (Specifying the Time Zone with TZ): Change
3094 Tuesday to Thursday.
3095
5896c8bd
MF
3096 * debug/tst-longjmp_chk2.c: Update header comment.
3097 (stackoverflow_handler): Add comment. Call assert on pass value.
3098
2d63a517
IZ
30992014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3100
3101 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3102 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3103 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3104 (La_x86_64_vector): Add zmm.
3105 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3106 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3107 ($(objpfx)tst-audit10): New target.
3108 ($(objpfx)tst-audit10.out): Likewise.
3109 (tst-audit10-ENV): New.
3110 (AVX512-CFLAGS): Likewise.
3111 (CFLAGS-tst-audit10.c): Likewise.
3112 (CFLAGS-tst-auditmod10a.c): Likewise.
3113 (CFLAGS-tst-auditmod10b.c): Likewise.
3114 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3115 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3116 * sysdeps/x86_64/configure: Regenerated.
3117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3118 AVX-512 zmm register support.
3119 (_dl_x86_64_save_sse): Likewise.
3120 (_dl_x86_64_restore_sse): Likewise.
3121 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3122 size vector registers.
3123 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3124 (ZMM_SIZE): Likewise.
3125 * sysdeps/x86_64/tst-audit10.c: New file.
3126 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3127 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3128
44c4e5d5
RM
31292014-03-13 Roland McGrath <roland@hack.frob.com>
3130
3131 * configure.ac (HAVE_EHDR_START): New check.
3132 * configure: Regenerated.
3133 * config.h.in (HAVE_EHDR_START): New #undef.
3134 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3135 assuming the lowest-addressed segment maps the start of the file.
3136
acd6e389
JM
31372014-03-13 Joseph Myers <joseph@codesourcery.com>
3138
3139 * INSTALL: Regenerated.
3140
6f918f36
WN
31412014-03-13 Will Newton <will.newton@linaro.org>
3142
3143 * manual/setjmp.texi (System V contexts): Improve
3144 clarity and grammar of documentation.
3145
798212a0
PP
31462014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3147
3148 [BZ #16381]
798212a0 3149 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3150 (tests-pie): Add tst-pie2.
798212a0
PP
3151 * elf/tst-pie2.c: New file.
3152 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3153 for ET_EXEC.
3154 * elf/rtld.c (map_doit): Load executable as lt_executable.
3155 (dl_main): Likewise.
3156
abe6d90c
JM
31572014-03-12 Joseph Myers <joseph@codesourcery.com>
3158
3159 [BZ #16642]
3160 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3161 (__ASSUME_PSELECT): Undefine.
3162
dd3946c6
AZ
31632014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3164
3165 [BZ #16689]
3166 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3167 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3168 static build.
3169 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3170 selector for static builds.
3171
c44496df
SP
31722014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3173
3174 [BZ #16695]
3175 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3176 key in the buffer.
3177
27c7220a
AZ
31782014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3179
57f41c40
AS
3180 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3181 IFUNC selector for static builds.
27c7220a 3182
600fa361
JM
31832014-03-11 Joseph Myers <joseph@codesourcery.com>
3184
76c96cf7
JM
3185 * sysdeps/mips/math_private.h [__mips_hard_float]
3186 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3187 libc_feresetround_mips_ctx.
3188 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3189 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3190 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3191
600fa361
JM
3192 [BZ #16677]
3193 * math/s_nextafter.c (__nextafter): Do not return value from
3194 overflowing computation.
3195 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3196 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3198 Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3200 Likewise.
3201 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3202 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3203
d7706c32
RM
32042014-03-11 Roland McGrath <roland@hack.frob.com>
3205
3206 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3207 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3208 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3209 the new mov targetting sp.
3210
4facea47
AZ
32112014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3212
3213 [BZ #16683]
3214 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3215 Define it for static builds as well.
3216 (NO_BZERO_IMPL): Likewise.
3217
e65caf1f
VR
32182014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3219
3220 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3221 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3222 multiarch strspn for PPC64.
3223 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3224 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3226 (__libc_ifunc_impl_list): Likewise.
3227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3228 multiarch optimizations
3229 * string/strspn.c (strspn): Using macro to redefine symbol name.
3230
ba9cc071
AZ
32312014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3232 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3233
3234 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3235 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3236 multiarch strncat for PPC64.
3237 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3238 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3240 (__libc_ifunc_impl_list): Likewise.
3241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3242 multiarch optimizations
3243
8b4ff974
SP
32442014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3245
3246 [BZ #16639]
3247 * nscd/nscd.service: Make service type forking.
3248
54b46a4b
AZ
32492014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3250
3251 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3252 sign in non default rounding modes.
3253 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3254
e9996ef7
JM
32552014-03-08 Joseph Myers <joseph@codesourcery.com>
3256
3257 * math/libm-test.inc (ALL_RM_TEST): New macro.
3258 (ceil_test): Use ALL_RM_TEST.
3259 (cimag_test): Likewise.
3260 (conj_test): Likewise.
3261 (copysign_test): Likewise.
3262 (cproj_test): Likewise.
3263 (creal_test): Likewise.
3264 (fabs_test): Likewise.
3265 (floor_test): Likewise.
3266 (fmax_test): Likewise.
3267 (fmin_test): Likewise.
3268 (fmod_test): Likewise.
3269 (fpclassify_test): Likewise.
3270 (frexp_test): Likewise.
3271 (ilogb_test): Likewise.
3272 (isfinite_test): Likewise.
3273 (finite_test): Likewise.
3274 (isgreater_test): Likewise.
3275 (isgreaterequal_test): Likewise.
3276 (isinf_test): Likewise.
3277 (isless_test): Likewise.
3278 (islessequal_test): Likewise.
3279 (islessgreater_test): Likewise.
3280 (isnan_test): Likewise.
3281 (isnormal_test): Likewise.
3282 (issignaling_test): Likewise.
3283 (isunordered_test): Likewise.
3284 (logb_test): Likewise.
3285 (logb_downward_test_data): Remove.
3286 (logb_test_downward): Likewise.
3287 (lround_test): Use ALL_RM_TEST.
3288 (llround_test): Likewise.
3289 (modf_test): Likewise.
3290 (nexttoward_test): Likewise.
3291 (remainder_test): Likewise.
3292 (drem_test): Likewise.
3293 (remainder_tonearest_test_data): Likewise.
3294 (remainder_test_tonearest): Likewise.
3295 (drem_test_tonearest): Likewise.
3296 (remainder_towardzero_test_data): Likewise.
3297 (remainder_test_towardzero): Likewise.
3298 (drem_test_towardzero): Likewise.
3299 (remainder_downward_test_data): Likewise.
3300 (remainder_test_downward): Likewise.
3301 (drem_test_downward): Likewise.
3302 (remainder_upward_test_data): Likewise.
3303 (remainder_test_upward): Likewise.
3304 (drem_test_upward): Likewise.
3305 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3306 (round_test): Use ALL_RM_TEST.
3307 (signbit_test): Likewise.
3308 (trunc_test): Likewise.
3309 (significand_test): Likewise.
3310 (main): Don't call removed functions.
3311
bc61d27c
JM
33122014-03-07 Joseph Myers <joseph@codesourcery.com>
3313
5c780849
JM
3314 [BZ #16674]
3315 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3316 || __USE_XOPEN2K8].
3317 (ILL_ILLOPN): Likewise.
3318 (ILL_ILLADR): Likewise.
3319 (ILL_ILLTRP): Likewise.
3320 (ILL_PRVOPC): Likewise.
3321 (ILL_PRVREG): Likewise.
3322 (ILL_COPROC): Likewise.
3323 (ILL_BADSTK): Likewise.
3324 (FPE_INTDIV): Likewise.
3325 (FPE_INTOVF): Likewise.
3326 (FPE_FLTDIV): Likewise.
3327 (FPE_FLTOVF): Likewise.
3328 (FPE_FLTUND): Likewise.
3329 (FPE_FLTRES): Likewise.
3330 (FPE_FLTINV): Likewise.
3331 (FPE_FLTSUB): Likewise.
3332 (SEGV_MAPERR): Likewise.
3333 (SEGV_ACCERR): Likewise.
3334 (BUS_ADRALN): Likewise.
3335 (BUS_ADRERR): Likewise.
3336 (BUS_OBJERR): Likewise.
3337 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3338 (TRAP_TRACE): Likewise.
3339 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3340 __USE_XOPEN2K8].
3341 (CLD_KILLED): Likewise.
3342 (CLD_DUMPED): Likewise.
3343 (CLD_TRAPPED): Likewise.
3344 (CLD_STOPPED): Likewise.
3345 (CLD_CONTINUED): Likewise.
3346 (POLL_IN): Likewise.
3347 (POLL_OUT): Likewise.
3348 (POLL_MSG): Likewise.
3349 (POLL_ERR): Likewise.
3350 (POLL_PRI): Likewise.
3351 (POLL_HUP): Likewise.
3352 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3353 Likewise.
3354 (ILL_ILLOPN): Likewise.
3355 (ILL_ILLADR): Likewise.
3356 (ILL_ILLTRP): Likewise.
3357 (ILL_PRVOPC): Likewise.
3358 (ILL_PRVREG): Likewise.
3359 (ILL_COPROC): Likewise.
3360 (ILL_BADSTK): Likewise.
3361 (FPE_INTDIV): Likewise.
3362 (FPE_INTOVF): Likewise.
3363 (FPE_FLTDIV): Likewise.
3364 (FPE_FLTOVF): Likewise.
3365 (FPE_FLTUND): Likewise.
3366 (FPE_FLTRES): Likewise.
3367 (FPE_FLTINV): Likewise.
3368 (FPE_FLTSUB): Likewise.
3369 (SEGV_MAPERR): Likewise.
3370 (SEGV_ACCERR): Likewise.
3371 (BUS_ADRALN): Likewise.
3372 (BUS_ADRERR): Likewise.
3373 (BUS_OBJERR): Likewise.
3374 (BUS_MCEERR_AR): Likewise.
3375 (BUS_MCEERR_AO): Likewise.
3376 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3377 (TRAP_TRACE): Likewise.
3378 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3379 __USE_XOPEN2K8].
3380 (CLD_KILLED): Likewise.
3381 (CLD_DUMPED): Likewise.
3382 (CLD_TRAPPED): Likewise.
3383 (CLD_STOPPED): Likewise.
3384 (CLD_CONTINUED): Likewise.
3385 (POLL_IN): Likewise.
3386 (POLL_OUT): Likewise.
3387 (POLL_MSG): Likewise.
3388 (POLL_ERR): Likewise.
3389 (POLL_PRI): Likewise.
3390 (POLL_HUP): Likewise.
3391 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3392 (ILL_ILLOPN): Likewise.
3393 (ILL_ILLADR): Likewise.
3394 (ILL_ILLTRP): Likewise.
3395 (ILL_PRVOPC): Likewise.
3396 (ILL_PRVREG): Likewise.
3397 (ILL_COPROC): Likewise.
3398 (ILL_BADSTK): Likewise.
3399 (FPE_INTDIV): Likewise.
3400 (FPE_INTOVF): Likewise.
3401 (FPE_FLTDIV): Likewise.
3402 (FPE_FLTOVF): Likewise.
3403 (FPE_FLTUND): Likewise.
3404 (FPE_FLTRES): Likewise.
3405 (FPE_FLTINV): Likewise.
3406 (FPE_FLTSUB): Likewise.
3407 (SEGV_MAPERR): Likewise.
3408 (SEGV_ACCERR): Likewise.
3409 (BUS_ADRALN): Likewise.
3410 (BUS_ADRERR): Likewise.
3411 (BUS_OBJERR): Likewise.
3412 (BUS_MCEERR_AR): Likewise.
3413 (BUS_MCEERR_AO): Likewise.
3414 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3415 (TRAP_TRACE): Likewise.
3416 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3417 __USE_XOPEN2K8].
3418 (CLD_KILLED): Likewise.
3419 (CLD_DUMPED): Likewise.
3420 (CLD_TRAPPED): Likewise.
3421 (CLD_STOPPED): Likewise.
3422 (CLD_CONTINUED): Likewise.
3423 (POLL_IN): Likewise.
3424 (POLL_OUT): Likewise.
3425 (POLL_MSG): Likewise.
3426 (POLL_ERR): Likewise.
3427 (POLL_PRI): Likewise.
3428 (POLL_HUP): Likewise.
3429 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3430 Likewise.
3431 (ILL_ILLOPN): Likewise.
3432 (ILL_ILLADR): Likewise.
3433 (ILL_ILLTRP): Likewise.
3434 (ILL_PRVOPC): Likewise.
3435 (ILL_PRVREG): Likewise.
3436 (ILL_COPROC): Likewise.
3437 (ILL_BADSTK): Likewise.
3438 (ILL_BADIADDR): Likewise.
3439 (ILL_BREAK): Likewise.
3440 (FPE_INTDIV): Likewise.
3441 (FPE_INTOVF): Likewise.
3442 (FPE_FLTDIV): Likewise.
3443 (FPE_FLTOVF): Likewise.
3444 (FPE_FLTUND): Likewise.
3445 (FPE_FLTRES): Likewise.
3446 (FPE_FLTINV): Likewise.
3447 (FPE_FLTSUB): Likewise.
3448 (FPE_DECOVF): Likewise.
3449 (FPE_DECDIV): Likewise.
3450 (FPE_DECERR): Likewise.
3451 (FPE_INVASC): Likewise.
3452 (FPE_INVDEC): Likewise.
3453 (SEGV_MAPERR): Likewise.
3454 (SEGV_ACCERR): Likewise.
3455 (SEGV_PSTKOVF): Likewise.
3456 (BUS_ADRALN): Likewise.
3457 (BUS_ADRERR): Likewise.
3458 (BUS_OBJERR): Likewise.
3459 (BUS_MCEERR_AR): Likewise.
3460 (BUS_MCEERR_AO): Likewise.
3461 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3462 (TRAP_TRACE): Likewise.
3463 (TRAP_BRANCH): Likewise.
3464 (TRAP_HWBKPT): Likewise.
3465 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3466 __USE_XOPEN2K8].
3467 (CLD_KILLED): Likewise.
3468 (CLD_DUMPED): Likewise.
3469 (CLD_TRAPPED): Likewise.
3470 (CLD_STOPPED): Likewise.
3471 (CLD_CONTINUED): Likewise.
3472 (POLL_IN): Likewise.
3473 (POLL_OUT): Likewise.
3474 (POLL_MSG): Likewise.
3475 (POLL_ERR): Likewise.
3476 (POLL_PRI): Likewise.
3477 (POLL_HUP): Likewise.
3478 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3479 (ILL_ILLOPN): Likewise.
3480 (ILL_ILLADR): Likewise.
3481 (ILL_ILLTRP): Likewise.
3482 (ILL_PRVOPC): Likewise.
3483 (ILL_PRVREG): Likewise.
3484 (ILL_COPROC): Likewise.
3485 (ILL_BADSTK): Likewise.
3486 (FPE_INTDIV): Likewise.
3487 (FPE_INTOVF): Likewise.
3488 (FPE_FLTDIV): Likewise.
3489 (FPE_FLTOVF): Likewise.
3490 (FPE_FLTUND): Likewise.
3491 (FPE_FLTRES): Likewise.
3492 (FPE_FLTINV): Likewise.
3493 (FPE_FLTSUB): Likewise.
3494 (SEGV_MAPERR): Likewise.
3495 (SEGV_ACCERR): Likewise.
3496 (BUS_ADRALN): Likewise.
3497 (BUS_ADRERR): Likewise.
3498 (BUS_OBJERR): Likewise.
3499 (BUS_MCEERR_AR): Likewise.
3500 (BUS_MCEERR_AO): Likewise.
3501 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3502 (TRAP_TRACE): Likewise.
3503 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3504 __USE_XOPEN2K8].
3505 (CLD_KILLED): Likewise.
3506 (CLD_DUMPED): Likewise.
3507 (CLD_TRAPPED): Likewise.
3508 (CLD_STOPPED): Likewise.
3509 (CLD_CONTINUED): Likewise.
3510 (POLL_IN): Likewise.
3511 (POLL_OUT): Likewise.
3512 (POLL_MSG): Likewise.
3513 (POLL_ERR): Likewise.
3514 (POLL_PRI): Likewise.
3515 (POLL_HUP): Likewise.
3516 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3517 (ILL_ILLOPN): Likewise.
3518 (ILL_ILLADR): Likewise.
3519 (ILL_ILLTRP): Likewise.
3520 (ILL_PRVOPC): Likewise.
3521 (ILL_PRVREG): Likewise.
3522 (ILL_COPROC): Likewise.
3523 (ILL_BADSTK): Likewise.
3524 (FPE_INTDIV): Likewise.
3525 (FPE_INTOVF): Likewise.
3526 (FPE_FLTDIV): Likewise.
3527 (FPE_FLTOVF): Likewise.
3528 (FPE_FLTUND): Likewise.
3529 (FPE_FLTRES): Likewise.
3530 (FPE_FLTINV): Likewise.
3531 (FPE_FLTSUB): Likewise.
3532 (SEGV_MAPERR): Likewise.
3533 (SEGV_ACCERR): Likewise.
3534 (BUS_ADRALN): Likewise.
3535 (BUS_ADRERR): Likewise.
3536 (BUS_OBJERR): Likewise.
3537 (BUS_MCEERR_AR): Likewise.
3538 (BUS_MCEERR_AO): Likewise.
3539 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3540 (TRAP_TRACE): Likewise.
3541 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3542 __USE_XOPEN2K8].
3543 (CLD_KILLED): Likewise.
3544 (CLD_DUMPED): Likewise.
3545 (CLD_TRAPPED): Likewise.
3546 (CLD_STOPPED): Likewise.
3547 (CLD_CONTINUED): Likewise.
3548 (POLL_IN): Likewise.
3549 (POLL_OUT): Likewise.
3550 (POLL_MSG): Likewise.
3551 (POLL_ERR): Likewise.
3552 (POLL_PRI): Likewise.
3553 (POLL_HUP): Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3555 (ILL_ILLOPN): Likewise.
3556 (ILL_ILLADR): Likewise.
3557 (ILL_ILLTRP): Likewise.
3558 (ILL_PRVOPC): Likewise.
3559 (ILL_PRVREG): Likewise.
3560 (ILL_COPROC): Likewise.
3561 (ILL_BADSTK): Likewise.
3562 (FPE_INTDIV): Likewise.
3563 (FPE_INTOVF): Likewise.
3564 (FPE_FLTDIV): Likewise.
3565 (FPE_FLTOVF): Likewise.
3566 (FPE_FLTUND): Likewise.
3567 (FPE_FLTRES): Likewise.
3568 (FPE_FLTINV): Likewise.
3569 (FPE_FLTSUB): Likewise.
3570 (SEGV_MAPERR): Likewise.
3571 (SEGV_ACCERR): Likewise.
3572 (BUS_ADRALN): Likewise.
3573 (BUS_ADRERR): Likewise.
3574 (BUS_OBJERR): Likewise.
3575 (BUS_MCEERR_AR): Likewise.
3576 (BUS_MCEERR_AO): Likewise.
3577 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3578 (TRAP_TRACE): Likewise.
3579 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3580 __USE_XOPEN2K8].
3581 (CLD_KILLED): Likewise.
3582 (CLD_DUMPED): Likewise.
3583 (CLD_TRAPPED): Likewise.
3584 (CLD_STOPPED): Likewise.
3585 (CLD_CONTINUED): Likewise.
3586 (POLL_IN): Likewise.
3587 (POLL_OUT): Likewise.
3588 (POLL_MSG): Likewise.
3589 (POLL_ERR): Likewise.
3590 (POLL_PRI): Likewise.
3591 (POLL_HUP): Likewise.
3592 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3593 (ILL_ILLOPN): Likewise.
3594 (ILL_ILLADR): Likewise.
3595 (ILL_ILLTRP): Likewise.
3596 (ILL_PRVOPC): Likewise.
3597 (ILL_PRVREG): Likewise.
3598 (ILL_COPROC): Likewise.
3599 (ILL_BADSTK): Likewise.
3600 (ILL_DBLFLT): Likewise.
3601 (ILL_HARDWALL): Likewise.
3602 (FPE_INTDIV): Likewise.
3603 (FPE_INTOVF): Likewise.
3604 (FPE_FLTDIV): Likewise.
3605 (FPE_FLTOVF): Likewise.
3606 (FPE_FLTUND): Likewise.
3607 (FPE_FLTRES): Likewise.
3608 (FPE_FLTINV): Likewise.
3609 (FPE_FLTSUB): Likewise.
3610 (SEGV_MAPERR): Likewise.
3611 (SEGV_ACCERR): Likewise.
3612 (BUS_ADRALN): Likewise.
3613 (BUS_ADRERR): Likewise.
3614 (BUS_OBJERR): Likewise.
3615 (BUS_MCEERR_AR): Likewise.
3616 (BUS_MCEERR_AO): Likewise.
3617 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3618 (TRAP_TRACE): Likewise.
3619 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3620 __USE_XOPEN2K8].
3621 (CLD_KILLED): Likewise.
3622 (CLD_DUMPED): Likewise.
3623 (CLD_TRAPPED): Likewise.
3624 (CLD_STOPPED): Likewise.
3625 (CLD_CONTINUED): Likewise.
3626 (POLL_IN): Likewise.
3627 (POLL_OUT): Likewise.
3628 (POLL_MSG): Likewise.
3629 (POLL_ERR): Likewise.
3630 (POLL_PRI): Likewise.
3631 (POLL_HUP): Likewise.
3632 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3633 (ILL_ILLOPN): Likewise.
3634 (ILL_ILLADR): Likewise.
3635 (ILL_ILLTRP): Likewise.
3636 (ILL_PRVOPC): Likewise.
3637 (ILL_PRVREG): Likewise.
3638 (ILL_COPROC): Likewise.
3639 (ILL_BADSTK): Likewise.
3640 (FPE_INTDIV): Likewise.
3641 (FPE_INTOVF): Likewise.
3642 (FPE_FLTDIV): Likewise.
3643 (FPE_FLTOVF): Likewise.
3644 (FPE_FLTUND): Likewise.
3645 (FPE_FLTRES): Likewise.
3646 (FPE_FLTINV): Likewise.
3647 (FPE_FLTSUB): Likewise.
3648 (SEGV_MAPERR): Likewise.
3649 (SEGV_ACCERR): Likewise.
3650 (BUS_ADRALN): Likewise.
3651 (BUS_ADRERR): Likewise.
3652 (BUS_OBJERR): Likewise.
3653 (BUS_MCEERR_AR): Likewise.
3654 (BUS_MCEERR_AO): Likewise.
3655 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3656 (TRAP_TRACE): Likewise.
3657 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3658 __USE_XOPEN2K8].
3659 (CLD_KILLED): Likewise.
3660 (CLD_DUMPED): Likewise.
3661 (CLD_TRAPPED): Likewise.
3662 (CLD_STOPPED): Likewise.
3663 (CLD_CONTINUED): Likewise.
3664 (POLL_IN): Likewise.
3665 (POLL_OUT): Likewise.
3666 (POLL_MSG): Likewise.
3667 (POLL_ERR): Likewise.
3668 (POLL_PRI): Likewise.
3669 (POLL_HUP): Likewise.
3670 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3671 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3672
bc61d27c
JM
3673 [BZ #16670]
3674 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3675 before #include of <time.h>.
3676 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3677 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3678 (test-xfail-UNIX98/sched.h/conform): Likewise.
3679
302949e2
MS
36802014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3681
3682 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3683 error absence of trapping exception support.
3684 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3685
a00f522a
JM
36862014-03-07 Joseph Myers <joseph@codesourcery.com>
3687
6f99f280
JM
3688 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3689 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3690 * timezone/Makefile (testdata): Move definition above include of
3691 Rules.
3692 (test-zones): New variable.
3693 (tests-special): Add zone files.
3694 (build-testdata): Use $(evaluate-test).
3695
0b20a9e8
JM
3696 * elf/Makefile (tests-special): Rename tests to end with .out.
3697 ($(objpfx)noload-mem): Likewise.
3698 ($(objpfx)tst-leaks1-mem): Likewise.
3699 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3700 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3701 $(objpfx)test-iconvconfig.out.
3702 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3703 set -e inside subshell and redirect output to file.
3704 * iconvdata/Makefile (generated): Rename tests to end with .out.
3705 Correct type.
3706 (tests-special): Rename tests to end with .out.
3707 ($(objpfx)mtrace-tst-loading): Likewise.
3708 * intl/Makefile (generated): Likewise.
3709 (tests-special): Likewise.
3710 ($(objpfx)mtrace-tst-gettext): Likewise.
3711 * misc/Makefile (generated): Likewise.
3712 (tests-special): Likewise.
3713 ($(objpfx)tst-error1-mem): Likewise.
3714 * nptl/Makefile (tests-special): Likewise.
3715 ($(objpfx)tst-stack3-mem): Likewise.
3716 (generated): Likewise.
3717 * posix/Makefile (generated): Likewise.
3718 (tests-special): Likewise.
3719 (xtests-special): Likewise.
3720 ($(objpfx)tst-fnmatch-mem): Likewise.
3721 ($(objpfx)bug-regex2-mem): Likewise.
3722 ($(objpfx)bug-regex14-mem): Likewise.
3723 ($(objpfx)bug-regex21-mem): Likewise.
3724 ($(objpfx)bug-regex31-mem): Likewise.
3725 ($(objpfx)tst-vfork3-mem): Likewise.
3726 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3727 ($(objpfx)tst-pcre-mem): Likewise.
3728 ($(objpfx)tst-boost-mem): Likewise.
3729 ($(objpfx)bug-ga2-mem): Likewise.
3730 ($(objpfx)bug-glob2-mem): Likewise.
3731 * resolv/Makefile (generate): Likewise.
3732 (tests-special): Likewise.
3733 (xtests-special): Likewise.
3734 (generated): Likewise.
3735 ($(objpfx)mtrace-tst-leaks): Likewise.
3736 ($(objpfx)mtrace-tst-leaks2): Likewise.
3737
265d52ab
JM
3738 * scripts/merge-test-results.sh: New file.
3739 * Makefile (tests-special-notdir): New variable.
3740 (tests): Run merge-test-results.sh.
3741 (xtests): Likewise.
3742 * Rules (tests-special-notdir): New variable.
3743 (xtests-special-notdir): Likewise.
3744 (tests): Run merge-test-results.sh
3745 (xtests): Likewise.
3746
54ee292d
JM
3747 * Makeconfig (test-xfail-name): New variable.
3748 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3749 compute variable name for expected failures.
3750 * conform/Makefile (conformtest-headers-data): New variable.
3751 (conformtest-standards): Likewise.
3752 (conformtest-headers-ISO): Likewise.
3753 (conformtest-headers-ISO99): Likewise.
3754 (conformtest-headers-ISO11): Likewise.
3755 (conformtest-headers-POSIX): Likewise.
3756 (conformtest-headers-XPG3): Likewise.
3757 (conformtest-headers-XPG4): Likewise.
3758 (conformtest-headers-UNIX98): Likewise.
3759 (conformtest-headers-XOPEN2K): Likewise.
3760 (conformtest-headers-POSIX2008): Likewise.
3761 (conformtest-headers-XOPEN2K8): Likewise.
3762 (conformtest-header-list-base): Likewise.
3763 (conformtest-header-list-tests): Likewise.
3764 (conformtest-header-base): Likewise.
3765 (conformtest-header-tests): Likewise.
3766 (tests-special): Add $(conformtest-header-list-tests). If
3767 [$(fast-check) && !$(cross-compiling)], add
3768 $(conformtest-header-tests) instead of
3769 $(objpfx)run-conformtest.out.
3770 (generated): Add $(conformtest-header-list-base). If
3771 [$(fast-check) && !$(cross-compiling)], add
3772 $(conformtest-header-base). Remove previous setting.
3773 ($(conformtest-header-list-tests)): New target.
3774 (test-xfail-run-conformtest): Remove variable.
3775 ($(objpfx)run-conformtest.out): Remove target.
3776 (test-xfail-ISO11/complex.h/conform): New variable.
3777 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3778 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3779 (test-xfail-XPG3/varargs.h/conform): Likewise.
3780 (test-xfail-XPG4/varargs.h/conform): Likewise.
3781 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3782 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3783 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3784 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3785 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3786 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3787 (test-xfail-XPG3/ftw.h/conform): Likewise.
3788 (test-xfail-XPG3/grp.h/conform): Likewise.
3789 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3790 (test-xfail-XPG3/limits.h/conform): Likewise.
3791 (test-xfail-XPG3/pwd.h/conform): Likewise.
3792 (test-xfail-XPG3/search.h/conform): Likewise.
3793 (test-xfail-XPG3/signal.h/conform): Likewise.
3794 (test-xfail-XPG3/stdio.h/conform): Likewise.
3795 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3796 (test-xfail-XPG3/string.h/conform): Likewise.
3797 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3798 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3799 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3800 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3801 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3802 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3803 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3804 (test-xfail-XPG3/termios.h/conform): Likewise.
3805 (test-xfail-XPG3/time.h/conform): Likewise.
3806 (test-xfail-XPG3/unistd.h/conform): Likewise.
3807 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3808 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3809 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3810 (test-xfail-XPG4/netdb.h/conform): Likewise.
3811 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3812 (test-xfail-XPG4/signal.h/conform): Likewise.
3813 (test-xfail-XPG4/stdio.h/conform): Likewise.
3814 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3815 (test-xfail-XPG4/stropts.h/conform): Likewise.
3816 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3817 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3818 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3819 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3820 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3821 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3822 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3823 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3824 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3825 (test-xfail-XPG4/termios.h/conform): Likewise.
3826 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3827 (test-xfail-XPG4/unistd.h/conform): Likewise.
3828 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3829 (test-xfail-POSIX/sched.h/conform): Likewise.
3830 (test-xfail-POSIX/signal.h/conform): Likewise.
3831 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3832 (test-xfail-POSIX/tar.h/conform): Likewise.
3833 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3834 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3835 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3836 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3837 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3838 (test-xfail-UNIX98/sched.h/conform): Likewise.
3839 (test-xfail-UNIX98/signal.h/conform): Likewise.
3840 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3841 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3842 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3843 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3844 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3845 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3846 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3847 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3848 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3849 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3850 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3851 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3852 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3853 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3854 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3855 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3856 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3857 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3858 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3859 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3860 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3861 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3862 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3863 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3864 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3865 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3866 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3867 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3868 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3869 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3870 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3871 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3872 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3873 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3874 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3875 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3876 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3877 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3878 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3879 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3880 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3881 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3882 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3883 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3884 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3885 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3886 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3887 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3888 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3889 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3890 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3891 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3892 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3893 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3894 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3895 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3896 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3897 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3898 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3899 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3900 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3901 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3902 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3903 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3904 (conformtest-cc-flags): Likewise.
3905 ($(conformtest-header-tests): New target.
3906 * conform/check-header-lists.sh: New file.
3907 * conform/run-conformtest.sh: Remove.
3908
a00f522a
JM
3909 * conform/conformtest.pl: Allow ' and \ in values given for
3910 constants.
3911 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3912 inclusion.
3913 [POSIX] (sys/types.h): Likewise.
3914 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3915 inclusion.
3916 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3917 inclusion.
3918 * conform/data/signal.h-data (SIGIO): Remove expectation.
3919 [XPG3] (SIGBUS): Do not expect.
3920 [POSIX || XPG3] (SIGPOLL): Likewise.
3921 [POSIX || XPG3] (SIGPROF): Likewise.
3922 [POSIX || XPG3] (SIGSYS): Likewise.
3923 [XPG3] (SIGTRAP): Likewise.
3924 [POSIX || XPG3] (SIGURG): Likewise.
3925 [POSIX || XPG3] (SIGVTALRM): Likewise.
3926 [POSIX || XPG3] (SIGXCPU): Likewise.
3927 [POSIX || XPG3] (SIGXFSZ): Likewise.
3928 [POSIX] (SA_SIGINFO): Expect.
3929 [XPG3] (siginfo_t): Do not expect type or contents.
3930 [POSIX] (si_pid): Do not expect element.
3931 [POSIX] (si_uid): Likewise.
3932 [POSIX] (si_addr): Likewise.
3933 [POSIX] (si_status): Likewise.
3934 [POSIX] (si_band): Likewise.
3935 [XPG4] (si_value): Likewise.
3936 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3937 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3938 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3939 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3940 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3941 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3942 [POSIX || XPG3] (ILL_COPROC): Likewise.
3943 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3944 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3945 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3946 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3947 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3948 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3949 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3950 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3951 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3952 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3953 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3954 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3955 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3956 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3957 [POSIX || XPG3] (CLD_EXITED): Likewise.
3958 [POSIX || XPG3] (CLD_KILLED): Likewise.
3959 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3960 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3961 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3962 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3963 [POSIX || XPG3] (POLL_IN): Likewise.
3964 [POSIX || XPG3] (POLL_OUT): Likewise.
3965 [POSIX || XPG3] (POLL_MSG): Likewise.
3966 [POSIX || XPG3] (POLL_ERR): Likewise.
3967 [POSIX || XPG3] (POLL_PRI): Likewise.
3968 [POSIX || XPG3] (POLL_HUP): Likewise.
3969 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3970 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3971 (SIG*): Do not allow.
3972 [XPG3] (si_*): Likewise.
3973 [XPG3] (SI_*): Likewise.
3974 [XPG3 || XPG4] (sigev_*): Likewise.
3975 [XPG3 || XPG4] (SIGEV_*): Likewise.
3976 [XPG3 || XPG4] (sival_*): Likewise.
3977 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3978 [POSIX || XPG3] (BUS_*): Likewise.
3979 [POSIX || XPG3] (CLD_*): Likewise.
3980 [POSIX || XPG3] (FPE_*): Likewise.
3981 [POSIX || XPG3] (ILL_*): Likewise.
3982 [POSIX || XPG3] (POLL_*): Likewise.
3983 [POSIX || XPG3] (SEGV_*): Likewise.
3984 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3985 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3986 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3987 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3988 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3989 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3990 Specify type and value.
3991 (TVERSLEN): Likewise.
3992 (REGTYPE): Likewise.
3993 (AREGTYPE): Likewise.
3994 (LNKTYPE): Likewise.
3995 (SYMTYPE): Likewise.
3996 (CHRTYPE): Likewise.
3997 (BLKTYPE): Likewise.
3998 (DIRTYPE): Likewise.
3999 (FIFOTYPE): Likewise.
4000 (CONTTYPE): Likewise.
4001 (TSUID): Likewise.
4002 (TSGID): Likewise.
4003 (TSVTX): Likewise.
4004 (TUREAD): Likewise.
4005 (TUWRITE): Likewise.
4006 (TUEXEC): Likewise.
4007 (TGREAD): Likewise.
4008 (TGWRITE): Likewise.
4009 (TGEXEC): Likewise.
4010 (TOREAD): Likewise.
4011 (TOWRITE): Likewise.
4012 (TOEXEC): Likewise.
4013 [POSIX] (TSVTX): Expect constant.
4014
aa97dee1
JM
40152014-03-06 Joseph Myers <joseph@codesourcery.com>
4016
f214606a
JM
4017 * Makefile (tests): Change dependencies to ....
4018 (tests-special): ... additions to this variable.
4019 (tests): Depend on $(tests-special).
4020 * Makerules (check-abi-list): New variable.
4021 (check-abi): Depend on $(check-abi-list).
4022 [$(subdir) = elf] (tests-special): Add
4023 $(objpfx)check-abi-libc.out.
4024 [$(build-shared) = yes && subdir] (tests-special): Add
4025 $(check-abi-list).
4026 [$(build-shared) = yes && subdir] (tests): Do not depend on
4027 check-abi.
4028 * Rules (tests): Depend on $(tests-special).
4029 (xtests): Depend on $(xtests-special).
4030 * catgets/Makefile (tests): Change dependencies to ....
4031 (tests-special): ... additions to this variable.
4032 * conform/Makefile (tests): Change dependencies to ....
4033 (tests-special): ... additions to this variable.
4034 * elf/Makefile (tests): Change dependencies to ....
4035 (tests-special): ... additions to this variable.
4036 * grp/Makefile (tests): Change dependencies to ....
4037 (tests-special): ... additions to this variable.
4038 * iconv/Makefile (xtests): Change dependencies to ....
4039 (xtests-special): ... additions to this variable.
4040 * iconvdata/Makefile (tests): Change dependencies to ....
4041 (tests-special): ... additions to this variable.
4042 * intl/Makefile (tests): Change dependencies to ....
4043 (tests-special): ... additions to this variable. Also add
4044 $(objpfx)tst-gettext.out.
4045 * io/Makefile (tests): Change dependencies to ....
4046 (tests-special): ... additions to this variable.
4047 * libio/Makefile (tests): Change dependencies to ....
4048 (tests-special): ... additions to this variable.
4049 * malloc/Makefile (tests): Change dependencies to ....
4050 (tests-special): ... additions to this variable.
4051 * misc/Makefile (tests): Change dependencies to ....
4052 (tests-special): ... additions to this variable.
4053 * nptl/Makefile (tests): Change dependencies to ....
4054 (tests-special): ... additions to this variable.
4055 * nptl_db/Makefile (tests): Change dependencies to ....
4056 (tests-special): ... additions to this variable.
4057 * posix/Makefile (tests): Change dependencies to ....
4058 (tests-special): ... additions to this variable.
4059 (xtests): Change dependencies to ....
4060 (xtests-special): ... additions to this variable.
4061 * resolv/Makefile (tests): Change dependencies to ....
4062 (tests-special): ... additions to this variable.
4063 (xtests): Change dependencies to ....
4064 (xtests-special): ... additions to this variable.
4065 * stdio-common/Makefile (tests): Change dependencies to ....
4066 (tests-special): ... additions to this variable.
4067 (do-tst-unbputc): Remove target.
4068 (do-tst-printf): Likewise.
4069 * stdlib/Makefile (tests): Change dependencies to ....
4070 (tests-special): ... additions to this variable.
4071 * string/Makefile (tests): Change dependencies to ....
4072 (tests-special): ... additions to this variable.
4073 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4074 (tests-special): ... additions to this variable.
4075
81700b53
JM
4076 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4077 whole file.
4078 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4079 whole file.
4080 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4081 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4082
2ea18461
JM
4083 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4084 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4085 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4086 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4087 * conform/data/libgen.h-data [XPG3]: Likewise.
4088 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4089 * conform/data/ndbm.h-data [XPG3]: Likewise.
4090 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4091 * conform/data/netdb.h-data [XPG3]: Likewise.
4092 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4093 * conform/data/poll.h-data [XPG3]: Likewise.
4094 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4095 * conform/data/strings.h-data [XPG3]: Likewise.
4096 * conform/data/stropts.h-data [XPG3]: Likewise.
4097 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4098 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4099 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4100 Likewise.
4101 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4102 * conform/data/sys/time.h-data [XPG3]: Likewise.
4103 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4104 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4105 * conform/data/sys/un.h-data [XPG3]: Likewise.
4106 * conform/data/syslog.h-data [XPG3]: Likewise.
4107 * conform/data/ucontext.h-data [XPG3]: Likewise.
4108 * conform/data/utmpx.h-data [XPG3]: Likewise.
4109 * conform/data/varargs.h-data [UNIX98]: Enable file.
4110
355bc986
JM
4111 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4112
215db402
JM
4113 * math/libm-test.inc (struct test_f_f_data): Move expected results
4114 into structure for each rounding mode.
4115 (struct test_ff_f_data): Likewise.
4116 (struct test_ff_f_data_nexttoward): Likewise.
4117 (struct test_fi_f_data): Likewise.
4118 (struct test_fl_f_data): Likewise.
4119 (struct test_if_f_data): Likewise.
4120 (struct test_fff_f_data): Likewise.
4121 (struct test_c_f_data): Likewise.
4122 (struct test_f_f1_data): Likewise.
4123 (struct test_fF_f1_data): Likewise.
4124 (struct test_ffI_f1_data): Likewise.
4125 (struct test_c_c_data): Likewise.
4126 (struct test_cc_c_data): Likewise.
4127 (struct test_f_i_data): Likewise.
4128 (struct test_ff_i_data): Likewise.
4129 (struct test_f_l_data): Likewise.
4130 (struct test_f_L_data): Likewise.
4131 (struct test_fFF_11_data): Likewise.
4132 (RM_): New macro.
4133 (RM_FE_DOWNWARD): Likewise.
4134 (RM_FE_TONEAREST): Likewise.
4135 (RM_FE_TOWARDZERO): Likewise.
4136 (RM_FE_UPWARD): Likewise.
4137 (RUN_TEST_LOOP_f_f): Update references to expected results.
4138 (RUN_TEST_LOOP_2_f): Likewise.
4139 (RUN_TEST_LOOP_fff_f): Likewise.
4140 (RUN_TEST_LOOP_c_f): Likewise.
4141 (RUN_TEST_LOOP_f_f1): Likewise.
4142 (RUN_TEST_LOOP_fF_f1): Likewise.
4143 (RUN_TEST_LOOP_fI_f1): Likewise.
4144 (RUN_TEST_LOOP_ffI_f1): Likewise.
4145 (RUN_TEST_LOOP_c_c): Likewise.
4146 (RUN_TEST_LOOP_cc_c): Likewise.
4147 (RUN_TEST_LOOP_f_i): Likewise.
4148 (RUN_TEST_LOOP_f_i_tg): Likewise.
4149 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4150 (RUN_TEST_LOOP_f_b): Likewise.
4151 (RUN_TEST_LOOP_f_b_tg): Likewise.
4152 (RUN_TEST_LOOP_f_l): Likewise.
4153 (RUN_TEST_LOOP_f_L): Likewise.
4154 (RUN_TEST_LOOP_fFF_11): Likewise.
4155 * math/gen-libm-test.pl (parse_args): Output four copies of
4156 expected results for each test.
4157
67737b8f
JM
4158 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4159 (__ASSUME_UTIMES): Remove.
4160 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4161 (__ASSUME_UTIMES): Likewise.
4162
aa97dee1
JM
4163 * math/gen-auto-libm-tests.c: Update comment on output format.
4164 (output_for_one_input_case): Generate before-rounding and
4165 after-rounding information as conditions on output flags not
4166 floating-point format.
4167 * math/auto-libm-test-out: Regenerated.
4168 * math/gen-libm-test.pl (cond_value): New function.
4169 (or_cond_value): Use cond_value.
4170 (generate_testfile): Handle conditional exceptions.
4171
e6b6a857
JM
41722014-03-05 Joseph Myers <joseph@codesourcery.com>
4173
2f0a0f44
JM
4174 * math/libm-test.inc (max_valid_error): New variable.
4175 (init_max_error): Take new argument specifying whether function
4176 results are exactly determined. Set max_valid_error and bound
4177 other variables for errors based on this argument.
4178 (set_max_error): Do not record results above max_valid_error.
4179 (check_float_internal): Only accept errors of up to 0.5ulps if
4180 also at most max_valid_error.
4181 (START): Take new argument EXACT and pass it to init_max_error.
4182 (acos_test): Update call to START.
4183 (acos_test_tonearest): Likewise.
4184 (acos_test_towardzero): Likewise.
4185 (acos_test_downward): Likewise.
4186 (acos_test_upward): Likewise.
4187 (acosh_test): Likewise.
4188 (asin_test): Likewise.
4189 (asin_test_tonearest): Likewise.
4190 (asin_test_towardzero): Likewise.
4191 (asin_test_downward): Likewise.
4192 (asin_test_upward): Likewise.
4193 (asinh_test): Likewise.
4194 (atan_test): Likewise.
4195 (atanh_test): Likewise.
4196 (atan2_test): Likewise.
4197 (cabs_test): Likewise.
4198 (cacos_test): Likewise.
4199 (cacosh_test): Likewise.
4200 (carg_test): Likewise.
4201 (casin_test): Likewise.
4202 (casinh_test): Likewise.
4203 (catan_test): Likewise.
4204 (catanh_test): Likewise.
4205 (cbrt_test): Likewise.
4206 (ccos_test): Likewise.
4207 (ccosh_test): Likewise.
4208 (ceil_test): Likewise.
4209 (cexp_test): Likewise.
4210 (cimag_test): Likewise.
4211 (clog_test): Likewise.
4212 (clog10_test): Likewise.
4213 (conj_test): Likewise.
4214 (copysign_test): Likewise.
4215 (cos_test): Likewise.
4216 (cos_test_tonearest): Likewise.
4217 (cos_test_towardzero): Likewise.
4218 (cos_test_downward): Likewise.
4219 (cos_test_upward): Likewise.
4220 (cosh_test): Likewise.
4221 (cosh_test_tonearest): Likewise.
4222 (cosh_test_towardzero): Likewise.
4223 (cosh_test_downward): Likewise.
4224 (cosh_test_upward): Likewise.
4225 (cpow_test): Likewise.
4226 (cproj_test): Likewise.
4227 (creal_test): Likewise.
4228 (csin_test): Likewise.
4229 (csinh_test): Likewise.
4230 (csqrt_test): Likewise.
4231 (ctan_test): Likewise.
4232 (ctan_test_tonearest): Likewise.
4233 (ctan_test_towardzero): Likewise.
4234 (ctan_test_downward): Likewise.
4235 (ctan_test_upward): Likewise.
4236 (ctanh_test): Likewise.
4237 (ctanh_test_tonearest): Likewise.
4238 (ctanh_test_towardzero): Likewise.
4239 (ctanh_test_downward): Likewise.
4240 (ctanh_test_upward): Likewise.
4241 (erf_test): Likewise.
4242 (erfc_test): Likewise.
4243 (exp_test): Likewise.
4244 (exp_test_tonearest): Likewise.
4245 (exp_test_towardzero): Likewise.
4246 (exp_test_downward): Likewise.
4247 (exp_test_upward): Likewise.
4248 (exp10_test): Likewise.
4249 (exp10_test_tonearest): Likewise.
4250 (exp10_test_towardzero): Likewise.
4251 (exp10_test_downward): Likewise.
4252 (exp10_test_upward): Likewise.
4253 (pow10_test): Likewise.
4254 (exp2_test): Likewise.
4255 (expm1_test): Likewise.
4256 (expm1_test_tonearest): Likewise.
4257 (expm1_test_towardzero): Likewise.
4258 (expm1_test_downward): Likewise.
4259 (expm1_test_upward): Likewise.
4260 (fabs_test): Likewise.
4261 (fdim_test): Likewise.
4262 (floor_test): Likewise.
4263 (fma_test): Likewise.
4264 (fma_test_towardzero): Likewise.
4265 (fma_test_downward): Likewise.
4266 (fma_test_upward): Likewise.
4267 (fmax_test): Likewise.
4268 (fmin_test): Likewise.
4269 (fmod_test): Likewise.
4270 (fpclassify_test): Likewise.
4271 (frexp_test): Likewise.
4272 (hypot_test): Likewise.
4273 (ilogb_test): Likewise.
4274 (isfinite_test): Likewise.
4275 (finite_test): Likewise.
4276 (isgreater_test): Likewise.
4277 (isgreaterequal_test): Likewise.
4278 (isinf_test): Likewise.
4279 (isless_test): Likewise.
4280 (islessequal_test): Likewise.
4281 (islessgreater_test): Likewise.
4282 (isnan_test): Likewise.
4283 (isnormal_test): Likewise.
4284 (issignaling_test): Likewise.
4285 (isunordered_test): Likewise.
4286 (j0_test): Likewise.
4287 (j1_test): Likewise.
4288 (jn_test): Likewise.
4289 (ldexp_test): Likewise.
4290 (lgamma_test): Likewise.
4291 (gamma_test): Likewise.
4292 (lrint_test): Likewise.
4293 (lrint_test_tonearest): Likewise.
4294 (lrint_test_towardzero): Likewise.
4295 (lrint_test_downward): Likewise.
4296 (lrint_test_upward): Likewise.
4297 (llrint_test): Likewise.
4298 (llrint_test_tonearest): Likewise.
4299 (llrint_test_towardzero): Likewise.
4300 (llrint_test_downward): Likewise.
4301 (llrint_test_upward): Likewise.
4302 (log_test): Likewise.
4303 (log10_test): Likewise.
4304 (log1p_test): Likewise.
4305 (log2_test): Likewise.
4306 (logb_test): Likewise.
4307 (logb_test_downward): Likewise.
4308 (lround_test): Likewise.
4309 (llround_test): Likewise.
4310 (modf_test): Likewise.
4311 (nearbyint_test): Likewise.
4312 (nextafter_test): Likewise.
4313 (nexttoward_test): Likewise.
4314 (pow_test): Likewise.
4315 (pow_test_tonearest): Likewise.
4316 (pow_test_towardzero): Likewise.
4317 (pow_test_downward): Likewise.
4318 (pow_test_upward): Likewise.
4319 (remainder_test): Likewise.
4320 (drem_test): Likewise.
4321 (remainder_test_tonearest): Likewise.
4322 (drem_test_tonearest): Likewise.
4323 (remainder_test_towardzero): Likewise.
4324 (drem_test_towardzero): Likewise.
4325 (remainder_test_downward): Likewise.
4326 (drem_test_downward): Likewise.
4327 (remainder_test_upward): Likewise.
4328 (drem_test_upward): Likewise.
4329 (remquo_test): Likewise.
4330 (rint_test): Likewise.
4331 (rint_test_tonearest): Likewise.
4332 (rint_test_towardzero): Likewise.
4333 (rint_test_downward): Likewise.
4334 (rint_test_upward): Likewise.
4335 (round_test): Likewise.
4336 (scalb_test): Likewise.
4337 (scalbn_test): Likewise.
4338 (scalbln_test): Likewise.
4339 (signbit_test): Likewise.
4340 (sin_test): Likewise.
4341 (sin_test_tonearest): Likewise.
4342 (sin_test_towardzero): Likewise.
4343 (sin_test_downward): Likewise.
4344 (sin_test_upward): Likewise.
4345 (sincos_test): Likewise.
4346 (sinh_test): Likewise.
4347 (sinh_test_tonearest): Likewise.
4348 (sinh_test_towardzero): Likewise.
4349 (sinh_test_downward): Likewise.
4350 (sinh_test_upward): Likewise.
4351 (sqrt_test): Likewise.
4352 (sqrt_test_tonearest): Likewise.
4353 (sqrt_test_towardzero): Likewise.
4354 (sqrt_test_downward): Likewise.
4355 (sqrt_test_upward): Likewise.
4356 (tan_test): Likewise.
4357 (tan_test_tonearest): Likewise.
4358 (tan_test_towardzero): Likewise.
4359 (tan_test_downward): Likewise.
4360 (tan_test_upward): Likewise.
4361 (tanh_test): Likewise.
4362 (tgamma_test): Likewise.
4363 (trunc_test): Likewise.
4364 (y0_test): Likewise.
4365 (y1_test): Likewise.
4366 (yn_test): Likewise.
4367 (significand_test): Likewise.
4368
e6b6a857
JM
4369 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4370 individual tests in comment.
4371 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4372 (prev_max_error): New variable.
4373 (prev_real_max_error): Likewise.
4374 (prev_imag_max_error): Likewise.
4375 (compare_ulp_data): Don't refer to test names in comment.
4376 (find_test_ulps): Remove function.
4377 (find_function_ulps): Likewise.
4378 (find_complex_function_ulps): Likewise.
4379 (init_max_error): Take function name as argument. Look up ulps
4380 for that function.
4381 (print_ulps): Remove function.
4382 (print_max_error): Use prev_max_error instead of calling
4383 find_function_ulps.
4384 (print_complex_max_error): Use prev_real_max_error and
4385 prev_imag_max_error instead of calling find_complex_function_ulps.
4386 (check_float_internal): Take max_ulp parameter instead of calling
4387 find_test_ulps. Don't call print_ulps.
4388 (check_float): Update call to check_float_internal.
4389 (check_complex): Update calls to check_float_internal.
4390 (START): Pass argument to init_max_error.
4391 * math/gen-libm-test.pl (%results): Don't include "kind"
4392 information.
4393 (parse_ulps): Don't handle ulps of individual tests.
4394 (print_ulps_file): Likewise.
4395 (output_ulps): Likewise.
4396 * math/README.libm-test: Update.
4397 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4398 individual tests.
4399 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4400 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4401 * sysdeps/arm/libm-test-ulps: Likewise.
4402 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4403 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4404 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4405 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4406 * sysdeps/microblaze/libm-test-ulps: Likewise.
4407 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4408 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4410 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4411 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4412 * sysdeps/sh/libm-test-ulps: Likewise.
4413 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4414 * sysdeps/tile/libm-test-ulps: Likewise.
4415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4416
45adef3c
JM
44172014-03-04 Joseph Myers <joseph@codesourcery.com>
4418
4419 * math/libm-test.inc (print_complex_max_error): Check separately
4420 whether real and imaginary errors are within allowed range and
4421 pass 0 to print_complex_function_ulps instead of value within
4422 allowed range.
4423
000232b9
SP
44242014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4425
d4b17258
SP
4426 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4427 formatting.
4428 (get_handles_fopen): Likewise.
4429 (do_write_test): Likewise.
4430
091eff71
SP
4431 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4432
fa3cd248
SP
4433 * libio/fileops.c (do_ftell): Use cached offset when
4434 available.
4435 * libio/iofwide.c (do_ftell_wide): Likewise.
4436 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4437 _IO_file_attach.
4438 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4439
000232b9
SP
4440 [BZ #16532]
4441 * libio/libioP.h (get_file_offset): New function.
4442 * libio/fileops.c (get_file_offset): Likewise.
4443 (do_ftell): Likewise.
4444 (_IO_new_file_seekoff): Split out ftell logic.
4445 * libio/wfileops.c (do_ftell_wide): Likewise.
4446 (_IO_wfile_seekoff): Split out ftell logic.
4447 * libio/tst-ftell-active-handler.c: New test case.
4448 * libio/Makefile (tests): Add it.
4449
116f4d1a
RM
44502014-03-03 Roland McGrath <roland@hack.frob.com>
4451
4452 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4453 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4454
532a6035
SP
44552014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4456
4457 [BZ #16639]
4458 * nscd/connections.c (nscd_init): Call do_exit.
4459 (start_threads): Call do_exit and notify_parent.
4460 (begin_drop_privileges): Call do_exit.
4461 (finish_drop_privileges): Likewise.
4462 * nscd/selinux.c (preserve_capabilities): Likewise.
4463 (install_real_capabilities): Likewise.
4464 (nscd_selinux_enabled): Likewise.
4465 (avc_create_thread): Likewise.
4466 (avc_alloc_lock): Likewise.
4467 (nscd_avc_init): Likewise.
4468 * nscd/nscd.c (parent_fd): New static variable.
4469 (main): Create a pipe between parent and child processes.
4470 Skip closing parent_fd.
4471 (monitor_child): New function.
4472 (do_exit): Likewise.
4473 (notify_parent): Likewise.
4474 * nscd/nscd.h (notify_parent): Likewise.
4475 (do_exit): Likewise.
4476
d6285c9f
CD
44772014-03-03 Carlos O'Donell <carlos@redhat.com>
4478
4479 * malloc/malloc.c (__libc_calloc): Revert last change.
4480
2b85d2a0
AZ
44812014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4482
4483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4484
c7debbdf
RS
44852014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4486
4487 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4489 implementation.
4490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4491 (__libc_ifunc_impl_list): Likewise.
4492 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4493 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4494 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4495 * string/strrchr.c: Define STRRCHR.
4496
235eed86
OB
44972014-02-28 Ondřej Bílka <neleai@seznam.cz>
4498
4499 * benchtest/bench-strtok.c (simple_strtok): Delete.
4500 (strtok_string): Use as benchmark.
4501 * string/strtok (STRTOK): New macro.
4502
8e25d1e7
CD
45032014-02-28 Carlos O'Donell <carlos@redhat.com>
4504
ef563f92
CD
4505 * manual/threads.texi: Add header and standard comments to all
4506 functions.
4507
8e25d1e7
CD
4508 * elf/dl-lookup.c (check_match): New function.
4509 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4510 (do_lookup_x): Remove nested function check_match. Use non-nested
4511 function check_match.
4512
ff71cc37
RM
45132014-02-28 Roland McGrath <roland@hack.frob.com>
4514
f08e9a26
RM
4515 * csu/Makefile (generated, before-compile): Use += rather than =.
4516 * catgets/Makefile (generated, generated-dirs): Likewise.
4517 * debug/Makefile (generated): Likewise.
4518 * dlfcn/Makefile (generated): Likewise.
4519 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4520 * iconvdata/Makefile (before-compile, generated): Likewise.
4521 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4522 * libio/Makefile (generated): Likewise.
4523 * malloc/Makefile (generated): Likewise.
4524 * manual/Makefile (generated, generated-dirs): Likewise.
4525 * misc/Makefile (generated): Likewise.
4526 * posix/Makefile (generated): Likewise.
4527 * resolv/Makefile (generated): Likewise.
4528 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4529 * timezone/Makefile (generated, generated-dirs): Likewise.
4530
ff71cc37
RM
4531 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4532
fe13a20c
AZ
45332014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4534
57f41c40
AS
4535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4536 power8 implementation.
4537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4538 file: POWER8 llround ifunc implementation.
4539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4540 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4541 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4542 POWER8 llround implementation.
4543
57f41c40
AS
4544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4545 power8 implementation.
4546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4547 file: POWER8 llrint ifunc implementation.
4548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4549 Add POWER8 implementation.
1ad8950a
AZ
4550 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4551 POWER8 llrint implementation.
4552
57f41c40
AS
4553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4554 power8 implementation.
4555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4556 file: POWER8 finite ifunc implementation.
4557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4558 Add POWER8 implementation.
cac626d6
AZ
4559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4560 Likewise.
4561 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4562 POWER8 finite implementation.
4563 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4564
57f41c40
AS
4565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4566 power8 implementation.
4567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4568 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4570 POWER8 implementation.
4571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4572 Likewise.
57f41c40
AS
4573 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4574 isinf implementation.
4393fc11
AZ
4575 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4576
57f41c40
AS
4577 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4578 (INIT_ARCH): Add hwcap2 initialization.
4579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4580 power8 implementation.
4581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4582 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4584 POWER8 implementation.
4585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4586 Likewise.
57f41c40
AS
4587 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4588 isnan implementation.
487972ae
AZ
4589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4590
7d92b787
JY
45912014-02-27 Joey Ye <joey.ye@arm.com>
4592
4593 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4594 (_FP_NANFRAC_Q): Set to zero.
4595
1cadc858
SP
45962014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4597
4598 [BZ #16623]
4599 * math/auto-libm-test-in: New test inputs.
4600 * math/auto-libm-test-out: Regenerate.
4601 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4602 and DA.
4603 (__cos): Likewise.
4604 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4605
f8c17e79
JM
46062014-02-27 Joseph Myers <joseph@codesourcery.com>
4607
4608 * scripts/evaluate-test.sh: Take new argument indicating whether
4609 failure is expected.
4610 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4611 indicating whether failure is expected.
4612 * conform/Makefile (test-xfail-run-conformtest): New variable.
4613 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4614 level.
4615 * posix/Makefile (test-xfail-annexc): New variable.
4616 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4617
a5f891ac
JM
46182014-02-26 Joseph Myers <joseph@codesourcery.com>
4619
4620 * argp/Makefile: Include Makeconfig immediately after defining
4621 subdir.
4622 * assert/Makefile: Likewise.
4623 * benchtests/Makefile: Likewise.
4624 * catgets/Makefile: Likewise.
4625 * conform/Makefile: Likewise.
4626 * crypt/Makefile: Likewise.
4627 * csu/Makefile: Likewise.
4628 (all): Remove target.
4629 * ctype/Makefile: Include Makeconfig immediately after defining
4630 subdir.
4631 * debug/Makefile: Likewise.
4632 * dirent/Makefile: Likewise.
4633 * dlfcn/Makefile: Likewise.
4634 * gmon/Makefile: Likewise.
4635 * gnulib/Makefile: Likewise.
4636 * grp/Makefile: Likewise.
4637 * gshadow/Makefile: Likewise.
4638 * hesiod/Makefile: Likewise.
4639 * hurd/Makefile: Likewise.
4640 (all): Remove target.
4641 * iconvdata/Makefile: Include Makeconfig immediately after
4642 defining subdir.
4643 * inet/Makefile: Likewise.
4644 * intl/Makefile: Likewise.
4645 * io/Makefile: Likewise.
4646 * libio/Makefile: Likewise.
4647 (all): Remove target.
4648 * locale/Makefile: Include Makeconfig immediately after defining
4649 subdir.
4650 * login/Makefile: Likewise.
4651 * mach/Makefile: Likewise.
4652 (all): Remove target.
4653 * malloc/Makefile: Include Makeconfig immediately after defining
4654 subdir.
4655 (all): Remove target.
4656 * manual/Makefile: Include Makeconfig immediately after defining
4657 subdir.
4658 * math/Makefile: Likewise.
4659 * misc/Makefile: Likewise.
4660 * nis/Makefile: Likewise.
4661 * nss/Makefile: Likewise.
4662 * po/Makefile: Likewise.
4663 (all): Remove target.
4664 * posix/Makefile: Include Makeconfig immediately after defining
4665 subdir.
4666 * pwd/Makefile: Likewise.
4667 * resolv/Makefile: Likewise.
4668 * resource/Makefile: Likewise.
4669 * rt/Makefile: Likewise.
4670 * setjmp/Makefile: Likewise.
4671 * shadow/Makefile: Likewise.
4672 * signal/Makefile: Likewise.
4673 * socket/Makefile: Likewise.
4674 * soft-fp/Makefile: Likewise.
4675 * stdio-common/Makefile: Likewise.
4676 * stdlib/Makefile: Likewise.
4677 * streams/Makefile: Likewise.
4678 * string/Makefile: Likewise.
4679 * sunrpc/Makefile: Likewise.
4680 (all): Remove target.
4681 * sysvipc/Makefile: Include Makeconfig immediately after defining
4682 subdir.
4683 * termios/Makefile: Likewise.
4684 * time/Makefile: Likewise.
4685 * timezone/Makefile: Likewise.
4686 (all): Remove target.
4687 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4688 subdir.
4689 * wctype/Makefile: Likewise.
4690
5b456e9d
SE
46912014-02-26 Steve Ellcey <sellcey@mips.com>
4692
4693 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4694 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4695 (libc_feholdexcept_setround_mips): Ditto.
4696 (libc_feholdsetround): New.
4697 (libc_feholdsetroundf): New.
4698 (libc_feholdsetroundl): New.
4699 (libc_feupdateenv_test_mips): New.
4700 (libc_feupdateenv_test): New.
4701 (libc_feupdateenv_testf): New.
4702 (libc_feupdateenv_testl): New.
4703 (libc_feresetround): New.
4704 (libc_feresetroundf): New.
4705 (libc_feresetroundl): New.
4706 (libc_fetestexcept_mips): New.
4707 (libc_fetestexcept): New.
4708 (libc_fetestexceptf): New.
4709 (libc_fetestexceptl): New.
4710 (HAVE_RM_CTX): New.
4711 (libc_feholdexcept_setround_mips_ctx): New.
4712 (libc_feholdexcept_setround_ctx): New.
4713 (libc_feholdexcept_setroundf_ctx): New.
4714 (libc_feholdexcept_setroundl_ctx): New.
4715 (libc_fesetenv_mips_ctx): New.
4716 (libc_fesetenv_ctx): New.
4717 (libc_fesetenv_ctxf): New.
4718 (libc_fesetenv_ctxl): New.
4719 (libc_feupdateenv_mips_ctx): New.
4720 (libc_feupdateenv_ctx): New.
4721 (libc_feupdateenvf_ctx): New.
4722 (libc_feupdateenvl_ctx): New.
4723 (libc_feholdsetround_mips_ctx): New.
4724 (libc_feholdsetround_ctx): New.
4725 (libc_feholdsetroundf_ctx): New.
4726 (libc_feholdsetroundl_ctx): New.
4727 (libc_feresetround_mips_ctx): New.
4728 (libc_feresetround_ctx): New.
4729 (libc_feresetroundf_ctx): New.
4730 (libc_feresetroundl_ctx): New.
4731
085d0e35
CD
47322014-02-26 Carlos O'Donell <carlos@redhat.com>
4733
f067bf1f
CD
4734 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4735
085d0e35
CD
4736 * manual/ipc.texi: New file.
4737 * manual/Makefile (chapters): Add ipc.
4738 * manual/job.texi: Add "Inter-Process Communication" to next.
4739 * manual/process.texi: Add "Inter-Process Communication" to prev.
4740
86e58c08
AZ
47412014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742
4743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4744
4248f0da
OB
47452014-02-26 Ondřej Bílka <neleai@seznam.cz>
4746
4747 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4748
cf822e3c
OB
4749 * manual/arith.texi: Fix spaces after sentences.
4750 * manual/charset.texi: Likewise.
4751 * manual/errno.texi: Likewise.
4752 * manual/install.texi: Likewise.
4753 * manual/llio.texi: Likewise.
4754 * manual/locale.texi: Likewise.
4755 * manual/maint.texi: Likewise.
4756 * manual/math.texi: Likewise.
4757 * manual/memory.texi: Likewise.
4758 * manual/message.texi: Likewise.
4759 * manual/probes.texi: Likewise.
4760 * manual/resource.texi: Likewise.
4761 * manual/signal.texi: Likewise.
4762 * manual/socket.texi: Likewise.
4763 * manual/stdio.texi: Likewise.
4764 * manual/string.texi: Likewise.
4765 * manual/time.texi: Likewise.
4766 * manual/users.texi: Likewise.
4767
ade40b10
CD
47682014-02-25 Carlos O'Donell <carlos@redhat.com>
4769
4770 [BZ #16632]
4771 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4772 _DEFAULT_SOURCE is defined.
4773
d0503676
CD
47742014-02-25 Ulrich Drepper <drepper@gmail.com>
4775 Carlos O'Donell <carlos@redhat.com>
4776
4777 [BZ #16613]
4778 * elf/dl-tls.c (_dl_count_modids): New function.
4779 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4780 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4781 audit library and increment generation counter.
4782 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4783 * elf/tst-audit9.c: New file.
4784 * elf/tst-auditmod9a.c: New file.
4785 * elf/tst-auditmod9b.c: New file.
4786 * elf/Makefile: Add rules to build and run tst-audit9.
4787
4cbf380c
FW
47882014-02-25 Florian Weimer <fweimer@redhat.com>
4789
4790 [BZ #15347]
4791 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4792
80a56cc3
WN
47932014-02-25 Will Newton <will.newton@linaro.org>
4794
4795 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4796 (__longjmp): Restore sp and lr before restoring callee
4797 saved registers. Add longjmp and longjmp_target
4798 SystemTap probe point.
4799 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4800 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4801 Define to zero to match jmpbuf layout.
4802 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4803 (__sigsetjmp): Save sp and lr before saving callee
4804 saved registers. Add setjmp SystemTap probe point.
4805
3ea0f74e
SL
48062014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4807
4808 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4809
b04acb26
AS
48102014-02-24 Andreas Schwab <schwab@suse.de>
4811
4812 [BZ #15804]
4813 * elf/pldd.c (wait_for_ptrace_stop): New function.
4814 (main): Call it after attaching.
4815
098ad55c
RM
48162014-02-22 Roland McGrath <roland@hack.frob.com>
4817
d4ec6ae1
RM
4818 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4819 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4820 Versions files is now verboten.
4821 * hurd/Versions (libc: GLIBC_2.0):
4822 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4823 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4824 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4825 * mach/Versions: Likewise.
4826
098ad55c
RM
4827 * csu/Versions: Remove unused %include.
4828 * resolv/Versions: Likewise.
4829
acd7f096
JM
48302014-02-21 Joseph Myers <joseph@codesourcery.com>
4831
f0881698
JM
4832 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4833 ($(objpfx)check-local-headers.out): Likewise.
4834 ($(objpfx)begin-end-check.out): Likewise.
4835 * Makerules (check-abi-%.out): Likewise.
4836 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4837 ($(objpfx)test2.cat): Likewise.
4838 ($(objpfx)de/libc.cat): Likewise.
4839 ($(objpfx)test-gencat.out): Likewise.
4840 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4841 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4842 ($(objpfx)noload-mem): Likewise.
4843 ($(objpfx)tst-pathopt.out): Likewise.
4844 ($(objpfx)tst-rtld-load-self.out): Likewise.
4845 ($(objpfx)tst-array1-cmp.out): Likewise.
4846 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4847 ($(objpfx)tst-array2-cmp.out): Likewise.
4848 ($(objpfx)tst-array3-cmp.out): Likewise.
4849 ($(objpfx)tst-array4-cmp.out): Likewise.
4850 ($(objpfx)tst-array5-cmp.out): Likewise.
4851 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4852 ($(objpfx)check-textrel.out): Likewise.
4853 ($(objpfx)check-execstack.out): Likewise.
4854 ($(objpfx)check-localplt.out): Likewise.
4855 ($(objpfx)order2-cmp.out): Likewise.
4856 ($(objpfx)tst-leaks1-mem): Likewise.
4857 ($(objpfx)tst-leaks1-static-mem): Likewise.
4858 ($(objpfx)tst-initorder-cmp.out): Likewise.
4859 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4860 ($(objpfx)tst-unused-dep.out): Likewise.
4861 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4862 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4863 * iconv/Makefile (test-iconvconfig): Likewise.
4864 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4865 ($(objpfx)iconv-test.out): Likewise.
4866 ($(objpfx)tst-tables.out): Likewise.
4867 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4868 ($(objpfx)tst-gettext.out): Likewise.
4869 ($(objpfx)tst-translit.out): Likewise.
4870 ($(objpfx)tst-gettext2.out): Likewise.
4871 ($(objpfx)tst-gettext4.out): Likewise.
4872 ($(objpfx)tst-gettext6.out): Likewise.
4873 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4874 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4875 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4876 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4877 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4878 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4879 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4880 ($(objpfx)wordexp-tst.out): Likewise.
4881 ($(objpfx)annexc.out): Likewise.
4882 ($(objpfx)tst-fnmatch-mem): Likewise.
4883 ($(objpfx)bug-regex2-mem): Likewise.
4884 ($(objpfx)bug-regex14-mem): Likewise.
4885 ($(objpfx)bug-regex21-mem): Likewise.
4886 ($(objpfx)bug-regex31-mem): Likewise.
4887 ($(objpfx)tst-vfork3-mem): Likewise.
4888 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4889 ($(objpfx)tst-pcre-mem): Likewise.
4890 ($(objpfx)tst-boost-mem): Likewise.
4891 ($(objpfx)tst-getconf.out): Likewise.
4892 ($(objpfx)bug-ga2-mem): Likewise.
4893 ($(objpfx)bug-glob2-mem): Likewise.
4894 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4895 ($(objpfx)mtrace-tst-leaks2): Likewise.
4896 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4897 ($(objpfx)tst-printf.out): Likewise.
4898 ($(objpfx)tst-setvbuf1.out): Likewise.
4899 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4900 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4901 ($(objpfx)tst-fmtmsg.out): Likewise.
4902 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4903 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4904
acd7f096
JM
4905 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4906 * bits/sigaction.h [__USE_MISC]: Likewise.
4907 * bits/waitstatus.h: Update #endif comments.
4908 * ctype/ctype.h: Likewise.
4909 * dirent/dirent.h: Likewise.
4910 [__USE_MISC]: Remove redundant conditionals.
4911 * grp/grp.h: Update #endif comments.
4912 [__USE_GNU]: Remove redundant conditionals.
4913 [__USE_MISC]: Likewise.
4914 * inet/netinet/in.h [__USE_GNU]: Likewise.
4915 * io/sys/stat.h [__USE_MISC]: Likewise.
4916 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4917 * libio/bits/stdio.h: Update #endif comments.
4918 [__USE_MISC]: Remove redundant conditionals.
4919 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4920 * libio/stdio.h: Update #endif comments.
4921 [__USE_MISC]: Remove redundant conditionals.
4922 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4923 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4924 * math/math.h: Update #else and #endif comments.
4925 [__USE_MISC]: Remove redundant conditionals.
4926 * misc/sys/uio.h: Update #endif comments.
4927 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4928 * posix/glob.h [__USE_MISC]: Likewise.
4929 * posix/sys/types.h: Update #endif comments.
4930 [__USE_MISC]: Remove redundant conditionals.
4931 * posix/sys/wait.h: Update #endif comments.
4932 [__USE_MISC]: Remove redundant conditionals.
4933 * posix/unistd.h: Update #endif comments.
4934 [__USE_MISC]: Remove redundant conditionals.
4935 * pwd/pwd.h [__USE_GNU]: Likewise.
4936 [__USE_MISC]: Likewise.
4937 * resolv/netdb.h [__USE_GNU]: Likewise.
4938 * signal/signal.h: Update #endif comments.
4939 [__USE_MISC]: Remove redundant conditionals.
4940 * stdlib/stdlib.h: Update #else and #endif comments.
4941 [__USE_MISC]: Remove redundant conditionals.
4942 [__USE_GNU]: Likewise.
4943 * string/bits/string2.h [__USE_MISC]: Likewise.
4944 * string/string.h: Update #endif comments.
4945 [__USE_MISC]: Remove redundant conditionals.
4946 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4947 Likewise.
4948 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4949 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4950 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4951 Likewise.
4952 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4953 Likewise.
4954 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4955 comments.
4956 [__USE_MISC]: Remove redundant conditionals.
4957 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4958 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4959 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4960 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4961 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4962 Likewise.
4963 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4964 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4965 Likewise.
4966 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4967 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4968 Likewise.
4969 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4970 Likewise.
4971 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4972 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4973 Likewise.
4974 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4975 Likewise.
4976 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4977 * sysdeps/x86/bits/string.h: Update #endif comments.
4978 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4979 conditionals.
4980 * time/sys/time.h: Update #endif comments.
4981 * time/time.h: Likewise.
4982 [__USE_MISC]: Remove redundant conditionals.
4983
a5d82e4e
YG
49842014-02-21 Yury Gribov <y.gribov@samsung.com>
4985
4986 [BZ #16600]
4987 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4988
9a80491d
AS
49892014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4990
4991 * Versions.def (librt): Add GLIBC_2.17.
4992
105fa381
AC
49932014-02-21 Adam Conrad <adconrad@0c3.net>
4994
4995 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4996 synonym for _SYS_AUXV_H to allow direct inclusion.
4997 * sysdeps/sparc/bits/hwcap.h: Likewise.
4998 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4999 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5000 * sysdeps/sparc/sysdep.h: Likewise.
5001
b8cd1c4e
SP
50022014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5003
5004 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5005
bd939d23
RS
50062014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5007
5008 * benchtests/bench-strrchr.c: Print length instead of position.
5009
5d7b57ca
JM
50102014-02-20 Joseph Myers <joseph@codesourcery.com>
5011
bc688c10
JM
5012 [BZ #16611]
5013 * sysdeps/unix/sysv/linux/kernel-features.h
5014 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5015 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5016 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5017 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5018 Likewise.
5019 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5020 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5021 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5022 (__ASSUME_SENDMMSG): Define instead of using previous
5023 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5024 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5025 (__ASSUME_SENDMMSG_SYSCALL): Define.
5026 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5027 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5028 Likewise.
5029 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5030 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5031 Likewise.
5032 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5033 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5034 Likewise.
5035 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5036 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5037 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5038 [__ASSUME_SENDMMSG]: Change conditionals to
5039 [__ASSUME_SENDMMSG_SOCKETCALL].
5040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5041 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5042 Define.
5043 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5044 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5045 Likewise.
5046 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5047 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5048 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5049 [!__ASSUME_SENDMMSG]: Change conditional to
5050 [!__ASSUME_SENDMMSG_SOCKETCALL].
5051 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5052 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5053 Define.
5054
0e31b18c
JM
5055 [BZ #16610]
5056 * sysdeps/unix/sysv/linux/kernel-features.h
5057 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5058 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5059 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5060 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5061 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5062 [__i386__ || __sparc__]
5063 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5064 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5065 (__ASSUME_RECVMMSG): Define instead of using previous
5066 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5067 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5068 (__ASSUME_RECVMMSG_SYSCALL): Define.
5069 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5070 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5071 Likewise.
5072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5073 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5074 Likewise.
5075 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5076 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5077 Likewise.
5078 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5079 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5080 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5081 [__ASSUME_RECVMMSG]: Change condition to
5082 [__ASSUME_RECVMMSG_SOCKETCALL].
5083 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5084 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5085 Define.
5086 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5087 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5088 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5089 Likewise.
5090 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5091 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5092 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5093 [!__ASSUME_RECVMMSG]: Change condition to
5094 [!__ASSUME_RECVMMSG_SOCKETCALL].
5095 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5096 (__ASSUME_RECVMMSG_SYSCALL): Define.
5097
dd481ccf
JM
5098 [BZ #16609]
5099 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5100 __powerpc__ || __s390__ || __sh__ || __sparc__]
5101 (__ASSUME_SOCKETCALL): Define.
5102 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5103 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5104 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5105 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5106 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5107 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5108 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5109 (__ASSUME_ACCEPT4): Define instead of using previous
5110 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5111 __powerpc__ || __sparc__ || __s390__)] condition.
5112 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5113 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5114 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5115 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5116 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5117 [!__ASSUME_ACCEPT4]: Change condition to
5118 [!__ASSUME_ACCEPT4_SOCKETCALL].
5119 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5120 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5121 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5122 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5123 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5124 __ASSUME_ACCEPT4_SYSCALL.
5125 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5126 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5127 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5128 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5129 __ASSUME_ACCEPT4_SYSCALL.
5130 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5131 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5132 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5133 [__ASSUME_ACCEPT4]: Change condition to
5134 [__ASSUME_ACCEPT4_SOCKETCALL].
5135 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5136 (__ASSUME_SOCKETCALL): Define.
5137 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5139 (__ASSUME_SOCKETCALL): Define.
5140 (__ASSUME_ACCEPT4): Remove.
5141 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5142 Define.
5143 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5144 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5145 Likewise.
5146 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5147 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5148
5d7b57ca
JM
5149 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5150 macro.
5151 (HWCAP_ARM_LPAE): Likewise.
5152 (HWCAP_ARM_EVTSTRM): Likewise.
5153 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5154 Add vpfd32, lpae and evtstrm.
5155 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5156 Increase to 22.
5157
63689d61
JM
51582014-02-19 Joseph Myers <joseph@codesourcery.com>
5159
5160 * math/auto-libm-test-in: Add tests of clog10.
5161 * math/auto-libm-test-out: Regenerated.
5162 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5163 * sysdeps/i386/fpu/libm-test-ulps: Update.
5164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5165
ab09bf61
AS
51662014-02-18 Andreas Schwab <schwab@suse.de>
5167
5168 [BZ #16574]
5169 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5170 Store non-zero if the second buffer was newly allocated.
5171 (send_dg): Likewise.
5172 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5173 to send_vc and send_dg.
5174 (res_nsend): Pass NULL for ansp2_malloced.
5175 * resolv/res_query.c (__libc_res_nquery): Add parameter
5176 answerp2_malloced and pass it down to __libc_res_nsend.
5177 (res_nquery): Pass additional NULL to __libc_res_nquery.
5178 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5179 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5180 second answer buffer if answerp2_malloced was set.
5181 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5182 (__libc_res_nquerydomain): Add parameter
5183 answerp2_malloced and pass it down to __libc_res_nquery.
5184 (res_nquerydomain): Pass additional NULL to
5185 __libc_res_nquerydomain.
5186 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5187 additional NULL to __libc_res_nsend and __libc_res_nquery.
5188 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5189 additional NULL to __libc_res_nsearch.
5190 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5191 parameter of __libc_res_nsearch to check for separately allocated
5192 second buffer.
5193 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5194 __libc_res_nquery.
5195 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5196 additional NULL to __libc_res_nquery.
5197 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5198 __libc_res_nsearch.
5199 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5200 * include/resolv.h: Update prototypes of __libc_res_nquery,
5201 __libc_res_nsearch, __libc_res_nsend.
5202
a4fb7861
JM
52032014-02-18 Joseph Myers <joseph@codesourcery.com>
5204
c6af2d89
JM
5205 * math/auto-libm-test-in: Add tests of fma.
5206 * math/auto-libm-test-out: Regenerated.
5207 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5208 (fma_towardzero_test_data): Likewise.
5209 (fma_downward_test_data): Likewise.
5210 (fma_upward_test_data): Likewise.
5211 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5212 mpc_mode.
5213 (rounding_modes): Add values for new field.
5214 (func_calc_method): Add value mpfr_fff_f.
5215 (func_calc_desc): Add mpfr_fff_f union field.
5216 (test_function): Add field exact_args.
5217 (FUNC): Add macro argument EXACT_ARGS.
5218 (FUNC_mpfr_f_f): Update call to FUNC.
5219 (FUNC_mpfr_f_f): Likewise.
5220 (FUNC_mpfr_ff_f): Likewise.
5221 (FUNC_mpfr_if_f): Likewise.
5222 (FUNC_mpc_c_f): Likewise.
5223 (FUNC_mpc_c_c): Likewise.
5224 (test_functions): Add fma. Update calls to FUNC.
5225 (handle_input_arg): Add argument exact_args.
5226 (add_test): Update call to handle_input_arg.
5227 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5228 (output_for_one_input_case): Update call to calc_generic_results.
5229 Recalculate exact zero results in each rounding mode.
5230
a4fb7861
JM
5231 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5232 non-negative before setting low bit.
5233 * math/auto-libm-test-in: Mark one asin test possibly having
5234 spurious underflow.
5235 * math/auto-libm-test-out: Regenerated.
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5238
ef114eaf
DH
52392014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5240
2b7f4f2c
SP
5241 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5242 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5243 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5244 * README: Add missing listing for microblaze*-*-linux-gnu.
5245
c70a4b1d
MF
52462014-02-16 Mike Frysinger <vapier@gentoo.org>
5247
5248 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5249 * sysdeps/unix/sysv/linux/ia64: Move directory from
5250 ports/sysdeps/unix/sysv/linux/ia64.
5251 * README: Update listing for ia64-*-linux-gnu.
5252
591aeaf7
TD
52532014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5254 Joseph Myers <joseph@codesourcery.com>
5255
5256 * Makeconfig (test-name): New variable.
5257 (evaluate-test): Likewise.
5258 * Makerules (do-test-clean): Remove .test-result files.
5259 (common-mostlyclean): Likewise.
5260 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5261 * scripts/evaluate-test.sh: New file.
5262
6e89caf1
JM
52632014-02-14 Joseph Myers <joseph@codesourcery.com>
5264
7f98f180
JM
5265 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5266 separate $(objpfx)tst-fopenloc-cmp.out and
5267 $(objpfx)tst-fopenloc-mem.out targets.
5268 (tests): Update dependencies.
5269 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5270 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5271 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5272 (tst-rxspencer-no-utf8-ARGS): New variable.
5273 (tst-rxspencer-no-utf8-ENV): Likewise.
5274 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5275 instead of $(objpfx)tst-rxspencer-mem.
5276 ($(objpfx)tst-rxspencer-mem): Change target to
5277 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5278 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5279 * posix/tst-rxspencer-no-utf8.c: New file.
5280
6e89caf1
JM
5281 * elf/Makefile ($(objpfx)order.out): Remove rule.
5282 [$(run-built-tests) = yes] (tests): Depend on
5283 $(objpfx)order-cmp.out.
5284 ($(objpfx)order-cmp.out): New rule.
5285 [$(run-built-tests) = yes] (tests): Depend on
5286 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5287 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5288 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5289 $(objpfx)tst-array5-static-cmp.out.
5290 ($(objpfx)tst-array1.out): Remove rule.
5291 ($(objpfx)tst-array1-cmp.out): New rule.
5292 ($(objpfx)tst-array1-static.out): Remove rule.
5293 ($(objpfx)tst-array1-static-cmp.out): New rule.
5294 ($(objpfx)tst-array2.out): Remove rule.
5295 ($(objpfx)tst-array2-cmp.out): New rule.
5296 ($(objpfx)tst-array3.out): Remove rule.
5297 ($(objpfx)tst-array3-cmp.out): New rule.
5298 ($(objpfx)tst-array4.out): Remove rule.
5299 ($(objpfx)tst-array4-cmp.out): New rule.
5300 ($(objpfx)tst-array5.out): Remove rule.
5301 ($(objpfx)tst-array5-cmp.out): New rule.
5302 ($(objpfx)tst-array5-static.out): Remove rule.
5303 ($(objpfx)tst-array5-static-cmp.out): New rule.
5304 [$(run-built-tests) = yes] (tests): Depend on
5305 $(objpfx)order2-cmp.out.
5306 ($(objpfx)order2.out): Remove rule.
5307 ($(objpfx)order2-cmp.out): New rule.
5308 ($(objpfx)tst-initorder.out): Remove rule.
5309 [$(run-built-tests) = yes] (tests): Depend on
5310 $(objpfx)tst-initorder-cmp.out.
5311 ($(objpfx)tst-initorder-cmp.out): New rule.
5312 ($(objpfx)tst-initorder2.out): Remove rule.
5313 [$(run-built-tests) = yes] (tests): Depend on
5314 $(objpfx)tst-initorder2-cmp.out.
5315 ($(objpfx)tst-initorder2-cmp.out): New rule.
5316 [$(run-built-tests) = yes] (tests): Depend on
5317 $(objpfx)tst-unused-dep-cmp.out.
5318 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5319 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5320 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5321 on $(objpfx)tst-setvbuf1-cmp.out.
5322 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5323 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5324 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5325 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5326 ($(objpfx)tst-svc.out): Remove rule.
5327 ($(objpfx)tst-svc-cmp.out): New rule.
5328
ed9a38e2
JM
53292014-02-13 Joseph Myers <joseph@codesourcery.com>
5330
5331 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5332 * ctype/ctype.h [__USE_MISC]: Likewise.
5333 * dirent/dirent.h [__USE_MISC]: Likewise.
5334 * grp/grp.h [__USE_MISC]: Likewise.
5335 * io/fcntl.h [__USE_MISC]: Likewise.
5336 * io/sys/stat.h [__USE_MISC]: Likewise.
5337 * libio/stdio.h [__USE_MISC]: Likewise.
5338 * posix/unistd.h [__USE_MISC]: Likewise.
5339 * pwd/pwd.h [__USE_MISC]: Likewise.
5340 * stdlib.h [__USE_MISC]: Likewise.
5341 * string/bits/string2.h [__USE_MISC]: Likewise.
5342 * string/string.h [__USE_MISC]: Likewise.
5343 * time/time.h [__USE_MISC]: Likewise.
5344
d6680619
AS
53452014-02-13 Andreas Schwab <schwab@suse.de>
5346
5347 [BZ #16574]
5348 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5349 second answer buffer if it was separately allocated.
5350
ace614b8
JM
53512014-02-12 Joseph Myers <joseph@codesourcery.com>
5352
743151ae
JM
5353 * sysdeps/mips/math-tests.h: Include <features.h>.
5354 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5355 (ROUNDING_TESTS_long_double): Do not define.
5356 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5357 (EXCEPTION_TESTS_long_double): Likewise.
5358 * sysdeps/mips/mips64/libm-test-ulps: Update.
5359
498afc54
JM
5360 * include/features.h (__USE_BSD): Remove macro definitions.
5361 (__USE_SVID): Likewise.
5362 (_BSD_SOURCE): Likewise.
5363 (_SVID_SOURCE): Likewise.
5364 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5365 from definition of _DEFAULT_SOURCE.
5366 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5367 [_DEFAULT_SOURCE].
5368 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5369 * bits/mman.h [__USE_BSD]: Likewise.
5370 * bits/termios.h [__USE_BSD]: Likewise.
5371 * bits/waitstatus.h [__USE_BSD]: Likewise.
5372 * ctype/ctype.h [__USE_SVID]: Likewise.
5373 * dirent/dirent.h [__USE_BSD]: Likewise.
5374 * grp/grp.h [__USE_SVID]: Likewise.
5375 [__USE_BSD]: Likewise.
5376 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5377 * io/fcntl.h [__USE_BSD]: Likewise.
5378 * io/ftw.h [__USE_BSD]: Likewise.
5379 * io/sys/stat.h [__USE_BSD]: Likewise.
5380 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5381 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5382 * libio/stdio.h [__USE_SVID]: Likewise.
5383 [__USE_BSD]: Likewise.
5384 * math/math.h [__USE_SVID]: Likewise.
5385 [__USE_BSD]: Likewise.
5386 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5387 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5388 * misc/search.h [__USE_SVID]: Likewise.
5389 * misc/sys/mman.h [__USE_BSD]: Likewise.
5390 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5391 * misc/sys/uio.h [__USE_BSD]: Likewise.
5392 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5393 * posix/glob.h [__USE_BSD]: Likewise.
5394 * posix/regex.h [__USE_BSD]: Likewise.
5395 * posix/sys/types.h [__USE_BSD]: Likewise.
5396 [__USE_SVID]: Likewise.
5397 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5398 * posix/sys/wait.h [__USE_BSD]: Likewise.
5399 [__USE_SVID]: Likewise.
5400 * posix/unistd.h [__USE_BSD]: Likewise.
5401 [__USE_SVID]: Likewise.
5402 * pwd/pwd.h [__USE_SVID]: Likewise.
5403 * resolv/netdb.h [__USE_BSD]: Likewise.
5404 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5405 * signal/signal.h [__USE_BSD]: Likewise.
5406 [__USE_SVID]: Likewise.
5407 * socket/sys/socket.h [__USE_BSD]: Likewise.
5408 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5409 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5410 [__USE_SVID]: Likewise.
5411 * string/bits/string2.h [__USE_BSD]: Likewise.
5412 [__USE_SVID]: Likewise.
5413 * string/bits/string3.h [__USE_BSD]: Likewise.
5414 * string/endian.h [__USE_BSD]: Likewise.
5415 * string/string.h [__USE_SVID]: Likewise.
5416 [__USE_BSD]: Likewise.
5417 * string/strings.h [__USE_BSD]: Likewise.
5418 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5419 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5420 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5421 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5422 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5423 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5424 Likewise.
5425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5426 Likewise.
5427 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5428 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5429 Likewise.
5430 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5431 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5432 Likewise.
5433 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5434 Likewise.
5435 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5436 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5437 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5438 Likewise.
5439 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5440 Likewise.
5441 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5442 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5443 * termios/termios.h [__USE_BSD]: Likewise.
5444 * time/sys/time.h [__USE_BSD]: Likewise.
5445 * time/time.h [__USE_BSD]: Likewise.
5446 [__USE_SVID]: Likewise.
5447
dd7b064c
JM
5448 * Makefile (subdir_targets): Remove subdir_lint.out.
5449
a2c4c199
JM
5450 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5451 (do-tst-printf): Likewise.
5452 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5453 $(objpfx)tst-printf.out.
5454
8756f740
JM
5455 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5456
1b6dd3f1
JM
5457 * Makerules (check-abi-%): Change target to
5458 $(objpfx)check-abi-%.out.
5459 (check-abi target): Update dependencies.
5460 (check-abi-pattern variable): Redirect output of diff to $@.
5461 (check-abi variable): Likewise.
5462 * elf/Makefile (check-abi): Update dependencies.
5463
ace614b8
JM
5464 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5465 unused.
5466 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5467 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5468 subnormal range.
5469 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5470 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5471 value has largest subnormal exponent.
5472 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5473 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5474 * sysdeps/aarch64/soft-fp/sfp-machine.h
5475 (_FP_TININESS_AFTER_ROUNDING): New macro.
5476 * sysdeps/alpha/soft-fp/sfp-machine.h
5477 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5478 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5479 Likewise.
5480 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5481 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5482 * sysdeps/mips/soft-fp/sfp-machine.h
5483 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5484 * sysdeps/powerpc/soft-fp/sfp-machine.h
5485 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5486 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5487 Likewise.
5488 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5489 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5490 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5491 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5492 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5493 Likewise.
5494
fbfdf9cb
DAS
54952014-02-12 Dylan Alex Simon <dylan@dylex.net>
5496
5497 [BZ #16545]
5498 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5499 model 1.
5500
68b7efaa
RH
55012014-02-12 Richard Henderson <rth@redhat.com>
5502
c70a4b1d 5503 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5504 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5505 * sysdeps/unix/sysv/linux/alpha: Move directory from
5506 ports/sysdeps/unix/sysv/linux/alpha.
5507 * README: Update listing for alpha-*-linux-gnu.
5508
cb4a2928
JM
55092014-02-11 Joseph Myers <joseph@codesourcery.com>
5510
c941736c
JM
5511 * include/features.h: Update comment documenting feature test
5512 macros.
5513 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5514 _DEFAULT_SOURCE.
5515 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5516 (_SVID_SOURCE): Likewise.
5517 (_DEFAULT_SOURCE): Update description of default features.
5518 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5519 with _GNU_SOURCE.
5520 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5521 (S_ISVTX): Likewise.
5522 * manual/math.texi (Mathematical Constants): Likewise.
5523 * manual/signal.texi (Interrupted Primitives): Likewise.
5524 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5525 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5526 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5527 Don't refer to _SVID_SOURCE in warning text.
5528
e8d8d7ec
JM
5529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5530
cb4a2928
JM
5531 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5532 already defined.
5533 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5534 * sysdeps/mips/dl-lookup.c: Remove.
5535 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5536
7e6424e3
AK
55372014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5538
5539 [BZ #16447]
5540 * math/auto-libm-test-in: Add testcase for expl.
5541 * math/auto-libm-test-out: Regenerate.
5542 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5543 calculation of unsafe.
5544 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5545
75eff3fe
MS
55462014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5547
5548 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5549 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5550 ports/sysdeps/unix/sysv/linux/aarch64.
5551 * README: Update listing for aarch64*-*-linux-gnu.
5552
d35f1e80
WN
55532014-02-11 Will Newton <will.newton@linaro.org>
5554
5555 * manual/probes.texi (Mathematical Function Probes): Use
5556 "triggered" instead of "hit".
5557
7b3436d4
WN
5558 * manual/probes.texi (Internal Probes): Add documentation
5559 of setjmp, longjmp and longjmp_target probes.
5560
b4f12ca3
WN
5561 * include/stap-probe.h: Add comment about probe argument
5562 format.
5563
c13a72b7
WN
5564 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5565 definition. (tr_where, tr_freehook, tr_mallochook,
5566 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5567
195b8165
DM
55682014-02-11 David S. Miller <davem@davemloft.net>
5569
5570 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5571 processing int_tests.
5572
2ad7600b
JM
55732014-02-10 Joseph Myers <joseph@codesourcery.com>
5574
5575 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5576 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5577 * sysdeps/unix/sysv/linux/mips: Move directory from
5578 ports/sysdeps/unix/sysv/linux/mips.
5579 * README: Update listing for mips-*-linux-gnu and
5580 mips64-*-linux-gnu.
5581
73588a72
AS
55822014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5583
5584 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5585 * sysdeps/unix/sysv/linux/m68k: Move directory from
5586 ports/sysdeps/unix/sysv/linux/m68k.
5587 * README: Update listing for m68k-*-linux-gnu.
5588
4372980f
CM
55892014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5590
5591 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5592 * sysdeps/unix/sysv/linux/generic: Move directory from
5593 ports/sysdeps/unix/sysv/linux/generic.
5594 * sysdeps/unix/sysv/linux/tile: Move directory from
5595 ports/sysdeps/unix/sysv/linux/tile.
5596 * README: Update listing for tile*-*-linux-gnu.
5597
a1ffb40e
OB
55982014-02-10 Ondřej Bílka <neleai@seznam.cz>
5599
57f41c40
AS
5600 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5601 __builtin_expect.
a1ffb40e
OB
5602 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5603 * catgets/open_catalog.c (__open_catalog): Likewise.
5604 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5605 * debug/confstr_chk.c: Likewise.
5606 * debug/fread_chk.c (__fread_chk): Likewise.
5607 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5608 * debug/getgroups_chk.c: Likewise.
5609 * debug/mbsnrtowcs_chk.c: Likewise.
5610 * debug/mbsrtowcs_chk.c: Likewise.
5611 * debug/mbstowcs_chk.c: Likewise.
5612 * debug/memcpy_chk.c: Likewise.
5613 * debug/memmove_chk.c: Likewise.
5614 * debug/mempcpy_chk.c: Likewise.
5615 * debug/memset_chk.c: Likewise.
5616 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5617 * debug/strcat_chk.c (__strcat_chk): Likewise.
5618 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5619 * debug/strncat_chk.c (__strncat_chk): Likewise.
5620 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5621 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5622 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5623 * debug/wcpncpy_chk.c: Likewise.
5624 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5625 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5626 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5627 * debug/wcsncpy_chk.c: Likewise.
5628 * debug/wcsnrtombs_chk.c: Likewise.
5629 * debug/wcsrtombs_chk.c: Likewise.
5630 * debug/wcstombs_chk.c: Likewise.
5631 * debug/wmemcpy_chk.c: Likewise.
5632 * debug/wmemmove_chk.c: Likewise.
5633 * debug/wmempcpy_chk.c: Likewise.
5634 * debug/wmemset_chk.c: Likewise.
5635 * dirent/scandirat.c (SCANDIRAT): Likewise.
5636 * dlfcn/dladdr1.c (dladdr1): Likewise.
5637 * dlfcn/dladdr.c (dladdr): Likewise.
5638 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5639 * dlfcn/dlerror.c (__dlerror): Likewise.
5640 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5641 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5642 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5643 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5644 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5645 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5646 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5647 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5648 Likewise.
5649 * elf/dl-conflict.c: Likewise.
5650 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5651 * elf/dl-dst.h: Likewise.
5652 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5653 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5654 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5655 * elf/dl-init.c (call_init, _dl_init): Likewise.
5656 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5657 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5658 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5659 Likewise.
a1ffb40e
OB
5660 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5661 Likewise.
5662 * elf/dl-minimal.c (__libc_memalign): Likewise.
5663 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5664 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5665 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5666 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5667 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5668 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5669 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5670 * elf/dl-writev.h (_dl_writev): Likewise.
5671 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5672 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5673 (dl_main): Likewise.
a1ffb40e
OB
5674 * elf/setup-vdso.h (setup_vdso): Likewise.
5675 * grp/compat-initgroups.c (compat_call): Likewise.
5676 * grp/fgetgrent.c (fgetgrent): Likewise.
5677 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5678 * grp/putgrent.c (putgrent): Likewise.
5679 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5680 Likewise.
5681 * hurd/hurdinit.c: Likewise.
5682 * iconvdata/8bit-gap.c (struct): Likewise.
5683 * iconvdata/ansi_x3.110.c : Likewise.
5684 * iconvdata/big5.c : Likewise.
5685 * iconvdata/big5hkscs.c : Likewise.
5686 * iconvdata/cp1255.c: Likewise.
5687 * iconvdata/cp1258.c : Likewise.
5688 * iconvdata/cp932.c : Likewise.
5689 * iconvdata/euc-cn.c: Likewise.
5690 * iconvdata/euc-jisx0213.c : Likewise.
5691 * iconvdata/euc-jp.c: Likewise.
5692 * iconvdata/euc-jp-ms.c : Likewise.
5693 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5694 * iconvdata/gb18030.c : Likewise.
5695 * iconvdata/gbbig5.c (const): Likewise.
5696 * iconvdata/gbgbk.c: Likewise.
5697 * iconvdata/gbk.c : Likewise.
5698 * iconvdata/ibm1364.c : Likewise.
5699 * iconvdata/ibm930.c : Likewise.
5700 * iconvdata/ibm932.c: Likewise.
5701 * iconvdata/ibm933.c : Likewise.
5702 * iconvdata/ibm935.c : Likewise.
5703 * iconvdata/ibm937.c : Likewise.
5704 * iconvdata/ibm939.c : Likewise.
5705 * iconvdata/ibm943.c: Likewise.
5706 * iconvdata/iso_11548-1.c: Likewise.
5707 * iconvdata/iso-2022-cn.c : Likewise.
5708 * iconvdata/iso-2022-cn-ext.c : Likewise.
5709 * iconvdata/iso-2022-jp-3.c: Likewise.
5710 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5711 * iconvdata/iso-2022-kr.c : Likewise.
5712 * iconvdata/iso646.c (gconv_end): Likewise.
5713 * iconvdata/iso_6937-2.c : Likewise.
5714 * iconvdata/iso_6937.c : Likewise.
5715 * iconvdata/iso8859-1.c: Likewise.
5716 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5717 * iconvdata/shift_jisx0213.c : Likewise.
5718 * iconvdata/sjis.c : Likewise.
5719 * iconvdata/t.61.c : Likewise.
5720 * iconvdata/tcvn5712-1.c : Likewise.
5721 * iconvdata/tscii.c: Likewise.
5722 * iconvdata/uhc.c : Likewise.
5723 * iconvdata/unicode.c (gconv_end): Likewise.
5724 * iconvdata/utf-16.c (gconv_end): Likewise.
5725 * iconvdata/utf-32.c (gconv_end): Likewise.
5726 * iconvdata/utf-7.c (base64): Likewise.
5727 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5728 * iconv/gconv_close.c (__gconv_close): Likewise.
5729 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5730 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5731 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5732 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5733 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5734 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5735 * iconv/iconv.c (iconv): Likewise.
5736 * iconv/iconv_close.c: Likewise.
5737 * iconv/loop.c (SINGLE): Likewise.
5738 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5739 * include/atomic.h: Likewise.
5740 * inet/inet6_option.c (option_alloc): Likewise.
5741 * intl/bindtextdom.c (set_binding_values): Likewise.
5742 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5743 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5744 * intl/localealias.c (read_alias_file): Likewise.
5745 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5746 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5747 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5748 * libio/fmemopen.c (fmemopen): Likewise.
5749 * libio/iofgets.c (_IO_fgets): Likewise.
5750 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5751 * libio/iofgetws.c (fgetws): Likewise.
5752 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5753 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5754 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5755 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5756 * locale/findlocale.c (_nl_find_locale): Likewise.
5757 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5758 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5759 Likewise.
5760 * locale/setlocale.c (setlocale): Likewise.
5761 * login/programs/pt_chown.c (main): Likewise.
5762 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5763 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5764 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5765 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5766 * math/e_exp2l.c: Likewise.
5767 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5768 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5769 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5770 * math/s_catan.c (__catan): Likewise.
5771 * math/s_catanf.c (__catanf): Likewise.
5772 * math/s_catanh.c (__catanh): Likewise.
5773 * math/s_catanhf.c (__catanhf): Likewise.
5774 * math/s_catanhl.c (__catanhl): Likewise.
5775 * math/s_catanl.c (__catanl): Likewise.
5776 * math/s_ccosh.c (__ccosh): Likewise.
5777 * math/s_ccoshf.c (__ccoshf): Likewise.
5778 * math/s_ccoshl.c (__ccoshl): Likewise.
5779 * math/s_cexp.c (__cexp): Likewise.
5780 * math/s_cexpf.c (__cexpf): Likewise.
5781 * math/s_cexpl.c (__cexpl): Likewise.
5782 * math/s_clog10.c (__clog10): Likewise.
5783 * math/s_clog10f.c (__clog10f): Likewise.
5784 * math/s_clog10l.c (__clog10l): Likewise.
5785 * math/s_clog.c (__clog): Likewise.
5786 * math/s_clogf.c (__clogf): Likewise.
5787 * math/s_clogl.c (__clogl): Likewise.
5788 * math/s_csin.c (__csin): Likewise.
5789 * math/s_csinf.c (__csinf): Likewise.
5790 * math/s_csinh.c (__csinh): Likewise.
5791 * math/s_csinhf.c (__csinhf): Likewise.
5792 * math/s_csinhl.c (__csinhl): Likewise.
5793 * math/s_csinl.c (__csinl): Likewise.
5794 * math/s_csqrt.c (__csqrt): Likewise.
5795 * math/s_csqrtf.c (__csqrtf): Likewise.
5796 * math/s_csqrtl.c (__csqrtl): Likewise.
5797 * math/s_ctan.c (__ctan): Likewise.
5798 * math/s_ctanf.c (__ctanf): Likewise.
5799 * math/s_ctanh.c (__ctanh): Likewise.
5800 * math/s_ctanhf.c (__ctanhf): Likewise.
5801 * math/s_ctanhl.c (__ctanhl): Likewise.
5802 * math/s_ctanl.c (__ctanl): Likewise.
5803 * math/w_pow.c: Likewise.
5804 * math/w_powf.c: Likewise.
5805 * math/w_powl.c: Likewise.
5806 * math/w_scalb.c (sysv_scalb): Likewise.
5807 * math/w_scalbf.c (sysv_scalbf): Likewise.
5808 * math/w_scalbl.c (sysv_scalbl): Likewise.
5809 * misc/error.c (error_tail): Likewise.
5810 * misc/pselect.c (__pselect): Likewise.
5811 * nis/nis_callback.c (__nis_create_callback): Likewise.
5812 * nis/nis_call.c (__nisfind_server): Likewise.
5813 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5814 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5815 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5816 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5817 * nis/nis_lookup.c (nis_lookup): Likewise.
5818 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5819 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5820 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5821 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5822 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5823 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5824 * nis/nss_compat/compat-initgroups.c (add_group)
5825 (internal_getgrent_r): Likewise.
5826 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5827 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5828 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5829 (internal_getspnam_r): Likewise.
5830 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5831 (_nss_nis_getaliasbyname_r): Likewise.
5832 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5833 (_nss_nis_getntohost_r): Likewise.
5834 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5835 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5836 (_nss_nis_getgrgid_r): Likewise.
5837 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5838 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5839 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5840 (_nss_nis_gethostbyname4_r): Likewise.
5841 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5842 (initgroups_netid): Likewise.
a1ffb40e 5843 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5844 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5845 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5846 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5847 (_nss_nis_getprotobynumber_r): Likewise.
5848 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5849 (_nss_nis_getsecretkey): Likewise.
5850 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5851 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5852 (_nss_nis_getpwuid_r): Likewise.
5853 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5854 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5855 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5856 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5857 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5858 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5859 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5860 Likewise.
57f41c40
AS
5861 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5862 (_nss_nisplus_getntohost_r): Likewise.
5863 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5864 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5865 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5866 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5867 Likewise.
57f41c40
AS
5868 * nis/nss_nisplus/nisplus-initgroups.c
5869 (_nss_nisplus_initgroups_dyn): Likewise.
5870 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5871 (_nss_nisplus_getnetbyaddr_r): Likewise.
5872 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5873 (_nss_nisplus_getprotobynumber_r): Likewise.
5874 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5875 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5876 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5877 Likewise.
57f41c40
AS
5878 * nis/nss_nisplus/nisplus-service.c
5879 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5880 (_nss_nisplus_getservbyport_r): Likewise.
5881 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5882 (_nss_nisplus_getspnam_r): Likewise.
5883 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5884 Likewise.
a1ffb40e
OB
5885 * nscd/aicache.c (addhstaiX): Likewise.
5886 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5887 * nscd/connections.c (register_traced_file, send_ro_fd)
5888 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5889 (main_loop_epoll): Likewise.
a1ffb40e
OB
5890 * nscd/grpcache.c (addgrbyX): Likewise.
5891 * nscd/hstcache.c (addhstbyX): Likewise.
5892 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5893 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5894 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5895 (addinnetgrX): Likewise.
5896 * nscd/nscd-client.h (__nscd_acquire_maplock)
5897 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5898 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5899 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5900 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5901 Likewise.
5902 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5903 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5904 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5905 (__nscd_get_map_ref): Likewise.
a1ffb40e 5906 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5907 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5908 Likewise.
a1ffb40e
OB
5909 * nscd/pwdcache.c (addpwbyX): Likewise.
5910 * nscd/selinux.c (preserve_capabilities): Likewise.
5911 * nscd/servicescache.c (addservbyX): Likewise.
5912 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5913 * posix/fnmatch.c (fnmatch): Likewise.
5914 * posix/getopt.c (_getopt_internal_r): Likewise.
5915 * posix/glob.c (glob, glob_in_dir): Likewise.
5916 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5917 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5918 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5919 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5920 * resolv/res_init.c: Likewise.
5921 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5922 * resolv/res_query.c (__libc_res_nquery): Likewise.
5923 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5924 Likewise.
5925 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5926 * stdio-common/perror.c (perror): Likewise.
5927 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5928 * stdio-common/tmpnam.c (tmpnam): Likewise.
5929 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5930 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5931 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5932 Likewise.
a1ffb40e
OB
5933 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5934 * stdlib/putenv.c (putenv): Likewise.
5935 * stdlib/setenv.c (__add_to_environ): Likewise.
5936 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5937 * stdlib/strtol_l.c (INTERNAL): Likewise.
5938 * string/memmem.c (memmem): Likewise.
5939 * string/strerror.c (strerror): Likewise.
5940 * string/strnlen.c (__strnlen): Likewise.
5941 * string/test-memmem.c (simple_memmem): Likewise.
5942 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5943 * sunrpc/pm_getport.c (__get_socket): Likewise.
5944 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5945 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5946 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5947 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5948 Likewise.
5949 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5950 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5951 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5952 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5953 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5954 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5955 Likewise.
5956 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5957 Likewise.
a1ffb40e
OB
5958 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5959 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5960 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5961 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5962 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5964 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5965 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5966 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5967 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5968 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5969 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5970 Likewise.
5971 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5972 Likewise.
5973 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5974 Likewise.
5975 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5976 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5977 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5978 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5979 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5980 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5981 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5983 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5984 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5985 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5986 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5987 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5988 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5990 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5991 Likewise.
a1ffb40e
OB
5992 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5993 Likewise.
5994 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5995 Likewise.
5996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5997 Likewise.
5998 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5999 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6000 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6001 Likewise.
6002 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6003 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6004 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6005 * sysdeps/posix/sleep.c: Likewise.
6006 * sysdeps/posix/tempname.c: Likewise.
6007 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6008 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6009 Likewise.
57f41c40
AS
6010 * sysdeps/powerpc/powerpc32/dl-machine.h
6011 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6012 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6014 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6015 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6016 Likewise.
6017 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6018 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6019 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6020 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6021 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6022 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6023 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6024 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6025 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6026 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6028 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6029 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6030 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6031 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6032 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6033 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6034 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6035 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6036 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6037 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6038 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6040 Likewise.
6041 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6042 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6043 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6044 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6045 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6046 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6047 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6048 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6049 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6050 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6051 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6052 Likewise.
6053 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6054 (__posix_fallocate64_l64): Likewise.
6055 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6056 (posix_fallocate): Likewise.
57f41c40
AS
6057 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6058 Likewise.
a1ffb40e 6059 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6060 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6061 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6062 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6063 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6064 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6065 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6066 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6067 (__posix_fallocate64_l64): Likewise.
6068 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6069 Likewise.
6070 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6071 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6072 (__get_clockfreq): Likewise.
a1ffb40e
OB
6073 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6074 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6075 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6076 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6078 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6079 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6080 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6081 Likewise.
6082 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6083 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6084 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6085 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6086 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6087 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6088 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6089 Likewise.
6090 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6091 (posix_fallocate): Likewise.
6092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6093 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6094 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6095 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6096 (elf_machine_rela, elf_machine_rela_relative)
6097 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6098 * time/asctime.c (asctime_internal): Likewise.
6099 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6100 * time/tzset.c (__tzset_parse_tz): Likewise.
6101 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6102 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6103 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6104 * wcsmbs/wcsmbsload.h: Likewise.
6105
f3d338c9
OB
6106 [BZ #15894]
6107 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6108
57f41c40
AS
6109 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6110 (arena_get2): Remove THREAD_STATS conditionals.
6111 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6112 (__malloc_stats, int): Likewise.
bdfe308a 6113
d674667c
MF
61142014-02-08 Mike Frysinger <vapier@gentoo.org>
6115
6116 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6117 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6118
6349768c
MF
6119 * manual/setjmp.texi: Fix typos/grammar errors.
6120
0b7c7473
MF
6121 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6122 Only return early when n is <= 0. Delete unused return statement.
6123
ac8cc9e3
MF
6124 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6125 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6126 * debug/tst-longjmp_chk3.c: New file.
6127
c5bb8e23
MF
6128 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6129 (test_main): Replace code with set_fortify_handler call.
6130 * debug/test-strcpy_chk.c: Likewise.
6131 * debug/tst-chk1.c: Likewise.
6132 * debug/tst-longjmp_chk.c: Likewise.
6133 * test-skeleton.c: Include fcntl.h & paths.h
6134 (set_fortify_handler): Define.
6135
10444e42
MF
6136 * debug/tst-longjmp_chk.c: Add header comment and include
6137 ../test-skeleton.c.
6138 (do_test): Mark static.
6139 (TEST_FUNCTION): Define.
6140
1e805e8d
MF
6141 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6142 (IP_PMTUDISC_INTERFACE): Likewise.
6143 (IP_MULTICAST_IF): Likewise.
6144 (IP_MULTICAST_TTL): Likewise.
6145 (IP_MULTICAST_LOOP): Likewise.
6146 (IP_ADD_MEMBERSHIP): Likewise.
6147 (IP_DROP_MEMBERSHIP): Likewise.
6148 (IP_UNBLOCK_SOURCE): Likewise.
6149 (IP_BLOCK_SOURCE): Likewise.
6150 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6151 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6152 (IP_MSFILTER): Likewise.
6153 (MCAST_JOIN_GROUP): Likewise.
6154 (MCAST_BLOCK_SOURCE): Likewise.
6155 (MCAST_UNBLOCK_SOURCE): Likewise.
6156 (MCAST_LEAVE_GROUP): Likewise.
6157 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6158 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6159 (MCAST_MSFILTER): Likewise.
6160 (IP_MULTICAST_ALL): Likewise.
6161 (IP_UNICAST_IF): Likewise.
6162
73f79bb7
MF
6163 * timezone/Makefile: Delete $(have-ksh) check.
6164 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6165 * timezone/tzselect.ksh: Add +x mode bits.
6166
8da79b60
MF
6167 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6168 (ANON_INODE_FS_MAGIC): Likewise.
6169 (BDEVFS_MAGIC): Likewise.
6170 (BINFMTFS_MAGIC): Likewise.
6171 (BTRFS_TEST_MAGIC): Likewise.
6172 (CRAMFS_MAGIC_WEND): Likewise.
6173 (DEBUGFS_MAGIC): Likewise.
6174 (ECRYPTFS_SUPER_MAGIC): Likewise.
6175 (EXT3_SUPER_MAGIC): Likewise.
6176 (EXT4_SUPER_MAGIC): Likewise.
6177 (FUTEXFS_SUPER_MAGIC): Likewise.
6178 (HOSTFS_SUPER_MAGIC): Likewise.
6179 (HUGETLBFS_MAGIC): Likewise.
6180 (MINIX3_SUPER_MAGIC): Likewise.
6181 (MTD_INODE_FS_MAGIC): Likewise.
6182 (NILFS_SUPER_MAGIC): Likewise.
6183 (OPENPROM_SUPER_MAGIC): Likewise.
6184 (PIPEFS_MAGIC): Likewise.
6185 (PSTOREFS_MAGIC): Likewise.
6186 (QNX6_SUPER_MAGIC): Likewise.
6187 (RAMFS_MAGIC): Likewise.
6188 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6189 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6190 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6191 (SECURITYFS_MAGIC): Likewise.
6192 (SELINUX_MAGIC): Likewise.
6193 (SMACK_MAGIC): Likewise.
6194 (SOCKFS_MAGIC): Likewise.
6195 (SQUASHFS_MAGIC): Likewise.
6196 (STACK_END_MAGIC): Likewise.
6197 (TMPFS_MAGIC): Likewise.
6198 (USBDEVICE_SUPER_MAGIC): Likewise.
6199 (V9FS_MAGIC): Likewise.
6200 (XENFS_SUPER_MAGIC): Likewise.
6201 (CRAMFS_MAGIC): Fix typo in comment.
6202 (EXT2_SUPER_MAGIC): Update comment.
6203 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6204
464263cc
JM
62052014-02-08 Joseph Myers <joseph@codesourcery.com>
6206
c6bfe5c4
JM
6207 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6208 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6209 * sysdeps/unix/sysv/linux/arm: Move directory from
6210 ports/sysdeps/unix/sysv/linux/arm.
6211 * README: Update listing for arm-*-linux-gnueabi.
6212
464263cc
JM
6213 * README: Remove mention of am33.
6214
32749f6c
RM
62152014-02-07 Roland McGrath <roland@hack.frob.com>
6216
6217 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6218 than the comma operator, to avoid "rhs of comma has no effect"
6219 compiler warnings.
6220 (__sigfillset, __sigandset, __sigorset): Likewise.
6221 * include/signal.h (__sigemptyset): Likewise.
6222 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6223
d5b396c1
AM
62242014-02-07 Allan McRae <allan@archlinux.org>
6225
6226 * version.h (RELEASE): Set to "development".
6227 (VERSION): Set to "2.19.90"
6228 * NEWS: Add 2.20 section.
6229
3bfff2ed
CD
62302014-02-06 Carlos O'Donell <carlos@redhat.com>
6231
6232 [BZ #16529]
6233 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6234
ee7cc385
SP
62352014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6236
6237 * manual/contrib.texi: Update entry for Carlos O'Donell,
6238 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6239
f877c4f2
CD
62402014-02-05 Carlos O'Donell <carlos@rehdat.com>
6241
27e839f6
CD
6242 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6243
f877c4f2
CD
6244 * sysdeps/unix/sysv/linux/kernel-features.h
6245 [__LINUX_KERNEL_VERSION >= 0x020621]
6246 (__ASSUME_PROC_PID_TASK_COMM): Define.
6247
68159946
SP
62482014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6249
ba17cdbd
SP
6250 [BZ #16398]
6251 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6252 conversion when destination buffer does not have enough space.
6253 * libio/tst-ftell-partial-wide.c: New test case.
6254 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6255
68159946
SP
6256 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6257 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6258 Leonard and Allan McRae.
6259
2b528732
DM
62602014-02-04 David S. Miller <davem@davemloft.net>
6261
6262 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6263 32-bit.
6264
0ff82463
AZ
62652014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6266
57f41c40
AS
6267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6268 New file
c01603f7
AZ
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6270 New file
57f41c40
AS
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6272 New file.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6274 New file.
c01603f7
AZ
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6276 New file.
57f41c40
AS
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6278 New file.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6280 New file.
c01603f7
AZ
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6282 New file.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6284 New file.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6286 New file.
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6288 New file.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6290 New file.
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6292 New file.
6293
62942014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6295
0ff82463
AZ
6296 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6297 * shlib-versions: Likewise.
6298
1695c773
AZ
62992014-02-04 Roland McGrath <roland@hack.frob.com>
6300 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6301
6302 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6303 (abilist-pattern): New variable, set to %-le.abilist.
6304
6305 * Makerules (abilist-pattern): New variable.
6306 (vpath): Use $(abilist-pattern) in place of %.abilist.
6307 (check-abi-% pattern rule): Likewise.
6308 (check-abi, update-abi): Likewise.
6309
6c0ce4b4
EW
63102014-02-04 Eric Wong <normalperson@yhbt.net>
6311
6312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6313
481e3524
CD
63142014-02-03 Carlos O'Donell <carlos@redhat.com>
6315
6316 * manual/startup.texi: Add next, previous, and top entries for
6317 the `Program Arguments' and `Environment Variables' nodes.
6318
375592d3
AO
63192014-02-03 Alexandre Oliva <aoliva@redhat.com>
6320
6321 * manual/macros.texi: Add comments before MTASC-safety macros.
6322
f54838ba
AO
6323 * manual/users.texi: Document MTASC-safety properties.
6324
57f41c40
AS
6325 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6326 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6327 @deftypefun, and add @safety note.
6328 * manual/signal.texi: Move comments that analyze the above
6329 functions to their home place.
6330
fd3daba4
AM
63312014-02-03 Allan McRae <allan@archlinux.org>
6332
6333 * po/sl.po: Update Slovenian translation from translation project.
6334
597636d7
AO
63352014-02-02 Alexandre Oliva <aoliva@redhat.com>
6336
6337 * manual/time.texi (timegm): Add missing blank after @c.
6338 Reported by Joseph Myers <joseph@codesourcery.com>.
6339
ee196e3c
AO
63402014-02-01 Alexandre Oliva <aoliva@redhat.com>
6341
6342 * manual/check-safety.sh: New.
6343 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6344
f8d529d5
AO
6345 * manual/terminal.texi: Document MTASC-safety properties.
6346
de55fdf4
AO
6347 * manual/filesys.texi: Document MTASC-safety properties.
6348
c3299c08
AO
6349 * manual/errno.texi: Document MTASC-safety properties.
6350
06e90b14
AO
6351 * manual/intro.texi: Document safety identifiers and
6352 conditionals.
6353
1acd4371
AO
6354 * manual/string.texi (wcstok): Fix prototype.
6355 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6356
23e5b8cb
AO
6357 * manual/time.texi: Document MTASC-safety properties.
6358
11087373
AO
6359 * manual/string.texi: Document MTASC-safety properties.
6360
5da2c93d
AO
6361 * manual/threads.texi: Document MTASC-safety properties.
6362
171e9210
AO
6363 * manual/stdio.texi: Document MTASC-safety properties.
6364
d9e02532
AO
6365 * manual/syslog.texi: Document MTASC-safety properties.
6366
6af8bab7
AO
6367 * manual/sysinfo.texi: Document MTASC-safety properties.
6368
663b02d7
AO
6369 * manual/startup.texi: Document MTASC-safety properties.
6370
973f180b
AO
6371 * manual/socket.texi: Document MTASC-safety properties.
6372
8f3c25c8
AO
6373 * manual/signal.texi: Document MTASC-safety properties.
6374
542210fb
AO
63752014-01-31 Alexandre Oliva <aoliva@redhat.com>
6376
6377 * manual/setjmp.texi: Document MTASC-safety properties.
6378
433c45a2
AO
6379 * manual/search.texi: Document MTASC-safety properties.
6380
c8ce789c
AO
6381 * manual/resource.texi: Document MTASC-safety properties.
6382
19f5d29c
AO
6383 * manual/process.texi: Document MTASC-safety properties.
6384
e2dfb7f4
AO
6385 * manual/platform.texi: Document MTASC-safety properties.
6386
8c1413f5
AO
6387 * manual/pipe.texi: Document MTASC-safety properties.
6388
03483ada
AO
6389 * manual/pattern.texi: Document MTASC-safety properties.
6390
29e7e2df
AO
6391 * manual/message.texi: Document MTASC-safety properties.
6392
9f529d7c
AO
6393 [BZ #12751]
6394 * manual/memory.texi: Document MTASC-safety properties.
6395
27aaa791
AO
6396 * manual/math.texi: Document MTASC-safety properties.
6397
f2d58726
AO
6398 * manual/locale.texi: Document MTASC-safety properties.
6399
2cc3615c
AO
6400 * manual/llio.texi: Document MTASC-safety properties.
6401
d9f0ec97
AO
6402 * manual/libdl.texi: New.
6403
e7c4409a
AO
6404 * manual/lang.texi: Document MTASC-safety properties.
6405
27bdc63c
AO
6406 * manual/job.texi: Document MTASC-safety properties.
6407
a7b90ea9
AO
6408 * manual/getopt.texi: Document MTASC-safety properties.
6409
c49130e3
AO
6410 * manual/ctype.texi: Document MTASC-safety properties.
6411
0d23a5c1
MR
64122014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6413
6414 [BZ #16046]
6415 * csu/libc-tls.c (static_map): Remove variable.
6416 (__libc_setup_tls): Use main executable's link map for TLS data.
6417 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6418 casing for LM_ID_BASE and GL(dl_nns).
6419 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6420 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6421 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6422 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6423 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6424 member.
6425 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6426 l_phnum members.
6427
0037bb60
AO
64282014-01-30 Alexandre Oliva <aoliva@redhat.com>
6429
6430 * manual/debug.texi: Document MTASC-safety properties.
6431
409e00bd
L
64322014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6433
6434 [BZ #16510]
6435 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6436 of __x86_64__ when disabling x87 inline functions.
6437
86e60666
AO
64382014-01-29 Alexandre Oliva <aoliva@redhat.com>
6439
6440 * manual/charset.texi: Document MTASC-safety properties.
6441
76167637
AO
6442 * manual/crypt.texi: Document MTASC-safety properties.
6443
e567f2a0
AO
6444 * manual/conf.texi: Document MTASC-safety properties.
6445
b719dafd
AO
6446 * manual/arith.texi: Document MTASC-safety properties.
6447
4a16c662
AO
6448 * manual/argp.texi: Document MTASC-safety properties.
6449
0a57b83e
AO
6450 * manual/macros.texi: Introduce macros to document multi
6451 thread, asynchronous signal and asynchronous cancellation
6452 safety properties.
6453 * manual/intro.texi: Introduce the properties themselves.
6454
feab2397
KK
64552014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6456
6457 * sysdeps/sh/sh4/Makefile: New file.
6458
1c0d11bc
AS
64592014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6460
6461 * math/gen-libm-test.pl ($srcdir): New variable.
6462 ($auto_input): Use it.
6463
af37a8a3
SP
64642014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6465
d7b00f98
SP
6466 [BZ #16506]
6467 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6468 access beyond array bounds when parsing netgroups file.
6469
af37a8a3
SP
6470 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6471 the old buffer before realloc.
6472
0c00f062
AM
64732014-01-27 Allan McRae <allan@archlinux.org>
6474
6475 * po/fr.po: Update French translation from translation project.
6476
7d69a1b0
KK
64772014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6478
6479 * sysdeps/sh/libm-test-ulps: Regenerate.
6480
6e697ff7
DM
64812014-01-24 David S. Miller <davem@davemloft.net>
6482
6483 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6484
9cadb35c
KK
64852014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6486
6487 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6488 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6489
5d41dadf
SP
64902013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6491
6492 [BZ #16474]
6493 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6494 string pointers after reallocation.
6495
0bad441c
KK
64962014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6497
6498 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6499 __SH4A__ instead of __SH_FPU_ANY__.
6500
7007c661
KK
65012014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6502
6503 * sysdeps/sh/fpu_control.h: New file.
6504 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6505 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6506 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6507 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6508 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6509 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6510 * sysdeps/sh/sys/ucontext.h: Remove.
6511 * sysdeps/sh/sys: Remove directory.
6512
0f0c35e4
AK
65132014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6514
6515 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6516 s390/sys/ucontext.h.
6517 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6518 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6519
4959e284
L
65202014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6521
6522 [BZ #15605]
6523 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6524
d98720e0
AZ
65252014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6526
6527 [BZ#16431]
6528 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6529 Adjust the vDSO correctly for internal calls.
6530 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6531
91cbd0bc
AM
65322014-01-20 Allan McRae <allan@archlinux.org>
6533
6534 * po/ca.po: Update Catalan translation from translation project.
6535
7a02cfad
MF
65362014-01-16 Mike Frysinger <vapier@gentoo.org>
6537
6538 * sysdeps/s390/sotruss-lib.c: New file.
6539
736c304a
AZ
65402014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6541
6542 [BZ#16430]
6e077ee5 6543 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6544 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6545 local calls issues by not having a PLT stub required for IFUNC calls.
6546 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6547
94d0cea0
JM
65482014-01-16 Joseph Myers <joseph@codesourcery.com>
6549
6550 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6551 * math/test-fpucw-static.c: Likewise.
6552
980cb518
SP
65532013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6554
6555 [BZ #16453]
6556 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6557
2393fc01
AZ
65582014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6559
6560 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6561 implementation for powerpc.
6562
d359bcc2
OB
65632014-01-15 Ondřej Bílka <neleai@seznam.cz>
6564
6565 [BZ #14782]
6566 * sysdeps/posix/system.c (__libc_system): Do not enable
6567 asynchronous cancellation.
6568
7beb48cb
AK
65692014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6570
6571 [BZ #16427]
6572 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6573 handling only for numbers special also in the IEEE case.
6574
c20d5bf5
AK
65752014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6576
6577 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6578
e83bd4ee
AM
65792014-01-11 Allan McRae <allan@archlinux.org>
6580
76d0ea69
AM
6581 * po/bg.po: Update Bulgarian translation from translation project.
6582
e83bd4ee
AM
6583 * po/de.po: Update German translation from translation project.
6584
bc2ba20a
RM
65852014-01-10 Roland McGrath <roland@hack.frob.com>
6586
6587 * sysdeps/generic/gcc-compat.h: New file.
6588
649ecea2
SP
65892014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6590
6591 * benchtests/asin-inputs: Correct slow inputs.
6592 * benchtests/acos-inputs: Likewise.
6593
1b19c006
AM
65942014-01-10 Allan McRae <allan@archlinux.org>
6595
a46dab08
AM
6596 * po:sv.po: Update Swedish translation from translation project.
6597
421df74a
AM
6598 * po/vi.po: Update Vietnamese translation from translation project.
6599
d61c51a7
AM
6600 * po/eo.po: Update Esperanto translation from translation project.
6601
0339a319
AM
6602 * po/cs.po: Update Czech translation from translation project.
6603
94ad3e99
AM
6604 * po/nl.po: Update Dutch translation from translation project.
6605
e349ca71
AM
6606 * po/pl.po: Update Polish translation from translation project.
6607
ddf930c1
AM
6608 * po/ru.po: Update Russian translation from translation project.
6609
1b19c006
AM
6610 * po/uk.po: Update Ukrainian translation from translation project.
6611
9f236c49
BM
66122014-01-08 Brooks Moses <bmoses@google.com>
6613
6614 * elf/dl-load.c: Fix comment typo.
6615
cd6701cf
CD
66162014-01-08 Carlos O'Donell <carlos@redhat.com>
6617
6618 * po/header.pot: Rename to...
6619 * po/pot.header: ... this.
6620 * po/Makefile: Use pot.header.
6621
66671c84
YK
66222014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6623 Maxim Kuvyrkov <maxim@kugelworks.com>
6624
6625 [BZ #16394]
cd6701cf
CD
6626 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6627 SRC and DEST against LEN.
66671c84 6628
38f34581
AZ
66292014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630
6631 [BZ #16414]
6632 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6633 implementation.
6634 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6635
66362014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6637
6638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6639
4c327f2a
JM
66402014-01-08 Joseph Myers <joseph@codesourcery.com>
6641
6642 [BZ #16408]
6643 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6644 for large positive arguments.
6645
b821f414
JM
66462014-01-07 Joseph Myers <joseph@codesourcery.com>
6647
1f0f2067
JM
6648 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6649
a5a326f6
JM
6650 * math/auto-libm-test-in: Mark various tests with
6651 xfail-rounding:ldbl-128ibm.
6652 * math/auto-libm-test-out: Regenerated.
6653
b821f414
JM
6654 [BZ #16407]
6655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6656 Increase overflow threshold.
6657
94c8a4bc
OB
66582014-01-07 Ondřej Bílka <neleai@seznam.cz>
6659
6660 [BZ #14286]
6661 * stdio-common/vfprintf.c: Check for integer overflow.
6662
87ded0c3
AK
66632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6664
6665 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6666 the first argument and return value of __tls_get_addr_internal.
6667
c5eebdd0
AK
66682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6669
6670 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6671 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6672
05d138ef
AK
66732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6674
6675 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6676 * sysdeps/s390/rtld-global-offsets.sym: New file.
6677 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6678 GLIBC_2.19 symbol.
6679 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6680 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6681 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6682 ... this.
6683 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6684 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6685 ... this.
6686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6687 Regenerate.
6688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6689 Regenerate.
6690 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6691 halfs of GPRs for high_gprs contexts.
6692 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6693 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6694 field.
6695 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6696 uc_flags field.
6697 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6698 64 bit versions:
6699 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6700 for high GPRs (uc_high_gprs) and for future extensions
6701 (__reserved).
6702 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6703 for future extensions (__reserved).
6704 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6705 64 bit versions:
6706 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6707 SC_HIGHGPRS offset definition.
6708 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6709 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6710
93a45ff1
AK
6711 * Versions.def: Add GLIBC_2.19 for libpthread.
6712 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6713 siglongjmp for libpthread with GLIBC_2.19 symver.
6714 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6715 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6716 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6717 * sysdeps/s390/__longjmp.c: New file.
6718 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6719 * sysdeps/s390/longjmp.c: New file.
6720 * sysdeps/s390/setjmp.S: New file.
6721 * sysdeps/s390/sigjmp.S: New file.
6722 * sysdeps/s390/v1-longjmp.c: New file.
6723 * sysdeps/s390/v1-setjmp.h: New file.
6724 * sysdeps/s390/v1-sigjmp.c: New file.
6725 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6726 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6727 GLIBC_2.19 version.
6728 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6729 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6730 versioned symbols for ____longjmp_chk.
6731 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6732 Likewise.
6733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6734 Regenerate.
6735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6736 Regenerate.
6737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6738 Regenerate.
6739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6740 Regenerate.
6741 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6742 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6743 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6744 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6745 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6746 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6747 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6748 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6749 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6750 * sysdeps/s390/rtld-__longjmp.c: New file.
6751 * sysdeps/s390/rtld-setjmp.S: New file.
6752
eb3fc44b
JM
67532014-01-06 Joseph Myers <joseph@codesourcery.com>
6754
6755 [BZ #16400]
6756 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6757 Return -__logl (x) for small positive arguments without evaluating
6758 a polynomial.
6759
9341dde4
MF
67602014-01-06 Mike Frysinger <vapier@gentoo.org>
6761
6762 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6763 Rename to ...
6764 (__ptrace_peeksiginfo_args): ... this.
6765 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6766 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6767 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6768
4cff0293
AM
67692014-01-06 Allan McRae <allan@archlinux.org>
6770
6771 * inet/netinet/in.h: Fix typo in comment.
6772
75595dcf
AJ
67732014-01-05 Andreas Jaeger <aj@suse.de>
6774
6775 * sysdeps/i386/fpu/libm-test-ulps: Update.
6776
79c1e109
AM
67772014-01-05 Allan McRae <allan@archlinux.org>
6778
dd804818
AM
6779 * po/libc.pot: Regenerated.
6780
79c1e109
AM
6781 * malloc/memusagestat.c: Fix gettext call formatting.
6782
0c813d1f
SK
67832014-01-04 Sami Kerola <kerolasa@iki.fi>
6784
6785 * nscd/nscd.c: Improve usage() output.
6786
20f4a8d9
MF
67872014-01-04 Mike Frysinger <vapier@gentoo.org>
6788
6789 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6790 * sysdeps/unix/sysv/linux/configure: Regenerated.
6791 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6792 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6793
22562bb2
JM
67942014-01-03 Joseph Myers <joseph@codesourcery.com>
6795
6796 [BZ #16390]
6797 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6798 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6799
d7ad2d9b
AZ
68002014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6801
6802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6803 extra tokens at end of #undef directive.
6804 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6805 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6806 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6807
7dd009d8
JM
68082014-01-03 Joseph Myers <joseph@codesourcery.com>
6809
24db925a
JM
6810 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6811
7dd009d8
JM
6812 * math/auto-libm-test-in: Mark various tests with
6813 xfail-rounding:ldbl-128ibm.
6814 * math/auto-libm-test-out: Regenerated.
6815
396e3ecf
JM
68162014-01-02 Joseph Myers <joseph@codesourcery.com>
6817
819e5d50
JM
6818 [BZ #16386]
6819 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6820 numbers with subnormal high part when calculating exponent.
6821
90b6a1e5
JM
6822 [BZ #16385]
6823 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6824 fabs.
6825
396e3ecf
JM
6826 [BZ #16384]
6827 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6828 M_LN2l.
6829 (__ieee754_acoshl): Use __log1pl not __log1p.
6830
6c8dbf00
OB
68312013-01-02 Ondřej Bílka <neleai@seznam.cz>
6832
57f41c40
AS
6833 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6834 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6835 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6836 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6837 (reused_arena, arena_get2): Convert to GNU style.
6838 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6839 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6840 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6841 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6842 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6843 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6844 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6845 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6846 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6847 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6848 * malloc/malloc.h: Likewise.
57f41c40
AS
6849 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6850 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6851 * malloc/mcheck.h: Likewise.
57f41c40
AS
6852 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6853 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6854 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6855 * malloc/morecore.c (__default_morecore): Likewise.
6856 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6857 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6858 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6859 (print_and_abort): Likewise.
6c8dbf00
OB
6860 * malloc/obstack.h: Likewise.
6861 * malloc/set-freeres.c (__libc_freeres): Likewise.
6862 * malloc/tst-mallocstate.c (main): Likewise.
6863 * malloc/tst-mtrace.c (main): Likewise.
6864 * malloc/tst-realloc.c (do_test): Likewise.
6865
d4124212
SP
68662013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6867
9a3c6a6f
SP
6868 [BZ #16366]
6869 * nscd/netgroupcache.c (do_notfound): New function.
6870 (addgetnetgrentX): Use it.
6871
d4124212
SP
6872 [BZ # 16365]
6873 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6874 NSS_STATUS_NOTFOUND.
6875
97b9a009
JM
68762014-01-01 Joseph Myers <joseph@codesourcery.com>
6877
6878 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6880
d4697bc9
AM
68812014-01-01 Allan McRae <allan@archlinux.org>
6882
ddb3687f
AM
6883 * scripts/update-copyrights: Update configure input file suffix.
6884
88726d48
AM
6885 * NEWS: Update copyright year.
6886 * catgets/gencat.c: Likewise.
6887 * csu/version.c: Likewise.
6888 * debug/catchsegv.sh: Likewise.
6889 * debug/pcprofiledump.c: Likewise.
6890 * debug/xtrace.sh: Likewise.
6891 * elf/ldconfig.c: Likewise.
6892 * elf/ldd.bash.in: Likewise.
6893 * elf/pldd.c: Likewise.
6894 * elf/sotruss.ksh: Likewise.
6895 * elf/sprof.c: Likewise.
6896 * iconv/iconv_prog.c: Likewise.
6897 * iconv/iconvconfig.c: Likewise.
6898 * locale/programs/locale.c: Likewise.
6899 * locale/programs/localedef.c: Likewise.
6900 * login/programs/pt_chown.c: Likewise.
6901 * malloc/memusage.sh: Likewise.
6902 * malloc/memusagestat.c: Likewise.
6903 * malloc/mtrace.pl: Likewise.
6904 * manual/libc.texinfo: Likewise.
6905 * nscd/nscd.c: Likewise.
6906 * nss/getent.c: Likewise.
6907 * nss/makedb.c: Likewise.
6908 * posix/getconf.c: Likewise.
6909 * scripts/test-installation.pl: Likewise.
6910
d4697bc9
AM
6911 * All files with FSF copyright notices: Update copyright dates
6912 using scripts/update-copyrights.
6913 * intl/plural.c: Regenerated.
6914 * locale/programs/charmap-kw.h: Likewise.
6915 * locale/programs/locfile-kw.h: Likewise.
6916
c8590f9d
MF
69172013-12-31 Mike Frysinger <vapier@gentoo.org>
6918
6919 * sysdeps/unix/sysv/linux/configure: Regenerated.
6920 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6921 the linux/fanotify.h header.
6922 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6923 HAVE_LINUX_FANOTIFY_H is defined.
6924
b19221b9
SP
69252013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6926
dd1d85e5
SP
6927 * benchtests/cos-inputs: New inputs.
6928 * benchtests/sin-inputs: Likewise.
6929
1acbb90f
SP
6930 * benchtests/atan-inputs: New inputs. Fix name of multiple
6931 precision fallback inputs.
6932
4c012ed3
SP
6933 * benchtests/atanh-inputs: New inputs.
6934 * benchtests/tanh-inputs: Likewise.
6935
eff98324
SP
6936 * benchtests/acosh-inputs: New inputs.
6937 * benchtests/asinh-inputs: Likewise.
6938
ce641152
SP
6939 * benchtests/cosh-inputs: New inputs.
6940 * benchtests/sinh-inputs: Likewise.
6941
b19221b9
SP
6942 * benchtests/acos-inputs: Add more inputs.
6943 * benchtests/asin-inputs: Likewise.
6944
030a4976 69452013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6946
030a4976 6947 [BZ #16375]
9dcc8f11
VS
6948 * manual/arith.texi: Fix spelling.
6949 * manual/charset.texi: Likewise.
6950 * manual/errno.texi: Likewise.
6951 * manual/filesys.texi: Likewise.
6952 * manual/lang.texi: Likewise.
6953 * manual/llio.texi: Likewise.
6954 * manual/locale.texi: Likewise.
6955 * manual/message.texi: Likewise.
6956 * manual/resource.texi: Likewise.
6957 * manual/search.texi: Likewise.
6958 * manual/setjmp.texi: Likewise.
6959 * manual/stdio.texi: Likewise.
6960 * manual/string.texi: Likewise.
6961 * manual/sysinfo.texi: Likewise.
6962 * manual/time.texi: Likewise.
6963
11520a57
CD
69642013-12-27 Carlos O'Donell <carlos@redhat.com>
6965
6966 * po/sl.po: New file.
6967
471103ae
MF
69682013-12-27 Mike Frysinger <vapier@gentoo.org>
6969
6970 * .gitignore: Add core/.gdbinit/.gdb_history.
6971
6c9642ed
AM
69722013-12-27 Allan McRae <allan@archlinux.org>
6973
6974 [BZ #16369]
6975 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6976 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6977
3f637079
BM
69782013-12-24 Brooks Moses <bmoses@google.com>
6979
6980 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6981 all compilers that claim C++98 compliance, not just GCC.
6982 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6983 Likewise.
6984
abc26e99
MK
69852013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6986
6987 * NEWS: Restore accidentally deleted bug-fix entries.
6988
362b47fe
MK
69892013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6990 Ondřej Bílka <neleai@seznam.cz>
6991
6992 [BZ #15073]
6993 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6994 have_lock.
362b47fe 6995
b9bcbbcb
OB
69962013-12-23 Ondřej Bílka <neleai@seznam.cz>
6997
6998 [BZ #12986]
6999 * manual/stdio.texi (String Input Conversions): Clarify that character
7000 classes are not supported.
7001
fb55fcd2
AZ
70022013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7003
7004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7005
ef7344f0
JM
70062013-12-22 Joseph Myers <joseph@codesourcery.com>
7007
4f40e4b3
JM
7008 [BZ #16337]
7009 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7010 Calculate results for small negative arguments directly rather
7011 than using reflection formula with special underflow handling.
7012
ef7344f0
JM
7013 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7014 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7015 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7016 (fchflags): Likewise.
7017 (revoke): Likewise.
7018 (setlogin): Likewise.
7019 (sigaltstack): Likewise.
7020 (wait4): Likewise.
7021 (sigblock): Remove.
7022 (sigsetmask): Likewise.
7023 (wait3): Likewise.
7024 (waitpid): Likewise.
7025 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7026 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7027 file.
7028 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7029 * sysdeps/unix/bsd/Makefile: ... here.
7030 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7031 * sysdeps/unix/bsd/Versions: ... here.
7032 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7033 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7034 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7035 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7036 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7037 * sysdeps/unix/bsd/sigblock.c: ... here.
7038 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7039 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7040 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7041 * sysdeps/unix/bsd/sigvec.c: ... here.
7042 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7043 * sysdeps/unix/bsd/tcdrain.c: ... here.
7044 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7045 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7046 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7047 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7048 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7049 * sysdeps/unix/bsd/wait.c: ... here.
7050 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7051 * sysdeps/unix/bsd/wait3.c: ... here.
7052 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7053 * sysdeps/unix/bsd/waitpid.c: ... here.
7054
5b0626b9
JM
70552013-12-21 Joseph Myers <joseph@codesourcery.com>
7056
7057 [BZ #16356]
7058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7059 round-to-nearest for [!USE_AS_EXPM1L].
7060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7061 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7062 more tests of exp and exp10. Expect some exp10 tests to miss
7063 exceptions or fail in directed rounding modes.
7064 * math/auto-libm-test-out: Regenerated.
7065 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7066 (exp10_test_tonearest): New function.
7067 (exp10_towardzero_test_data): New array.
7068 (exp10_test_towardzero): New function.
7069 (exp10_downward_test_data): New array.
7070 (exp10_test_downward): New function.
7071 (exp10_upward_test_data): New array.
7072 (exp10_test_upward): New function.
7073 (main): Call the new functions.
7074 * sysdeps/i386/fpu/libm-test-ulps: Update.
7075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7076
7fda5682
JM
70772013-12-20 Joseph Myers <joseph@codesourcery.com>
7078
31e3a405
JM
7079 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7080 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7081 * math/auto-libm-test-out: Regenerated.
7082 * math/libm-test.inc (acosh_test_data): Add more tests.
7083 (atanh_test_data): Likewise.
7084 (ceil_test_data): Likewise.
7085 (copysign_test_data): Likewise.
7086 * sysdeps/i386/fpu/libm-test-ulps: Update.
7087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7088
85bff96a
JM
7089 * timezone/checktab.awk: Update from tzcode 2013i.
7090 * timezone/private.h: Likewise.
7091 * timezone/scheck.c: Likewise.
7092 * timezone/tzfile.h: Likewise.
7093 * timezone/tzselect.ksh: Likewise.
7094 * timezone/zdump.c: Likewise.
7095 * timezone/zic.c: Likewise.
7096
b7867a3b
JM
7097 * math/auto-libm-test-in: Add tests of cpow.
7098 * math/auto-libm-test-out: Regenerated.
7099 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7100 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7101 mpc_cc_c.
7102 (func_calc_desc): Add mpc_cc_c union field.
7103 (test_functions): Add cpow.
7104 (special_fill_2pi): New function.
7105 (special_real_inputs): Add 2pi.
7106 (calc_generic_results): Handle mpc_cc_c.
7107 * sysdeps/i386/fpu/libm-test-ulps: Update.
7108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7109
7fda5682
JM
7110 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7111 csqrt, ctan and ctanh.
7112 * math/auto-libm-test-out: Regenerated.
7113 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7114 (TEST_COND_x86): Likewise.
7115 (ccos_test_data): Use AUTO_TESTS_c_c.
7116 (ccosh_test_data): Likewise.
7117 (cexp_test_data): Likewise.
7118 (clog_test_data): Likewise.
7119 (csqrt_test_data): Likewise.
7120 (ctan_test_data): Likewise.
7121 (ctan_tonearest_test_data): Likewise.
7122 (ctan_towardzero_test_data): Likewise.
7123 (ctan_downward_test_data): Likewise.
7124 (ctan_upward_test_data): Likewise.
7125 (ctanh_test_data): Likewise.
7126 (ctanh_tonearest_test_data): Likewise.
7127 (ctanh_towardzero_test_data): Likewise.
7128 (ctanh_downward_test_data): Likewise.
7129 (ctanh_upward_test_data): Likewise.
7130 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7131 mpc_c_c.
7132 (func_calc_desc): Add mpc_c_c union field.
7133 (FUNC_mpc_c_c): New macro.
7134 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7135 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7136 ctanh.
7137 (special_fill_min_subnorm_p120): New function.
7138 (special_real_inputs): Add min_subnorm_p120.
7139 (calc_generic_results): Handle mpc_c_c.
7140 * sysdeps/i386/fpu/libm-test-ulps: Update.
7141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7142
5ff8d60e
SP
71432013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7144
57f41c40
AS
7145 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7146 (do_sin_slow): New functions.
7147 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7148 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7149
84ba214c
SP
7150 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7151 Use M to change sign of result instead of X. Assume X is
7152 positive.
7153 (csloww1): Likewise.
7154 (__sin): Adjust.
7155 (__cos): Adjust.
7156
975195e4
SP
7157 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7158 arguments A and DA.
7159 (__sin): Adjust.
7160 (__cos): Likewise.
7161
5ff8d60e
SP
7162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7163 (__cos): Likewise.
7164 (sloww1): Don't adjust sign of DX.
7165 (csloww1): Likewise.
7166 (sloww2): Use X directly and don't adjust sign of DX.
7167 (csloww2): Likewise.
7168
eb983568
JM
71692013-12-19 Joseph Myers <joseph@codesourcery.com>
7170
64a17f1a
JM
7171 * math/auto-libm-test-in: Add tests of cabs and carg.
7172 * math/auto-libm-test-out: Regenerated.
7173 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7174 (carg_test_data): Likewise.
7175 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7176 mpc_c_f.
7177 (func_calc_desc): Add mpc_c_f union field.
7178 (test_functions): Add cabs and carg.
7179 (calc_generic_results): Handle mpc_c_f.
7180
eb983568
JM
7181 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7182 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7183 as a macro and a compat symbol.
7184 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7185 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7186 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7187 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7188 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7189 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7190 not use .hidden.
7191 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7192 Likewise.
7193 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7194 Likewise.
7195 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7196 Likewise.
7197 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7198 Likewise.
7199 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7200 Likewise.
7201 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7202 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7203 from GLIBC_2.3.2.
7204
6eeb678a
AZ
72052013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7206
7207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7208
6f6fc482
JM
72092013-12-19 Joseph Myers <joseph@codesourcery.com>
7210
21fea2e2
JM
7211 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7212 trailing whitespace removed.
7213 * scripts/config.guess: Update to version 2013-11-29.
7214 * scripts/config.sub: Update to version 2013-10-01.
7215
6f6fc482
JM
7216 * math/auto-libm-test-in: Add tests of sincos.
7217 * math/auto-libm-test-out: Regenerated.
7218 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7219 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7220 mpfr_f_11.
7221 (func_calc_desc): Add mpfr_f_11 union field.
7222 (test_functions): Add sincos.
7223 (calc_generic_results): Handle mpfr_f_11.
7224 * sysdeps/i386/fpu/libm-test-ulps: Update.
7225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7226
83f5c32d
AS
72272013-12-19 Andreas Schwab <schwab@suse.de>
7228
7229 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7230 CALL_MCOUNT.
7231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7232 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7233 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7234
c688b419
JM
72352013-12-19 Joseph Myers <joseph@codesourcery.com>
7236
335ee092
JM
7237 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7238 * sysdeps/i386/fpu/libm-test-ulps: Update.
7239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7240
f88acd39
JM
7241 [BZ #16293]
7242 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7243 round-to-nearest mode when using frndint.
7244 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7245 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7246 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7247 Likewise.
7248 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7249 sinh test to fail.
7250 * math/auto-libm-test-out: Regenerated.
7251 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7252 (TEST_COND_x86): Likewise.
7253 (expm1_tonearest_test_data): New array.
7254 (expm1_test_tonearest): New function.
7255 (expm1_towardzero_test_data): New array.
7256 (expm1_test_towardzero): New function.
7257 (expm1_downward_test_data): New array.
7258 (expm1_test_downward): New function.
7259 (expm1_upward_test_data): New array.
7260 (expm1_test_upward): New function.
7261 (main): Run the new test functions.
7262 * sysdeps/i386/fpu/libm-test-ulps: Update.
7263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7264
c688b419
JM
7265 * include/features.h: Update comment documenting feature test
7266 macros. Mention _DEFAULT_SOURCE in comment.
7267 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7268 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7269 _BSD_SOURCE and _SVID_SOURCE.
7270 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7271 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7272 !_SVID_SOURCE]: Likewise.
7273 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7274 (__USE_POSIX_IMPLICITLY): Define.
7275 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7276 (_POSIX_SOURCE): Undefine and redefine.
7277 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7278 (_POSIX_C_SOURCE): Likewise.
7279 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7280 (Feature Test Macros): Update documentation of default features.
7281
9f6e964c
RS
72822013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7283
7284 * benchtests/Makefile: Add bench-strtok.
7285 * benchtests/bench-strtok.c: New file: strtok benchtest.
7286
ee0a148a
AM
72872013-12-19 Allan McRae <allan@archlinux.org>
7288
7289 * manual/install.texi: Suppress menu for plain text output.
7290 * INSTALL: Regenerated.
7291
b9ab448f
BM
72922013-12-18 Brooks Moses <bmoses@google.com>
7293
7294 [BZ #15846]
7295 * misc/getauxval.c: Include errno.h.
7296 (__getauxval): Set errno to ENOENT if the requested type is not
7297 found.
7298 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7299 don't declare with __attribute_const__.
7300 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7301 * manual/startup.texi: Document that getauxval sets errno.
7302
23776487
JM
73032013-12-18 Joseph Myers <joseph@codesourcery.com>
7304
f889953b
JM
7305 * math/auto-libm-test-in: Add tests of jn and yn.
7306 * math/auto-libm-test-out: Regenerated.
7307 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7308 (yn_test_data): Likewise.
7309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7310 mpfr_if_f.
7311 (func_calc_desc): Add mpfr_if_f union field.
7312 (FUNC_mpfr_if_f): New macro.
7313 (test_functions): Add jn and yn.
7314 (calc_generic_results): Assert type of second input for
7315 mpfr_ff_f. Handle mpfr_if_f.
7316 (output_for_one_input_case): Disable all checking for arguments
7317 fitting floating-point types in case of an integer argument.
7318 * sysdeps/i386/fpu/libm-test-ulps: Update.
7319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7320
23776487
JM
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7322 Don't expect fegetround reference in libm.so.
7323
cb756c6d
MS
73242013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7325
7326 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7327 $(config-cflags-nofma).
7328
2dec468f
JM
73292013-12-18 Joseph Myers <joseph@codesourcery.com>
7330
5953eb3a
JM
7331 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7332 * math/auto-libm-test-out: Regenerated.
7333
2dec468f
JM
7334 [BZ #16338]
7335 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7336 to determine exponent and adjust argument to have exponent of -1.
7337 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7338 log2.
7339 * math/auto-libm-test-out: Regenerated.
7340 * sysdeps/i386/fpu/libm-test-ulps: Update.
7341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7342
4d84e6ad
OB
73432013-12-18 Ondřej Bílka <neleai@seznam.cz>
7344
7345 * manual/probes.texi: Remove cases when per-thread arenas are
7346 disabled.
7347
1818483b
AS
73482013-12-18 Andreas Schwab <schwab@suse.de>
7349
7350 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7351 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7352 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7353 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7354 * sysdeps/i386/i686/multiarch/Makefile: Update.
7355 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7356
25de95bf
JM
73572013-12-17 Joseph Myers <joseph@codesourcery.com>
7358
7359 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7360 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7361
674762d9
PE
73622013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7363
ed27ed83 7364 [BZ #15968]
0748546f
PE
7365 Support TZ transition times < 00:00:00.
7366 This is needed for version-3 tz-format files; it supports time
7367 stamps past 2037 for America/Godthab (the only entry in the tz
7368 database for which this change is relevant).
7369 * manual/time.texi (TZ Variable): Document transition times
7370 from -167:59:59 through -00:00:01.
7371 * time/tzset.c (tz_rule): Time of day is now signed.
7372 (__tzset_parse_tz): Parse negative time of day.
7373
4480e934
PE
7374 Document TZ transition times >= 25:00:00.
7375 * manual/time.texi (TZ Variable): Document transition times from
7376 25:00:00 through 167:59:59. These are already supported, and this
7377 support will help with version-3 tz-format files.
7378
69947401
PE
7379 * manual/time.texi (TZ Variable): Modernize North America example
7380 to reflect current (i.e., 2007-and-later) daylight saving rules.
7381
674762d9
PE
7382 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7383
7011c262
JM
73842013-12-17 Joseph Myers <joseph@codesourcery.com>
7385
2fc6557e
JM
7386 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7387 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7389 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7390 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7391 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7392 * sysdeps/unix/bsd/clock.c: Likewise.
7393 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7394 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7395 * sysdeps/unix/bsd/init-posix.c: Likewise.
7396 * sysdeps/unix/bsd/poll.c: Likewise.
7397 * sysdeps/unix/bsd/ptsname.c: Likewise.
7398 * sysdeps/unix/bsd/seekdir.c: Likewise.
7399 * sysdeps/unix/bsd/setegid.c: Likewise.
7400 * sysdeps/unix/bsd/seteuid.c: Likewise.
7401 * sysdeps/unix/bsd/setgid.c: Likewise.
7402 * sysdeps/unix/bsd/setrgid.c: Likewise.
7403 * sysdeps/unix/bsd/setruid.c: Likewise.
7404 * sysdeps/unix/bsd/setsid.c: Likewise.
7405 * sysdeps/unix/bsd/setuid.c: Likewise.
7406 * sysdeps/unix/bsd/sigaction.c: Likewise.
7407 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7408 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7409 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7410 * sysdeps/unix/bsd/telldir.c: Likewise.
7411 * sysdeps/unix/bsd/times.c: Likewise.
7412 * sysdeps/unix/bsd/usleep.c: Likewise.
7413
029c7b25
JM
7414 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7415 ($(objpfx)libbsd-compat.a): Remove rule.
7416
7011c262
JM
7417 * include/features.h (__FAVOR_BSD): Do not define.
7418 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7419 features conflicting with POSIX.
7420 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7421 (_BSD_SOURCE): Remove description of not being a subset of other
7422 feature test macros.
7423 * manual/job.texi (getpgrp): Do not document BSD version.
7424 (getpgid): Do not document by reference to BSD getpgrp.
7425 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7426 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7427 * signal/signal.h [__FAVOR_BSD]: Likewise.
7428 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7429 instead of making contents conditional on [__FAVOR_BSD].
7430 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7431
affb6f78
AZ
74322013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7433
7434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7435
c88769dd
JM
74362013-12-17 Joseph Myers <joseph@codesourcery.com>
7437
6432a540
JM
7438 [BZ #16314]
7439 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7440 values below 2**-450, not 2**-500.
7441 * math/auto-libm-test-in: Don't allow spurious underflow from
7442 hypot.
7443 * math/auto-libm-test-out: Regenerated.
7444
c88769dd
JM
7445 [BZ #16316]
7446 [BZ #16330]
7447 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7448 values of ha and hb and sort them after adjusting subnormal
7449 arguments.
7450 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7451 Likewise.
7452 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7453 values of ea and eb and sort them after adjusting subnormal
7454 arguments.
7455 * math/auto-libm-test-in: Do not expect some hypot tests of
7456 subnormals to fail. Add more hypot tests.
7457 * math/auto-libm-test-out: Regenerated.
7458
29618f6b
KK
74592013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7460
7461 [BZ #13304]
7462 * sysdeps/sh/s_fma.c: New file.
7463 * sysdeps/sh/s_fmaf.c: New file.
7464 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7465 version.
7466 * sysdeps/sh/Implies: Add sh/soft-fp.
7467
eacfdfbf
RM
74682013-12-16 Roland McGrath <roland@hack.frob.com>
7469
7470 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7471 level of indirection to members `objname', `errstring', `malloced'.
7472 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7473 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7474 it as the __longjmp argument (just pass 1 instead).
7475 (_dl_catch_error): Initialize C with argument pointers and address of
7476 volatile local ERRCODE rather than copying values out of C at return.
7477
ff362e5b
JM
74782013-12-16 Joseph Myers <joseph@codesourcery.com>
7479
7480 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7481 * math/auto-libm-test-out: Regenerated.
7482 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7483 (hypot_test_data): Likewise.
7484 (pow_test_data): Likewise.
7485 (pow_tonearest_test_data): Likewise.
7486 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7487 mpfr_ff_f.
7488 (func_calc_desc): Add mpfr_ff_f union field.
7489 (FUNC_mpfr_ff_f): New macro.
7490 (test_functions): Add atan2, hypot and pow.
7491 (special_fill_min): New function.
7492 (special_fill_minus_min): Likewise.
7493 (special_fill_min_subnorm): Likewise.
7494 (special_fill_minus_min_subnorm): Likewise.
7495 (special_real_inputs): Add min, -min, min_subnorm and
7496 -min_subnorm.
7497 (calc_generic_results): Handle mpfr_ff_f.
7498 * sysdeps/i386/fpu/libm-test-ulps: Update.
7499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7500
5764c27f
WN
75012013-12-16 Will Newton <will.newton@linaro.org>
7502
7503 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7504 (Aligned Memory Blocks): Add documentation for aligned_alloc
7505 and suggest it as an alternative to posix_memalign.
7506 (Hooks for Malloc): Document __memalign_hook is also called
7507 for aligned_alloc. (Summary of Malloc): Add summary for
7508 aligned alloc. Document __memalign_hook is also called
7509 for aligned_alloc.
7510
0a096e44
WN
75112013-12-16 Will Newton <will.newton@linaro.org>
7512
7513 * manual/memory.texi (Malloc Examples): Clarify default
7514 alignment documentation. Suggest posix_memalign rather
7515 than memalign or valloc.
7516 (Aligned Memory Blocks): Remove suggestion to use memalign
7517 or valloc. Remove obsolete comment about BSD.
7518 Document memalign errno values and mark the function obsolete.
7519 Document posix_memalign returned error codes. Mark valloc
7520 as obsolete. (Hooks for Malloc): __memalign_hook is also
7521 called for posix_memalign and valloc.
7522 (Summary of Malloc): Add posix_memalign to function summary.
7523 __memalign_hook is also called for posix_memalign and valloc.
7524
8d561986
SP
75252013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7526
7527 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7528 TAYLOR_SIN.
7529 (__sin): Adjust.
7530 (__cos): Likewise.
7531 (sloww): Use mynumber union. Expand ternary operator into
7532 if-else statements.
7533 (cslow): use mynumber union.
7534
73616a74
AM
75352013-12-16 Allan McRae <allan@archlinux.org>
7536
9e8ac24b
AM
7537 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7538 * configure: Regenerated.
7539
6f8e37eb
AM
7540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7541
8894bad3
AM
7542 [BZ #14120]
7543 * configure.ac: Added --enable-maintainer-mode. Check for
7544 autoconf when enabled.
7545 * configure: Regenerated.
7546
73616a74
AM
7547 * nscd/nscd.service: New file.
7548 * nscd/nscd.tmpfiles: New file.
7549
584b18eb
OB
75502013-12-14 Ondřej Bílka <neleai@seznam.cz>
7551
7552 [BZ #12100]
7553 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7554 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7555 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7556 (strstr): Add __strstr_sse2_unaligned ifunc.
7557 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7558 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7559 (strcasestr): Remove __strcasestr_sse42 ifunc.
7560 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7563
8a5c7897
KK
75642013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7565
7566 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7567 * sysdeps/sh/bits/fenv.h: ... here.
7568 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7569
fd712ef3
AZ
75702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7571
7572 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7573
42fcb46c
AZ
7574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7575 hypotf multiarch implementations.
7576 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7577 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7578 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7579 multiarch hypot for PPC64.
7580 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7581 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7582 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7583 multiarch hypotf for PPC64.
7584
83efded4
AZ
7585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7586 modff multiarch implementations.
7587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7590 multiarch modf for PPC64.
7591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7594 multiarch modff for PPC64.
7595
43e246d2
AZ
7596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7597 and logl multiarch implementations.
7598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7601 multiarch logb for PPC64.
7602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7605 multiarch logb for PPC64.
7606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7609 multiarch logb for PPC64.
7610
8fdad123
AZ
7611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7612 isinff multiarch implementation.
7613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7614 file.
7615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7617 multiarch isinf for PPC64.
7618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7619 file.
7620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7621 multiarch isinff for PPC64.
7622
1481d706
AZ
7623 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7624 finitef multiarch implementation.
7625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7626 file.
7627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7629 multiarch finite for PPC64.
7630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7631 file.
7632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7633 multiarch finitef for PPC64.
7634
5ccd5fc8
AZ
7635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7636 lrint multiarch implementation.
7637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7638 file.
7639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7641 multiarch llrint for PPC64.
7642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7643 multiarch lrint for PPC64.
7644
2568f3fa
AZ
7645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7646 copysignf multiarch implementation.
7647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7648 file.
7649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7650 file.
7651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7652 multiarch copysign for PPC64.
7653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7654 multiarch copysignf for PPC64.
7655
1cb341fd
AZ
7656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7657 multiarch implementation.
7658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7659 file.
7660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7661 file.
7662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7663 file.
7664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7665 file.
7666 multiarch llround for PPC64.
7667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7668 multiarch trunc for PPC64.
7669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7670 multiarch truncf for PPC64.
7671
59a3e194
AZ
7672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7673 multiarch implementation.
7674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7675 file.
7676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7677 file.
7678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7679 file.
7680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7681 file.
7682 multiarch llround for PPC64.
7683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7684 multiarch round for PPC64.
7685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7686 multiarch roundf for PPC64.
7687
357fd3b4
AZ
7688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7689 multiarch implementation.
7690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7691 file.
7692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7693 file.
7694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7695 file.
7696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7697 file.
7698 multiarch llround for PPC64.
7699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7700 multiarch floor for PPC64.
7701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7702 multiarch floorf for PPC64.
7703
96770f12
AZ
7704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7705 multiarch implementation.
7706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7707 file.
7708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7709 file.
7710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7711 file.
7712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7713 file.
7714 multiarch llround for PPC64.
7715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7716 multiarch ceil for PPC64.
7717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7718 multiarch ceilf for PPC64.
7719
c3627f6e
AZ
7720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7721 multiarch implementation.
7722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7723 file.
7724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7725 file.
7726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7727 file.
7728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7729 multiarch llround for PPC64.
7730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7731 multiarch lround for PPC64.
7732
b2284ad7
AZ
7733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7734 multiarch implementation.
7735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7738 file.
7739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7742 multiarch isnan for PPC64.
7743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7744 multiarch isnanf for PPC64.
7745
69bbc63d
AZ
7746 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7747 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7748 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7749 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7750 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7752
c24517c9
AZ
7753 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7754 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7756 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7757
a52374e8
AZ
7758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7759 multiarch implementations.
7760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7761 (__libc_ifunc_impl_list): Likewise.
7762 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7763 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7764 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7765 multiarch stpcpy for PPC64.
7766
7f5ec113
AZ
7767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7768 multiarch implementations.
7769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7770 (__libc_ifunc_impl_list): Likewise.
7771 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7772 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7773 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7774 multiarch strcpy for PPC64.
7775
e28bcd42
AZ
7776 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7777 redefine function name.
7778 (_wordcopy_fwd_dest_aligned): Likewise.
7779 (_wordcopy_bwd_aligned): Likewise.
7780 (_wordcopy_bwd_dest_aligned): Likewise.
7781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7782 multiarch implementations.
7783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7784 (__libc_ifunc_impl_list): Likewise.
7785 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7786 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7787 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7788 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7789 multiarch wcscpy for PPC64.
7790
92cacfce
AZ
7791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7792 multiarch implementations.
7793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7794 (__libc_ifunc_impl_list): Likewise.
7795 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7796 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7797 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7798 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7799 multiarch wcscpy for PPC64.
7800
7b714620
AZ
7801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7802 multiarch implementations.
7803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7804 (__libc_ifunc_impl_list): Likewise.
7805 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7806 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7807 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7808 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7809 multiarch wcsrchr for PPC64.
7810
16fd2ae3
AZ
7811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7812 multiarch implementations.
7813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7814 (__libc_ifunc_impl_list): Likewise.
7815 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7816 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7817 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7818 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7819 multiarch wcschr for PPC64.
7820
9ee2969b
AZ
7821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7822 multiarch implementations.
7823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7824 (__libc_ifunc_impl_list): Likewise.
7825 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7826 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7827 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7828 multiarch strchrnul for PPC64.
7829
372dc060
AZ
7830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7831 implementations.
7832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7833 (__libc_ifunc_impl_list): Likewise.
7834 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7835 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7836 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7837 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7838 strchr for PPC64.
7839
24c2c3b9
AZ
7840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7841 implementations.
7842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7843 (__libc_ifunc_impl_list): Likewise.
7844 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7845 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7846 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7847 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7848 strncmp for PPC64.
7849
1c92d9a0
AZ
7850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7851 multiarch implementations.
7852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7853 (__libc_ifunc_impl_list): Likewise.
7854 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7855 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7856 strncasecmp for PPC64.
7857 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7858 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7859 multiarch strncasecmp_l for PPC64.
7860
17de3ee3
AZ
7861 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7862 multiarch implementations.
7863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7864 (__libc_ifunc_impl_list): Likewise.
7865 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7866 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7867 multiarch strcasecmp for PPC64.
7868 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7869 file.
7870 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7871 multiarch strcasecmp_l for PPC64.
7872
62982bf9
AZ
7873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7874 implementations.
7875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7876 (__libc_ifunc_impl_list): Likewise.
7877 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7878 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7879 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7880 strnlen for PPC64.
7881
a65f4904
AZ
7882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7883 implementations.
7884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7885 (__libc_ifunc_impl_list): Likewise.
7886 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7887 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7888 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7889 strlen for PPC64.
7890
1fd005ad
AZ
7891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7892 implementations.
7893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7894 (__libc_ifunc_impl_list): Likewise.
7895 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7896 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7897 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7898 rawmemrchr for PPC64.
7899
cd05ba91
AZ
7900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7901 implementation.
7902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7903 (__libc_ifunc_impl_list): Likewise.
7904 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7905 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7906 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7907 memrchr for PPC64.
7908
870f8676
AZ
7909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7910 implementation.
7911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7912 (__libc_ifunc_impl_list): Likewise.
7913 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7914 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7915 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7916 memchr for PPC64.
7917
f00be62b
AZ
7918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7919 implementation.
7920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7921 (__libc_ifunc_impl_list): Likewise.
7922 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7923 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7924 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7925 mempcpy for PPC64.
7926
8a29a3d0
AZ
7927 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7928 avoid cretion of __bzero symbol.
7929 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7930 Likewise.
7931 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7932 Likewise.
7933 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7934 Likewise.
7935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7936 multiarch implementations.
7937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7938 (__libc_ifunc_impl_list): Likewise.
7939 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7940 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7941 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7942 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7943 bzero for PPC32.
7944 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7945 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7946 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7947 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7948 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7949 memset for PPC64.
7950 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7951
07253fcf
AZ
7952 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7954 implementations.
7955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7956 (__libc_ifunc_impl_list): Likewise.
7957 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7958 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7959 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7960 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7961 memcmp for PPC64.
7962
b5beafbc
AZ
7963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7964 multiarch for POWER/PPC64.
7965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7966 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7967 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7968 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7969 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7970 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7971 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7972 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7973 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7974 memcpy for PPC64.
7975
5e6a4d4b
AZ
7976 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7977 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7978 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7979 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7980 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7981 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7982 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7983 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7984 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7985 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7986 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7987 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7988 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7989 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7990 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7998
ddfab6dc
KK
79992013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8000
8001 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8002
19b5525e
SP
80032013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8004
8005 * benchtests/Makefile (bench): Add exp2 and log2.
8006 (LDLIBS-bench-exp2): Add -lm.
8007 (LDLIBS-bench-log2): Likewise.
8008 * benchtests/exp2-inputs: New inputs file.
8009 * benchtests/log2-inputs: New inputs file.
8010 * benchtests/log-inputs: Add new inputs.
8011 * benchtests/tan-inputs: Likewise.
8012
196f7f5d
SP
80132013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8014
7a74607f
SP
8015 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8016 definition...
57f41c40
AS
8017 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8018 (csloww2): ... from here.
7a74607f 8019
196f7f5d
SP
8020 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8021 instead of structures.
8022 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8023 (POLYNOMIAL): Likewise.
8024 (TAYLOR_SLOW): Likewise.
8025 (__sin): Likewise.
8026 (__cos): Likewise.
8027 (slow1): Likewise.
8028 (slow2): Likewise.
8029 (sloww): Likewise.
8030 (sloww1); Likewise.
8031 (sloww2): Likewise.
8032 (bsloww1): Likewise.
8033 (bsloww2): Likewise.
8034 (cslow2): Likewise.
8035 (csloww): Likewise.
8036 (csloww1): Likewise.
8037 (csloww2): Likewise.
8038
0dfa665c
OB
80392013-12-10 Ondřej Bílka <neleai@seznam.cz>
8040
8041 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8042 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8043 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8044 * malloc/hooks.c (realloc_check): Likewise.
8045
5782a80f
OB
8046 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8047 * malloc/arena.c: Remove PER_THREAD conditional.
8048 [!PER_THREAD]: Remove code.
8049 (ptmalloc_unlock_all2): Likewise.
8050 (ptmalloc_init): Likewise.
8051 (_int_new_arena): Likewise.
8052 (arena_get2): Likewise.
8053 * malloc/hooks.c (__malloc_get_state): Likewise.
8054 (__malloc_set_state): Likewise.
8055 * malloc/malloc.c: Likewise.
8056 (struct malloc_state): Likewise.
8057 (struct malloc_par): Likewise.
8058 (__libc_realloc): Likewise.
8059 (__libc_mallopt): Likewise.
8060
aeb95445
AZ
80612013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8062
8063 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8064
e8349efd
OB
80652013-12-09 Ondřej Bílka <neleai@seznam.cz>
8066
8067 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8068 macro to a function. Check for zero perturb_byte.
8069 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8070
f3eeb3fc 8071 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8072 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8073 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8074 force_reg by atomic_forced_read.
8075 * malloc/arena.c (ptmalloc_init): Likewise.
8076 * malloc/hooks.c (top_check): Likewise.
8077
be2f9009
AZ
80782013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8079
8080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8081
e7b914bd
MT
80822013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8083
8084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8085
9f0be4f8
JM
80862013-12-08 Joseph Myers <joseph@codesourcery.com>
8087
8088 * math/auto-libm-test-in: Add tests of lgamma.
8089 * math/auto-libm-test-out: Regenerated.
8090 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8091 (M_LOG_2_SQRT_PIl): Likewise.
8092 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8093 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8094 mpfr_f_f1.
8095 (func_calc_desc): Add mpfr_f_f1 union field.
8096 (ARGS1): New macro.
8097 (ARGS2): Likewise.
8098 (ARGS3): Likewise.
8099 (ARGS4): Likewise.
8100 (RET1): Likewise.
8101 (RET2): Likewise.
8102 (CALC): Likewise.
8103 (FUNC): Likewise.
8104 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8105 (test_functions): Add lgamma.
8106 (calc_generic_results): Handle mpfr_f_f1.
8107 * sysdeps/i386/fpu/libm-test-ulps: Update.
8108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8109
24eeafdb
AZ
81102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8111
8112 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8113 __mpn_add_n for PowerPC64/POWER7.
8114 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8115 __mpn_sub_n for PowerPC64/POWER7.
8116
4a2c0fd4
AZ
8117 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8118 __mpn_addmul_1 for PowerPC64.
8119 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8120 __mpn_submul_1 for PowerPC64.
8121 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8122 for PowerPC64.
8123 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8124 for PowerPC64.
8125
4b5b548c
FS
81262013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8127
8128 [BZ #15089]
8129 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8130
0a3ac0aa
AZ
81312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8132
8133 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8134
ccdc8438
AZ
8135 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8136 add multiarch folders.
8137 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8138 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8139 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8140 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8141 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8142 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8143 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8144 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8145 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8146 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8147 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8154
2e973d99
AZ
8155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8156 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8158 New file.
8159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8160 New file.
8161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8162 multiarch __ieee754_hypot for PowerPC32.
8163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8164 New file.
8165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8166 New file.
8167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8168 multiarch __ieee754_hypotf for PowerPC32.
8169
2d9470b2
AZ
8170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8171 long_double_symbol only if __logbl is defined.
8172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8173 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8175 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8177 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8178 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8179 path for implementation.
8180 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8181 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8183 logb, and logbl multiarch implementations for PowerPC32.
8184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8185 file.
8186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8187 file.
8188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8189 multiarch logb for PowerPC32.
8190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8191 file.
8192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8193 file.
8194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8195 multiarch logbf for PowerPC32.
8196 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8198 file.
8199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8200 multiarch logbl implementation for PowerPC32.
8201
5212ffce
AZ
8202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8203 and modff multiarch implementations.
8204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8205 New file.
8206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8207 New file.
8208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8209 multiarch modf for PowerPC32.
8210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8211 New file.
8212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8213 New file.
8214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8215 multiarch modff for PowerPC32.
8216
79dccf31
AZ
8217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8218 and lrintf multiarch implementations.
8219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8220 New file.
8221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8222 New file.
8223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8224 multiarch lrint for PowerPC32.
8225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8226 file: multiarch lrintf for PowerPC32.
8227
deb66480
AZ
8228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8229 and lroundf multiarch implementations.
8230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8231 New file.
8232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8233 New file.
8234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8235 New file.
8236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8237 multiarch lround for PowerPC32.
8238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8239 file: multiarch lroundf for PowerPC32.
8240
264b036b
AZ
8241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8242 copysign and copysignf multiarch implementations.
8243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8244 New file.
8245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8246 New file.
8247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8248 file: multiarch copysign for PowerPC32.
8249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8250 file: multiarch copysignf for PowerPC32.
8251
d47db6c9
AZ
8252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8253 and truncf multiarch implementations.
8254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8255 New file.
8256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8257 file.
8258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8259 multiarch trunc for PowerPC32.
8260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8261 New file.
8262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8263 New file.
8264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8265 multiarch truncf for PowerPC32.
8266
ddb60b5a
AZ
8267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8268 and roundf multiarch implementations.
8269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8270 New file.
8271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8272 file.
8273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8274 multiarch round for PowerPC32.
8275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8276 New file.
8277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8278 New file.
8279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8280 multiarch roundf for PowerPC32.
8281
bedcf49b
AZ
8282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8283 and floorf multiarch implementations.
8284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8285 New file.
8286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8287 file.
8288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8289 multiarch floor for PowerPC32.
8290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8291 New file.
8292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8293 New file.
8294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8295 multiarch floorf for PowerPC32.
8296
35ae5b40
AZ
8297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8298 and ceilf multiarch implementations.
8299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8300 New file.
8301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8302 file.
8303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8304 multiarch ceil for PowerPC32.
8305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8306 New file.
8307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8308 file.
8309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8310 multiarch ceilf for PowerPC32.
8311
ae1a4cd9
AZ
8312 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8313 is defined.
8314 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8315 FINITEF is defined.
8316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8317 and finitef multiarch implementations.
8318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8319 New file.
8320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8321 file.
8322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8323 multiarch finite for PowerPC32.
8324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8325 New file.
8326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8327 file: multiarch finitef for PowerPC32.
8328
64fffd65
AZ
8329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8330 and isinff multiarch implementations.
8331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8332 file.
8333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8334 file.
8335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8336 multiarch isinf for PowerPC32.
8337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8338 New file.
8339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8340 multiarch isinff for PowerPC32.
8341
8e4e7ba2
AZ
8342 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8343 alias when __isnan is defined.
8344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8345 and isnanf multiarch implementations.
8346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8347 file.
8348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8349 file.
8350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8351 file.
8352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8353 file.
8354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8355 multiarch isnan for PowerPC32.
8356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8357 New file.
8358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8359 New file.
8360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8361 multiarch isnanf for PowerPC32.
8362
ddba588e
AZ
8363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8364 and sqrtf multiarch implementations.
8365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8366 file.
8367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8368 file.
8369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8370 multiarch sqrt for PowerPC32.
8371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8372 file.
8373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8374 file.
8375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8376 multiarch sqrtf for PowerPC32.
8377
0f96a2f0
AZ
8378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8379 and llroundf multiarch implementations.
8380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8381 New file.
8382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8383 New file.
8384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8385 New file.
8386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8387 file: multiarch llround for PowerPC32.
8388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8389 file: multiarch llroundf for PowerPC32.
8390
c9b5d79e
AZ
8391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8392 multiarch PowerPC32 fpu implementations.
8393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8394 New file.
8395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8396 New file.
8397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8398 multiarch llrint for PowerPC32.
8399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8400 New file.
8401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8402 New file.
8403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8404 file.
8405
9cbb3aab
AZ
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8407
ea5a72f8
AZ
8408 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8409 file.
8410 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8411 file.
8412 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8413 file.
8414 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8415 multiarch wordcopy for PPC32.
8416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8417 wordcopy objects.
8418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8419 (__libc_ifunc_impl_list): Likewise.
8420 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8421 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8422 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8423 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8424 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8425 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8426
93be09e7
AZ
8427 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8429 file.
8430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8431 file.
8432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8433 file.
8434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8435 multiarch wcscpy for PPC32.
8436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8437 multiarch objects.
8438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8439 (__libc_ifunc_impl_list): Likewise.
8440 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8441 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8442 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8443 sysdeps/powerpc/power6/wcscpy.c.
8444
bb04e529
AZ
8445 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8447 file.
8448 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8449 file.
8450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8451 file.
8452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8453 multiarch wcsrchr for PPC32.
8454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8455 multiarch objects.
8456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8457 (__libc_ifunc_impl_list): Likewise.
8458 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8459 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8460 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8461 sysdeps/powerpc/power6/wcsrchr.c.
8462
05b5cd1c
AZ
8463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8464 file.
8465 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8466 file.
8467 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8469 multiarch wcschr for PPc32.
8470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8471 multiarch objects.
8472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8473 (__libc_ifunc_impl_list): Likewise.
8474 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8475 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8476 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8477 sysdeps/powerpc/power6/wcschr.c.
8478
ba964147
AZ
8479 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8480 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8481 file.
8482 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8483 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8484 file: multiarch strchr for PPC32.
8485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8486 multiarch objects.
8487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8488 (__libc_ifunc_impl_list): Likewise.
8489
31c81aaa
AZ
8490 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8491 name.
8492 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8493 file.
8494 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8495 file.
8496 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8497 multiarch strchrnul for PPC32.
8498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8499 multiarch objects.
8500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8501 (__libc_ifunc_impl_list): Likewise.
8502
0d0607d9
AZ
8503 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8504 file.
8505 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8506 multiarch strncasecmp for PPC32.
8507 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8508 file.
8509 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8510 multiarch strncasecmp_l for PPC32.
8511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8512 strncasecmp multiarch objects.
8513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8514 (__libc_ifunc_impl_list): Likewise.
8515
4dfd5c86
AZ
8516 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8517 file.
8518 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8519 multiarch strncasecmp for PPC32.
8520 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8521 New file.
8522 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8523 multiarch strcasecmp_l for PPC32.
8524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8525 multiarch objects.
8526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8527 (__libc_ifunc_impl_list): Likewise.
8528
a19e01a3
AZ
8529 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8530 file.
8531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8532 file.
8533 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8534 multiarch strncmp for PPC32.
8535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8536 multiarch objects.
8537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8538 (__libc_ifunc_impl_list): Likewise.
8539
ae9cf7a2
AZ
8540 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8541 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8542 file.
8543 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8544 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8546 multiarch objects.
8547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8548 (__libc_ifunc_impl_list): Likewise.
8549
3148bb7d
AZ
8550 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8551 file.
8552 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8553 file.
8554 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8556 multiarch objects.
8557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8558 (__libc_ifunc_impl_list): Likewise.
8559
7af8b946
AZ
8560 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8561 file.
8562 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8563 file.
8564 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8565 multiarch rawmemchr for PPC32.
8566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8567 multiarch objects.
8568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8569 (__libc_ifunc_impl_list): Likewise.
8570
03a6aa6a
AZ
8571 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8572 file.
8573 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8574 file.
8575 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8576 file: memrchr multiarch for PPC32.
8577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8578 multiarch objects.
8579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8580 (__libc_ifunc_impl_list): Likewise.
8581
1c62e6d9
AZ
8582 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8583 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8584 file.
8585 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8586 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8587 multiarch memchr for PPC32.
8588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8589 multiarch objects.
8590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8591 (__libc_ifunc_impl_list): Likewise.
8592
87da8bdb
AZ
8593 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8594 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8595 file.
8596 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8597 file.
8598 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8599 file: multiarch mempcpy for PPC32.
8600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8601 multiarch objects.
8602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8603 (__libc_ifunc_impl_list): Likewise.
8604
20ed4714
AZ
8605 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8606 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8607 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8608 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8609 multiarch bzero for PPC32.
8610 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8611 file.
8612 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8613 file.
8614 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8615 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8616 file: multiarch memset for PPC32.
8617 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8619 memset multiarch objects.
8620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8621 (__libc_ifunc_impl_list): Likewise.
8622
ab3e3a46
AZ
8623 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8624 file.
8625 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8626 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8627 memcmp for PPC32.
8628 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8630 multiarch objects.
8631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8632 (__libc_ifunc_impl_list): Likewise.
8633
930de6f0
AZ
8634 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8635 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8636 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8637 file.
8638 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8639 file.
8640 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8641 file.
8642 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8643 multiarch memcpy for PPC32.
8644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8645 multiarch objects.
8646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8647 (__libc_ifunc_impl_list): Likewise.
8648
4c628e00
AZ
8649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8650 support multiarch for POWER/PPC32.
8651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8652 Likewise.
8653 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8655 Implies file to make multiarch folder appers before the fpu and
8656 default folder for power4 configuration.
8657
f4479220
SP
86582013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8659
8660 * scripts/bench.pl: Append volatile keyword to type.
8661
8517800f
KK
86622013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8663
8664 * sysdeps/sh/sotruss-lib.c: New file.
8665 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8666
180138f1
AZ
86672013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8668
8669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8670
bbf37bdc
JM
86712013-12-05 Joseph Myers <joseph@codesourcery.com>
8672
e47cc4e0
JM
8673 [BZ #6810]
8674 * math/w_tgamma.c: Include <errno.h>.
8675 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8676 * math/w_tgammaf.c: Include <errno.h>.
8677 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8678 * math/w_tgammal.c: Include <errno.h>.
8679 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8680 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8681 underflow. Add more tgamma tests.
8682 * math/auto-libm-test-out: Regenerated.
8683 * sysdeps/i386/fpu/libm-test-ulps: Update.
8684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8685
bbf37bdc
JM
8686 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8687 sin, sinh, tan, tanh, tgamma, y0 and y1.
8688 * math/auto-libm-test-out: Regenerated.
8689 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8690 (TEST_COND_x86): Likewise.
8691 (M_E2l): Remove macro.
8692 (M_E3l): Likewise.
8693 (M_2_SQRT_PIl): Likewise.
8694 (M_SQRT_PIl): Likewise.
8695 (M_1_DIV_El): Likewise.
8696 (log_test_data): Use AUTO_TESTS_f_f.
8697 (log10_test_data): Likewise.
8698 (log1p_test_data): Likewise.
8699 (log2_test_data): Likewise.
8700 (sin_test_data): Likewise.
8701 (sin_tonearest_test_data): Likewise.
8702 (sin_towardzero_test_data): Likewise.
8703 (sin_downward_test_data): Likewise.
8704 (sin_upward_test_data): Likewise.
8705 (sinh_test_data): Likewise.
8706 (sinh_tonearest_test_data): Likewise.
8707 (sinh_towardzero_test_data): Likewise.
8708 (sinh_downward_test_data): Likewise.
8709 (sinh_upward_test_data): Likewise.
8710 (tan_test_data): Likewise.
8711 (tan_tonearest_test_data): Likewise.
8712 (tan_towardzero_test_data): Likewise.
8713 (tan_downward_test_data): Likewise.
8714 (tan_upward_test_data): Likewise.
8715 (tanh_test_data): Likewise.
8716 (tgamma_test_data): Likewise.
8717 (y0_test_data): Likewise.
8718 (y1_test_data): Likewise.
8719 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8720 (special_real_inputs): Add pi/4.
8721 * sysdeps/i386/fpu/libm-test-ulps: Update.
8722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8723
eb5ad6b9
AZ
87242013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8725
8726 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8727 "longjmp_target" static probes.
8728 (__longjmp): Rename to __longjmp_symbol.
8729 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8730 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8731 on which longjmp to generate.
8732 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8733 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8734 probe.
8735 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8736 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8737 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8738 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8739 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8740 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8742 __longjmp_symbol based on which __longjmp to generate.
8743 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8744 probe.
8745 (setjmp): Rename to setjmp_symbol.
8746 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8747 (_setjmp): Rename to _setjmp_symbol.
8748 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8749 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8750 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8751 which setjmp to generate.
8752 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8753 "longjmp_target" static probes.
8754
d136c6dc
SP
87552013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8756
9298ecba
SP
8757 * benchtests/README: Add note about output arguments.
8758 * benchtests/bench-sincos.c: Remove file.
8759 * benchtests/sincos-inputs: New file.
8760 * scripts/bench.pl: Identify output arguments and define
8761 static variables for them.
8762
232983e9
SP
8763 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8764
d136c6dc
SP
8765 [BZ #15941]
8766 * Makefile (INSTALL): Add install-plain.texi as the primary
8767 dependency.
8768 * manual/install-plain.texi: New file.
8769 * manual/install.texi: Include node directive only for
8770 non-plaintext output.
8771
699ff837
JM
87722013-12-04 Joseph Myers <joseph@codesourcery.com>
8773
ab07cea8
JM
8774 * stdlib/longlong.h: Update from GCC.
8775
699ff837
JM
8776 [BZ #6807]
8777 [BZ #15901]
8778 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8779 * math/w_j0f.c (y0f): Likewise.
8780 * math/w_j0l.c (__y0l): Likewise.
8781 * math/w_j1.c (y1): Likewise.
8782 * math/w_j1f.c (y1f): Likewise.
8783 * math/w_j1l.c (__y1l): Likewise
8784 * math/w_jn.c (yn): Likewise.
8785 * math/w_jnf.c (ynf): Likewise.
8786 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8787 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8788 value for Bessel function domain errors outside _SVID_ mode.
8789 Adjust sign of return value for yn (negative integer, 0).
8790 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8791 by zero in return for negative x and set sign appropriately for
8792 negative n.
8793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8794 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8795 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8796 expectations in error cases.
8797 (y1_test_data): Likewise.
8798 (yn_test_data): Likewise.
8799 * sysdeps/i386/fpu/libm-test-ulps: Update.
8800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8801
5b118558
UW
88022013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8803
8804 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8805 "64" to "64-v1". Add "64-v2".
8806 (abi-64-options): Rename to ...
8807 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8808 (abi-64-condition): Rename to ...
8809 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8810 (abi-64-ld-soname): Rename to ...
8811 (abi-64-v1-ld-soname): ... this.
8812 (abi-64-v2-options): Define.
8813 (abi-64-v2-condition): Likewise.
8814 (abi-64-v2-ld-soname): Likewise.
8815 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8816 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8820
61cd8fe4
UW
88212013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8822 Alan Modra <amodra@gmail.com>
8823
8824 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8825 New versions for use with the ELFv2 ABI.
8826 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8827 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8828 declaration.
8829 (struct La_ppc64v2_retval): Likewise.
8830 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8831 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8832 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8833 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8834 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8835 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8836 Do not save or restore CR.
8837 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8838 (_dl_profile_resolve): Do no save or restore CR. Support extended
8839 return values for ELFv2 ABI. Fix location of FPR return registers.
8840 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8841 updated values for _CALL_ELF == 2.
8842 (La_regs, La_retval, int_retval): Likewise.
8843
8b8a692c
UW
88442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8845
8846 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8847 (FRAME_MIN_SIZE_PARM): Likewise.
8848 (FRAME_BACKCHAIN): Likewise.
8849 (FRAME_CR_SAVE): Likewise.
8850 (FRAME_LR_SAVE): Likewise.
8851 (FRAME_TOC_SAVE): Likewise.
8852 (FRAME_PARM_SAVE): Likewise.
8853 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8854 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8855 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8856 (call_mcount_parm_offset): New macro.
8857 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8858 (PROF): Use symbolic stack frame offsets.
8859 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8860 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8861 Redefine in terms of FRAME_MIN_SIZE.
8862 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8863 (_dl_profile_resolve): Likewise. Update comment.
8864 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8865 symbols stack frame offsets.
8866 (__sigsetjmp): Likewise.
8867 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8868 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8869 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8870 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8871
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8873 (FRAME_BACKCHAIN): Remove.
8874 (FRAME_CR_SAVE): Likewise.
8875 (FRAME_LR_SAVE): Likewise.
8876 (FRAME_COMPILER_DW): Likewise.
8877 (FRAME_LINKER_DW): Likewise.
8878 (FRAME_TOC_SAVE): Likewise.
8879 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8880 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8881 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8882 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8884 (CHECK_SP): Use symbolic stack frame offsets.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8886 zone" instead of caller's parameter save area for temp storage.
8887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8888 Likewise. Also, use symbolic stack frame offsets.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8890 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8891 our own stack frame instead of the caller's.
8892 (__socket): Use symbolic stack frame offsets.
8893
122b66de
UW
88942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8895 Alan Modra <amodra@gmail.com>
8896
8897 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8898 Define.
57f41c40
AS
8899 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8900 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8901 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8902 New function.
8903 (elf_machine_fixup_plt): Call it.
8904 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8905 reloc arguments.
8906 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8907 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8908 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8909 r2 before calling target.
8910
696caf1d
UW
89112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8912 Alan Modra <amodra@gmail.com>
8913
8914 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8915 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8916 versions of macros to support ELFv2 ABI.
8917 (LOCALENTRY): New macro.
8918 (ENTRY, EALIGN): Use it.
8919 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8920 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8921 fall through into ENTRY entry point.
8922 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8923 Only define if _CALL_ELF != 2.
8924
8925 (elf_machine_matches_host): Verify ABI version matches.
8926 (RTLD_START): Use LOCALENTRY.
8927 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8928 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8929 (PLT_ENTRY_WORDS): New macro.
8930 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8931 (elf_machine_runtime_setup): Support ELFv2 ABI.
8932 (elf_machine_fixup_plt): Likewise.
8933 (elf_machine_plt_conflict): Likewise.
8934 (resolve_ifunc): Likewise.
8935 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8936 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8937 Likewise.
8938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8939 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8941 (makecontext): Support ELFv2 ABI.
8942 * elf/elf.h (EF_PPC64_ABI): Define.
8943
d31beafa
UW
89442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8945
57f41c40
AS
8946 * sysdeps/powerpc/powerpc64/sysdep.h
8947 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8948 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8949 (ENTRY) [ASSEMBLER]: ... but instead here ...
8950 (EALIGN) [ASSEMBLER]: ... and here.
8951 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8952 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8953 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8954 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8955 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8956 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8957 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8958 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8960 Use PPC64_LOAD_FUNCPTR.
8961
b525166b
UW
8962 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8963
7ec07d9a
AM
89642013-12-04 Alan Modra <amodra@gmail.com>
8965
8966 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8967 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8968 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8969 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8970
8971 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8972 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8973 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8974 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8975 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8976 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8977
5162e7dd
UW
89782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8979
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8981 (__makecontext): Fix incorrect CFI when backtracing out of
8982 context created via makecontext.
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8984 (__setcontext): Fix incorrect CFI during switch to new context.
8985 (__novec_setcontext): Likewise.
8986
19e3372b
OB
89872013-12-04 Ondřej Bílka <neleai@seznam.cz>
8988
8989 [BZ #4772]
8990 * time/strptime_l.c (__strptime_internal): Allow modifiers
8991 in strptime.
8992 * time/tst-strptime.c (day_tests): Add testcase.
8993
ecaf142d
SP
89942013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8995
8996 * scripts/bench.pl: Skip over blank lines.
8997
fbf964ae
PE
89982013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8999
9000 [BZ #926]
9001 * manual/time.texi (Calendar Time): Clarify what timezone functions
9002 use.
9003
fa60a674
AZ
90042013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9005
9006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9007
d674f0ef
OB
90082013-12-04 Ondřej Bílka <neleai@seznam.cz>
9009
9010 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9011 implementation.
9012 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9013 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9014 * debug/memset_chk.c (__memset_chk): Likewise.
9015 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9016 * debug/strncpy_chk.c: Likewise.
9017
17dea188
JM
90182013-12-03 Joseph Myers <joseph@codesourcery.com>
9019
749008ff
JM
9020 [BZ #15268]
9021 [BZ #15425]
9022 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9023 (__ieee754_exp): For possibly underflowing results, check size of
9024 result and force underflow exception if required.
9025 * math/auto-libm-test-in: Add more tests of exp.
9026 * math/auto-libm-test-out: Regenerated.
9027 * sysdeps/i386/fpu/libm-test-ulps: Update.
9028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9029
17dea188
JM
9030 [BZ #16283]
9031 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9032 * math/w_exp2f.c (__exp2f): Likewise.
9033 * math/w_exp2l.c (__exp2l): Likewise.
9034 * math/auto-libm-test-in: Do not allow missing errno on exp2
9035 underflow.
9036 * math/auto-libm-test-out: Regenerated.
9037
b20de2c3
OB
90382013-12-03 Ondřej Bílka <neleai@seznam.cz>
9039
9040 [BZ #16274]
9041 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9042 handle filename validation.
9043 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9044 (do_open): Delete.
9045
d8e2dbe3
JM
90462013-12-03 Joseph Myers <joseph@codesourcery.com>
9047
34e16df5
JM
9048 [BZ #6786]
9049 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9050 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9051 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9052 <float.h>.
9053 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9054 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9055 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9056 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9057 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9058 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9059 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9060 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9061 Add more erfc tests.
9062 * math/auto-libm-test-out: Regenerated.
9063 * sysdeps/i386/fpu/libm-test-ulps: Update.
9064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9065
d8e2dbe3
JM
9066 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9067 exp2, expm1, j0 and j1.
9068 * math/auto-libm-test-out: Regenerated.
9069 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9070 (erfc_test_data): Likewise.
9071 (exp_test_data): Likewise.
9072 (exp_tonearest_test_data): Likewise.
9073 (exp_towardzero_test_data): Likewise.
9074 (exp_downward_test_data): Likewise.
9075 (exp_upward_test_data): Likewise.
9076 (exp10_test_data): Likewise.
9077 (exp2_test_data): Likewise.
9078 (expm1_test_data): Likewise.
9079 (j0_test_data): Likewise.
9080 (j1_test_data): Likewise.
9081 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9082 (input_flag_type): Add flag_xfail_rounding.
9083 (input_flags): Add xfail-rounding.
9084 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9085 (output_for_one_input_case): Handle flag_xfail_rounding.
9086 * sysdeps/i386/fpu/libm-test-ulps: Update.
9087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9088
18d14251
AJ
90892013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9090
3d2e6075 9091 [BZ #16289]
18d14251
AJ
9092 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9093 division by 0.
9094
520d437b
SP
90952013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9096
9097 [BZ #16195]
9098 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9099 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9100 (STAP_PROBE0): New macro.
9101 (STAP_PROBE1): Likewise.
9102 (STAP_PROBE2): Likewise.
9103 (STAP_PROBE3): Likewise.
9104 (STAP_PROBE4): Likewise.
9105
416e0145
OB
91062013-12-02 Ondřej Bílka <neleai@seznam.cz>
9107
9108 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9109
9d17796a
SE
91102013-12-02 Steve Ellcey <sellcey@mips.com>
9111
9112 * benchtests/Makefile (bench): Add sqrt.
9113 (LDLIBS-bench-sqrt): New.
9114 * benchtests/sqrt-input: New.
9115
f524d6a8
PS
91162013-12-02 Pavel Simerda <psimerda@redhat.com>
9117
639a0ef8
PS
9118 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9119 (GAIH_EAI): Likewise.
9120 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9121 (gaih_inet): Likewise.
9122 (getaddrinfo): Don't use GAIH_EAI.
9123
f524d6a8
PS
9124 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9125 (struct gaih): Remove definition.
9126
df3aedaf
SP
91272013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9128
9129 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9130 Use HERRNOP directly.
9131
1ab19dec
AZ
91322013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9133
b42ad38d 9134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9135
176b0c79
JM
91362013-11-30 Joseph Myers <joseph@codesourcery.com>
9137
9138 * math/gen-auto-libm-tests.c (test_functions): Add more
9139 single-argument functions.
9140 (special_fill_pi_2): New function.
9141 (special_fill_minus_pi_2): Likewise.
9142 (special_fill_pi_6): Likewise.
9143 (special_fill_minus_pi_6): Likewise.
9144 (special_fill_pi_3): Likewise.
9145 (special_fill_2pi_3): Likewise.
9146 (special_fill_e): Likewise.
9147 (special_fill_1_e): Likewise.
9148 (special_fill_e_minus_1): Likewise.
9149 (special_real_inputs): Add more special inputs.
9150 (output_for_one_input_case): Do not require ERANGE on underflow to
9151 zero if round-to-nearest result does not underflow to zero, unless
9152 exact results required.
9153 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9154 atan, atanh, cbrt, cos and cosh.
9155 * math/auto-libm-test-out: Regenerated.
9156 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9157 (acos_tonearest_test_data): Likewise.
9158 (acos_towardzero_test_data): Likewise.
9159 (acos_downward_test_data): Likewise.
9160 (acos_upward_test_data): Likewise.
9161 (acosh_test_data): Likewise.
9162 (asin_test_data): Likewise.
9163 (asin_tonearest_test_data): Likewise.
9164 (asin_towardzero_test_data): Likewise.
9165 (asin_upward_test_data): Likewise.
9166 (asinh_test_data): Likewise.
9167 (atan_test_data): Likewise.
9168 (atanh_test_data): Likewise.
9169 (cbrt_test_data): Likewise.
9170 (cos_test_data): Likewise.
9171 (cos_tonearest_test_data): Likewise.
9172 (cos_towardzero_test_data): Likewise.
9173 (cos_downward_test_data): Likewise.
9174 (cos_upward_test_data): Likewise.
9175 (cosh_test_data): Likewise.
9176 (cosh_tonearest_test_data): Likewise.
9177 (cosh_towardzero_test_data): Likewise.
9178 (cosh_downward_test_data): Likewise.
9179 (cosh_upward_test_data): Likewise.
9180 * sysdeps/i386/fpu/libm-test-ulps: Update.
9181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9182
ffb536d0
JM
91832013-11-29 Joseph Myers <joseph@codesourcery.com>
9184
2a77a467
JM
9185 [BZ #6787]
9186 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9187 * math/w_exp10f.c (__exp10f): Likewise.
9188 * math/w_exp10l.c (__exp10l): Likewise.
9189 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9190 errno settings in existing tests.
9191
ea3bc4e8
JM
9192 [BZ #14032]
9193 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9194 precision control set to double precision.
9195 * sysdeps/i386/fpu/w_sqrt.c: New file.
9196 * math/auto-libm-test-in: Add more tests.
9197 * math/auto-libm-test-out: Update.
9198
0712c9d8
JM
9199 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9200 (sqrt_test_tonearest): New function.
9201 (sqrt_towardzero_test_data): New variable.
9202 (sqrt_test_towardzero): New function.
9203 (sqrt_downward_test_data): New variable.
9204 (sqrt_test_downward): New function.
9205 (sqrt_upward_test_data): New variable.
9206 (sqrt_test_upward): New function.
9207 (main): Call the new functions.
9208
ffb536d0
JM
9209 * math/gen-auto-libm-tests.c: New file.
9210 * math/auto-libm-test-in: Likewise.
9211 * math/auto-libm-test-out: New generated file.
9212 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9213 variables.
9214 (%beautify): Add generated representations of zero.
9215 (top level): Set $auto_input and call parse_auto_input.
9216 (beautify): Remove trailing "f" from hex float constants.
9217 (parse_args): Handle XFAIL_TEST.
9218 (convert_condition): New function.
9219 (or_value): Likewise.
9220 (or_cond_value): Likewise.
9221 (generate_testfile): Handle AUTO_TESTS_* lines.
9222 (parse_auto_input): New function.
9223 * math/libm-test.inc (XFAIL_TEST): New macro.
9224 (ERRNO_UNCHANGED): Update value.
9225 (ERRNO_EDOM): Likewise.
9226 (ERRNO_ERANGE): Likewise.
9227 (IGNORE_RESULT): Likewise.
9228 (TEST_COND_flt_32): New macro.
9229 (TEST_COND_dbl_64): Likewise.
9230 (TEST_COND_ldbl_96_intel): Likewise.
9231 (TEST_COND_ldbl_96_m68k): Likewise.
9232 (TEST_COND_ldbl_128): Likewise.
9233 (TEST_COND_ldbl_128ibm): Likewise.
9234 (TEST_COND_long32): Likewise.
9235 (TEST_COND_long64): Likewise.
9236 (TEST_COND_before_rounding): Likewise.
9237 (TEST_COND_after_rounding): Likewise.
9238 (enable_test): Handle XFAIL_TEST flag.
9239 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9240 with finite results.
9241 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9242 auto-libm-test-out.
9243
acd98a8e
AK
92442013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9245 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9246
9247 [BZ #16214]
9248 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9249 __tls_get_addr_internal instead of __tls_get_offset in order to
9250 avoid GOT pointer dependency. Make rtld export
9251 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9252 __tls_get_addr since we are a __tls_get_offset platform.
9253 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9254 GOT pointer being set up before.
9255 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9256
3c1c46a6
JM
92572013-11-28 Joseph Myers <joseph@codesourcery.com>
9258
7475aef5
JM
9259 * manual/math.texi (Errors in Math Functions): Document accuracy
9260 goals.
9261
8bca7cd8
JM
9262 [BZ #15004]
9263 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9264 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9267 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9278 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9279
91a1f3fe
JM
9280 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9281 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9282 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9283 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9284 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9285 Likewise.
9286 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9287 Likewise.
9288 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9289 Likewise.
9290 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9291 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9292 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9293 atomic-feupdateenv and flt-rounds.
9294 * sysdeps/powerpc/nofpu/Versions (libc): Add
9295 __atomic_feholdexcept, __atomic_feclearexcept,
9296 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9297 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9298 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9299 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9300 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9301 here.
9302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9303 Update.
9304
c5df7609
JM
9305 * manual/arith.texi (FP Exceptions): Document that exceptions may
9306 not be raised when matherr is used.
9307 (Math Error Reporting): Document overflow in directed rounding
9308 modes. Document that errno may not be set when finite values are
9309 returned on overflow. Document intent to set errno on underflow
9310 only for underflow to zero.
9311
3c1c46a6
JM
9312 [BZ #16271]
9313 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9314 round-to-nearest then adjust result for other rounding modes.
9315 * include/fenv.h (fegetround): Use libm_hidden_proto.
9316 * math/fegetround.c (fegetround): Use libm_hidden_def.
9317 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9318 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9319 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9320 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9321 Likewise.
9322 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9323 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9324 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9325 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9326
5a4c6d53
SP
93272013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9328
9329 [BZ #16077]
9330 * nss/Versions (libnss_files): Add
9331 _nss_files_gethostbyname3_r.
9332 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9333 New function.
9334 (HOST_DB_LOOKUP): Remove macro.
9335 (_nss_files_gethostbyname_r): Implement function without the
9336 HOST_DB_LOOKUP macro.
9337 (_nss_files_gethostbyname2_r): Likewise.
9338
897b98ba
OB
93392013-11-28 Ondřej Bílka <neleai@seznam.cz>
9340
9341 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9342
6f476861
UB
93432013-11-26 Uros Bizjak <ubizjak@gmail.com>
9344
9345 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9346 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9347 warning.
9348
bd12ab55
AZ
93492013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9350
9351 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9352 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9353 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9354 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9355 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9356 __fe_nomask_env_priv and attribute_hidden.
9357 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9358 (libc_feupdateenv_test_ppc): Likewise.
9359 (libc_feresetround_ppc): Likewise.
9360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9361 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9362 compat_symbol macro.
9363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9364 (__fe_nomask_env): Likewise.
9365 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9366
52bb6543
OB
93672013-11-26 Ondřej Bílka <neleai@seznam.cz>
9368
9369 * string/Makefile: Remove ifunc tests.
9370 * string/test-string.h: Define TEST_IFUNC.
9371 * string/test-bcopy-ifunc.c: Remove.
9372 * string/test-bzero-ifunc.c: Likewise.
9373 * string/test-memccpy-ifunc.c: Likewise.
9374 * string/test-memchr-ifunc.c: Likewise.
9375 * string/test-memcmp-ifunc.c: Likewise.
9376 * string/test-memcpy-ifunc.c: Likewise.
9377 * string/test-memmem-ifunc.c: Likewise.
9378 * string/test-memmove-ifunc.c: Likewise.
9379 * string/test-mempcpy-ifunc.c: Likewise.
9380 * string/test-memrchr-ifunc.c: Likewise.
9381 * string/test-memset-ifunc.c: Likewise.
9382 * string/test-rawmemchr-ifunc.c: Likewise.
9383 * string/test-stpcpy-ifunc.c: Likewise.
9384 * string/test-stpncpy-ifunc.c: Likewise.
9385 * string/test-strcasecmp-ifunc.c: Likewise.
9386 * string/test-strcasestr-ifunc.c: Likewise.
9387 * string/test-strcat-ifunc.c: Likewise.
9388 * string/test-strchr-ifunc.c: Likewise.
9389 * string/test-strchrnul-ifunc.c: Likewise.
9390 * string/test-strcmp-ifunc.c: Likewise.
9391 * string/test-strcpy-ifunc.c: Likewise.
9392 * string/test-strcspn-ifunc.c: Likewise.
9393 * string/test-strlen-ifunc.c: Likewise.
9394 * string/test-strncasecmp-ifunc.c: Likewise.
9395 * string/test-strncat-ifunc.c: Likewise.
9396 * string/test-strncmp-ifunc.c: Likewise.
9397 * string/test-strncpy-ifunc.c: Likewise.
9398 * string/test-strnlen-ifunc.c: Likewise.
9399 * string/test-strpbrk-ifunc.c: Likewise.
9400 * string/test-strrchr-ifunc.c: Likewise.
9401 * string/test-strspn-ifunc.c: Likewise.
9402 * string/test-strstr-ifunc.c: Likewise.
9403
ab260039 94042013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9405
9406 * benchtests/Makefile: Remove ifunc tests.
9407 * benchtests/bench-string.h: Define TEST_IFUNC.
9408 * benchtests/bench-bcopy-ifunc.c: Remove.
9409 * benchtests/bench-bzero-ifunc.c: Likewise.
9410 * benchtests/bench-memccpy-ifunc.c: Likewise.
9411 * benchtests/bench-memchr-ifunc.c: Likewise.
9412 * benchtests/bench-memcmp-ifunc.c: Likewise.
9413 * benchtests/bench-memcpy-ifunc.c: Likewise.
9414 * benchtests/bench-memmem-ifunc.c: Likewise.
9415 * benchtests/bench-memmove-ifunc.c: Likewise.
9416 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9417 * benchtests/bench-memrchr-ifunc.c: Likewise.
9418 * benchtests/bench-memset-ifunc.c: Likewise.
9419 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9420 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9421 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9422 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9423 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9424 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9425 * benchtests/bench-strcat-ifunc.c: Likewise.
9426 * benchtests/bench-strchr-ifunc.c: Likewise.
9427 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9428 * benchtests/bench-strcmp-ifunc.c: Likewise.
9429 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9430 * benchtests/bench-strcpy-ifunc.c: Likewise.
9431 * benchtests/bench-strcspn-ifunc.c: Likewise.
9432 * benchtests/bench-strlen-ifunc.c: Likewise.
9433 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9434 * benchtests/bench-strncat-ifunc.c: Likewise.
9435 * benchtests/bench-strncmp-ifunc.c: Likewise.
9436 * benchtests/bench-strncpy-ifunc.c: Likewise.
9437 * benchtests/bench-strnlen-ifunc.c: Likewise.
9438 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9439 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9440 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9441 * benchtests/bench-strspn-ifunc.c: Likewise.
9442 * benchtests/bench-strstr-ifunc.c: Likewise.
9443
94442013-11-26 Ondřej Bílka <neleai@seznam.cz>
9445
ab260039
OB
9446 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9447
d1d9eaf4 94482013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9449
d1d9eaf4
OB
9450 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9451 * rt/aio.h: Likewise.
9452 * sysdeps/gnu/bits/utmp.h: Likewise.
9453 * sysdeps/gnu/bits/utmpx.h: Likewise.
9454 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9455 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9456 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9457 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9458 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9459 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9460 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9461 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9462 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9463 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9464 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9465 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9466 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9468 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9469 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9470 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9471 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9472 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9473 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9474 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9475 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9476 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9477 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9478 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9480 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9481 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9482 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9483 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9484 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9485 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9486 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9487 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9488 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9489 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9490 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9491 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9492 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9493 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9494 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9495 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9496
a7624ed9
CD
94972013-11-25 Carlos O'Donell <carlos@redhat.com>
9498
9499 [BZ #16245]
9500 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9501 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9502
63cfe52b
JM
95032013-11-25 Joseph Myers <joseph@codesourcery.com>
9504
9505 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9506 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9507 Likewise.
9508
41e8926a
AZ
95092013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9510
9511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9512 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9513 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9514 (__fesetround): Remove define.
9515 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9516 rounding and exceptions handling.
9517 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9518 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9519 (__fe_nomask_env): Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9521 __fegetround instead of fegetround.
9522 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9524
6851bd4d
RM
95252013-11-21 Roland McGrath <roland@hack.frob.com>
9526
070906ff
RM
9527 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9528 it's there.
9529
6851bd4d
RM
9530 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9531
84ae135d
MI
95322013-11-21 Meador Inge <meadori@codesourcery.com>
9533
9534 [BZ #11157]
9535 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9536 (encrypt_r): Likewise.
9537 * malloc/obstack.h (obstack_free): Likewise.
9538 * posix/unistd.h (encrypt): Likewise.
9539
daf75146
GM
95402013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9541
9542 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9543 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9544 DL_CALL_DT_FINI() that call the functions directly.
9545 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9546 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9547 * elf/dl-fini.c: Likewise.
9548
10ad46bc
OB
95492013-11-20 Ondřej Bílka <neleai@seznam.cz>
9550
9551 * malloc/hooks.c (memalign_check): Add alignment rounding.
9552 * malloc/malloc.c (_mid_memalign): New function.
9553 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9554 Implement by calling _mid_memalign.
9555 * manual/probes.texi (Memory Allocation Probes): Remove
9556 memory_valloc_retry and memory_pvalloc_retry.
9557
f3fd2628
SP
95582013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9559
4712799f
SP
9560 * locale/programs/locarchive.c (open_archive): Add const
9561 qualifier to ARCHIVEFNAME and copy default fname to
9562 DEFAULT_FNAME.
9563
0417b20f
SP
9564 [BZ #15601]
9565 * libio/tst-widetext.input: Rename Oriya to Odia.
9566 * locale/iso-639.def: Likewise.
9567
f3fd2628
SP
9568 * manual/probes.texi (Mathematical Function Probes): Add
9569 documentation for sin, cos, asin and acos probes.
9570 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9571 (__sin32): Add slowasin probe.
9572 (__cos32): Add slowacos probe.
9573 (__mpsin): Add slowsin probe.
9574 (__mpcos): Add slowcos probe.
9575
73c1ce4f
JM
95762013-11-19 Joseph Myers <joseph@codesourcery.com>
9577
9578 [BZ #15483]
9579 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9580 thread-local __sim_exceptions_thread and global
9581 __sim_exceptions_global.
9582 (__sim_disabled_exceptions): Change to thread-local
9583 __sim_disabled_exceptions_thread and global
9584 __sim_disabled_exceptions_global.
9585 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9586 and global __sim_round_mode_global.
9587 (__simulate_exceptions): Use thread-local floating-point state and
9588 set global state from it as needed.
9589 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9590 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9591 __sim_round_mode_thread.
9592 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9593 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9594 and global __sim_exceptions_global.
9595 (__sim_disabled_exceptions): Change to thread-local
9596 __sim_disabled_exceptions_thread and global
9597 __sim_disabled_exceptions_global.
9598 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9599 and global __sim_round_mode_global.
9600 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9601 (SIM_SET_GLOBAL): Likewise.
9602 * sysdeps/powerpc/soft-fp/sfp-machine.h
9603 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9604 __sim_round_mode_thread.
9605 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9606 __sim_disabled_exceptions_thread.
9607 (__sim_exceptions): Change to __sim_exceptions_thread.
9608 (__sim_disabled_exceptions): Change to
9609 __sim_disabled_exceptions_thread.
9610 (__sim_round_mode): Change to __sim_round_mode_thread.
9611 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9612 thread-local floating-point state and set global state from it as
9613 needed.
9614 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9615 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9616 (__sim_disabled_exceptions): Remove extern declaration.
9617 (feenableexcept): Use thread-local floating-point state and set
9618 global state from it as needed.
9619 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9620 extern declaration.
9621 (__sim_disabled_exceptions): Likewise.
9622 (__sim_round_mode): Likewise.
9623 (__fegetenv): Use thread-local floating-point state.
9624 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9625 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9626 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9627 floating-point state and set global state from it as needed.
9628 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9629 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9630 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9631 Likewise.
9632 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9633 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9634 Likewise.
9635 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9636 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9637 Use __sim_round_mode_thread.
9638 * math/test-fenv-tls.c: New file.
9639 * math/Makefile (tests): Add test-fenv-tls.
9640 ($(objpfx)test-fenv-tls): Depend on
9641 $(common-objpfx)nptl/libpthread.so.
9642
b5449b12
AS
96432013-11-19 Andreas Schwab <schwab@suse.de>
9644
9645 * locale/programs/locale.c (show_info): Decode wordarray elements.
9646 * locale/categories.def (LC_MONETARY): Add element for
9647 _NL_MONETARY_CRNCYSTR.
9648 * locale/C-monetary.c (conversion_rate): New variable.
9649 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9650 element.
9651
e186536b
CM
96522013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9653
9654 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9655 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9656
5c349950
PP
96572013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9658
9659 * elf/Makefile (tst-auxv): New test.
9660 * elf/tst-auxv.c: New
9661 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9662
699df45b
JM
96632013-11-18 Joseph Myers <joseph@codesourcery.com>
9664
9665 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9666 (hidden_proto): Caller changed.
9667 (hidden_tls_proto): New macro.
9668 (libc_hidden_tls_proto): Likewise.
9669 (rtld_hidden_tls_proto): Likewise.
9670 (libm_hidden_tls_proto): Likewise.
9671 (libresolv_hidden_tls_proto): Likewise.
9672 (librt_hidden_tls_proto): Likewise.
9673 (libdl_hidden_tls_proto): Likewise.
9674 (libnss_files_hidden_tls_proto): Likewise.
9675 (libnsl_hidden_tls_proto): Likewise.
9676 (libnss_nisplus_hidden_tls_proto): Likewise.
9677 (libutil_hidden_tls_proto): Likewise.
9678
b7589107
OB
96792013-11-18 Ondřej Bílka <neleai@seznam.cz>
9680
9681 [BZ #10253]
9682 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9683 (decompose_rpath): Defer expansion to fillin_rpath.
9684 (_dl_init_paths): Pass linkmap to fillin_rpath.
9685
250c23bd
RS
96862013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9687
9688 * benchtests/Makefile: Add strsep.
9689 * benchtests/bench-strsep.c: New file: strsep benchtest.
9690 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9691
a7931fcf
AS
96922013-11-18 Andreas Schwab <schwab@suse.de>
9693
9694 * locale/programs/locale.c (show_info) [case byte]: Check for
9695 '\377' instead of '\177'.
9696 * locale/C-monetary.c (not_available): Always use "\377".
9697 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9698 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9699 detect unavailable sign_posn locale elements.
9700 * locale/localeconv.c (__localeconv): For grouping and
9701 mon_grouping handle "\177" and "\377" like no grouping.
9702 (INT_ELEM): New macro. Use it to set all numeric members.
9703 * locale/programs/ld-monetary.c (monetary_read)
9704 <tok_mon_grouping>: Normalize single -1 to the empty string.
9705 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9706 Likewise.
9707
728dab0e
OB
97082013-11-07 Ondřej Bílka <neleai@seznam.cz>
9709
9710 [BZ #16055]
9711 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9712 when we match (nil).
9713 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9714
66294491
JM
97152013-11-16 Joseph Myers <joseph@codesourcery.com>
9716
ce665817
JM
9717 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9718 (NO_TEST_INLINE): Update value.
9719 (ERRNO_UNCHANGED): Likewise.
9720 (ERRNO_EDOM): Likewise.
9721 (ERRNO_ERANGE): Likewise.
9722 (IGNORE_RESULT): Likewise.
9723 (check_float_internal): Check signs of NaN results if
9724 TEST_NAN_SIGN used.
9725 (check_complex): Pass TEST_NAN_SIGN flag through to second
9726 check_float_internal call.
9727 (copysign_test_data): Add tests with quiet NaNs as second
9728 argument. Use TEST_NAN_SIGN.
9729 (fabs_test_data): Add test of negative quiet NaN argument. Use
9730 TEST_NAN_SIGN.
9731 (signbit_test_data): Add tests of quiet NaN argument.
9732 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9733
ee1466a9
JM
9734 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9735 $ignore_result.
9736 (parse_args): Handle function results specified as IGNORE.
9737 * math/libm-test.inc (IGNORE_RESULT): New macro.
9738 (check_float_internal): Do not check numerical result if flag
9739 IGNORE_RESULT set.
9740 (check_complex): Pass through IGNORE_RESULT to second
9741 check_float_internal call.
9742 (check_int): Do not check numerical result if flag IGNORE_RESULT
9743 set.
9744 (check_long): Likewise.
9745 (check_bool): Likewise.
9746 (check_longlong): Likewise.
9747 (lrint_test_data): Add tests of infinite and NaN arguments.
9748 (lrint_tonearest_test_data): Likewise.
9749 (lrint_towardzero_test_data): Likewise.
9750 (lrint_downward_test_data): Likewise.
9751 (lrint_upward_test_data): Likewise.
9752 (llrint_test_data): Likewise.
9753 (llrint_tonearest_test_data): Likewise.
9754 (llrint_towardzero_test_data): Likewise.
9755 (llrint_downward_test_data): Likewise.
9756 (llrint_upward_test_data): Likewise.
9757 (lround_test_data): Likewise.
9758 (llround_test_data): Likewise.
9759
14407b7e
JM
9760 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9761 (ERRNO_UNCHANGED): Update value.
9762 (ERRNO_EDOM): Likewise.
9763 (ERRNO_ERANGE): Likewise.
9764 (NO_TEST_INLINE_FLOAT): New macro.
9765 (NO_TEST_INLINE_DOUBLE): Likewise.
9766 (enable_test): New function.
9767 (RUN_TEST_f_f): Check enable_test before running test.
9768 (RUN_TEST_2_f): Likewise.
9769 (RUN_TEST_fff_f): Likewise.
9770 (RUN_TEST_c_f): Likewise.
9771 (RUN_TEST_f_f1): Likewise.
9772 (RUN_TEST_fF_f1): Likewise.
9773 (RUN_TEST_fI_f1): Likewise.
9774 (RUN_TEST_ffI_f1): Likewise.
9775 (RUN_TEST_c_c): Likewise.
9776 (RUN_TEST_cc_c): Likewise.
9777 (RUN_TEST_f_i): Likewise.
9778 (RUN_TEST_f_i_tg): Likewise.
9779 (RUN_TEST_ff_i_tg): Likewise.
9780 (RUN_TEST_f_b): Likewise.
9781 (RUN_TEST_f_b_tg): Likewise.
9782 (RUN_TEST_f_l): Likewise.
9783 (RUN_TEST_f_L): Likewise.
9784 (RUN_TEST_fFF_11): Likewise.
9785 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9786 conditionals.
9787 (cosh_test_data): Likewise.
9788 (exp_test_data): Likewise.
9789 (expm1_test_data): Likewise.
9790 (hypot_test_data): Likewise.
9791 (pow_test_data): Likewise.
9792 (sinh_test_data): Likewise.
9793 (tanh_test_data): Likewise.
9794 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9795 flags argument.
9796
ca07f197
JM
9797 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9798 tests with quiet NaN input and output.
9799 (acosh_test_data): Likewise.
9800 (asin_test_data): Likewise.
9801 (asinh_test_data): Likewise.
9802 (atan_test_data): Likewise.
9803 (atanh_test_data): Likewise.
9804 (atan2_test_data): Likewise.
9805 (cbrt_test_data): Likewise.
9806 (cos_test_data): Likewise.
9807 (cosh_test_data): Likewise.
9808 (erf_test_data): Likewise.
9809 (erfc_test_data): Likewise.
9810 (exp_test_data): Likewise.
9811 (exp10_test_data): Likewise.
9812 (exp2_test_data): Likewise.
9813 (expm1_test_data): Likewise.
9814 (hypot_test_data): Likewise.
9815 (j0_test_data): Likewise.
9816 (j1_test_data): Likewise.
9817 (jn_test_data): Likewise.
9818 (lgamma_test_data): Likewise.
9819 (log_test_data): Likewise.
9820 (log10_test_data): Likewise.
9821 (log1p_test_data): Likewise.
9822 (log2_test_data): Likewise.
9823 (pow_test_data): Likewise.
9824 (scalb_test_data): Likewise.
9825 (sin_test_data): Likewise.
9826 (sincos_test_data): Likewise.
9827 (sinh_test_data): Likewise.
9828 (tan_test_data): Likewise.
9829 (tanh_test_data): Likewise.
9830 (tgamma_test_data): Likewise.
9831 (y0_test_data): Likewise.
9832 (y1_test_data): Likewise.
9833 (yn_test_data): Likewise.
9834
66294491
JM
9835 [BZ #16167]
9836 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9837 argument being NaN and avoid computations with second argument in
9838 that case.
9839 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9840 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9841 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9842
1820b143
CL
98432013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9844
9845 * locale/iso-639.def: Add Chitwani Tharu (the).
9846
714bd261
AS
98472013-11-14 Andreas Schwab <schwab@suse.de>
9848
9849 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9850 word instead of empty string.
9851
7ab44563
AZ
98522013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9853
9854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9855 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9857 (__fe_nomask_env): Likewise.
9858
e8470ea2
SE
98592013-11-13 Steve Ellcey <sellcey@mips.com>
9860
9861 * benchtests/bench-timing.h: Include time.h.
9862
17c1d9f0
L
98632013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9864
9865 [BZ #15997]
9866 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9867 to 3.4.0 for x32.
9868 * sysdeps/unix/sysv/linux/configure: Regenerated.
9869
9310c284
JM
98702013-11-13 Joseph Myers <joseph@codesourcery.com>
9871
9872 [BZ #16151]
9873 * stdlib/strtod_l.c (round_and_return): Do not consider
9874 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9875 exponent one less than half the least subnormal exponent.
9876 * stdlib/test-strtod-round-data: Add more tests.
9877 * stdlib/tst-strtod-round.c (tests): Regenerated.
9878
7a2ad8cf
AZ
98792013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9880
9881 [BZ #14143]
9882 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9883 (__fe_mask_env): Likewise.
9884 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9885 libm_hidden_proto and add function prototype.
9886 (__fe_mask_env): Add function prototype.
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9888 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9890 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9892 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9893
50727aa7
MS
98942013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9895
b2f386c1 9896 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9897 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9898
a615be46
MS
98992013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9900
9901 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9902 of htab_find_slot().
9903
7ddace62
DM
99042013-11-11 David S. Miller <davem@davemloft.net>
9905
9906 [BZ #16150]
9907 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9908 symbol in the non-vis3 case in static builds.
9909 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9910 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9911 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9912 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9913
9182aa67
JK
99142013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9915
9916 [BZ #387]
9917 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9918 it is empty.
9919
450a2e2d
AZ
99202013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9921
b2f386c1
SP
9922 * benchtests/Makefile: Add bench-strtod.
9923 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9924
8ec3f656
AS
99252013-11-11 Andreas Schwab <schwab@suse.de>
9926
9927 [BZ #16153]
9928 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9929 terminating NUL in key length.
9930
76a9b998
AZ
99312013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9932
9933 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9934 Add artificial ODP entry for vDSO symbol for PPC64.
9935 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9936 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9937
e4368156
OB
99382013-11-07 Ondřej Bílka <neleai@seznam.cz>
9939
9940 [BZ #15374]
9941 * nss/getent.c (services_keys): Recognize services starting with digit.
9942
8d6bb57c
DM
99432013-11-06 David S. Miller <davem@davemloft.net>
9944
9945 [BZ #15985]
9946 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9947 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9948
e256c421
WN
99492013-11-06 Will Newton <will.newton@linaro.org>
9950
9951 * manual/memory.texi (Malloc Examples): Remove register
9952 keyword from examples.
9953
f6e12daa 99542013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9955
f6e12daa 9956 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9957
9d880655
AS
99582013-11-04 Joseph Myers <joseph@codesourcery.com>
9959
fd2f9486 9960 [BZ #6981]
9d880655
AS
9961 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9962 depending on [__GCC_IEC_559 > 0].
9963 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9964 depending on [__GCC_IEC_559_COMPLEX > 0].
9965
ae129d3c
CL
99662013-11-03 Chris Leonard <cjl@sugarlabs.org>
9967
9968 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9969 to iso-639.def.
9970
4a15c2a4 99712013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9972
9973 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9974
8b35e35d
OB
99752013-11-01 Ondřej Bílka <neleai@seznam.cz>
9976
9977 [BZ #16112]
9978 * malloc/malloc (malloc_info): Do not handle first bin as
9979 special case.
9980
1d70fd6c
CL
99812013-11-01 Chris Leonard <cjl@sugarlabs.org>
9982
9983 * locale/iso-639.def: Add Central Nahuatl (nhn).
9984
8c5c2600
BH
99852013-11-01 Bruno Haible <bruno@clisp.org>
9986
9987 [BZ #7003]
9988 * manual/math.texi (BSD Random): Specify range upper bound as
9989 in POSIX.
9990
da5579c2
CL
99912013-10-31 Chris Leonard <cjl@sugarlabs.org>
9992
9993 * locale/iso-639.def: Add Meadow Mari (mhr).
9994
5d30d853
OB
99952013-10-31 Ondřej Bílka <neleai@seznam.cz>
9996
9997 [BZ #14752], [BZ #15763]
9998 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9999 Validate name.
10000 * rt/tst_shm.c: Add test for escaping directory.
10001
a4966c61
AS
100022013-10-31 Andreas Schwab <schwab@suse.de>
10003
8a43e768 10004 [BZ #15917]
a4966c61
AS
10005 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10006 followed by 'x' as part of digit sequence.
10007 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10008
28d708c4
MAP
100092013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10010
10011 [BZ #16037]
10012 * configure.ac: allow GNU Make 4.0 and greater.
10013 * configure: Regenerated.
10014
a56ee40b
WN
100152013-10-30 Will Newton <will.newton@linaro.org>
10016
10017 [BZ #16038]
10018 * malloc/hooks.c (memalign_check): Limit alignment to the
10019 maximum representable power of two.
10020 * malloc/malloc.c (__libc_memalign): Likewise.
10021 * malloc/tst-memalign.c (do_test): Add test for very
10022 large alignment values.
10023 * malloc/tst-posix_memalign.c (do_test): Likewise.
10024
c6e4925d
OB
100252013-10-30 Ondřej Bílka <neleai@seznam.cz>
10026
10027 [BZ #11087]
10028 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10029 (munmap_chunk): Likewise.
10030 (mremap_chunk): Likewise.
10031
100322013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10033
8a43e768 10034 [BZ #15799]
bbea82f7
OB
10035 * stdlib/div.c (div): Remove obsolete code.
10036 * stdlib/ldiv.c (ldiv): Likewise.
10037 * stdlib/lldiv.c (lldiv): Likewise.
10038
977f4b31
SP
100392013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10040
10041 [BZ #16071]
10042 * nss/nss_files/files-XXX.c (get_contents_ret): New
10043 enumerator.
10044 (get_contents): New function.
10045 (internal_getent): Use it. Expand size of LINEBUFLEN.
10046
cb8a6dbd
MF
100472013-10-30 Mike Frysinger <vapier@gentoo.org>
10048
10049 * configure.in: Moved to ...
10050 * configure.ac: ... here. Change reference to configure.in
10051 to configure.ac.
10052 * sysdeps/arm/preconfigure.ac: ... here.
10053 configure.in to configure.ac.
10054 * sysdeps/gnu/configure.in: Moved to ...
10055 * sysdeps/gnu/configure.ac: ... here.
10056 * sysdeps/i386/configure.in: Moved to ...
10057 * sysdeps/i386/configure.ac: ... here.
10058 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10059 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10060 * sysdeps/mach/configure.in: Moved to ...
10061 * sysdeps/mach/configure.ac: ... here.
10062 * sysdeps/mach/hurd/configure.in: Moved to ...
10063 * sysdeps/mach/hurd/configure.ac: ... here.
10064 * sysdeps/powerpc/configure.in: Moved to ...
10065 * sysdeps/powerpc/configure.ac: ... here.
10066 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10067 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10068 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10069 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10070 * sysdeps/s390/s390-32/configure.in: Moved to ...
10071 * sysdeps/s390/s390-32/configure.ac: ... here.
10072 * sysdeps/s390/s390-64/configure.in: Moved to ...
10073 * sysdeps/s390/s390-64/configure.ac: ... here.
10074 * sysdeps/sh/configure.in: Moved to ...
10075 * sysdeps/sh/configure.ac: ... here.
10076 * sysdeps/sparc/configure.in: Moved to ...
10077 * sysdeps/sparc/configure.ac: ... here.
10078 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10079 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10080 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10081 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10082 * sysdeps/x86_64/configure.in: Moved to ...
10083 * sysdeps/x86_64/configure.ac: ... here.
10084 * sysdeps/x86_64/preconfigure.in: Moved to ...
10085 * sysdeps/x86_64/preconfigure.ac: ... here.
10086 * aclocal.m4: Change reference to configure.in to configure.ac.
10087 * config.h.in: Likewise.
10088 * manual/install.texi: Likewise.
10089 * manual/maint.texi: Likewise.
10090 * Makefile: Likewise.
10091 * malloc/Makefile: Likewise.
10092 * nscd/Makefile: Likewise.
10093 * Makeconfig: Change reference to configure.in and
10094 preconfigure.in to configure.ac and preconfigure.ac
10095 respectively.
10096 * INSTALL: Regenerated.
10097 * configure: Likewise.
10098 * sysdeps/gnu/configure: Likewise.
10099 * sysdeps/i386/configure: Likewise.
10100 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10101 * sysdeps/mach/configure: Likewise.
10102 * sysdeps/mach/hurd/configure: Likewise.
10103 * sysdeps/powerpc/configure: Likewise.
10104 * sysdeps/powerpc/powerpc32/configure: Likewise.
10105 * sysdeps/powerpc/powerpc64/configure: Likewise.
10106 * sysdeps/s390/s390-32/configure: Likewise.
10107 * sysdeps/s390/s390-64/configure: Likewise.
10108 * sysdeps/sh/configure: Likewise.
10109 * sysdeps/sparc/configure: Likewise.
10110 * sysdeps/unix/sysv/linux/configure: Likewise.
10111 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10112 * sysdeps/x86_64/configure: Likewise.
10113 * sysdeps/x86_64/preconfigure: Likewise.
10114
36a4953a
AS
101152013-10-29 Andreas Schwab <schwab@suse.de>
10116
10117 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10118
c79a1204
SP
101192013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10120
dfa1b402
SP
10121 * benchtests/pow-inputs: Add new inputs.
10122
54f73d9c
SP
10123 * benchtests/exp-inputs: Add new inputs.
10124
c79a1204
SP
10125 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10126 conditional check for return value.
10127 (__cos32): Likewise.
10128
67beb545 101292013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10130
10131 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10132 to provide a boost for large inputs with word alignment.
10133 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10134 implementation based on optimized PPC64 strcpy.
10135 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10136 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10137 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10138 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10139
151659f6
OB
101402013-10-25 Ondřej Bílka <neleai@seznam.cz>
10141
482a077e 10142 [BZ #2801]
151659f6
OB
10143 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10144
10b0f26b
OB
101452013-10-25 Ondřej Bílka <neleai@seznam.cz>
10146
10147 [BZ #14876]
10148 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10149 * time/tst-strptime.c (day_tests): Add testcase.
10150
ca42d35e
OB
101512013-10-25 Ondřej Bílka <neleai@seznam.cz>
10152
482a077e 10153 [BZ #14029]
ca42d35e
OB
10154 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10155
52e6d801
FB
101562013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10157
10158 [BZ #16074]
10159 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10160 MAP_FAILED on error.
10161
7cbcdb36
SP
101622013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10163
10164 [BZ #16072]
10165 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10166 heap for large requests.
10167
894f3f10
AM
101682013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10169
10170 [BZ #9954]
10171 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10172 result if the result has no associated interface.
10173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10174 interface for all 127.X.Y.Z addresses.
10175
b85545a6
CL
101762013-10-24 Chris Leonard <cjl@sugarlabs.org>
10177
10178 * locale/iso-639.def: Add Ligurian (lij)
10179
d1f23d46
OB
101802013-10-21 Ondřej Bílka <neleai@seznam.cz>
10181
10182 [BZ #15825]
10183 * sunrpc/rpc_main.c: Document rpcgen -5.
10184
4db5b08f
MS
101852013-10-19 Michael Stahl <mstahl@redhat.com>
10186
10187 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10188
a471e96a
OB
101892013-10-19 Ondřej Bílka <neleai@seznam.cz>
10190
d1f23d46 10191 [BZ #10278]
a471e96a
OB
10192 * posix/glob.c: Match only directories when trailing slash is present.
10193 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10194 (main): Add testcase.
10195
45c30c61
OB
101962013-10-19 Ondřej Bílka <neleai@seznam.cz>
10197
10198 [BZ #15670]
10199 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10200
484c12fb
CD
102012013-10-18 Carlos O'Donell <carlos@redhat.com>
10202
3d7dc513
CD
10203 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10204 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10205 AUTH_DES and cindex for FIPS 140-2.
10206 (DES Encryption): Add cindex FIPS 46-3.
10207
484c12fb
CD
10208 * locale/locarchive.h (struct locarhandle): Add fname.
10209 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10210 if an optional argument was specified to --list-archive,
10211 otherwise NULL.
10212 * locale/programs/locarchive.c (show_archive_content): Take new
10213 argument fname and pass it via ah.fname to open_archive.
10214 * locale/programs/localedef.h: Update decl.
10215 (open_archive): If AH->fname is non-null, open that file
10216 rather than the default file name, and don't ignore ENOENT.
10217 (create_archive): Set AH.fname to NULL.
10218 (delete_locales_from_archive): Likewise.
10219 (add_locales_to_archive): Likewise.
10220 * locale/programs/locfile.c (write_all_categories): Likewise.
10221
3c8325fb
JM
102222013-10-18 Joseph Myers <joseph@codesourcery.com>
10223 Aldy Hernandez <aldyh@redhat.com>
10224
10225 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10226 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10227 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10228 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10229 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10230 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10231 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10232 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10233 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10234 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10235 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10236 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10237 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10238 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10239 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10240 Likewise.
10241 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10242 Likewise.
10243 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10244 Likewise.
10245 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10246 Likewise.
10247 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10248 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10249 Likewise.
10250 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10251 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10252 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10253 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10254 Likewise.
10255 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10256 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10257 * sysdeps/powerpc/preconfigure: Likewise.
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10259 Likewise.
10260 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10261 Replace contents of file by #include of <fenv_libc.h>.
10262 * sysdeps/powerpc/soft-fp/sfp-machine.h
10263 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10264 and <sys/prctl.h>.
10265 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10266 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10267 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10268 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10269 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10270 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10272 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10273 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10274 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10275 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10276 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10278 Allow copysignl PLT reference to be missing.
10279
5abe0682
RS
102802013-10-18 Richard Sandiford <richard@codesourcery.com>
10281 Joseph Myers <joseph@codesourcery.com
10282
10283 [BZ #15948]
10284 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10285 single character.
10286 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10287
c7738d08
SP
102882013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10289
10290 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10291 * elf/tst-tls1.c: Likewise.
10292 * elf/tst-tls10.h: Likewise.
10293 * elf/tst-tls14.c: Likewise.
10294 * elf/tst-tls2.c: Likewise.
10295 * elf/tst-tls3.c: Likewise.
10296 * elf/tst-tls4.c: Likewise.
10297 * elf/tst-tls5.c: Likewise.
10298 * elf/tst-tls6.c: Likewise.
10299 * elf/tst-tls7.c: Likewise.
10300 * elf/tst-tls8.c: Likewise.
10301 * elf/tst-tls9.c: Likewise.
10302 * elf/tst-tlsmod1.c: Likewise.
10303 * elf/tst-tlsmod13.c: Likewise.
10304 * elf/tst-tlsmod13a.c: Likewise.
10305 * elf/tst-tlsmod14a.c: Likewise.
10306 * elf/tst-tlsmod16a.c: Likewise.
10307 * elf/tst-tlsmod16b.c: Likewise.
10308 * elf/tst-tlsmod2.c: Likewise.
10309 * elf/tst-tlsmod3.c: Likewise.
10310 * elf/tst-tlsmod4.c: Likewise.
10311 * elf/tst-tlsmod5.c: Likewise.
10312 * elf/tst-tlsmod6.c: Likewise.
10313
0bfcf2c7
OB
103142013-10-18 Ondřej Bílka <neleai@seznam.cz>
10315
10316 [BZ #12486]
10317 * malloc/malloc.c: remove checks for statistics.
10318
264aad1e
OB
103192013-10-17 Ondřej Bílka <neleai@seznam.cz>
10320
10321 [BZ #15277]
10322 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10323 * inet/tst-network.c: Add testcase.
10324
b957ced8
AS
103252013-10-17 Andreas Schwab <schwab@suse.de>
10326
10327 [BZ #15218]
10328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10329 to determine canonical name.
10330
c5d5d574
OB
103312013-10-17 Ondřej Bílka <neleai@seznam.cz>
10332
10333 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10334 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10357 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10358 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10363 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10391
e5c2c2d0
JM
103922013-10-17 Joseph Myers <joseph@codesourcery.com>
10393
10394 [BZ #16041]
10395 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10396 make result into a quiet NaN.
10397
51ca9e29
JM
103982013-10-16 Joseph Myers <joseph@codesourcery.com>
10399
10400 * soft-fp/adddf3.c: Fix horizontal whitespace.
10401 * soft-fp/addsf3.c: Likewise.
10402 * soft-fp/addtf3.c: Likewise.
10403 * soft-fp/divdf3.c: Likewise.
10404 * soft-fp/divsf3.c: Likewise.
10405 * soft-fp/divtf3.c: Likewise.
10406 * soft-fp/double.h: Likewise.
10407 * soft-fp/eqdf2.c: Likewise.
10408 * soft-fp/eqsf2.c: Likewise.
10409 * soft-fp/eqtf2.c: Likewise.
10410 * soft-fp/extenddftf2.c: Likewise.
10411 * soft-fp/extended.h: Likewise.
10412 * soft-fp/extendsfdf2.c: Likewise.
10413 * soft-fp/extendsftf2.c: Likewise.
10414 * soft-fp/extendxftf2.c: Likewise.
10415 * soft-fp/fixdfdi.c: Likewise.
10416 * soft-fp/fixdfsi.c: Likewise.
10417 * soft-fp/fixdfti.c: Likewise.
10418 * soft-fp/fixsfdi.c: Likewise.
10419 * soft-fp/fixsfsi.c: Likewise.
10420 * soft-fp/fixsfti.c: Likewise.
10421 * soft-fp/fixtfdi.c: Likewise.
10422 * soft-fp/fixtfsi.c: Likewise.
10423 * soft-fp/fixtfti.c: Likewise.
10424 * soft-fp/fixunsdfdi.c: Likewise.
10425 * soft-fp/fixunsdfsi.c: Likewise.
10426 * soft-fp/fixunsdfti.c: Likewise.
10427 * soft-fp/fixunssfdi.c: Likewise.
10428 * soft-fp/fixunssfsi.c: Likewise.
10429 * soft-fp/fixunssfti.c: Likewise.
10430 * soft-fp/fixunstfdi.c: Likewise.
10431 * soft-fp/fixunstfsi.c: Likewise.
10432 * soft-fp/fixunstfti.c: Likewise.
10433 * soft-fp/floatdidf.c: Likewise.
10434 * soft-fp/floatdisf.c: Likewise.
10435 * soft-fp/floatditf.c: Likewise.
10436 * soft-fp/floatsidf.c: Likewise.
10437 * soft-fp/floatsisf.c: Likewise.
10438 * soft-fp/floatsitf.c: Likewise.
10439 * soft-fp/floattidf.c: Likewise.
10440 * soft-fp/floattisf.c: Likewise.
10441 * soft-fp/floattitf.c: Likewise.
10442 * soft-fp/floatundidf.c: Likewise.
10443 * soft-fp/floatundisf.c: Likewise.
10444 * soft-fp/floatunditf.c: Likewise.
10445 * soft-fp/floatunsidf.c: Likewise.
10446 * soft-fp/floatunsisf.c: Likewise.
10447 * soft-fp/floatunsitf.c: Likewise.
10448 * soft-fp/floatuntidf.c: Likewise.
10449 * soft-fp/floatuntisf.c: Likewise.
10450 * soft-fp/floatuntitf.c: Likewise.
10451 * soft-fp/fmadf4.c: Likewise.
10452 * soft-fp/fmasf4.c: Likewise.
10453 * soft-fp/fmatf4.c: Likewise.
10454 * soft-fp/gedf2.c: Likewise.
10455 * soft-fp/gesf2.c: Likewise.
10456 * soft-fp/getf2.c: Likewise.
10457 * soft-fp/ledf2.c: Likewise.
10458 * soft-fp/lesf2.c: Likewise.
10459 * soft-fp/letf2.c: Likewise.
10460 * soft-fp/muldf3.c: Likewise.
10461 * soft-fp/mulsf3.c: Likewise.
10462 * soft-fp/multf3.c: Likewise.
10463 * soft-fp/negdf2.c: Likewise.
10464 * soft-fp/negsf2.c: Likewise.
10465 * soft-fp/negtf2.c: Likewise.
10466 * soft-fp/op-1.h: Likewise.
10467 * soft-fp/op-2.h: Likewise.
10468 * soft-fp/op-4.h: Likewise.
10469 * soft-fp/op-8.h: Likewise.
10470 * soft-fp/op-common.h: Likewise.
10471 * soft-fp/quad.h: Likewise.
10472 * soft-fp/single.h: Likewise.
10473 * soft-fp/soft-fp.h: Likewise.
10474 * soft-fp/sqrtdf2.c: Likewise.
10475 * soft-fp/sqrtsf2.c: Likewise.
10476 * soft-fp/sqrttf2.c: Likewise.
10477 * soft-fp/subdf3.c: Likewise.
10478 * soft-fp/subsf3.c: Likewise.
10479 * soft-fp/subtf3.c: Likewise.
10480 * soft-fp/truncdfsf2.c: Likewise.
10481 * soft-fp/trunctfdf2.c: Likewise.
10482 * soft-fp/trunctfsf2.c: Likewise.
10483 * soft-fp/trunctfxf2.c: Likewise.
10484 * soft-fp/unorddf2.c: Likewise.
10485 * soft-fp/unordsf2.c: Likewise.
10486 * soft-fp/unordtf2.c: Likewise.
10487
9ebb0332
JM
104882013-10-15 Joseph Myers <joseph@codesourcery.com>
10489
10490 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10491 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10492
4b1a6d8b
OB
104932013-10-15 Ondřej Bílka <neleai@seznam.cz>
10494
10495 * elf/dl-libc.c: Clear initfini list after freeing.
10496
1e145589
JM
104972013-10-14 Joseph Myers <joseph@codesourcery.com>
10498
10499 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10500 * soft-fp/addsf3.c: Likewise.
10501 * soft-fp/addtf3.c: Likewise.
10502 * soft-fp/divdf3.c: Likewise.
10503 * soft-fp/divsf3.c: Likewise.
10504 * soft-fp/divtf3.c: Likewise.
10505 * soft-fp/double.h: Likewise.
10506 * soft-fp/eqdf2.c: Likewise.
10507 * soft-fp/eqsf2.c: Likewise.
10508 * soft-fp/eqtf2.c: Likewise.
10509 * soft-fp/extenddftf2.c: Likewise.
10510 * soft-fp/extended.h: Likewise.
10511 * soft-fp/extendsfdf2.c: Likewise.
10512 * soft-fp/extendsftf2.c: Likewise.
10513 * soft-fp/extendxftf2.c: Likewise.
10514 * soft-fp/fixdfdi.c: Likewise.
10515 * soft-fp/fixdfsi.c: Likewise.
10516 * soft-fp/fixdfti.c: Likewise.
10517 * soft-fp/fixsfdi.c: Likewise.
10518 * soft-fp/fixsfsi.c: Likewise.
10519 * soft-fp/fixsfti.c: Likewise.
10520 * soft-fp/fixtfdi.c: Likewise.
10521 * soft-fp/fixtfsi.c: Likewise.
10522 * soft-fp/fixtfti.c: Likewise.
10523 * soft-fp/fixunsdfdi.c: Likewise.
10524 * soft-fp/fixunsdfsi.c: Likewise.
10525 * soft-fp/fixunsdfti.c: Likewise.
10526 * soft-fp/fixunssfdi.c: Likewise.
10527 * soft-fp/fixunssfsi.c: Likewise.
10528 * soft-fp/fixunssfti.c: Likewise.
10529 * soft-fp/fixunstfdi.c: Likewise.
10530 * soft-fp/fixunstfsi.c: Likewise.
10531 * soft-fp/fixunstfti.c: Likewise.
10532 * soft-fp/floatdidf.c: Likewise.
10533 * soft-fp/floatdisf.c: Likewise.
10534 * soft-fp/floatditf.c: Likewise.
10535 * soft-fp/floatsidf.c: Likewise.
10536 * soft-fp/floatsisf.c: Likewise.
10537 * soft-fp/floatsitf.c: Likewise.
10538 * soft-fp/floattidf.c: Likewise.
10539 * soft-fp/floattisf.c: Likewise.
10540 * soft-fp/floattitf.c: Likewise.
10541 * soft-fp/floatundidf.c: Likewise.
10542 * soft-fp/floatundisf.c: Likewise.
10543 * soft-fp/floatunsidf.c: Likewise.
10544 * soft-fp/floatunsisf.c: Likewise.
10545 * soft-fp/floatuntidf.c: Likewise.
10546 * soft-fp/floatuntisf.c: Likewise.
10547 * soft-fp/floatuntitf.c: Likewise.
10548 * soft-fp/fmadf4.c: Likewise.
10549 * soft-fp/fmasf4.c: Likewise.
10550 * soft-fp/fmatf4.c: Likewise.
10551 * soft-fp/gedf2.c: Likewise.
10552 * soft-fp/gesf2.c: Likewise.
10553 * soft-fp/getf2.c: Likewise.
10554 * soft-fp/ledf2.c: Likewise.
10555 * soft-fp/lesf2.c: Likewise.
10556 * soft-fp/letf2.c: Likewise.
10557 * soft-fp/muldf3.c: Likewise.
10558 * soft-fp/mulsf3.c: Likewise.
10559 * soft-fp/multf3.c: Likewise.
10560 * soft-fp/negdf2.c: Likewise.
10561 * soft-fp/negsf2.c: Likewise.
10562 * soft-fp/negtf2.c: Likewise.
10563 * soft-fp/op-1.h: Likewise.
10564 * soft-fp/op-2.h: Likewise.
10565 * soft-fp/op-4.h: Likewise.
10566 * soft-fp/op-8.h: Likewise.
10567 * soft-fp/op-common.h: Likewise.
10568 * soft-fp/quad.h: Likewise.
10569 * soft-fp/single.h: Likewise.
10570 * soft-fp/soft-fp.h: Likewise.
10571 * soft-fp/sqrtdf2.c: Likewise.
10572 * soft-fp/sqrtsf2.c: Likewise.
10573 * soft-fp/sqrttf2.c: Likewise.
10574 * soft-fp/subdf3.c: Likewise.
10575 * soft-fp/subsf3.c: Likewise.
10576 * soft-fp/subtf3.c: Likewise.
10577 * soft-fp/truncdfsf2.c: Likewise.
10578 * soft-fp/trunctfdf2.c: Likewise.
10579 * soft-fp/trunctfsf2.c: Likewise.
10580 * soft-fp/trunctfxf2.c: Likewise.
10581 * soft-fp/unorddf2.c: Likewise.
10582 * soft-fp/unordsf2.c: Likewise.
10583 * soft-fp/unordtf2.c: Likewise.
10584
17c48a60
OB
105852013-10-14 Ondřej Bílka <neleai@seznam.cz>
10586
10587 [BZ #15672]
10588 * misc/error.c (error_tail): Fix possible buffer overflow.
10589
cabba934
OB
105902013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10591
10592 [BZ #13028]
10593 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10594 address.
10595
94bf958a
PM
105962013-10-14 P. J. McDermott <pj@pehjota.net>
10597
10598 [BZ #832]
10599 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10600 testing pipefail option.
10601
71b4dea7
JM
106022013-10-12 Joseph Myers <joseph@codesourcery.com>
10603
10604 * soft-fp/double.h: Indent preprocessor directives inside #if.
10605 * soft-fp/extended.h: Likewise.
10606 * soft-fp/op-2.h: Likewise.
10607 * soft-fp/op-4.h: Likewise.
10608 * soft-fp/op-common.h: Likewise.
10609 * soft-fp/quad.h: Likewise.
10610 * soft-fp/single.h: Likewise.
10611 * soft-fp/soft-fp.h: Likewise.
10612
55602758
YC
106132013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10614
10615 * iconv/iconv_prog.c: Fix typos.
10616 * stdio-common/psiginfo-data.h: Likewise.
10617
9cd83302
RT
106182013-10-12 Reuben Thomas <rrt@sc3d.org>
10619
10620 [BZ #15764]
10621 * locale/setlocale.c: Fix typo.
10622
99fd9f47
JM
106232013-10-12 Joseph Myers <joseph@codesourcery.com>
10624
b7ea74f0
JM
10625 [BZ #16036]
10626 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10627 signaling NaN arguments.
10628 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10629 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10630
8a509447
JM
10631 [BZ #14910]
10632 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10633 unordered operands.
10634 * soft-fp/gesf2.c (__gesf2): Likewise.
10635 * soft-fp/getf2.c (__getf2): Likewise.
10636 * soft-fp/ledf2.c (__ledf2): Likewise.
10637 * soft-fp/lesf2.c (__lesf2): Likewise.
10638 * soft-fp/letf2.c (__letf2): Likewise.
10639
98998e9f
JM
10640 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10641 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10642 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10643 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10644 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10645 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10646 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10647 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10648 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10649 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10650 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10651 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10652 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10653 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10654 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10655 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10656 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10657 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10658 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10659 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10660 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10661 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10662 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10663 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10664 * soft-fp/floattidf.c (__floattidf): Likewise.
10665 * soft-fp/floattisf.c (__floattisf): Likewise.
10666 * soft-fp/floattitf.c (__floattitf): Likewise.
10667 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10668 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10669 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10670 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10671 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10672 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10673 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10674 * soft-fp/gesf2.c (__gesf2): Likewise.
10675 * soft-fp/getf2.c (__getf2): Likewise.
10676 * soft-fp/ledf2.c (__ledf2): Likewise.
10677 * soft-fp/lesf2.c (__lesf2): Likewise.
10678 * soft-fp/letf2.c (__letf2): Likewise.
10679
8edc4a11
JM
10680 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10681 Undefine and redefine.
10682 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10683 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10684 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10685 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10686 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10687 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10688 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10689 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10690 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10691 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10692 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10693 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10694 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10695 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10696 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10697
8399acaf
JM
10698 [BZ #16032]
10699 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10700 without decrementing exponent if mantissa >= that for the
10701 denominator, not >.
10702 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10703 denominator, not >. Decrement exponent in < case instead of
10704 incrementing in >= case.
10705 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10706 without decrementing exponent if mantissa >= that for the
10707 denominator, not >.
10708
99fd9f47
JM
10709 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10710 computing saturated result for unsigned overflow.
10711
10e1cf6b
SP
107122013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10713 Jeff Law <law@redhat.com>
10714
10715 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10716 (atan2Mp): Add systemtap probe marker.
10717 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10718 (__ieee754_log): Add systemtap probe marker.
10719 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10720 (atanMp): Add systemtap probe marker.
10721 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10722 (tanMp): Add systemtap probe marker.
10723 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10724 (__slowexp): Add systemtap probe marker.
10725 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10726 (__slowpow): Add systemtap probe marker.
10727 * manual/probes.texi: Document probes.
10728
3d110c7c
EB
107292013-10-11 Eric Biggers <ebiggers3@gmail.com>
10730
10731 [BZ #15362]
10732 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10733 written.
10734 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10735 written.
10736 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10737 written to buffer but not flushed.
10738 * libio/iofwrite_u.c: Likewise.
10739 * libio/iopadn.c: Return bytes returned even if EOF was
10740 encountered.
10741 * libio/iowpadn.c: Likewise.
10742 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10743 if _IO_padn does not write the whole buffer.
10744 [!COMPILE_WPRINTF] (PAD): Likewise.
10745
75b4202a
DM
107462013-10-10 David S. Miller <davem@davemloft.net>
10747
10748 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10749 directory block.
10750
6c6352e6
JM
107512013-10-10 Joseph Myers <joseph@codesourcery.com>
10752
33b853c3
JM
10753 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10754 instead of FSF address.
10755 * soft-fp/fixdfti.c: Likewise.
10756 * soft-fp/fixsfti.c: Likewise.
10757 * soft-fp/fixtfti.c: Likewise.
10758 * soft-fp/fixunsdfti.c: Likewise.
10759 * soft-fp/fixunssfti.c: Likewise.
10760 * soft-fp/fixunstfti.c: Likewise.
10761 * soft-fp/floattidf.c: Likewise.
10762 * soft-fp/floattisf.c: Likewise.
10763 * soft-fp/floattitf.c: Likewise.
10764 * soft-fp/floatuntidf.c: Likewise.
10765 * soft-fp/floatuntisf.c: Likewise.
10766 * soft-fp/floatuntitf.c: Likewise.
10767 * soft-fp/trunctfxf2.c: Likewise.
10768
6c6352e6
JM
10769 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10770 * soft-fp/fixdfti.c: Likewise.
10771 * soft-fp/fixsfti.c: Likewise.
10772 * soft-fp/fixtfti.c: Likewise.
10773 * soft-fp/fixunsdfti.c: Likewise.
10774 * soft-fp/fixunssfti.c: Likewise.
10775 * soft-fp/fixunstfti.c: Likewise.
10776 * soft-fp/floattidf.c: Likewise.
10777 * soft-fp/floattisf.c: Likewise.
10778 * soft-fp/floattitf.c: Likewise.
10779 * soft-fp/floatuntidf.c: Likewise.
10780 * soft-fp/floatuntisf.c: Likewise.
10781 * soft-fp/floatuntitf.c: Likewise.
10782 * soft-fp/trunctfxf2.c: Likewise.
10783
3bf78b71
DM
107842013-10-10 David S. Miller <davem@davemloft.net>
10785
10786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10787
6f10289e
JM
107882013-10-10 Joseph Myers <joseph@codsourcery.com>
10789
bd878fc0
JM
10790 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10791 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10792 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10793 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10794 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10795 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10796 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10797
6f10289e
JM
10798 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10799 for NaNs before doing comparisons on argument.
10800 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10801 Likewise.
10802
321e2684
WN
108032013-10-10 Will Newton <will.newton@linaro.org>
10804
10805 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10806 passed to _int_memalign does not overflow.
10807
40fefba1
TR
108082013-10-10 Torvald Riegel <triegel@redhat.com>
10809
10810 * scripts/bench.pl: Add include-sources directive.
10811 * benchtests/README: Update documentation.
10812
2ae21ed2
JM
108132013-10-10 Joseph Myers <joseph@codesourcery.com>
10814
dcc2dd3f
JM
10815 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10816 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10817 instead of FP_INIT_ROUNDMODE.
10818 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10819 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10820
2ae21ed2
JM
10821 [BZ #16034]
10822 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10823 copy class of input value.
10824 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10825 not handle exceptions.
10826 * soft-fp/negsf2.c (__negsf2): Likewise.
10827 * soft-fp/negtf2.c (__negtf2): Likewise.
10828 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10829
cb8f9562
JM
108302013-10-09 Joseph Myers <joseph@codesourcery.com>
10831
10832 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10833 semicolon. From Linux kernel.
10834
5b60c59d
AB
108352013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10836
10837 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10838
b86835ca
YC
108392013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10840
10841 [BZ #156]
10842 * manual/socket.texi: Added statement about buffer
10843 for gethostbyname2_r.
10844
e7044ea7
OB
108452013-10-08 Ondřej Bílka <neleai@seznam.cz>
10846
10847 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10848 Use .p2align directive instead, throughout.
10849 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10850 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10851 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10852 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10853 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10854 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10855 * sysdeps/x86_64/strchr.S: Likewise.
10856 * sysdeps/x86_64/strrchr.S: Likewise.
10857
09544cbc
SP
108582013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10859
88576635
SP
10860 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10861
e7b2d1dd
SP
10862 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10863
09544cbc
SP
10864 * sysdeps/generic/math_private.h (__mpsin1): Remove
10865 declaration.
10866 (__mpcos1): Likewise.
10867 (__mpsin): New argument __range_reduce.
10868 (__mpcos): Likewise.
10869 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10870 (slow): Use __mpsin and __mpcos.
10871 (slow1): Likewise.
10872 (slow2): Likewise.
10873 (sloww): Likewise.
10874 (sloww1): Likewise.
10875 (sloww2): Likewise.
10876 (bsloww): Likewise.
10877 (bsloww1): Likewise.
10878 (bsloww2): Likewise.
10879 (cslow2): Likewise.
10880 (csloww): Likewise.
10881 (csloww1): Likewise.
10882 (csloww2): Likewise.
10883 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10884 range_reduce. Merge in __mpsin1.
10885 (__mpcos): Likewise.
10886 (__mpsin1): Remove.
10887 (__mpcos1): Likewise.
10888
7602d070
JM
108892013-10-07 Joseph Myers <joseph@codesourcery.com>
10890
10891 * locale/loadlocale.c (_nl_intern_locale_data): Use
10892 LOCFILE_ALIGNED_P.
10893 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10894 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10895 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10896 obstack data is appropriately aligned.
10897 (obstack_int32_grow_fast): Likewise.
10898 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10899 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10900 (add_locale_uint32_array): Likewise.
10901
a357259b
SP
109022013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10903
10904 * benchtests/Makefile: Remove ARGLIST and RET variables.
10905 ($(objpfx)bench-%.c): Pass only function name to the script.
10906 * benchtests/README: Update documentation.
10907 * benchtests/acos-inputs: Add new directives.
10908 * benchtests/acosh-inputs: Likewise.
10909 * benchtests/asin-inputs: Likewise.
10910 * benchtests/asinh-inputs: Likewise.
10911 * benchtests/atan-inputs: Likewise.
10912 * benchtests/atanh-inputs: Likewise.
10913 * benchtests/cos-inputs: Likewise.
10914 * benchtests/cosh-inputs: Likewise.
10915 * benchtests/exp-inputs: Likewise.
10916 * benchtests/log-inputs: Likewise.
10917 * benchtests/pow-inputs: Likewise.
10918 * benchtests/rint-inputs: Likewise.
10919 * benchtests/sin-inputs: Likewise.
10920 * benchtests/sinh-inputs: Likewise.
10921 * benchtests/tan-inputs: Likewise.
10922 * benchtests/tanh-inputs: Likewise.
10923 * scripts/bench.pl: Add support for new directives.
10924
9ec1b13d
AM
109252013-10-07 Alan Modra <amodra@gmail.com>
10926
10927 * README: Fix careless merge.
10928
8b7d57cd
AM
109292013-10-05 Alan Modra <amodra@gmail.com>
10930
10931 * NEWS: Mention powerpc64le support and bugs fixed.
10932 * README: Both big-endian and little-endian powerpc64 supported.
10933
7b7bab13
ST
109342013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10935
57f41c40
AS
10936 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10937 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10938 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10939 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10940
d39baad1
RA
109412013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10942
10943 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10944 match prototype.
10945
cd78f7e7
JM
109462013-10-04 Joseph Myers <joseph@codesourcery.com>
10947
29d73d86
JM
10948 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10949 Move -mhard-float appending from
10950 ports/sysdeps/powerpc/powerpc32/Makefile.
10951 [$(with-fp) = yes] (ASFLAGS): Likewise.
10952 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10953 * sysdeps/powerpc/nofpu: Move directory from
10954 ports/sysdeps/powerpc/nofpu.
10955 * sysdeps/powerpc/soft-fp: Move directory from
10956 ports/sysdeps/powerpc/soft-fp.
10957 * sysdeps/powerpc/powerpc32/405: Move directory from
10958 ports/sysdeps/powerpc/powerpc32/405.
10959 * sysdeps/powerpc/powerpc32/440: Move directory from
10960 ports/sysdeps/powerpc/powerpc32/440.
10961 * sysdeps/powerpc/powerpc32/464: Move directory from
10962 ports/sysdeps/powerpc/powerpc32/464.
10963 * sysdeps/powerpc/powerpc32/476: Move directory from
10964 ports/sysdeps/powerpc/powerpc32/476.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10966 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10968 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10970 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10972 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10974 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10975 * README: Update for powerpc-*-linux-gnu software floating point
10976 support in libc.
10977
e246b347
JM
10978 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10979 case to powerpc/powerpc32*.
10980 * sysdeps/unix/sysv/linux/configure: Regenerated.
10981
89c2003e
JM
10982 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10983 (_FPU_MASK_OM): Define as 0x04.
10984 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10985 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10986 0x00c10080.
10987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10988 0x0000003c.
10989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10990
cd78f7e7
JM
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10992 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10993 getcontext_e500.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10995 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10996 setcontext_e500.
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10998 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10999 and setcontext_e500.
11000
c755294d
CL
110012013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11002
11003 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11004
e16d221c
SP
110052013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11006
11007 * manual/threads.texi (Default Thread Attributes): Fix typo.
11008
215c7d43
WN
110092013-10-04 Will Newton <will.newton@linaro.org>
11010
11011 * malloc/Makefile: Add tst-memalign.
11012 * malloc/tst-memalign.c: New file.
11013
27d0461b
WN
11014 * malloc/tst-posix_memalign.c: Add comments.
11015 (do_test): Add comments and call free on all potentially
11016 allocated pointers. Add space after cast.
11017
1bc92709
WN
11018 * malloc/tst-pvalloc.c: Add comments.
11019 (do_test): Add comments and call free on all potentially
11020 allocated pointers. Remove duplicate check for NULL pointer.
11021 Add space after cast.
11022
66a9be9d
WN
11023 * malloc/tst-valloc.c: Add comments.
11024 (do_test): Add comments and call free on all potentially
11025 allocated pointers. Remove duplicate check for NULL pointer.
11026 Add space after cast.
11027
4cb81307
AM
110282013-10-04 Alan Modra <amodra@gmail.com>
11029
11030 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11031 Use stdint types in rather than __attribute__((mode())).
11032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11033
f8e3e9f3
AM
110342013-10-04 Alan Modra <amodra@gmail.com>
11035
11036 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11037 Correct handling of unaligned relocs for little-endian.
11038 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11039
8f9ebb08
AM
110402013-10-04 Alan Modra <amodra@gmail.com>
11041
11042 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11043 * configure: Regenerate.
11044 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11045 * shlib-versions: Likewise.
11046
0edf96c2
AM
110472013-10-04 Alan Modra <amodra@gmail.com>
11048
11049 * string/tester.c (test_memrchr): Increment reported test cycle.
11050
e0f7a380
AM
110512013-10-04 Alan Modra <amodra@gmail.com>
11052
11053 * string/test-memcpy.c (do_one_test): When reporting errors, print
11054 string address and don't overrun end of string.
11055
466b0393
AM
110562013-10-04 Alan Modra <amodra@gmail.com>
11057
11058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11059 insrdi. Make better use of reg selection to speed exit slightly.
11060 Schedule entry path a little better. Remove useless "are we done"
11061 checks on entry to main loop. Handle wrapping around zero address.
11062 Correct main loop count. Handle single left-over word from main
11063 loop inline rather than by using loop_small. Remove extra word
11064 case in loop_small caused by wrong loop count. Add little-endian
11065 support.
11066 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11067 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11068 cache hint.
11069 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11070 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11071 support. Avoid rlwimi.
11072 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11073
3be87c77
AM
110742013-10-04 Alan Modra <amodra@gmail.com>
11075
11076 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11077 insrdi. Formatting.
3be87c77
AM
11078 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11079 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11080 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11081 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11082 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11083 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11084
759cfef3
AM
110852013-10-04 Alan Modra <amodra@gmail.com>
11086
11087 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11088 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11090 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11091 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11092 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11093 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11094 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11095 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11096 use of regs. Use power7 mtocrf. Tidy function tails.
11097
fe6e95d7
AM
110982013-10-04 Alan Modra <amodra@gmail.com>
11099
11100 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11101 Formatting. Consistently use rXXX register defines or rN defines.
11102 Use early exit labels that avoid restoring unused non-volatile regs.
11103 Make cr field use more consistent with rWORDn compares. Rename
11104 regs used as shift registers for unaligned loop, using rN defines
11105 for short lifetime/multiple use regs.
11106 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11107 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11108 addi 1,1,64 to pop stack frame. Simplify return value code.
11109 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11110
664318c3
AM
111112013-10-04 Alan Modra <amodra@gmail.com>
11112
11113 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11114 support. Correct typos, formatting. Optimize tail. Use insrdi
11115 rather than rlwimi.
11116 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11117 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11118 little-endian support. Correct typos.
11119 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11120 rather than rlwimi.
11121 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11122 in loop and entry code to keep "and." results.
11123 (strchr): Add little-endian support. Comment. Move cntlzd
11124 earlier in tail.
11125 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11126
43b84013
AM
111272013-10-04 Alan Modra <amodra@gmail.com>
11128
11129 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11130 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11131 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11132 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11133
8a7413f9
AM
111342013-10-04 Alan Modra <amodra@gmail.com>
11135
11136 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11137 (rTMP): Define as r11.
11138 (strcmp): Add little-endian support. Optimise tail.
11139 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11140 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11141 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11142 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11143 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11144 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11145 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11146
33ee81de
AM
111472013-10-04 Alan Modra <amodra@gmail.com>
11148
11149 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11150 little-endian support. Remove unnecessary "are we done" tests.
11151 Handle "s" wrapping around zero and extremely large "size".
11152 Correct main loop count. Handle single left-over word from main
11153 loop inline rather than by using small_loop. Correct comments.
11154 Delete "zero" tail, use "end_max" instead.
11155 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11156
db9b4570
AM
111572013-10-04 Alan Modra <amodra@gmail.com>
11158
11159 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11160 support. Don't branch over align.
11161 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11162 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11163 support. Rearrange tmp reg use to suit. Comment.
11164 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11165
f7c399cf
AM
111662013-10-04 Alan Modra <amodra@gmail.com>
11167
11168 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11169
0b2c2ace
AM
111702013-10-04 Alan Modra <amodra@gmail.com>
11171
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11173 conditional form of branch and link when obtaining pc.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11175
02f04a6c
AM
111762013-10-04 Alan Modra <amodra@gmail.com>
11177
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11179 HIWORD/LOWORD.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11182
9b874b2f
AM
111832013-10-04 Alan Modra <amodra@gmail.com>
11184
11185 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11186 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11187 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11188 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11189 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11190 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11191 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11192 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11193 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11194 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11195
be1e5d31
AB
111962013-10-04 Anton Blanchard <anton@au1.ibm.com>
11197 Alistair Popple <alistair@ozlabs.au.ibm.com>
11198 Alan Modra <amodra@gmail.com>
11199
11200 [BZ #15723]
11201 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11202 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11203 _dl_hwcap access for little-endian.
11204 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11205 destroy vmx regs when saving unaligned.
11206 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11207 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11208 destroy vmx regs when saving unaligned.
11209
fef13a78
AM
112102013-10-04 Alan Modra <amodra@gmail.com>
11211
11212 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11213 Don't use a union to pack hi/low value.
11214
76a66d51
AB
112152013-10-04 Anton Blanchard <anton@au1.ibm.com>
11216
11217 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11218 for little-endian.
11219 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11221 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11222 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11223 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11224
6a31fe7f
AM
112252013-10-04 Alan Modra <amodra@gmail.com>
11226
11227 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11228 constants to usual value for .cst8 section, and remove redundant
11229 high address load.
11230 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11231 constant for 0x1p52. Load little-endian words of double from
11232 correct stack offsets.
11233
7b88401f
AM
112342013-10-04 Alan Modra <amodra@gmail.com>
11235
11236 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11237 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11238 words of double from correct stack offsets.
11239 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11240 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11241 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11242 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11243 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11244 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11245 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11246 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11247 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11248 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11249 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11250 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11251 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11252 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11253 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11254 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11255 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11256
9c008155
AM
112572013-10-04 Alan Modra <amodra@gmail.com>
11258
11259 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11260 64-bit int/double union.
11261 (_FPU_SETCW): Likewise.
11262 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11263 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11264
da13146d
AM
112652013-10-04 Alan Modra <amodra@gmail.com>
11266
11267 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11268 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11269
603e8410
AM
112702013-10-04 Alan Modra <amodra@gmail.com>
11271
11272 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11273 use vector int constants.
11274 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11275
4a28b3ca
AB
112762013-10-04 Anton Blanchard <anton@au1.ibm.com>
11277
11278 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11279 array with long long.
11280 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11281 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11282 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11283 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11284 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11285 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11286 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11287 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11288 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11289 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11290 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11291 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11292 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11293
2ca85d2b
AB
112942013-10-04 Anton Blanchard <anton@au1.ibm.com>
11295
11296 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11297 (__signbit): Likewise. Correct for little-endian.
11298 (__signbitl): Call __signbit.
11299 (lrint): Correct for little-endian.
11300 (lrintf): Call lrint.
11301
62a728ae
AM
113022013-10-04 Alan Modra <amodra@gmail.com>
11303
11304 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11305 union 32-bit int array member with 64-bit int array.
11306 (t515, tm256): Double rather than long double.
11307 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11308
32c301df
AM
113092013-10-04 Alan Modra <amodra@gmail.com>
11310
11311 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11312 Delete.
11313 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11314 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11315 version of math_ldbl.h.
11316
650ef4bd
AM
113172013-10-04 Alan Modra <amodra@gmail.com>
11318
11319 [BZ #15734], [BZ #15735]
11320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11321 all uses of ieee875 long double macros and unions. Simplify test
11322 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11323 ldbl_extract_mantissa value for ix,iy exponents. Properly
11324 normalize after ldbl_extract_mantissa, and don't add hidden bit
11325 already handled. Don't treat low word of ieee854 mantissa like
11326 low word of IBM long double and mask off bit when testing for
11327 zero.
11328 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11329 all uses of ieee875 long double macros and unions. Simplify tests
11330 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11331 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11332 two1022, instead use their values. Recognise that tests for large
11333 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11334 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11335 Rewrite all uses of ieee875 long double macros and unions. Simplify
11336 test for 0.0L and nan. Correct negation.
11337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11338 ieee875 long double macros and unions. Correct output for large
11339 magnitude x. Correct absolute value calculation.
11340 (__erfcl): Likewise.
11341 * math/libm-test.inc: Add tests for errors discovered in IBM long
11342 double versions of fmodl, remainderl, erfl and erfcl.
11343
765714ca
AM
113442013-10-04 Alan Modra <amodra@gmail.com>
11345
11346 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11347 all uses of ieee854 long double macros and unions. Simplify tests
11348 for long doubles that are fully specified by the high double.
11349 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11350 Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11352 Remove dead code too.
11353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11354 (__ieee754_ynl): Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11358 Remove dead code too.
11359 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11363 Simplify.
11364 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11365 Simplify.
11366 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11369 Comment on variable precision.
11370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11372 Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11377 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11378
4ebd120c
AM
113792013-10-04 Alan Modra <amodra@gmail.com>
11380
11381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11382 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11383 all uses of ieee854 long double macros and unions.
11384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11386 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11387 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11388 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11389 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11390 Likewise.
11391 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11392 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11393 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11394 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11395 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11396 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11397 Simplify sign and nan test too.
11398 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11399 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11400 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11401 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11402 Likewise.
11403 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11405 Likewise.
11406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11407 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11408 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11409 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11410 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11412
1b6adf88
AM
114132013-10-04 Alan Modra <amodra@gmail.com>
11414
11415 * stdio-common/printf_size.c (__printf_size): Don't use
11416 union ieee854_long_double in fpnum union.
11417 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11418 signbit macro to retrieve sign from long double.
11419 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11420 retrieve sign from long double.
11421 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11422 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11423 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11424 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11425 * math/test-misc.c (main): Don't use union ieee854_long_double.
11426
4cf69995
AM
114272013-10-04 Alan Modra <amodra@gmail.com>
11428
11429 [BZ #15680]
11430 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11431 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11432 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11433 calculation. Remove unnecessary test for denormal exponent.
11434 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11435 Correct handling of denormals. Avoid undefined shift behaviour.
11436 Correct normalisation of low mantissa when low double is denormal.
11437 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11438 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11439 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11440 Correct normalisation of low mantissa. Test for overflow of high
11441 mantissa and normalise.
11442 (ldbl_nearbyint): Use more readable constant for two52.
11443 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11444 (__mpn_construct_long_double): Fix test for overflow of high
11445 mantissa and correct normalisation. Avoid undefined shift.
11446
9605ca6c
AM
114472013-10-04 Alan Modra <amodra@gmail.com>
11448
11449 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11450 (union ibm_extended_long_double): Define as an array of ieee754_double.
11451 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11452 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11453 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11454 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11458 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11462
975569d0
JM
114632013-10-03 Joseph Myers <joseph@codesourcery.com>
11464
d3d23756
JM
11465 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11466 page size instead of calling getpagesize.
11467
975569d0
JM
11468 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11469 (LOCFILE_ALIGN_MASK): Likewise.
11470 (LOCFILE_ALIGN_UP): Likewise.
11471 (LOCFILE_ALIGNED_P): Likewise.
11472 * locale/programs/ld-collate.c (collate_output): Use the new
11473 macros instead of __alignof__ (int32_t).
11474 * locale/weight.h (findidx): Likewise.
11475
b1fe1f2b
OB
114762013-10-03 Ondřej Bílka <neleai@seznam.cz>
11477
11478 [BZ #431]
11479 * manual/string.texi: Fix strncat and wcsncat.
11480
5f855e35
BM
114812013-10-03 Brooks Moses <bmoses@google.com>
11482
11483 [BZ #15915]
11484 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11485 * Makerules: ...here, and adjust associated comments.
11486
3cef6009
WN
114872013-10-02 Will Newton <will.newton@linaro.org>
11488
11489 * malloc/Makefile: Add tst-pvalloc.
11490 * malloc/tst-pvalloc.c: New file.
11491
7815420b
WN
114922013-10-02 Will Newton <will.newton@linaro.org>
11493
11494 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11495 improve test coverage.
11496
4868b204
WN
114972013-10-02 Will Newton <will.newton@linaro.org>
11498
11499 * malloc/Makefile: Add tst-posix_memalign.
11500 * malloc/tst-posix_memalign.c: New file.
11501
29c793b3
EB
115022013-10-01 Eric Blake <eblake@redhat.com>
11503
11504 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11505 Use __THROWNL rather than __THROW on static functions.
11506
fd967522
PM
115072013-09-30 Petr Machata <pmachata@redhat.com>
11508
11509 * elf/elf.h (R_AARCH64_ABS16): New macro.
11510 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11511 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11512 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11513 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11514 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11515 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11516 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11517 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11518 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11519 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11520 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11521 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11522 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11523 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11524 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11525 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11526 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11527 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11528 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11529 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11530 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11531 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11532 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11533 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11534 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11535 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11536 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11537 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11538 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11539 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11540 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11541 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11542 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11543 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11544 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11545 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11546 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11547 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11548 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11549 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11550 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11551 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11552 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11553 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11554 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11555 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11556 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11557 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11558 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11559 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11560 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11561 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11562 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11563 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11564 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11565 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11566 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11567 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11568 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11569 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11570 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11571 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11572 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11573 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11574 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11575 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11576 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11577 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11578 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11579 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11580 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11581 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11582 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11583 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11584 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11585 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11586 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11587 (R_AARCH64_TLSDESC_LDR): Likewise.
11588 (R_AARCH64_TLSDESC_ADD): Likewise.
11589 (R_AARCH64_TLSDESC_CALL): Likewise.
11590
b2179107
AS
115912013-09-30 Andreas Schwab <schwab@suse.de>
11592
11593 [BZ #15048]
11594 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11595 the nss database lookup.
11596 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11598
47f28d0a
MF
115992013-09-28 Mike Frysinger <vapier@gentoo.org>
11600
11601 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11602
116032013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11604
11605 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11606 ${Bash-specific parameter/pattern/string} parameter expansion.
11607 * sysdeps/unix/make-syscalls.sh: Likewise.
11608
f4518a17
KK
116092013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11610
11611 * sysdeps/sh/stackguard-macros.h: New file.
11612
dc1a95c7
OB
116132013-09-26 Ondřej Bílka <neleai@seznam.cz>
11614
11615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11617 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11618 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11619 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11620 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11621
5ebbff8f
AZ
116222013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11623
11624 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11625 Fix thread ID register.
11626
4fd2cf9f
JM
116272013-09-25 Joseph Myers <joseph@codesourcery.com>
11628
11629 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11630 [POSIX || UNIX98]: Require rather than permitting all symbols from
11631 <time.h>.
11632 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11633 element of struct sched_param.
11634 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11635 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11636 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11637 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11638 constant.
11639
12c22bc4
OL
116402013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11641
11642 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11643 argument calculation.
11644
a03d8ea7
JM
116452013-09-24 Joseph Myers <joseph@codesourcery.com>
11646
11647 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11648 Expect macro.
11649 [POSIX] (pthread_attr_t): Do not require type.
11650 [POSIX] (pthread_cond_t): Likewise.
11651 [POSIX] (pthread_condattr_t): Likewise.
11652 [POSIX] (pthread_key_t): Likewise.
11653 [POSIX] (pthread_mutex_t): Likewise.
11654 [POSIX] (pthread_mutexattr_t): Likewise.
11655 [POSIX] (pthread_once_t): Likewise.
11656 [POSIX] (pthread_t): Likewise.
11657 [POSIX-based standards] (pthread_atfork): Expect function.
11658
6055173a
JM
116592013-09-24 Joseph Myers <joseph@codesourcery.com>
11660 Richard Sandiford <richard@codesourcery.com>
11661
11662 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11663 (swap_endianness_p): New extern variable.
11664 (set_big_endian): New inline function.
11665 (maybe_swap_uint32): Likewise.
11666 (maybe_swap_uint32_array): Likewise.
11667 (maybe_swap_uint32_obstack): Likewise.
11668 * locale/programs/locfile.c: Include <stdbool.h>.
11669 (swap_endianness_p): New variable.
11670 (add_locale_uint32): Call maybe_swap_uint32.
11671 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11672 (write_locale_data): Call maybe_swap_uint32_array.
11673 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11674 maybe_swap_uint32.
11675 (obstack_int32_grow_fast): Likewise.
11676 (output_weightwc): Call maybe_swap_uint32_obstack.
11677 (collate_output): Likewise.
11678 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11679 (OPT_LITTLE_ENDIAN): Likewise.
11680 (options): Add --little-endian and --big-endian options.
11681 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11682 * locale/programs/locarchive.c: Include "locfile.h".
11683 (GET): New macro.
11684 (SET): Likewise.
11685 (INC): Likewise.
11686 (create_archive): Use the new macros to access fields of
11687 structures directly mapped from or written to locale archives.
11688 (oldlocrecentcmp): Likewise.
11689 (enlarge_archive): Likewise.
11690 (insert_name): Likewise.
11691 (add_alias): Likewise.
11692 (add_locale): Likewise.
11693 (delete_locales_from_archive): Likewise.
11694 (show_archive_content): Likewise.
11695 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11696 locale data.
11697
39bf0bb4
RM
116982013-09-24 Roland McGrath <roland@hack.frob.com>
11699
11700 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11701 http://www.gnu.org/doc/freemanuals.texi.
11702 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11703
f02eed10
WN
117042013-09-24 Will Newton <will.newton@linaro.org>
11705
11706 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11707 macro.
11708
a3a6c312
JM
117092013-09-23 Joseph Myers <joseph@codesourcery.com>
11710
11711 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11712 unsigned char.
11713
107375ac
MR
117142013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11715
11716 * manual/threads.texi (POSIX Threads): Fix a typo.
11717
141f3a77
SP
117182013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11719
303e567a
SP
11720 [BZ #14547]
11721 * string/tst-strcoll-overflow.c: New test case.
11722 * string/Makefile (xtests): Add tst-strcoll-overflow.
11723 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11724 cache if string sizes may cause integer overflow.
11725
141f3a77
SP
11726 [BZ #14547]
11727 * string/strcoll_l.c (coll_seq): New members rule, idx,
11728 save_idx and back_us.
11729 (get_next_seq_nocache): New function.
11730 (do_compare_nocache): New function.
11731 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11732 when malloc fails.
11733
c61b4d41
CD
117342013-09-23 Carlos O'Donell <carlos@redhat.com>
11735
0b1f8e35
CD
11736 [BZ #15754]
11737 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11738 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11739 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11740
c61b4d41
CD
11741 [BZ #15754]
11742 * elf/Makefile (tests): Add tst-ptrguard1.
11743 (tests-static): Add tst-ptrguard1-static.
11744 (tst-ptrguard1-ARGS): Define.
11745 (tst-ptrguard1-static-ARGS): Define.
11746 * elf/tst-ptrguard1.c: New file.
11747 * elf/tst-ptrguard1-static.c: New file.
11748 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11749 * sysdeps/i386/stackguard-macros.h: Likewise.
11750 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11751 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11752 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11753 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11754 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11755 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11756
117572013-09-23 Hector Marco <hecmargi@upv.es>
11758 Ismael Ripoll <iripoll@disca.upv.es>
11759 Carlos O'Donell <carlos@redhat.com>
11760
11761 [BZ #15754]
11762 * sysdeps/generic/stackguard-macros.h: Define
11763 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11764 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11765 Define __pointer_chk_guard_local.
11766 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11767 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11768
f5f4e7b4
VV
117692013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11770
11771 [BZ #15859]
11772 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11773
5bb43a43
AS
117742013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11775
11776 * include/string.h (__ffs): Declare as hidden.
11777 * string/ffs.c (__ffs): Define as hidden.
11778 * sysdeps/i386/ffs.c (__ffs): Likewise.
11779 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11780 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11781 * sysdeps/s390/ffs.c (__ffs): Likewise.
11782 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11783
3ea5be54
AO
117842013-09-20 Alexandre Oliva <aoliva@redhat.com>
11785
ffb89e53
AO
11786 * NEWS: Mention malloc probes.
11787
322dea08
AO
11788 * malloc/arena.c (new_heap): New memory_heap_new probe.
11789 (grow_heap): New memory_heap_more probe.
11790 (shrink_heap): New memory_heap_less probe.
11791 (heap_trim): New memory_heap_free probe.
11792 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11793 (systrim): New memory_sbrk_less probe.
11794 * manual/probes.texi: Document them.
11795
655673f3
AO
11796 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11797 * manual/probes.texi: Document it.
11798
35fed6f1
AO
11799 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11800 (__libc_realloc): Add memory_realloc_retry probe.
11801 (__libc_memalign): Add memory_memalign_retry probe.
11802 (__libc_valloc): Add memory_valloc_retry probe.
11803 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11804 (__libc_calloc): Add memory_calloc_retry probe.
11805 * manual/probes.texi: Document them.
11806
6999d38c
AO
11807 * malloc/arena.c (get_free_list): Add probe
11808 memory_arena_reuse_free_list.
11809 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11810 and memory_arena_reuse.
11811 (arena_get2) [!PER_THREAD]: Likewise.
11812 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11813 memory_arena_reuse_realloc.
11814 * manual/probes.texi: Document them.
11815
0653427f
AO
11816 * malloc/malloc.c (__libc_free): Add
11817 memory_mallopt_free_dyn_thresholds probe.
11818 (__libc_mallopt): Add multiple memory_mallopt probes.
11819 * manual/probes.texi: Document them.
11820
3ea5be54
AO
11821 * malloc/malloc.c: Include stap-probe.h.
11822 (__libc_mallopt): Add memory_mallopt probe.
11823 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11824 * manual/probes.texi: New.
11825 * manual/Makefile (chapters): Add probes.
11826 * manual/threads.texi: Set next node.
11827
e35696c3 118282013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11829
e35696c3
CL
11830 [BZ #15963, #13985]
11831 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11832 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11833 Add `Chinese' to `nan' entry name.
11834
4aafb73c
SP
118352013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11836
11837 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11838 (POLYNOMIAL): Likewise.
11839 (TAYLOR_SINCOS): Likewise.
11840 (TAYLOR_SLOW): Likewise.
11841 (__sin): Use TAYLOR_SINCOS.
11842 (__cos): Likewise.
11843 (slow): Use TAYLOR_SLOW.
11844 (sloww): Likewise.
11845 (bsloww): Likewise.
11846 (csloww): Likewise.
11847
d84f25c7
LD
118482013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11849
11850 * stdlib/strtod_l.c: Fix buffer overrun.
11851
5eea0404
SP
118522013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11853
7849ff93
SP
11854 * benchtests/Makefile (bench): Add sincos.
11855 * benchtests/bench-sincos.c: New file.
11856
cfa3c886
SP
11857 * math/libm-test.inc (cos_test_data): New test inputs.
11858 (sin_test_data): Likewise.
11859
b348e1e3
SP
11860 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11861 macro.
11862 (__sin): Use it.
11863 (__cos): Likewise.
11864 (slow1): Likewise.
11865 (slow2): Likewise.
11866 (sloww1): Likewise.
11867 (sloww2): Likewise.
11868 (bsloww1): Likewise.
11869 (bsloww2): Likewise.
11870 (cslow2): Likewise.
11871 (csloww1): Likewise.
11872 (csloww2): Likewise.
11873
6cce25f8
SP
11874 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11875 function.
11876 (__sin): Use it.
11877 (__cos): Likewise.
11878
5eea0404
SP
11879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11880 gotos.
11881 (__cos): Likewise.
11882
9c21573c
MR
118832013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11884
11885 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11886 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11887 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11888 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11889 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11890 * elf/cache.c (print_entry): Handle the new cache flags.
11891
24d22e65
JM
118922013-09-18 Joseph Myers <joseph@codesourcery.com>
11893 Aldy Hernandez <aldyh@redhat.com>
11894
11895 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11896 Change condition to [_SOFT_FLOAT].
11897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11898 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11899 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11904 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11909 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11911 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11912 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11913 declaration.
11914
d13ef066
JM
119152013-09-18 Joseph Myers <joseph@codesourcery.com>
11916
2e071de0
JM
11917 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11918 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11919 (__longjmp): Use LOAD_GP to load saved GPRs.
11920 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11921 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11922 (__sigsetjmp): Use SAVE_GP to save GPRs.
11923
d13ef066
JM
11924 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11925 Do not append -msoft-float.
11926 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11927
97a0650b
SP
119282013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11929
11930 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11931
11ca09e9
JM
119322013-09-17 Joseph Myers <joseph@codesourcery.com>
11933
11934 [BZ #15966]
11935 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11936 (_FPU_GETCW): Use initial "__" on variable and field names but not
11937 on macro parameter name.
11938 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11939 parentheses around reference to macro parameter.
11940
08ffcf34
RS
119412013-09-13 Richard Sandiford <richard@codesourcery.com>
11942
11943 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11944 prototype.
11945 (ctype_startup): Use uint32_t in cast and sizeof for
11946 ctype->charnames.
11947
ae7080d3
JL
119482013-09-11 Jia Liu <proljc@gmail.com>
11949
11950 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11951 __daddr_t_defined.
11952 [__FreeBSD__]: Likewise.
11953
5905e7b3
OB
119542013-09-11 Ondřej Bílka <neleai@seznam.cz>
11955
11956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11957 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11958 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11959 (strchr): Remove __strchr_sse42 ifunc selection.
11960 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11961 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11962
b987c776
WN
119632013-09-11 Will Newton <will.newton@linaro.org>
11964
11965 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11966 parameter to RES. Remove hardcoded 1000 value.
11967 * benchtests/bench-skeleton.c (main): Pass RES parameter
11968 to TIMING_INIT and multiply result by 1000.
11969
ddf985af
AZ
119702013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11971
11972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11973
ffdd3181
AS
119742013-09-11 Andreas Schwab <schwab@suse.de>
11975
11976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11977 if not defined.
11978 (O_TMPFILE) [__USE_GNU]: Define.
11979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11980 Define.
11981
b73ed247
WN
119822013-09-11 Will Newton <will.newton@linaro.org>
11983
11984 [BZ #15857]
11985 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11986 does not overflow.
11987
55e17aad
WN
119882013-09-11 Will Newton <will.newton@linaro.org>
11989
11990 [BZ #15856]
11991 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11992 does not overflow.
11993
1159a193
WN
119942013-09-11 Will Newton <will.newton@linaro.org>
11995
11996 [BZ #15855]
11997 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11998 does not overflow.
11999
5905e7b3 120002013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12001
12002 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12003 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12004 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12005 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12006 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12007
cdfc721b
AM
120082013-09-10 Allan McRae <allan@archlinux.org>
12009
aa04af00
AM
12010 [BZ #15748]
12011 * manual/arith.texi (Parsing of Floats): Clarify
12012 cross-reference.
12013
cdfc721b
AM
12014 [BZ #15849]
12015 * manual/install.texi (Running make install): Mention
12016 --enable-pt-chown.
12017 * INSTALL: Regenerated.
12018
95e7cf29
MR
120192013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12020
12021 * csu/init-first.c (_init): Remove the !SHARED condition around
12022 FPU control word initialization.
12023 * elf/dl-support.c (_dl_fpu_control): New variable.
12024 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12025 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12026 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12027 * math/test-fpucw-static.c: New file.
12028 * math/test-fpucw-ieee.c: New file.
12029 * math/test-fpucw-ieee-static.c: New file.
12030 * math/Makefile (tests): Add `test-fpucw-ieee' and
12031 `$(tests-static)'.
12032 (tests-static): New variable.
12033 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12034 dependency to...
12035 [($(build-shared),yes)]
12036 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12037 ... this.
12038 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12039 New dependency.
12040
83e43bf0
AM
120412013-09-09 Allan McRae <allan@archlinux.org>
12042
a9f5ce09
AM
12043 [BZ #15939]
12044 * manual/string.texi (Collation Functions): Fix typo in
12045 strcoll example.
12046 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12047
34829bc2
AM
12048 [BZ #15893]
12049 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12050
3932737d
AM
12051 [BZ #15892]
12052 * libio/memstream.c (open_memstream): Fix memory leak.
12053 * libio/wmemstream.c (open_wmemstream): Likewise.
12054
83e43bf0
AM
12055 [BZ #15895]
12056 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12057
0c66b8e9
WN
120582013-09-09 Will Newton <will.newton@linaro.org>
12059
12060 * malloc/Makefile: Add tst-realloc to tests.
12061 * malloc/tst-realloc.c: New file.
12062
f6b00fd1
AM
120632013-09-09 Allan McRae <allan@archlinux.org>
12064
12065 [BZ #15844]
12066 * COPYING: Update from GNU website to fix FSF address.
12067 * COPYING.LIB: Likewise.
12068
eec55e16
DM
120692013-09-06 David S. Miller <davem@davemloft.net>
12070
12071 * po/zh_TW.po: Update Chinese (traditional) translation from
12072 translation project.
12073
1ecbb381
RS
120742013-09-06 Richard Sandiford <richard@codesourcery.com>
12075 Joseph Myers <joseph@codesourcery.com>
12076
12077 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12078 "localeinfo.h".
12079 (obstack_chunk_alloc): New macro.
12080 (obstack_chunk_free): Likewise.
12081 (record_offset): New function.
12082 (init_locale_data): Likewise.
12083 (align_locale_data): Likewise.
12084 (add_locale_empty): Likewise.
12085 (add_locale_raw_data): Likewise.
12086 (add_locale_raw_obstack): Likewise.
12087 (add_locale_string): Likewise.
12088 (add_locale_wstring): Likewise.
12089 (add_locale_uint32): Likewise.
12090 (add_locale_uint32_array): Likewise.
12091 (add_locale_char): Likewise.
12092 (start_locale_structure): Likewise.
12093 (end_locale_structure): Likewise.
12094 (start_locale_prelude): Likewise.
12095 (end_locale_prelude): Likewise.
12096 (write_locale_data): Take locale_file structure rather than an
12097 iovec.
12098 * locale/programs/locfile.h: Include "obstack.h".
12099 (struct locale_file): Change to store locale file contents instead
12100 of header.
12101 (init_locale_data): New prototype.
12102 (align_locale_data): Likewise.
12103 (add_locale_empty): Likewise.
12104 (add_locale_raw_data): Likewise.
12105 (add_locale_raw_obstack): Likewise.
12106 (add_locale_string): Likewise.
12107 (add_locale_wstring): Likewise.
12108 (add_locale_uint32): Likewise.
12109 (add_locale_uint32_array): Likewise.
12110 (add_locale_char): Likewise.
12111 (start_locale_structure): Likewise.
12112 (end_locale_structure): Likewise.
12113 (start_locale_prelude): Likewise.
12114 (end_locale_prelude): Likewise.
12115 (write_locale_data): Update prototype.
12116 * locale/programs/3level.h (struct TABLE): Remove result field.
12117 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12118 Use new locale_file interface.
12119 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12120 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12121 * locale/programs/ld-address.c (address_output): Use new
12122 locale_file interface.
12123 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12124 NO_ADD_LOCALE.
12125 (collate_finish): Don't call collseq_table_finalize.
12126 (collate_output): Use new locale_file interface.
12127 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12128 in file.
12129 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12130 (TABLE): Move defines earlier in file.
12131 (ELEMENT): Likewise.
12132 (DEFAULT): Likewise.
12133 (wctrans_table_add): Move macro and inline function earlier in
12134 file.
12135 (struct wctype_table): Move type earlier in file.
12136 (add_locale_wctype_table): New static prototype.
12137 (struct locale_ctype_t): Use logical types instead of struct iovec
12138 pointers for members.
12139 (ctype_output): Use new locale_file interface.
12140 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12141 new locale_file interface.
12142 (allocate_arrays): Update for use of new locale_file interface.
12143 * locale/programs/ld-identification.c (identification_output): Use
12144 new locale_file interface.
12145 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12146 * locale/programs/ld-messages.c (messages_output): Likewise.
12147 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12148 * locale/programs/ld-name.c (name_output): Likewise.
12149 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12150 * locale/programs/ld-paper.c (paper_output): Likewise.
12151 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12152 * locale/programs/ld-time.c (time_output): Likewise.
12153
e029e2e5
AZ
121542013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12155
12156 * benchtests/Makefile: Add memrchr benchmark.
12157 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12158 benchmark as memrchr.
12159 * benchtests/bench-memrchr-ifunc.c: New file.
12160 * benchtests/bench-memrchr.c: New file.
12161
bbf6e8e4
WN
121622013-09-06 Will Newton <will.newton@linaro.org>
12163
12164 * benchtests/Makefile (string-bench): Add memcpy.
12165
6c82a2f8
CD
121662013-09-05 Carlos O'Donell <carlos@redhat.com>
12167 Cong Wang <amwang@redhat.com>
12168
e732c5f0 12169 [BZ #15850]
6c82a2f8
CD
12170 * sysdeps/unix/sysv/linux/bits/in.h
12171 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12172 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12173 before __USE_KERNEL_IPV6_DEFS uses.
12174 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12175 IPPROTO_BEETPH.
12176 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12177 sockaddr_in6, or ipv6_mreq.
12178
5430fc65
AZ
121792013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12180
12181 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12182 memory access for final bytes in some large inputs.
12183 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12184
4660856c
AZ
121852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12186
12187 * string/test-memrchr.c: New file.
12188 * string/test-memrchr-ifunc.c: New file.
12189 * string/Makefile: Add new memrchr testcase.
12190
bb8ea713
MF
121912013-09-05 Mike Frysinger <vapier@gentoo.org>
12192
12193 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12194 fanotify_init returns EPERM.
12195
b92a20b5
JM
121962013-09-04 Joseph Myers <joseph@codesourcery.com>
12197
12198 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12199 errors.
12200 (top level): Treat second token from macro or constant entries for
12201 allowed headers as allowed.
12202 * include/complex.h: Condition internal declarations on
12203 [!_ISOMAC].
12204 * include/fenv.h: Condition include of <stdbool.h> and internal
12205 declarations on [!_ISOMAC].
7447ccd9
CL
12206
122072013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12208
3e181dda 12209 [BZ #15923]
7447ccd9
CL
12210 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12211
3f2e46a4
JM
122122013-09-04 Joseph Myers <joseph@codesourcery.com>
12213
12214 * configure.in (--enable-versioning): Remove configure option.
12215 (libc_cv_asm_symver_directive): Remove configure test.
12216 (libc_cv_ld_version_script_option): Likewise.
12217 (VERSIONING): Remove variable and AC_SUBST.
12218 (DO_VERSIONING): Remove AC_DEFINE.
12219 * configure: Regenerated.
12220 * config.h.in (DO_VERSIONING): Remove macro.
12221 * Makerules [$(versioning) = yes]: Change conditionals to
12222 [$(build-shared) = yes].
12223 * config.make.in (versioning): Remove variable.
12224 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12225 [$(build-shared) = yes].
12226 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12227 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12228 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12229 [$(build-shared) = yes].
12230 * extra-lib.mk [$(versioning) = yes]: Likewise.
12231 * hurd/Makefile [$(versioning) = yes]: Likewise.
12232 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12233 [SHARED].
12234 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12235 [SHARED].
12236 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12237 [SHARED && !NO_HIDDEN].
12238 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12239 [SHARED].
12240 [SHARED && DO_VERSIONING]: Likewise..
12241 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12242 [$(build-shared) = yes].
12243 * manual/install.texi (--disable-versioning): Remove
12244 documentation.
12245 * INSTALL: Regenerated.
12246 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12247 to [SHARED].
12248 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12249 [$(build-shared) = yes].
12250 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12251 * sysdeps/i386/i686/multiarch/strstr-c.c
12252 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12253 [SHARED && !NO_HIDDEN].
12254 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12255 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12256 * sysdeps/powerpc/powerpc32/dl-machine.c
12257 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12258 * sysdeps/powerpc/powerpc32/sysdep.h
12259 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12260 to [SHARED && PIC && !NO_HIDDEN].
12261 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12262 conditional to [SHARED].
12263
44558701
WN
122642013-09-04 Will Newton <will.newton@linaro.org>
12265
12266 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12267 * benchtests/bench-string.h: Include bench-timing.h instead
12268 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12269 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12270 call to HP_TIMING_DIFF_INIT.
12271 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12272 instead of hp-timing.h macros.
12273 * benchtests/bench-memchr.c: Likewise.
12274 * benchtests/bench-memcmp.c: Likewise.
12275 * benchtests/bench-memcpy.c: Likewise.
12276 * benchtests/bench-memmem.c: Likewise.
12277 * benchtests/bench-memmove.c: Likewise.
12278 * benchtests/bench-memset.c: Likewise.
12279 * benchtests/bench-rawmemchr.c: Likewise.
12280 * benchtests/bench-strcasecmp.c: Likewise.
12281 * benchtests/bench-strcasestr.c: Likewise.
12282 * benchtests/bench-strcat.c: Likewise.
12283 * benchtests/bench-strchr.c: Likewise.
12284 * benchtests/bench-strcmp.c: Likewise.
12285 * benchtests/bench-strcpy.c: Likewise.
12286 * benchtests/bench-strcpy_chk.c: Likewise.
12287 * benchtests/bench-strlen.c: Likewise.
12288 * benchtests/bench-strncasecmp.c: Likewise.
12289 * benchtests/bench-strncat.c: Likewise.
12290 * benchtests/bench-strncmp.c: Likewise.
12291 * benchtests/bench-strncpy.c: Likewise.
12292 * benchtests/bench-strnlen.c: Likewise.
12293 * benchtests/bench-strpbrk.c: Likewise.
12294 * benchtests/bench-strrchr.c: Likewise.
12295 * benchtests/bench-strspn.c: Likewise.
12296 * benchtests/bench-strstr.c: Likewise.
12297
cae16d66
WN
122982013-09-04 Will Newton <will.newton@linaro.org>
12299
12300 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12301
ffa3cd7f
JM
123022013-09-03 Joseph Myers <joseph@codesourcery.com>
12303
12304 [BZ #15427]
12305 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12306 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12307 * math/libm-test.inc (lgamma_test_data): Add more tests.
12308 * sysdeps/i386/fpu/libm-test-ulps: Update.
12309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12310
8f02859f
OB
123112013-09-03 Ondřej Bílka <neleai@seznam.cz>
12312
12313 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12315 Add ifunc.
12316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12317 Add strcmp-sse2-unaligned
12318 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12319
18d43716
MF
123202013-09-02 Mike Frysinger <vapier@gentoo.org>
12321
12322 * Versions.def (libc): Add GLIBC_2.19.
12323
ac444012
MF
123242013-09-02 Mike Frysinger <vapier@gentoo.org>
12325
12326 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12327 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12328
b7835e32
JM
123292013-09-02 Joseph Myers <joseph@codesourcery.com>
12330
12331 [BZ #14155]
12332 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12333 intermediate calculations in recurrence.
12334 (__ieee754_ynf): Likewise.
12335 * math/libm-test.inc (jn_test_data): Do not allow spurious
12336 underflow exception. Add more tests.
12337 (yn_test_data): Add more tests.
12338 * sysdeps/i386/fpu/libm-test-ulps: Update.
12339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12340
8220f4f0
OB
123412013-09-02 Ondřej Bílka <neleai@seznam.cz>
12342
12343 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12344
f24a6d08
OB
123452013-08-30 Ondřej Bílka <neleai@seznam.cz>
12346
12347 * csu/init-first.c: Fix then/than typos.
12348 * locale/programs/ld-collate.c: Likewise.
12349 * locale/programs/linereader.h: Likewise.
12350 * manual/charset.texi: Likewise.
12351 * manual/filesys.texi: Likewise.
12352 * manual/stdio.texi: Likewise.
12353 * manual/string.texi: Likewise.
12354 * stdlib/fmtmsg.c: Likewise.
12355 * sysdeps/i386/stpncpy.S: Likewise.
12356 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12357 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12358 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12359 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12360
382466e0
OB
123612013-08-30 Ondřej Bílka <neleai@seznam.cz>
12362
12363 * elf/dl-open.c: Fix typos.
12364 * iconvdata/gbbig5.c: Likewise.
12365 * iconvdata/iso-2022-jp.c: Likewise.
12366 * iconv/gconv_int.h: Likewise.
12367 * iconv/loop.c: Likewise.
12368 * nis/rpcsvc/nis.h: Likewise.
12369 * resolv/ns_name.c: Likewise.
12370 * stdio-common/vfscanf.c: Likewise.
12371 * streams/stropts.h: Likewise.
12372 * sunrpc/rpc_thread.c: Likewise.
12373 * sysdeps/i386/strpbrk.S: Likewise.
12374 * sysdeps/ieee754/k_standard.c: Likewise.
12375 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12377 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12378 * sysdeps/mach/hurd/profil.c: Likewise.
12379 * sysdeps/s390/dl-procinfo.h: Likewise.
12380 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12381 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12382 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12383 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12384 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12385
0186c6e9
OB
123862013-08-30 Ondřej Bílka <neleai@seznam.cz>
12387
12388 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12390
d4e16af1
OB
123912013-08-29 Ondřej Bílka <neleai@seznam.cz>
12392
12393 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12394 aix specific files.
12395 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12396 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12397 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12398 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12399 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12400 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12401 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12402 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12403
88335980
TS
124042013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12405 Roland McGrath <roland@hack.frob.com>
12406
12407 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12408 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12409
ed479b02
ST
124102013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12411
12412 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12413 __executable_start symbol instead of _start.
12414
f1cc4c86
TS
124152013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12416
d821f07c
TS
12417 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12418 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12419 Move macros to...
12420 * sysdeps/gnu/ldsodefs.h: ... this new file.
12421
c54290cf
TS
12422 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12423 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12424 instead of ELFOSABI_LINUX.
12425
0007fc9b 12426 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12427 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12428 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12429 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12430 Likewise.
12431 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12432 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12433 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12434 Likewise.
12435 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12436 (ibm_extended_long_double): Add ieee_nan member.
12437 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12438 (do_test): New function.
12439
f1cc4c86
TS
12440 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12441 TEST_TRUNC.
12442 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12443 functions, renamed from truncdfsf_test, trunctfsf_test,
12444 trunctfdf_test.
12445 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12446 functions.
12447 (do_test): Run all these.
12448
6f65e668
OB
124492013-08-29 Ondřej Bílka <neleai@seznam.cz>
12450
12451 * argp/argp-help.c: Fix typos.
12452 * argp/argp-parse.c: Likewise.
12453 * debug/backtracesyms.c: Likewise.
12454 * elf/elf.h: Likewise.
12455 * malloc/malloc.c: Likewise.
12456 * nis/nis_print.c: Likewise.
12457 * resolv/res_comp.c: Likewise.
12458 * stdlib/stdlib.h: Likewise.
12459 * sunrpc/clnt_tcp.c: Likewise.
12460 * sunrpc/clnt_udp.c: Likewise.
12461 * sunrpc/clnt_unix.c: Likewise.
12462 * sysdeps/unix/bsd/ptsname.c: Likewise.
12463 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12464 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12466 Likewise.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12468 Likewise.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12470 Likewise.
6f65e668
OB
12471 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12472
3a309239
SP
124732013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12474
12475 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12477
3b813b29
MF
124782013-08-27 Mike Frysinger <vapier@gentoo.org>
12479
12480 [BZ #15897]
12481 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12482 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12483 ($(objpfx)bug-dl-leaf): New rule.
12484 ($(objpfx)bug-dl-leaf.so): Likewise.
12485 ($(objpfx)bug-dl-leaf.out): Likewise.
12486 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12487 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12488 * dlfcn/bug-dl-leaf.c: New test.
12489 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12490 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12491 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12492 (dlclose): Likewise.
12493 (dlmopen): Likewise.
12494
8cc3269f
RM
124952013-08-27 Roland McGrath <roland@hack.frob.com>
12496
7f9d0034
RM
12497 * include/netdb.h [!_ISOMAC]:
12498 Don't include <tls.h>.
12499 (h_errno, __libc_h_errno): Move declaration and macros out of
12500 [_LIBC_REENTRANT].
12501
fb431262
RM
12502 * include/resolv.h [_RESOLV_H_]:
12503 Don't include <tls.h>.
12504 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12505 * resolv/res_libc.c: Don't include <tls.h>.
12506 (_res): Use __attribute__ ((nocommon)) in place of
12507 __attribute__ ((section (".bss"))).
12508
bd81123a
RM
12509 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12510 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12511
c4e42566
RM
12512 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12513
f890a59b
RM
12514 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12515 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12516
12517 * resolv/res_mkquery.c: Include <sys/time.h>.
12518
5d1f0a09
RM
12519 * inet/ifreq.c: Moved to ...
12520 * sysdeps/unix/ifreq.c: ... here.
12521 * inet/ifreq.c: New file, true stub version.
12522
6fcf28b3
RM
12523 * socket/sa_len.c: New file.
12524 * socket/Makefile (aux): Add it.
12525 * sysdeps/unix/sysv/linux/Makefile
12526 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12527 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12528 and #include <socket/sa_len.c>.
12529 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12530 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12531
e041fb8b
RM
12532 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12533 * bits/socket.h: ... here.
12534
8cc3269f
RM
12535 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12536 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12537 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12538
5d228a43
AS
125392013-08-27 Andreas Schwab <schwab@suse.de>
12540
45b8accc
AS
12541 [BZ #15736]
12542 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12543 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12544 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12545 * string/test-strcasecmp.c (test_main): Run tests in several
12546 locales.
12547 * string/test-strncasecmp.c (test_main): Likewise.
12548
5d228a43
AS
12549 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12550 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12551 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12553 (__strncasecmp_ssse3) [PIC]: Likewise.
12554
59d112a4
RM
125552013-08-26 Roland McGrath <roland@hack.frob.com>
12556
53234cc3
RM
12557 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12558
59d112a4
RM
12559 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12560 instead of explicitly declaring xdecrypt.
12561 * nis/nss_nis/nis-publickey.c: Likewise.
12562
595aba70
SP
125632013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12564
12565 [BZ #15890]
12566 * nscd/aicache.c: Include res_hconf.h.
12567 (addhstaiX): Initialize res_hconf.
12568
ffabd393
AS
125692013-08-26 Andreas Schwab <schwab@suse.de>
12570
12571 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12572 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12573
e0a69f5c
SP
125742013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12575
12576 * nscd/aicache.c (addhstaiX): Fix indentation.
12577
8c12f01d
MF
125782013-08-25 Mike Frysinger <vapier@gentoo.org>
12579
12580 * configure.ac: Quote $build_pt_chown test.
12581 * configure: Regenerated.
12582
8fe89494
JM
125832013-08-23 Joseph Myers <joseph@codesourcery.com>
12584
12585 [BZ #15532]
12586 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12587 * math/s_cexpf.c (__cexpf): Likewise.
12588 * math/s_cexpl.c (__cexpl): Likewise.
12589 * math/libm-test.inc (cexp_test_data): Correct expected return
12590 value for NaN + i0. Add another test.
12591
75b181d6
DM
125922013-08-22 David S. Miller <davem@davemloft.net>
12593
12594 * po/ca.po: Update Catalan translation from translation project.
936241e4 12595 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12596
acd06bb1
JM
125972013-08-21 Joseph Myers <joseph@codesourcery.com>
12598
12599 [BZ #15797]
12600 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12601 is infinite, not alongside NaN test.
12602 * math/s_fdimf.c (__fdimf): Likewise.
12603 * math/s_fdiml.c (__fdiml): Likewise.
12604 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12605 errno is unchanged.
12606
c0c3f78a
OB
126072013-08-21 Ondřej Bílka <neleai@seznam.cz>
12608
12609 * argp/argp-help.c: Fix typos.
12610 * crypt/speeds.c: Likewise.
12611 * csu/check_fds.c: Likewise.
12612 * elf/dl-load.c: Likewise.
12613 * elf/dl-open.c: Likewise.
12614 * elf/reldep3.c: Likewise.
12615 * elf/reldep.c: Likewise.
12616 * elf/sprof.c: Likewise.
12617 * iconv/iconv_charmap.c: Likewise.
12618 * iconv/skeleton.c: Likewise.
12619 * iconv/strtab.c: Likewise.
12620 * io/lockf64.c: Likewise.
12621 * libio/libioP.h: Likewise.
12622 * resolv/gai_notify.c: Likewise.
12623 * resolv/ns_name.c: Likewise.
12624 * resolv/ns_samedomain.c: Likewise.
12625 * resolv/res_send.c: Likewise.
12626 * stdlib/random.c: Likewise.
12627 * sunrpc/rpc/xdr.h: Likewise.
12628 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12629 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12630 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12631 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12633 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12635 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12636 * sysdeps/mach/hurd/check_fds.c: Likewise.
12637 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12638 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12640 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12641 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12642 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12643 * sysdeps/pthread/aio_notify.c: Likewise.
12644 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12645 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12646 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12647 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12648 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12649
46ed1038
LD
126502013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12651
12652 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12653 version if bit_Slow_SSE4_2 is set.
12654 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12655 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12656
d400dcac
AZ
126572013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12658
12659 [BZ #15867]
12660 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12661 trampoline stack frame information.
12662 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12663 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12664 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12665 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12666 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12667 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12668 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12669 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12670 sa_flags value.
12671 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12672 interrupting a syscall and set with option SA_SIGINFO.
12673
42c8fdd8
JM
126742013-08-20 Joseph Myers <joseph@codesourcery.com>
12675
c980f2f4
JM
12676 [BZ #15531]
12677 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12678 argument is infinite.
12679 * math/s_cprojf.c (__cprojf): Likewise.
12680 * math/s_cprojl.c (__cprojl): Likewise.
12681 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12682 * math/libm-test.inc (cproj_test_data): Add more tests.
12683
0716c4fc
JM
12684 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12685
42c8fdd8
JM
12686 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12687 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12688 size. Use __ffs to determine corresponding shift.
12689
b31469d0
JM
126902013-08-20 Joseph Myers <joseph@codesourcery.com>
12691 Roland McGrath <roland@hack.frob.com>
12692
12693 * Makefile (INSTALL): Remove trailing blank lines from output of
12694 makeinfo.
12695
4e39af6e
AK
126962013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12697
12698 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12699 Align 32 bit compat elf_greg to 8 bytes.
12700
f315524e
AA
127012013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12702
12703 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12704
1326ba1a
SP
127052013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12706
12707 * string/strcoll_l.c (coll_seq): New structure.
12708 (get_next_seq_cached): New function.
12709 (get_next_seq): New function.
12710 (do_compare): New function.
12711 (STRCOLL): Use GNU style definition. Simplify implementation
12712 by using get_next_seq, get_next_seq_cached and do_compare.
12713
91ce4085
FW
127142013-08-16 Florian Weimer <fweimer@redhat.com>
12715
12716 [BZ #14699]
12717 CVE-2013-4237
12718 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12719 member.
12720 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12721 member.
12722 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12723 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12724 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12725 conditional.
12726 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12727 GETDENTS_64BIT_ALIGNED.
12728 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12729 * manual/filesys.texi (Reading/Closing Directory): Document
12730 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12731 strongly.
12732 * manual/conf.texi (Limits for Files): Add portability note to
12733 NAME_MAX, PATH_MAX.
12734 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12735
ca0a6bc4
AS
127362013-08-13 Andreas Schwab <schwab@suse.de>
12737
12738 [BZ #15749]
12739 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12740 of fabs.
12741 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12742 LDBL_MAX_EXP >= 16384]: Add tests for it.
12743
6c1fd795
DM
127442013-08-12 David S. Miller <davem@davemloft.net>
12745
12746 * version.h (RELEASE): Set to "development".
12747 (VERSION): Set to "2.18.90".
12748 * NEWS: Add 2.19 section.
12749
31ad488d
DM
127502013-08-03 David S. Miller <davem@davemloft.net>
12751
12752 * po/ko.po: Update Korean translation from translation project.
12753
db24e684
DM
127542013-08-01 David S. Miller <davem@davemloft.net>
12755
12756 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12757 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12758 Bilka.
12759
f723285b
DM
127602013-07-30 David S. Miller <davem@davemloft.net>
12761
12762 * po/fr.po: Update French translation from translation project.
12763
3cbc52db
DM
127642013-07-28 David S. Miller <davem@davemloft.net>
12765
30bbc0cc
DM
12766 * po/cs.po: Update Czech translation from translation project.
12767
3cbc52db
DM
12768 * po/sv.po: Update Swedish translation from translation project.
12769
d492e6d0
DM
127702013-07-27 David S. Miller <davem@davemloft.net>
12771
f1a7f492
DM
12772 * po/eo.po: Update Esperanto translation from translation project.
12773
90e62a4a
DM
12774 * po/vi.po: Update Vietnamese translation from translation project.
12775
d492e6d0
DM
12776 * po/de.po: Update German translation from translation project.
12777
d4baa62d
DM
127782013-07-26 David S. Miller <davem@davemloft.net>
12779
641aa7b4
DM
12780 * po/bg.po: Update Bulgarian translation from translation project.
12781
d4baa62d
DM
12782 * po/nl.po: Update Dutch translation from translation project.
12783 * po/pl.po: Update Polish translation from translation project.
12784 * po/ru.po: Update Russian translation from translation project.
12785
61a9dcb9
DM
127862013-07-24 David S. Miller <davem@davemloft.net>
12787
12788 * po/libc.pot: Update.
12789
7b1f8b58
AZ
127902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12791
12792 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12793 variable page size.
12794 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12795 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12796 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12797
a8fc7a03
AK
127982013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12799
12800 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12801
e4608715
CD
128022013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12803 Andreas Schwab <schwab@suse.de>
12804 Roland McGrath <roland@hack.frob.com>
12805 Joseph Myers <joseph@codesourcery.com>
12806 Carlos O'Donell <carlos@redhat.com>
12807
12808 [BZ #15755]
12809 * config.h.in: Define HAVE_PT_CHOWN.
12810 * config.make.in (build-pt-chown): New variable.
12811 * configure.in (--enable-pt_chown): New configure option.
12812 * configure: Regenerate.
12813 * login/Makefile: Include Makeconfig. Build pt_chown only if
12814 build-pt-chown is enabled.
12815 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12816 pt_chown to fix pty ownership.
12817 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12818 CLOSE_ALL_FDS.
12819 * manual/install.texi (Configuring and compiling): Mention
12820 --enable-pt_chown. Add @findex for grantpt.
12821 * INSTALL: Regenerate.
12822
da2d62df
DM
128232013-07-20 David S. Miller <davem@davemloft.net>
12824
12825 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12826 difference between 32-bit and 64-bit.
12827
d7e06450
CD
128282013-07-15 Carlos O'Donell <carlos@redhat.com>
12829
12830 [BZ #15711]
12831 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12832 Avoid system header dependency with -ffreestanding.
12833 ($(objpfx)bits/syscall%d): Likewise.
12834
f959cfd7
DM
128352013-07-13 David S. Miller <davem@davemloft.net>
12836
12837 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12838 underflows from atanl/atan2l due to bug 15319.
12839 (casinh_test_data): Likewise.
12840
c61f8513
DM
128412013-07-07 David S. Miller <davem@davemloft.net>
12842
12843 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12844
72c90ed0
JA
128452013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12846
12847 * sysdeps/i386/fpu/libm-test-ulps: Update.
12848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12849
52dfbe13
SP
128502013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12851
12852 * configure.in (--enable-lock-elision): Fix message text.
12853 * INSTALL: Regenerate.
12854 * configure: Regenerate.
12855
3f169543
AZ
128562013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12857
12858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12859
521c6785
AJ
128602013-07-03 Andreas Jaeger <aj@suse.de>
12861
12862 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12863 define.
12864 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12865 (ptrace_peeksiginfo_args): Add.
12866 (__ptrace_peeksiginfo_flags): Add.
12867 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12868 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12869 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12870
d2cc15cb
AM
128712013-07-03 Allan McRae <allan@archlinux.org>
12872
12873 * sysdeps/i386/fpu/libm-test-ulps: Update.
12874
3aaeeca7
DM
128752013-07-02 David S. Miller <davem@davemloft.net>
12876
12877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12878
5314ed1a
MT
128792013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12880
12881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12882
67338156
JM
128832013-07-02 Joseph Myers <joseph@codesourcery.com>
12884
12885 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12887
1717da59
AK
128882013-07-02 Andi Kleen <ak@linux.intel.com>
12889
12890 * config.h.in (ENABLE_LOCK_ELISION): Add.
12891 * configure.in (--enable-lock-elision): Add option.
12892 * manual/install.texi: Document --enable lock elision.
12893 * configure: Regenerate
12894 * INSTALL: Regenerate.
12895
1c81621c
L
128962013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12897
12898 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12899 SSE4.2 strcasecmp for libc.a.
12900 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12901
77f01ab5
JM
129022013-07-02 Joseph Myers <joseph@codesourcery.com>
12903
12904 [BZ #13304]
12905 * soft-fp/op-common.h (_FP_FMA): New macro.
12906 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12907 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12908 (_FP_MUL_MEAT_1_imm): ... here.
12909 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12910 (_FP_MUL_MEAT_1_wide): ... here.
12911 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12912 (_FP_MUL_MEAT_1_hard): ... here.
12913 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12914 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12915 (_FP_MUL_MEAT_2_wide): ... here.
12916 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12917 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12918 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12919 (_FP_MUL_MEAT_2_gmp): ... here.
12920 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12921 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12922 (_FP_MUL_MEAT_4_wide): ... here.
12923 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12924 (_FP_MUL_MEAT_4_gmp): ... here.
12925 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12926 (_FP_WFRACBITS_DW_S): Likewise.
12927 (_FP_WFRACXBITS_DW_S): Likewise.
12928 (_FP_HIGHBIT_DW_S): Likewise.
12929 (FP_FMA_S): Likewise.
12930 (_FP_FRAC_HIGH_DW_S): Likewise.
12931 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12932 (_FP_WFRACBITS_DW_D): Likewise.
12933 (_FP_WFRACXBITS_DW_D): Likewise.
12934 (_FP_HIGHBIT_DW_D): Likewise.
12935 (FP_FMA_D): Likewise.
12936 (_FP_FRAC_HIGH_DW_D): Likewise.
12937 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12938 (_FP_WFRACBITS_DW_E): Likewise.
12939 (_FP_WFRACXBITS_DW_E): Likewise.
12940 (_FP_HIGHBIT_DW_E): Likewise.
12941 (FP_FMA_E): Likewise.
12942 (_FP_FRAC_HIGH_DW_E): Likewise.
12943 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12944 (_FP_WFRACBITS_DW_Q): Likewise.
12945 (_FP_WFRACXBITS_DW_Q): Likewise.
12946 (_FP_HIGHBIT_DW_Q): Likewise.
12947 (FP_FMA_Q): Likewise.
12948 (_FP_FRAC_HIGH_DW_Q): Likewise.
12949 * soft-fp/fmasf4.c: New file.
12950 * soft-fp/fmadf4.c: Likewise.
12951 * soft-fp/fmatf4.c: Likewise.
12952
6308fd9a
LD
129532013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12954
12955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12956 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12957 Silvermont.
12958 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12959 macro.
12960 (index_Slow_SSE4_2): Likewise.
12961 (index_Prefer_PMINUB_for_stringop): Likewise.
12962 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12963 bit_Slow_SSE4_2 is set.
12964 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12965 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12966
89cd9569
RA
129672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12968
12969 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12970 rtld_global._dl_hwcap2.
12971 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12972 POWER8.
12973 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12974 POWER8 feature descriptions defined in _dl_hwcap2.
12975 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12976 string handling for POWER8 feature bits.
12977 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12978 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12979 _dl_powerpc_cap_flags.
12980 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12981 * sysdeps/powerpc/rtld-global-offsets.sym
12982 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12983 _dl_hwcap2 in the rtld_global_ro structure.
12984
1ae8bfe0
RA
129852013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12986
12987 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12988 hardware capabilities in support of AT_HWCAP2.
12989 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12990 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12991 GLRO(dl_hwcap2).
12992 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12993 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12994 explicitly the unknown a_type display mechanism is used.
12995 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12996 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12997 struct member.
12998 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12999 to macro prototype for AT_HWCAP2 support.
13000 * sysdeps/i386/dl-procinfo.h: Likewise.
13001 * sysdeps/s390/dl-procinfo.h: Likewise.
13002 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13003 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13004 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13005 return -1 for unknown a_type display fallback.
13006 * sysdeps/sparc/dl-procinfo.h: Likewise.
13007 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13008 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13009
8fbec010
JM
130102013-06-28 Joseph Myers <joseph@codesourcery.com>
13011
13012 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13013 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13014
0432680e
PY
130152013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13016
13017 [BZ #12492]
13018 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13019 mprotect making __stack_prot writable.
13020
ce61a2ad
NF
130212013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13022 Joseph Myers <joseph@codesourcery.com>
13023
13024 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13025 as being properly aligned.
13026
f91f1c0f
MR
130272013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13028
3d0f5d0c
MR
13029 * dlfcn/modstatic5.c: New file.
13030 * dlfcn/tststatic5.c: New file.
13031 * dlfcn/Makefile (tests): Add tststatic5.
13032 (tests-static): Likewise.
13033 (modules-names): Add modstatic5.
13034 (tststatic5-ENV): New variable.
13035 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13036
f91f1c0f
MR
13037 [BZ #15022]
13038 * elf/dl-support.c (_dl_main_map): New variable.
13039 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13040 (_dl_nns, _dl_load_adds): Set to 1.
13041 (_dl_initial_searchlist): Refer to _dl_main_map.
13042 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13043 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13044 call to _dl_get_origin.
13045 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13046 around call_map.
13047 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13048 * dlfcn/modstatic3.c: New file.
13049 * dlfcn/tststatic3.c: New file.
13050 * dlfcn/tststatic4.c: New file.
13051 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13052 (tests-static): Likewise.
13053 (modules-names): Add modstatic3.
13054 (tststatic3-ENV, tststatic4-ENV): New variables.
13055 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13056 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13057
cbe7d24b
JM
130582013-06-26 Joseph Myers <joseph@codesourcery.com>
13059
13060 * configure.in (CC): Require GCC version 4.4 or later.
13061 * configure: Regenerated.
13062 * manual/install.texi (Tools for Compilation): Update GCC version
13063 requirement.
13064 * INSTALL: Regenerated.
13065
11b8a0e1
LD
130662013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13067
13068 [BZ #15674]
bb5bb87c
L
13069 * string/test-memcmp.c (check2): New.
13070 (main): Call check2.
13071
11b8a0e1
LD
13072 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13073
b0037103
MR
130742013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13075
13076 [BZ #15022]
13077 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13078 over to...
13079 (dl_open_worker) [!SHARED]: ... here.
13080
c18c701d
RA
130812013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13082
13083 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13084
1d17fa5f
RH
130852013-06-25 Richard Henderson <rth@redhat.com>
13086
13087 * locale/programs/locarchive.c: Include <libc-internal.h>
13088
8fcb833a
JM
130892013-06-25 Joseph Myers <joseph@codesourcery.com>
13090
13091 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13092 trailing whitespace removed.
13093
17db6e8d
MF
130942013-06-24 Mike Frysinger <vapier@gentoo.org>
13095
13096 [BZ #10283]
17db6e8d
MF
13097 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13098 * locale/programs/locarchive.c: Include libc-mmap.h.
13099 (prepare_address_space): Take two new outputs (the mmap base and len).
13100 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13101 values.
13102 (create_archive): Declare new mmap base and len values for
13103 prepare_address_space, and store the result in ah.
13104 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13105 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13106 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13107 Declare new mmap base and len values for
13108 prepare_address_space, and store the result in new_ah.
13109 (open_archive): Declare new mmap base and len values for
13110 prepare_address_space, and store the result in ah.
13111 (close_archive): If ah->mmap_base is not NULL, use that and
13112 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13113 * sysdeps/generic/libc-mmap.h: New file.
13114
d605071e
MF
131152013-06-24 Mike Frysinger <vapier@gentoo.org>
13116
13117 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13118 (ALIGN_UP): Likewise.
13119 (PTR_ALIGN_DOWN): Likewise.
13120 (PTR_ALIGN_UP): Likewise.
13121
2f063a6e
RA
131222013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13123
13124 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13125 entry mapped to PPC_PLATFORM_POWER8.
13126 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13127 POWER8.
13128 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13129 (_dl_string_platform): Add case for exporting platform position for
13130 POWER8.
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13132 search path to sysdeps/powerpc/powerpc32/power8 directory.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13134 search path to sysdeps/powerpc/powerpc64/power8 directory.
13135 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13136 power7 directories.
13137 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13138 power7 directories.
13139
a31ee4b3
SP
131402013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13141
a74ca98f
SP
13142 * INSTALL: Regenerate.
13143
a31ee4b3
SP
13144 * nscd/connections.c (nscd_init): Fix comment.
13145
695c378f
JM
131462013-06-22 Joseph Myers <joseph@codesourcery.com>
13147
d8412221
JM
13148 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13149
695c378f
JM
13150 [BZ #15667]
13151 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13152 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13153
d1d54715
MR
131542013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13155
13156 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13157 DL_DST_REQ_STATIC.
13158 (DL_DST_REQ_STATIC): Remove macro.
13159
8fdda7af
JM
131602013-06-21 Joseph Myers <joseph@codesourcery.com>
13161
13162 [BZ #7006]
13163 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13164 with a shift of 0 bits.
13165
f3bc5e5a
MR
131662013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13167
13168 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13169 $(tststatic-ENV).
13170
be09e8c9
KK
131712013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13172
13173 [BZ #15655]
13174 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13175
85c2e611
AZ
131762013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13177
13178 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13179 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13180 accepts -fno-tree-loop-distribute-patterns.
13181 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13182 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13183 recursive call.
13184 * string/memset.c (memset): Likewise.
13185 * string/test-memmove.c (simple_memmove): Disable loop transformation
13186 to library calls.
13187 * string/test-memset.c (simple_memset): Likewise.
13188 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13189 * benchtests/bench-memset.c (simple_memset): Likewise.
13190 * configure: Regenerated.
13191
c91e0825
JM
131922013-06-20 Joseph Myers <joseph@codesourcery.com>
13193
b8c792af
JM
13194 * math/test-misc.c (main): Ignore fesetround failure when failures
13195 of subsequent rounding tests would be ignored.
13196
c91e0825
JM
13197 [BZ #15654]
13198 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13199 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13200 * math/fegetenv.c (__fegetenv): Return 0.
13201 * math/fegetexcept.c (fegetexcept): Return 0.
13202 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13203 FE_TONEAREST.
13204 * math/feholdexcpt.c (feholdexcept): Return 0.
13205 * math/fesetenv.c (__fesetenv): Return 0.
13206 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13207 argument FE_TONEAREST.
13208 * math/feupdateenv.c (__feupdateenv): Return 0.
13209 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13210
bfcacbde
RM
132112013-06-18 Roland McGrath <roland@hack.frob.com>
13212
13213 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13214 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13215 ($(objpfx)rtld-%.os rules): Use them.
13216
e55a9b25
AZ
132172013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13218
13219 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13220 fields.
13221
346d65b3
RM
132222013-06-17 Roland McGrath <roland@hack.frob.com>
13223
12086fb4
RM
13224 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13225 length of target pattern, then descending length of dependency pattern.
13226 * configure.in (AWK): Require gawk 3.1.2 or newer.
13227 * manual/install.texi (Tools for Compilation): Say that we do.
13228 * configure: Regenerated.
13229
346d65b3
RM
13230 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13231 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13232 * scripts/sysd-rules.awk: ... this new script.
13233 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13234 than a glob-style pattern.
13235
1a846317
JM
132362013-06-17 Joseph Myers <joseph@codesourcery.com>
13237
13238 * math/test-misc.c (main): Do not treat incorrectly rounded
13239 conversions as failure unless ROUNDING_TESTS passes.
13240
8fc75e6f
JM
132412013-06-15 Joseph Myers <joseph@codesourcery.com>
13242
3711a167
JM
13243 [BZ #15631]
13244 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13245 restore exception state around main square root computation, then
13246 check for inexactness explicitly.
13247
8fc75e6f
JM
13248 * math/libm-test.inc (fma_test_data): Add another test.
13249
61dd6208
SP
132502013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13251
adf23d2c
SP
13252 * manual/threads.texi (Non-POSIX Extensions): New document
13253 node. Document pthread_getattr_default_np and
13254 pthread_setattr_default_np.
13255
61dd6208
SP
13256 * Versions.def (libpthread): Add GLIBC_2.18.
13257 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13259 Likewise.
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13261 Likewise.
13262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13263 Likewise.
13264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13265 Likewise.
13266 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13267 Likewise.
13268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13269 Likewise.
13270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13271 Likewise.
13272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13273 Likewise.
13274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13275 Likewise.
13276
d086fc7b
LD
132772013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13278
13279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13280 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13281
747ef469
SP
132822013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13283 H.J. Lu <hjl.tools@gmail.com>
13284
13285 [BZ #15627]
13286 * sysdeps/x86_64/rtld-memset.c: Remove file.
13287 * sysdeps/x86_64/rtld-memset.S: New file.
13288
1b2feed2
JM
132892013-06-14 Joseph Myers <joseph@codesourcery.com>
13290
13291 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13292 (test_in_one_mode): Take arguments for whether the rounding mode
13293 is supported for each floating-point type.
13294 (do_test): Pass new arguments to test_in_one_mode using
13295 ROUNDING_TESTS.
13296
a58ad3f8
RM
132972013-06-13 Roland McGrath <roland@hack.frob.com>
13298
13299 * posix/tst-waitid.c (do_test): Distinguish different instances of
13300 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13301 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13302 before entering the kernel for waitpid.
13303
c204ab28
SP
133042013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13305
13306 * NEWS: Fix note on clock function precision. Text by Roland
13307 McGrath.
13308
f4a29fba
RM
133092013-06-13 Roland McGrath <roland@hack.frob.com>
13310
13311 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13312 it into place only when and if the sanity check passes.
13313
1f24b9ad
JM
133142013-06-13 Joseph Myers <joseph@codesourcery.com>
13315
13316 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13317 output for whether conversion result is exact. Take argument
13318 indicating whether type is IBM long double.
13319 (round_for_all): Change need_exact field to ibm_ld.
13320 * stdlib/tst-strtod-round.c (struct exactness): New type.
13321 (struct test): Change bool ld_ok field to struct exactness exact.
13322 (TEST): Update all definitions for change to field.
13323 (tests): Regenerate array contents.
13324 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13325 field value. Check for IBM long double here.
13326 (do_test): Update calls to test_in_one_mode.
13327
58206c68
SP
133282013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13329
13330 [BZ #12515]
13331 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13332 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13333
2d6f4c5b 133342013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13335
13336 [BZ #15605]
13337 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13338 generated by the compiler on loop optimizations.
13339 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13340 general definitions.
13341
94f2c076
JM
133422013-06-12 Joseph Myers <joseph@codesourcery.com>
13343
13344 * math/bug-nextafter.c: Include <math-tests.h>.
13345 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13346 the relevant type.
13347 * math/bug-nexttoward.c: Include <math-tests.h>.
13348 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13349 the relevant type.
13350 * math/test-misc.c: Include <math-tests.h>.
13351 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13352 the relevant type.
13353
e0e50a0a
AJ
133542013-06-12 Andreas Jaeger <aj@suse.de>
13355
13356 * po/ia.po: Update Interlingua translation from translation
13357 project.
13358
25061094
SP
133592013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13360
13361 * include/fenv.h: Include stdbool.h.
13362 (struct rm_ctx): New structure.
13363 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13364 Define macro.
13365 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13366 (SET_RESTORE_ROUNDF): Likewise.
13367 (SET_RESTORE_ROUNDL): Likewise.
13368 (SET_RESTORE_ROUND_NOEX): Likewise.
13369 (SET_RESTORE_ROUND_NOEXF): Likewise.
13370 (SET_RESTORE_ROUND_NOEXL): Likewise.
13371 (SET_RESTORE_ROUND_53BIT): Likewise.
13372 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13373 (libc_feresetround_noexf_ctx): Likewise.
13374 (libc_feresetround_noexl_ctx): Likewise.
13375 (libc_feholdsetround_53bit_ctx): Likewise.
13376 (libc_feresetround_53bit_ctx): Likewise.
13377 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13378 (libc_feholdexcept_setround_sse_ctx): New function.
13379 (libc_fesetenv_sse_ctx): Likewise.
13380 (libc_feupdateenv_sse_ctx): Likewise.
13381 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13382 (libc_feholdexcept_setround_387_ctx): Likewise.
13383 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13384 (libc_feholdsetround_387_prec_ctx): Likewise.
13385 (libc_feholdsetround_387_ctx): Likewise.
13386 (libc_feholdsetround_387_53bit_ctx): Likewise.
13387 (libc_feholdsetround_sse_ctx): Likewise.
13388 (libc_feresetround_sse_ctx): Likewise.
13389 (libc_feresetround_387_ctx): Likewise.
13390 (libc_feupdateenv_387_ctx): Likewise.
13391 (libc_feholdexcept_setroundf_ctx): Define macro.
13392 (libc_fesetenvf_ctx): Likewise.
13393 (libc_feupdateenvf_ctx): Likewise.
13394 (libc_feholdsetroundf_ctx): Likewise.
13395 (libc_feresetroundf_ctx): Likewise.
13396 (libc_feholdexcept_setround_ctx): Likewise.
13397 (libc_fesetenv_ctx): Likewise.
13398 (libc_feupdateenv_ctx): Likewise.
13399 (libc_feholdsetround_ctx): Likewise.
13400 (libc_feresetround_ctx): Likewise.
13401 (libc_feholdexcept_setroundl_ctx): Likewise.
13402 (libc_feupdateenvl_ctx): Likewise.
13403 (libc_feholdsetroundl_ctx): Likewise.
13404 (libc_feresetroundl_ctx): Likewise.
13405 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13406 (libc_feresetround_53bit_ctx): Likewise.
13407
59b30555
SP
134082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13409
13410 * locale/iso-639.def: Convert to UTF-8.
13411
f1d73d30
JM
134122013-06-11 Joseph Myers <joseph@codesourcery.com>
13413
13414 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13415 (EXCEPTION_TESTS_double): Likewise.
13416 (EXCEPTION_TESTS_long_double): Likewise.
13417 (EXCEPTION_TESTS): Likewise.
13418 * math/libm-test.inc (test_exceptions): Only test exceptions if
13419 EXCEPTION_TESTS (FLOAT).
13420
94aca5e7
SP
134212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13422
13423 * benchtests/Makefile (string-bench): Add strcpy_chk and
13424 stpcpy_chk.
13425 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13426 * benchtests/bench-stpcpy_chk.c: New file.
13427 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13428 * benchtests/bench-strcpy_chk.c: New file.
13429 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13430 code.
13431 (do_test): Likewise.
13432
fac0c5f2
RA
134332013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13434
13435 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13436 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13437 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13438 with tabs where appropriate.
13439 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13440 dl-procinfo.h.
13441 [PPC_PLATFORM_PPC440]: Likewise.
13442 [PPC_PLATFORM_PPC464]: Likewise.
13443 [PPC_PLATFORM_PPC476]: Likewise.
13444 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13445 ppc464, and ppc476 platform strings merging from ports/
13446 dl-procinfo.h.
13447
f22bc486
AS
134482013-06-11 Andreas Schwab <schwab@suse.de>
13449
13450 [BZ #14991]
13451 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13452 (from_ucs4_idx): Regenerate.
13453 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13454 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13455 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13456 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13457 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13458 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13459 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13460 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13461 from FROM_LOOP and TO_LOOP specific macros.
13462 (BODY): Handle combining characters.
13463 * iconvdata/BIG5HKSCS.irreversible: Update.
13464 * iconvdata/BIG5HKSCS.precomposed: New file.
13465 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13466 characters.
13467 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13468
c1f75dc3
SP
134692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13470
4eacded2
SP
13471 * include/sys/time.h: Fix indentation and add copyright header.
13472
fec799f8
SP
13473 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13474 (do_test): Likewise.
13475 * string/test-memchr.c (do_one_test): Likewise.
13476 (do_test): Likewise.
13477 * string/test-memcmp.c (do_one_test): Likewise.
13478 (do_test): Likewise.
13479 * string/test-memcpy.c (do_one_test): Likewise.
13480 (do_test): Likewise.
13481 * string/test-memmem.c (do_one_test): Likewise.
13482 (do_test): Likewise.
13483 (do_random_tests): Likewise.
13484 * string/test-memmove.c (do_one_test): Likewise.
13485 (do_test): Likewise.
13486 * string/test-memset.c (do_one_test): Likewise.
13487 (do_test): Likewise.
13488 * string/test-rawmemchr.c (do_one_test): Likewise.
13489 (do_test): Likewise.
13490 * string/test-strcasecmp.c (do_one_test): Likewise.
13491 (do_test): Likewise.
13492 * string/test-strcasestr.c (do_one_test): Likewise.
13493 (do_test): Likewise.
13494 * string/test-strcat.c (do_one_test): Likewise.
13495 (do_test): Likewise.
13496 * string/test-strchr.c (do_one_test): Likewise.
13497 (do_test): Likewise.
13498 * string/test-strcmp.c (do_one_test): Likewise.
13499 (do_test): Likewise.
13500 * string/test-strcpy.c (do_one_test): Likewise.
13501 (do_test): Likewise.
13502 * string/test-string.h: Likewise.
13503 (test_init): Likewise.
13504 * string/test-strlen.c (do_one_test): Likewise.
13505 (do_test): Likewise.
13506 * string/test-strncasecmp.c (do_one_test): Likewise.
13507 (do_test): Likewise.
13508 * string/test-strncat.c (do_one_test): Likewise.
13509 (do_test): Likewise.
13510 * string/test-strncmp.c (do_one_test): Likewise.
13511 (do_test_limit): Likewise.
13512 (do_test): Likewise.
13513 * string/test-strncpy.c (do_one_test): Likewise.
13514 (do_test): Likewise.
13515 * string/test-strnlen.c (do_one_test): Likewise.
13516 (do_test): Likewise.
13517 * string/test-strpbrk.c (do_one_test): Likewise.
13518 (do_test): Likewise.
13519 * string/test-strrchr.c (do_one_test): Likewise.
13520 (do_test): Likewise.
13521 * string/test-strspn.c (do_one_test): Likewise.
13522 (do_test): Likewise.
13523 * string/test-strstr.c (do_one_test): Likewise.
13524 (do_test): Likewise.
13525
97020474
SP
13526 * benchtests/Makefile (string-bench): Add string benchmarks.
13527 * benchtests/bench-bcopy-ifunc.c: New file.
13528 * benchtests/bench-bcopy.c: New file.
13529 * benchtests/bench-bzero-ifunc.c: New file.
13530 * benchtests/bench-bzero.c: New file.
13531 * benchtests/bench-memccpy-ifunc.c: New file.
13532 * benchtests/bench-memccpy.c: New file.
13533 * benchtests/bench-memchr-ifunc.c: New file.
13534 * benchtests/bench-memchr.c: New file.
13535 * benchtests/bench-memcmp-ifunc.c: New file.
13536 * benchtests/bench-memcmp.c: New file.
13537 * benchtests/bench-memmem-ifunc.c: New file.
13538 * benchtests/bench-memmem.c: New file.
13539 * benchtests/bench-memmove-ifunc.c: New file.
13540 * benchtests/bench-memmove.c: New file.
13541 * benchtests/bench-mempcpy-ifunc.c: New file.
13542 * benchtests/bench-mempcpy.c: New file.
13543 * benchtests/bench-memset-ifunc.c: New file.
13544 * benchtests/bench-memset.c: New file.
13545 * benchtests/bench-rawmemchr-ifunc.c: New file.
13546 * benchtests/bench-rawmemchr.c: New file.
13547 * benchtests/bench-stpcpy-ifunc.c: New file.
13548 * benchtests/bench-stpcpy.c: New file.
13549 * benchtests/bench-stpncpy-ifunc.c: New file.
13550 * benchtests/bench-stpncpy.c: New file.
13551 * benchtests/bench-strcasecmp-ifunc.c: New file.
13552 * benchtests/bench-strcasecmp.c: New file.
13553 * benchtests/bench-strcasestr-ifunc.c: New file.
13554 * benchtests/bench-strcasestr.c: New file.
13555 * benchtests/bench-strcat-ifunc.c: New file.
13556 * benchtests/bench-strcat.c: New file.
13557 * benchtests/bench-strchr-ifunc.c: New file.
13558 * benchtests/bench-strchr.c: New file.
13559 * benchtests/bench-strchrnul-ifunc.c: New file.
13560 * benchtests/bench-strchrnul.c: New file.
13561 * benchtests/bench-strcmp-ifunc.c: New file.
13562 * benchtests/bench-strcmp.c: New file.
13563 * benchtests/bench-strcpy-ifunc.c: New file.
13564 * benchtests/bench-strcpy.c: New file.
13565 * benchtests/bench-strcspn-ifunc.c: New file.
13566 * benchtests/bench-strcspn.c: New file.
13567 * benchtests/bench-strlen-ifunc.c: New file.
13568 * benchtests/bench-strlen.c: New file.
13569 * benchtests/bench-strncasecmp-ifunc.c: New file.
13570 * benchtests/bench-strncasecmp.c: New file.
13571 * benchtests/bench-strncat-ifunc.c: New file.
13572 * benchtests/bench-strncat.c: New file.
13573 * benchtests/bench-strncmp-ifunc.c: New file.
13574 * benchtests/bench-strncmp.c: New file.
13575 * benchtests/bench-strncpy-ifunc.c: New file.
13576 * benchtests/bench-strncpy.c: New file.
13577 * benchtests/bench-strnlen-ifunc.c: New file.
13578 * benchtests/bench-strnlen.c: New file.
13579 * benchtests/bench-strpbrk-ifunc.c: New file.
13580 * benchtests/bench-strpbrk.c: New file.
13581 * benchtests/bench-strrchr-ifunc.c: New file.
13582 * benchtests/bench-strrchr.c: New file.
13583 * benchtests/bench-strspn-ifunc.c: New file.
13584 * benchtests/bench-strspn.c: New file.
13585 * benchtests/bench-strstr-ifunc.c: New file.
13586 * benchtests/bench-strstr.c: New file.
13587
c1f75dc3
SP
13588 * benchtests/Makefile: Disable parallel execution of targets.
13589 (string-bench): Add memcpy.
13590 (benchset): New variable to store a list of benchmark sets.
13591 (bench-func): Renamed from bench.
13592 (bench-set): New target.
13593 (bench): Depend on bench-func and bench-set.
13594 * benchtests/README: Add section on benchmark sets.
13595 * benchtests/bench-memcpy-ifunc.c: New file.
13596 * benchtests/bench-memcpy.c: New file.
13597 * benchtests/bench-string.h: New file.
13598
50fd745b
AS
135992013-06-11 Andreas Schwab <schwab@suse.de>
13600
13601 [BZ #15577]
13602 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13603 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13604 values in the triple.
13605 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13606 terminator in the group key.
13607
3ee7e9fe
AJ
136082013-06-11 Andreas Jaeger <aj@suse.de>
13609
13610 * po/zh_TW.po: Update Chinese (traditional) translation from
13611 translation project.
13612
89fb6835
SP
136132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13614
13615 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13616 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13617 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13618 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13619 (clock_getcpuclockid): Likewise.
13620 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13621 Add weak_alias and libc_hidden_def.
13622 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13623 * rt/clock_gettime.c (clock_gettime): Rename to
13624 __clock_gettime. Add weak_alias and libc_hidden_def.
13625 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13626 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13627 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13628 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13629 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13630 Likewise.
13631 * rt/clock_settime.c (clock_settime): Rename to
13632 __clock_settime. Add weak_alias and libc_hidden_def.
13633 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13634
0efa6f8b
JM
136352013-06-10 Joseph Myers <joseph@codesourcery.com>
13636
b8c61b4b
JM
13637 * mach/err_boot.sub: Remove trailing whitespace.
13638 * mach/err_ipc.sub: Likewise.
13639 * mach/err_mach.sub: Likewise.
13640
0efa6f8b
JM
13641 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13642 (ROUNDING_TESTS_double): Likewise.
13643 (ROUNDING_TESTS_long_double): Likewise.
13644 (ROUNDING_TESTS): Likewise.
13645 * math/libm-test.inc: Include <math-tests.h>.
13646 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13647 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13648 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13649 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13650
50b818bf
SP
136512013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13652
13653 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13654 of assigning.
13655
60d2f8f3
JM
136562013-06-08 Joseph Myers <joseph@codesourcery.com>
13657
4902d2c3
JM
13658 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13659 otherwise empty TRANS lines.
13660 * sysdeps/gnu/errlist.c: Regenerated.
13661
60d2f8f3
JM
13662 * catgets/gencat.c (error_print): Use (void) in function
13663 definition.
13664 * crypt/crypt_util.c (__init_des): Likewise.
13665 * crypt/speeds.c (Stop): Likewise.
13666 (main): Likewise.
13667 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13668 * inet/ruserpass.c (token): Likewise.
13669 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13670 * intl/localealias.c (extend_alias_table): Likewise.
13671 * intl/plural-exp.c (init_germanic_plural): Likewise.
13672 * libio/fcloseall.c (__fcloseall): Likewise.
13673 * libio/genops.c (_IO_flush_all): Likewise.
13674 (_IO_flush_all_linebuffered): Likewise.
13675 (_IO_cleanup): Likewise.
13676 (_IO_iter_begin): Likewise.
13677 (_IO_iter_end): Likewise.
13678 (_IO_list_lock): Likewise.
13679 (_IO_list_unlock): Likewise.
13680 (_IO_list_resetlock): Likewise.
13681 * libio/getchar.c (getchar): Likewise.
13682 * libio/getchar_u.c (getchar_unlocked): Likewise.
13683 * libio/getwchar.c (getwchar): Likewise.
13684 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13685 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13686 * login/getpt.c (__getpt): Likewise.
13687 * login/tst-utmp.c (main): Likewise.
13688 * malloc/hooks.c (__malloc_check_init): Likewise.
13689 * malloc/malloc.c (__malloc_stats): Likewise.
13690 * malloc/mtrace.c (tr_break): Likewise.
13691 (mtrace): Likewise.
13692 (muntrace): Likewise.
13693 * misc/fstab.c (endfsent): Likewise.
13694 * misc/getclktck.c (__getclktck): Likewise.
13695 * misc/getdtsz.c (__getdtablesize): Likewise.
13696 * misc/gethostid.c (gethostid): Likewise.
13697 * misc/getpagesize.c (__getpagesize): Likewise.
13698 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13699 (__get_nprocs): Likewise.
13700 (__get_phys_pages): Likewise.
13701 (__get_avphys_pages): Likewise.
13702 * misc/getttyent.c (getttyent): Likewise.
13703 (setttyent): Likewise.
13704 (endttyent): Likewise.
13705 * misc/getusershell.c (getusershell): Likewise.
13706 (endusershell): Likewise.
13707 (setusershell): Likewise.
13708 (initshells): Likewise.
13709 * misc/hsearch.c (__hdestroy): Likewise.
13710 * misc/sync.c (sync): Likewise.
13711 * misc/syslog.c (closelog_internal): Likewise.
13712 (closelog): Likewise.
13713 * misc/ttyslot.c (ttyslot): Likewise.
13714 * misc/vhangup.c (vhangup): Likewise.
13715 * posix/fork.c (__fork): Likewise.
13716 * posix/getegid.c (__getegid): Likewise.
13717 * posix/geteuid.c (__geteuid): Likewise.
13718 * posix/getgid.c (__getgid): Likewise.
13719 * posix/getpid.c (__getpid): Likewise.
13720 * posix/getppid.c (__getppid): Likewise.
13721 * posix/getuid.c (__getuid): Likewise.
13722 * posix/pause.c (pause): Likewise.
13723 * posix/setpgrp.c (setpgrp): Likewise.
13724 * posix/setsid.c (__setsid): Likewise.
13725 * posix/test-vfork.c (noop): Likewise.
13726 * resolv/gethnamaddr.c (_endhtent): Likewise.
13727 (_gethtent): Likewise.
13728 (ht_endhostent): Likewise.
13729 (gethostent): Likewise.
13730 (dns_service): Likewise.
13731 * stdlib/drand48.c (drand48): Likewise.
13732 * stdlib/lrand48.c (lrand48): Likewise.
13733 * stdlib/mrand48.c (mrand48): Likewise.
13734 * stdlib/rand.c (rand): Likewise.
13735 * stdlib/random.c (__random): Likewise.
13736 * stdlib/setenv.c (clearenv): Likewise.
13737 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13738 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13739 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13740 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13741 (__get_nprocs): Likewise.
13742 (__get_phys_pages): Likewise.
13743 (__get_avphys_pages): Likewise.
13744 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13745 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13746 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13747 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13748 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13749 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13750 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13751 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13752 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13753 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13754 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13755 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13756 * sysdeps/posix/clock.c (clock): Likewise.
13757 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13758 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13759 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13760 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13761 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13763 (__get_nprocs_conf): Likewise.
13764 (__get_phys_pages): Likewise.
13765 (__get_avphys_pages): Likewise.
13766 * time/clock.c (clock): Likewise.
13767 * time/tzset.c (__tzname_max): Likewise.
13768
2e09a79a
JM
137692013-06-07 Joseph Myers <joseph@codesourcery.com>
13770
13771 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13772 (__bswap_32): Do not use "register".
13773 * crypt/crypt.c (_ufc_doit_r): Likewise.
13774 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13775 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13776 * gmon/gmon.c (__monstartup): Likewise.
13777 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13778 * hurd/hurdmalloc.c (more_memory): Likewise.
13779 (malloc): Likewise.
13780 (free): Likewise.
13781 (realloc): Likewise.
13782 (malloc_fork_prepare): Likewise.
13783 (malloc_fork_parent): Likewise.
13784 (malloc_fork_child): Likewise.
13785 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13786 (_svcauth_des): Likewise.
13787 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13788 * inet/inet_net.c (inet_network): Likewise.
13789 * inet/inet_netof.c (inet_netof): Likewise.
13790 * inet/rcmd.c (__validuser2_sa): Likewise.
13791 * io/fts.c (fts_open): Likewise.
13792 (fts_load): Likewise.
13793 (fts_close): Likewise.
13794 (fts_read): Likewise.
13795 (fts_children): Likewise.
13796 (fts_build): Likewise.
13797 (fts_stat): Likewise.
13798 (fts_sort): Likewise.
13799 (fts_alloc): Likewise.
13800 (fts_lfree): Likewise.
13801 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13802 (_IO_file_xsgetn): Likewise.
13803 (_IO_file_xsgetn_mmap): Likewise.
13804 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13805 (_IO_cookie_write): Likewise.
13806 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13807 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13808 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13809 * malloc/obstack.c (_obstack_begin): Likewise.
13810 (_obstack_begin_1): Likewise.
13811 (_obstack_newchunk): Likewise.
13812 (_obstack_allocated_p): Likewise.
13813 (obstack_free): Likewise.
13814 (_obstack_memory_used): Likewise.
13815 * misc/getttyent.c (getttynam): Likewise.
13816 (getttyent): Likewise.
13817 (skip): Likewise.
13818 (value): Likewise.
13819 * misc/getusershell.c (initshells): Likewise.
13820 * misc/syslog.c (__vsyslog_chk): Likewise.
13821 * misc/ttyslot.c (ttyslot): Likewise.
13822 * nis/nis_hash.c (__nis_hash): Likewise.
13823 * posix/fnmatch_loop.c (FCT): Likewise.
13824 * posix/getconf.c (print_all): Likewise.
13825 (main): Likewise.
13826 * posix/getopt.c (exchange): Likewise.
13827 * posix/glob.c (globfree): Likewise.
13828 (prefix_array): Likewise.
13829 (__glob_pattern_type): Likewise.
13830 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13831 (NS_GET32): Likewise.
13832 (NS_PUT16): Likewise.
13833 (NS_PUT32): Likewise.
13834 * resolv/gethnamaddr.c (getanswer): Likewise.
13835 (gethostbyname2): Likewise.
13836 (gethostbyaddr): Likewise.
13837 (_gethtent): Likewise.
13838 (_gethtbyname2): Likewise.
13839 (_gethtbyaddr): Likewise.
13840 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13841 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13842 * resolv/res_init.c (__res_vinit): Likewise.
13843 (net_mask): Likewise.
13844 * resolv/res_mkquery.c (outchar): Likewise.
13845 (PRINT): Likewise.
13846 * stdio-common/printf_fp.c (outchar): Likewise.
13847 (PRINT): Likewise.
13848 * stdio-common/printf_fphex.c (outchar): Likewise.
13849 (PRINT): Likewise.
13850 * stdio-common/printf_size.c (outchar): Likewise.
13851 (PRINT): Likewise.
13852 * stdio-common/test_rdwr.c (main): Likewise.
13853 * stdio-common/tfformat.c (matches): Likewise.
13854 * stdio-common/vfprintf.c (outchar): Likewise.
13855 (printf_unknown): Likewise.
13856 (buffered_vfprintf): Likewise.
13857 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13858 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13859 (ReadFile): Likewise.
13860 * stdlib/qsort.c (SWAP): Likewise.
13861 (_quicksort): Likewise.
13862 * stdlib/setenv.c (__add_to_environ): Likewise.
13863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13864 * stdlib/strtol_l.c (__strtol_l): Likewise.
13865 * stdlib/tst-strtod.c (main): Likewise.
13866 * stdlib/tst-strtol.c (main): Likewise.
13867 * stdlib/tst-strtoll.c (main): Likewise.
13868 * string/bits/string2.h (__strcmp_cc): Likewise.
13869 (__strcmp_cg): Likewise.
13870 (__strcspn_c1): Likewise.
13871 (__strcspn_c2): Likewise.
13872 (__strcspn_c3): Likewise.
13873 (__strspn_c1): Likewise.
13874 (__strspn_c2): Likewise.
13875 (__strspn_c3): Likewise.
13876 (__strsep_1c): Likewise.
13877 (__strsep_2c): Likewise.
13878 (__strsep_3c): Likewise.
13879 * string/memccpy.c (__memccpy): Likewise.
13880 * string/stpcpy.c (__stpcpy): Likewise.
13881 * string/strcmp.c (strcmp): Likewise.
13882 * string/strrchr.c (strrchr): Likewise.
13883 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13884 Likewise.
13885 * sysdeps/mach/hurd/getcwd.c
13886 (_hurd_canonicalize_directory_name_internal): Likewise.
13887 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13888 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13889 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13890 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13891 Likewise, in both definitions.
13892 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13893 definitions.
13894 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13895 64] (__bswap_64): Likewise.
13896 * time/test_time.c (main): Likewise.
13897 * time/tzfile.c (__tzfile_read): Likewise.
13898 (__tzfile_compute): Likewise.
13899 * time/tzset.c (__tzset_parse_tz): Likewise.
13900 (tzset_internal): Likewise.
13901 (compute_change): Likewise.
13902 * wcsmbs/wcscat.c (__wcscat): Likewise.
13903 * wcsmbs/wcschr.c (wcschr): Likewise.
13904 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13905 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13906 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13907 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13908 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13909 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13910 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13911 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13912 * wcsmbs/wmemset.c (wmemset): Likewise.
13913
9e54314b
JM
139142013-06-06 Joseph Myers <joseph@codesourcery.com>
13915
13916 * scripts/config.guess: Update to version 2013-05-16.
13917 * scripts/config.sub: Update to version 2013-04-24.
13918 * scripts/install-sh: Update to version 2011-11-20.07.
13919 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13920 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13921
350635a5
OB
139222013-06-06 Ondřej Bílka <neleai@seznam.cz>
13923
13924 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13925 * elf/sln.c: Likewise.
13926 * hurd/hurd/ioctl.h: Likewise.
13927 * hurd/hurdmalloc.c: Likewise.
13928 * hurd/xattr.c: Likewise.
13929 * include/shlib-compat.h: Likewise.
13930 * inet/ruserpass.c: Likewise.
13931 * libio/iofgets_u.c: Likewise.
13932 * libio/iofgetws_u.c: Likewise.
13933 * locale/programs/ld-identification.c: Likewise.
13934 * locale/programs/ld-time.c: Likewise.
13935 * mach/msg-destroy.c: Likewise.
13936 * nss/nss_files/files-netgrp.c: Likewise.
13937 * resolv/res_data.c: Likewise.
13938 * soft-fp/op-1.h: Likewise.
13939 * soft-fp/op-2.h: Likewise.
13940 * soft-fp/op-4.h: Likewise.
13941 * soft-fp/op-common.h: Likewise.
13942 * stdio-common/printf_fphex.c: Likewise.
13943 * stdlib/strtod_l.c: Likewise.
13944 * sunrpc/rpc/clnt.h: Likewise.
13945 * sysdeps/generic/framestate.c: Likewise.
13946 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13947 * sysdeps/i386/bsd-setjmp.S: Likewise.
13948 * sysdeps/i386/__longjmp.S: Likewise.
13949 * sysdeps/i386/setjmp.S: Likewise.
13950 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13951 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13952 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13968 * sysdeps/ieee754/support.c: Likewise.
13969 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13970 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13971 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13972 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13973 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13974 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13975 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13976 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13977 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13978 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13979 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13980 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13981 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13982 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13983 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13984 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13985 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13987
44a988af
OB
139882013-06-05 Ondřej Bílka <neleai@seznam.cz>
13989
25506f09 13990 * posix/transbug.c: Remove executable mode.
44a988af 13991
9c84384c
JM
139922013-06-05 Joseph Myers <joseph@codesourcery.com>
13993
13994 * crypt/speeds.c: Remove trailing whitespace.
13995 * dlfcn/default.c: Likewise.
13996 * elf/ifuncdep2.c: Likewise.
13997 * elf/ifuncmain1.c: Likewise.
13998 * elf/ifuncmain1vis.c: Likewise.
13999 * elf/testobj.h: Likewise.
14000 * elf/tst-stackguard1.c: Likewise.
14001 * gmon/sys/gmon.h: Likewise.
14002 * hurd/hurdmsg.c: Likewise.
14003 * hurd/new-fd.c: Likewise.
14004 * hurd/ports-get.c: Likewise.
14005 * iconvdata/ibm1008_420.c: Likewise.
14006 * inet/tst-getni1.c: Likewise.
14007 * inet/tst-getni2.c: Likewise.
14008 * libio/ioungetc.c: Likewise.
14009 * libio/wfiledoalloc.c: Likewise.
14010 * manual/libm-err-tab.pl: Likewise.
14011 * math/w_dremf.c: Likewise.
14012 * misc/ftruncate.c: Likewise.
14013 * posix/bug-glob2.c: Likewise.
14014 * posix/tst-pcre.c: Likewise.
14015 * posix/wait4.c: Likewise.
14016 * resolv/README: Likewise.
14017 * resolv/res_debug.h: Likewise.
14018 * resolv/tst-inet_ntop.c: Likewise.
14019 * setjmp/bug269-setjmp.c: Likewise.
14020 * soft-fp/extended.h: Likewise.
14021 * soft-fp/op-1.h: Likewise.
14022 * soft-fp/op-2.h: Likewise.
14023 * soft-fp/op-4.h: Likewise.
14024 * soft-fp/op-8.h: Likewise.
14025 * soft-fp/testit.c: Likewise.
14026 * stdio-common/bug16.c: Likewise.
14027 * stdlib/random.c: Likewise.
14028 * sunrpc/rpcsvc/rquota.x: Likewise.
14029 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14030 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14032 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14033 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14034 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14035 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14036 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14037 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14038 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14039 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14040 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14041 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14042 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14043 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14044 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14046 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14047 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14048 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14049 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14050 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14051 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14052 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14056 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14057 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14058 * sysdeps/ieee754/s_lib_version.c: Likewise.
14059 * sysdeps/mach/hurd/check_fds.c: Likewise.
14060 * sysdeps/mach/hurd/getsockname.c: Likewise.
14061 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14062 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14063 * sysdeps/powerpc/bits/link.h: Likewise.
14064 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14065 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14066 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14067 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14068 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14069 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14070 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14071 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14072 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14073 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14074 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14075 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14076 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14077 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14078 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14079 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14080 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14081 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14082 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14083 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14084 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14085 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14086 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14087 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14088 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14089 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14091 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14092 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14093 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14094 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14096 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14097 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14098 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14099 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14100 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14101 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14102 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14103 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14104 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14105 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14106 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14107 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14108 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14109 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14110 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14111 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14112 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14113 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14114 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14116 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14117 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14118 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14119 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14120 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14121 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14122 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14123 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14124 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14125 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14126 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14127 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14128 * sysdeps/powerpc/sysdep.h: Likewise.
14129 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14130 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14131 * sysdeps/sh/dl-trampoline.S: Likewise.
14132 * sysdeps/sh/memset.S: Likewise.
14133 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14134 * sysdeps/sh/strlen.S: Likewise.
14135 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14136 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14137 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14138 * sysdeps/sparc/sparc32/rem.S: Likewise.
14139 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14140 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14141 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14142 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14143 * sysdeps/sparc/sparc32/urem.S: Likewise.
14144 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14145 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14146 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14147 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14148 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14149 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14150 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14151 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14152 * sysdeps/unix/bsd/times.c: Likewise.
14153 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14154 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14158 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14159 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14160 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14161 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14162 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14163 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14164 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14165 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14166 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14167 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14168 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14169 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14170 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14171 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14172 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14173 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14174 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14175 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14176 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14177 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14178 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14179 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14180 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14181 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14182 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14183 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14184 * sysdeps/x86_64/strcspn.S: Likewise.
14185
869378a5
RA
141862013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14187
14188 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14189 generated file. Regenerate properly from gen-translit.pl.
14190 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14191 locale/C-translit.h.
14192
840e2943
AS
141932013-06-05 Andreas Schwab <schwab@suse.de>
14194
14195 [BZ #15100]
14196 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14197 week as 6 instead of -1.
14198 * time/tst-strptime.c (day_tests): Add test case.
14199
4c60cb0c
SP
142002013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14201
14202 * sysdeps/generic/math_private.h
14203 (libc_feholdexcept_setround_53bit): Replace with
14204 libc_feholdsetround_53bit.
14205 (libc_feupdateenv_53bit): Replace with
14206 libc_feresetround_53bit.
14207 (SET_RESTORE_ROUND_53BIT): Adjust.
14208
d180203e
SP
142092013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14210
96df079a
SP
14211 * string/test-strchrnul.c: Add copyright header.
14212
d180203e
SP
14213 * posix/tst-getaddrinfo4.c: Increase test timeout.
14214
8b0ccb2d
CD
142152013-06-03 Carlos O'Donell <carlos@redhat.com>
14216
14217 [BZ #15536]
14218 * math/libm-test.inc (MAX_EXP): Remove
14219 (MIN_EXP): Define.
14220 (ulp): Use MIN_EXP - MANT_DIG.
14221 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14222
3b3c4d40
CD
142232013-05-31 Carlos O'Donell <carlos@redhat.com>
14224
14225 * po/be.po: Revert last change.
14226 * po/zh_CN.po: Likewise.
14227 * po/header.pot: Likewise.
14228
fab7ce3f
JM
142292013-05-31 Joseph Myers <joseph@codesourcery.com>
14230
14231 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14232 link-libc-deps to empty as target-specific variable.
14233 * Makerules (link-libc-args): New variable.
14234 (libc-for-link): Likewise.
14235 (link-libc-deps): Likewise.
14236 (lib%.so): Depend on $(link-libc-deps). Link with
14237 $(link-libc-args).
14238 (build-module): Link with $(link-libc-args).
14239 (build-module-asneeded): Likewise.
14240 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14241 list of objects.
14242 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14243 target-specific variable.
14244 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14245 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14246 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14247 libc.
14248 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14249 libc and ld.so.
14250 ($(objpfx)libpcprofile.so): Likewise.
14251 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14252 libc_nonshared.a.
14253 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14254 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14255 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14256 $(link-libc-deps).
14257 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14258 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14259 * login/Makefile ($(objpfx)libutil.so): Likewise.
14260 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14261 * math/Makefile ($(objpfx)libm.so): Likewise.
14262 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14263 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14264 variable instead of depending directly on libc.
14265 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14266 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14267 $(link-libc-deps).
14268 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14269 libc.
14270 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14271 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14272 ($(objpfx)libanl.so): Likewise.
14273 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14274 ld.so.
14275 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14276 $(link-libc-deps).
14277 * sysdeps/i386/fpu/Makefile: Remove file.
14278 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14279 ($(objpfx)libm.so): Remove dependency on ld.so.
14280
eca5920c
PF
142812013-05-30 Patsy Franklin <pfrankli@redhat.com>
14282
14283 [BZ # 15553]
14284 * nis/yp_xdr.c (XDRMAXNAME): Define.
14285 (XDRMAXRECORD): Define.
14286 (xdr_domainname): Use XDRMAXNAME.
14287 (xdr_mapname): Likewise.
14288 (xdr_peername): Likewise.
14289 (xdr_keydat): Use XDRMAXRECORD.
14290 (xdr_valdat): Likewise.
14291
142922013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14293
14294 [BZ #14256]
14295 * manual/errno.texi (ESTALE): Update to account for more than
14296 just NFS file systems.
14297 * sysdeps/gnu/errlist.c: Regenerated.
14298
b9375348
SP
142992013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14300
14301 [BZ #15465]
14302 * elf/Makefile (tests): Add tst-null-argv.
14303 (modules-names): Add tst-null-argv-lib.
14304 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14305 (tst-null-argv-ENV): Set environment for tst-null-argv.
14306 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14307 (RTLD_PROGNAME): New macro.
14308 * elf/tst-null-argv.c: New test case.
14309 * elf/tst-null-argv-lib.c: Library for test case.
14310 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14311 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14312 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14313 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14314 * elf/dl-init.c (call_init): Likewise.
14315 (_dl_init): Likewise.
14316 * elf/dl-load.c (print_search_path): Likewise.
14317 (_dl_map_object): Likewise.
14318 * elf/dl-lookup.c (do_lookup_x): Likewise.
14319 (add_dependency): Likewise.
14320 (_dl_lookup_symbol_x): Likewise.
14321 (_dl_debug_bindings): Likewise.
14322 * elf/dl-open.c (_dl_show_scope): Likewise.
14323 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14324 * elf/dl-version.c (match_symbol): Likewise.
14325 (_dl_check_map_versions): Likewise.
14326 * elf/rtld.c (dl_main): Likewise.
14327 (print_unresolved): Use RTLD_PROGNAME.
14328 (print_missing_version): Likewise.
14329 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14330 (elf_machine_rela): Likewise.
14331 * sysdeps/powerpc/powerpc32/dl-machine.c
14332 (__process_machine_rela): Likewise.
14333 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14334 Likewise.
14335 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14336 Likewise.
14337 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14338 Likewise.
14339 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14340 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14341 Likewise.
14342 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14343 Likewise.
14344 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14345
8a9f20c8
CD
143462013-05-28 Carlos O'Donell <carlos@redhat.com>
14347
14348 * po/be.po: Add descriptive title.
14349 * po/zh_CN.po: Likewise.
14350 * po/header.pot: Likewise.
14351
0e60d68e
MF
143522013-05-28 Mike Frysinger <vapier@gentoo.org>
14353
14354 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14355 error message.
14356 (enlarge_archive): Likewise.
14357
56b672e9
BN
143582013-05-28 Ben North <ben@redfrontdoor.org>
14359
14360 * manual/arith.texi (frexp): It is the magnitude of the return
14361 value which lies in [0.5, 1), not the return value itself.
14362
5e056687
AZ
143632013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14364
14365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14366
2b66ef5d
TS
143672013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14368
528c2405
TS
14369 * stdio-common/bug26.c (main): Correct fscanf template.
14370
07b4c13d
TS
14371 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14372 declare _dl_skip_args.
14373
ec9dd97c
TS
14374 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14375 Don't declare.
14376
2b66ef5d
TS
14377 * manual/platform.texi: Add missing @end deftypefun.
14378
4f8dfe27
JM
143792013-05-24 Joseph Myers <joseph@codesourcery.com>
14380
0323d086
JM
14381 [BZ #15529]
14382 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14383 bit of mantissa of 2^16382.
14384 * math/libm-test.inc (hypot_test_data): Add more tests.
14385
dd4259b9
JM
14386 * math/libm-test.inc: Add drem and pow10 to list of tested
14387 functions.
14388 (pow10_test): New function.
14389 (drem_test): Likewise.
14390 (drem_test_tonearest): Likewise.
14391 (drem_test_towardzero): Likewise.
14392 (drem_test_downward): Likewise.
14393 (drem_test_upward): Likewise.
14394 (main): Call the new functions.
14395
4f8dfe27
JM
14396 * math/libm-test.inc (finite_test_data): Remove.
14397 (finite_test): Run tests from isfinite_test_data.
14398 (gamma_test_data): Remove.
14399 (gamma_test): Run tests from lgamma_test_data.
14400 * sysdeps/i386/fpu/libm-test-ulps: Update.
14401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14402
d116b7c4
AZ
144032013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14404
14405 * manual/platform.texi: Add PowerPC PPR function set documentation.
14406 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14407 implementation.
14408
e96e3767
CD
144092013-05-24 Carlos O'Donell <carlos@redhat.com>
14410
14411 * math/libm-test.inc (MAX_EXP): Define.
14412 (ULPDIFF): Define.
14413 (ulp): New function.
14414 (check_float_internal): Use ULPDIFF.
14415 (cpow_test): Disable failing test.
14416 (check_ulp): Test ulp() implemetnation.
14417 (main): Call check_ulp before starting tests.
14418
b679a606
JM
144192013-05-24 Joseph Myers <joseph@codesourcery.com>
14420
e8bdba36
JM
14421 * math/gen-libm-test.pl (generate_testfile): Do not handle
14422 START_DATA and END_DATA.
14423 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14424 END_DATA.
14425 (acos_tonearest_test_data): Likewise.
14426 (acos_towardzero_test_data): Likewise.
14427 (acos_downward_test_data): Likewise.
14428 (acos_upward_test_data): Likewise.
14429 (acosh_test_data): Likewise.
14430 (asin_test_data): Likewise.
14431 (asin_tonearest_test_data): Likewise.
14432 (asin_towardzero_test_data): Likewise.
14433 (asin_downward_test_data): Likewise.
14434 (asin_upward_test_data): Likewise.
14435 (asinh_test_data): Likewise.
14436 (atan_test_data): Likewise.
14437 (atanh_test_data): Likewise.
14438 (atan2_test_data): Likewise.
14439 (cabs_test_data): Likewise.
14440 (cacos_test_data): Likewise.
14441 (cacosh_test_data): Likewise.
14442 (carg_test_data): Likewise.
14443 (casin_test_data): Likewise.
14444 (casinh_test_data): Likewise.
14445 (catan_test_data): Likewise.
14446 (catanh_test_data): Likewise.
14447 (cbrt_test_data): Likewise.
14448 (ccos_test_data): Likewise.
14449 (ccosh_test_data): Likewise.
14450 (ceil_test_data): Likewise.
14451 (cexp_test_data): Likewise.
14452 (cimag_test_data): Likewise.
14453 (clog_test_data): Likewise.
14454 (clog10_test_data): Likewise.
14455 (conj_test_data): Likewise.
14456 (copysign_test_data): Likewise.
14457 (cos_test_data): Likewise.
14458 (cos_tonearest_test_data): Likewise.
14459 (cos_towardzero_test_data): Likewise.
14460 (cos_downward_test_data): Likewise.
14461 (cos_upward_test_data): Likewise.
14462 (cosh_test_data): Likewise.
14463 (cosh_tonearest_test_data): Likewise.
14464 (cosh_towardzero_test_data): Likewise.
14465 (cosh_downward_test_data): Likewise.
14466 (cosh_upward_test_data): Likewise.
14467 (cpow_test_data): Likewise.
14468 (cproj_test_data): Likewise.
14469 (creal_test_data): Likewise.
14470 (csin_test_data): Likewise.
14471 (csinh_test_data): Likewise.
14472 (csqrt_test_data): Likewise.
14473 (ctan_test_data): Likewise.
14474 (ctan_tonearest_test_data): Likewise.
14475 (ctan_towardzero_test_data): Likewise.
14476 (ctan_downward_test_data): Likewise.
14477 (ctan_upward_test_data): Likewise.
14478 (ctanh_test_data): Likewise.
14479 (ctanh_tonearest_test_data): Likewise.
14480 (ctanh_towardzero_test_data): Likewise.
14481 (ctanh_downward_test_data): Likewise.
14482 (ctanh_upward_test_data): Likewise.
14483 (erf_test_data): Likewise.
14484 (erfc_test_data): Likewise.
14485 (exp_test_data): Likewise.
14486 (exp_tonearest_test_data): Likewise.
14487 (exp_towardzero_test_data): Likewise.
14488 (exp_downward_test_data): Likewise.
14489 (exp_upward_test_data): Likewise.
14490 (exp10_test_data): Likewise.
14491 (exp2_test_data): Likewise.
14492 (expm1_test_data): Likewise.
14493 (fabs_test_data): Likewise.
14494 (fdim_test_data): Likewise.
14495 (finite_test_data): Likewise.
14496 (floor_test_data): Likewise.
14497 (fma_test_data): Likewise.
14498 (fma_towardzero_test_data): Likewise.
14499 (fma_downward_test_data): Likewise.
14500 (fma_upward_test_data): Likewise.
14501 (fmax_test_data): Likewise.
14502 (fmin_test_data): Likewise.
14503 (fmod_test_data): Likewise.
14504 (fpclassify_test_data): Likewise.
14505 (frexp_test_data): Likewise.
14506 (gamma_test_data): Likewise.
14507 (hypot_test_data): Likewise.
14508 (ilogb_test_data): Likewise.
14509 (isfinite_test_data): Likewise.
14510 (isgreater_test_data): Likewise.
14511 (isgreaterequal_test_data): Likewise.
14512 (isinf_test_data): Likewise.
14513 (isless_test_data): Likewise.
14514 (islessequal_test_data): Likewise.
14515 (islessgreater_test_data): Likewise.
14516 (isnan_test_data): Likewise.
14517 (isnormal_test_data): Likewise.
14518 (issignaling_test_data): Likewise.
14519 (isunordered_test_data): Likewise.
14520 (j0_test_data): Likewise.
14521 (j1_test_data): Likewise.
14522 (jn_test_data): Likewise.
14523 (ldexp_test_data): Likewise.
14524 (lgamma_test_data): Likewise.
14525 (lrint_test_data): Likewise.
14526 (lrint_tonearest_test_data): Likewise.
14527 (lrint_towardzero_test_data): Likewise.
14528 (lrint_downward_test_data): Likewise.
14529 (lrint_upward_test_data): Likewise.
14530 (llrint_test_data): Likewise.
14531 (llrint_tonearest_test_data): Likewise.
14532 (llrint_towardzero_test_data): Likewise.
14533 (llrint_downward_test_data): Likewise.
14534 (llrint_upward_test_data): Likewise.
14535 (log_test_data): Likewise.
14536 (log10_test_data): Likewise.
14537 (log1p_test_data): Likewise.
14538 (log2_test_data): Likewise.
14539 (logb_test_data): Likewise.
14540 (logb_downward_test_data): Likewise.
14541 (lround_test_data): Likewise.
14542 (llround_test_data): Likewise.
14543 (modf_test_data): Likewise.
14544 (nearbyint_test_data): Likewise.
14545 (nextafter_test_data): Likewise.
14546 (nexttoward_test_data): Likewise.
14547 (pow_test_data): Likewise.
14548 (pow_tonearest_test_data): Likewise.
14549 (pow_towardzero_test_data): Likewise.
14550 (pow_downward_test_data): Likewise.
14551 (pow_upward_test_data): Likewise.
14552 (remainder_test_data): Likewise.
14553 (remainder_tonearest_test_data): Likewise.
14554 (remainder_towardzero_test_data): Likewise.
14555 (remainder_downward_test_data): Likewise.
14556 (remainder_upward_test_data): Likewise.
14557 (remquo_test_data): Likewise.
14558 (rint_test_data): Likewise.
14559 (rint_tonearest_test_data): Likewise.
14560 (rint_towardzero_test_data): Likewise.
14561 (rint_downward_test_data): Likewise.
14562 (rint_upward_test_data): Likewise.
14563 (round_test_data): Likewise.
14564 (scalb_test_data): Likewise.
14565 (scalbn_test_data): Likewise.
14566 (scalbln_test_data): Likewise.
14567 (signbit_test_data): Likewise.
14568 (sin_test_data): Likewise.
14569 (sin_tonearest_test_data): Likewise.
14570 (sin_towardzero_test_data): Likewise.
14571 (sin_downward_test_data): Likewise.
14572 (sin_upward_test_data): Likewise.
14573 (sincos_test_data): Likewise.
14574 (sinh_test_data): Likewise.
14575 (sinh_tonearest_test_data): Likewise.
14576 (sinh_towardzero_test_data): Likewise.
14577 (sinh_downward_test_data): Likewise.
14578 (sinh_upward_test_data): Likewise.
14579 (sqrt_test_data): Likewise.
14580 (tan_test_data): Likewise.
14581 (tan_tonearest_test_data): Likewise.
14582 (tan_towardzero_test_data): Likewise.
14583 (tan_downward_test_data): Likewise.
14584 (tan_upward_test_data): Likewise.
14585 (tanh_test_data): Likewise.
14586 (tgamma_test_data): Likewise.
14587 (trunc_test_data): Likewise.
14588 (y0_test_data): Likewise.
14589 (y1_test_data): Likewise.
14590 (yn_test_data): Likewise.
14591 (significand_test_data): Likewise.
14592
b679a606
JM
14593 * math/gen-libm-test.pl (@functions): Remove variable.
14594 (generate_testfile): Don't handle START and END lines.
14595 * math/libm-test.inc (START): New macro.
14596 (END): Likewise.
14597 (END_COMPLEX): Likewise.
14598 (acos_test): Use END macro without arguments.
14599 (acos_test_tonearest): Likewise.
14600 (acos_test_towardzero): Likewise.
14601 (acos_test_downward): Likewise.
14602 (acos_test_upward): Likewise.
14603 (acosh_test): Likewise.
14604 (asin_test): Likewise.
14605 (asin_test_tonearest): Likewise.
14606 (asin_test_towardzero): Likewise.
14607 (asin_test_downward): Likewise.
14608 (asin_test_upward): Likewise.
14609 (asinh_test): Likewise.
14610 (atan_test): Likewise.
14611 (atanh_test): Likewise.
14612 (atan2_test): Likewise.
14613 (cabs_test): Likewise.
14614 (cacos_test): Use END_COMPLEX macro without arguments.
14615 (cacosh_test): Likewise.
14616 (carg_test): Use END macro without arguments.
14617 (casin_test): Use END_COMPLEX macro without arguments.
14618 (casinh_test): Likewise.
14619 (catan_test): Likewise.
14620 (catanh_test): Likewise.
14621 (cbrt_test): Use END macro without arguments.
14622 (ccos_test): Use END_COMPLEX macro without arguments.
14623 (ccosh_test): Likewise.
14624 (ceil_test): Use END macro without arguments.
14625 (cexp_test): Use END_COMPLEX macro without arguments.
14626 (cimag_test): Use END macro without arguments.
14627 (clog_test): Use END_COMPLEX macro without arguments.
14628 (clog10_test): Likewise.
14629 (conj_test): Likewise.
14630 (copysign_test): Use END macro without arguments.
14631 (cos_test): Likewise.
14632 (cos_test_tonearest): Likewise.
14633 (cos_test_towardzero): Likewise.
14634 (cos_test_downward): Likewise.
14635 (cos_test_upward): Likewise.
14636 (cosh_test): Likewise.
14637 (cosh_test_tonearest): Likewise.
14638 (cosh_test_towardzero): Likewise.
14639 (cosh_test_downward): Likewise.
14640 (cosh_test_upward): Likewise.
14641 (cpow_test): Use END_COMPLEX macro without arguments.
14642 (cproj_test): Likewise.
14643 (creal_test): Use END macro without arguments.
14644 (csin_test): Use END_COMPLEX macro without arguments.
14645 (csinh_test): Likewise.
14646 (csqrt_test): Likewise.
14647 (ctan_test): Likewise.
14648 (ctan_test_tonearest): Likewise.
14649 (ctan_test_towardzero): Likewise.
14650 (ctan_test_downward): Likewise.
14651 (ctan_test_upward): Likewise.
14652 (ctanh_test): Likewise.
14653 (ctanh_test_tonearest): Likewise.
14654 (ctanh_test_towardzero): Likewise.
14655 (ctanh_test_downward): Likewise.
14656 (ctanh_test_upward): Likewise.
14657 (erf_test): Use END macro without arguments.
14658 (erfc_test): Likewise.
14659 (exp_test): Likewise.
14660 (exp_test_tonearest): Likewise.
14661 (exp_test_towardzero): Likewise.
14662 (exp_test_downward): Likewise.
14663 (exp_test_upward): Likewise.
14664 (exp10_test): Likewise.
14665 (exp2_test): Likewise.
14666 (expm1_test): Likewise.
14667 (fabs_test): Likewise.
14668 (fdim_test): Likewise.
14669 (finite_test): Likewise.
14670 (floor_test): Likewise.
14671 (fma_test): Likewise.
14672 (fma_test_towardzero): Likewise.
14673 (fma_test_downward): Likewise.
14674 (fma_test_upward): Likewise.
14675 (fmax_test): Likewise.
14676 (fmin_test): Likewise.
14677 (fmod_test): Likewise.
14678 (fpclassify_test): Likewise.
14679 (frexp_test): Likewise.
14680 (gamma_test): Likewise.
14681 (hypot_test): Likewise.
14682 (ilogb_test): Likewise.
14683 (isfinite_test): Likewise.
14684 (isgreater_test): Likewise.
14685 (isgreaterequal_test): Likewise.
14686 (isinf_test): Likewise.
14687 (isless_test): Likewise.
14688 (islessequal_test): Likewise.
14689 (islessgreater_test): Likewise.
14690 (isnan_test): Likewise.
14691 (isnormal_test): Likewise.
14692 (issignaling_test): Likewise.
14693 (isunordered_test): Likewise.
14694 (j0_test): Likewise.
14695 (j1_test): Likewise.
14696 (jn_test): Likewise.
14697 (ldexp_test): Likewise.
14698 (lgamma_test): Likewise.
14699 (lrint_test): Likewise.
14700 (lrint_test_tonearest): Likewise.
14701 (lrint_test_towardzero): Likewise.
14702 (lrint_test_downward): Likewise.
14703 (lrint_test_upward): Likewise.
14704 (llrint_test): Likewise.
14705 (llrint_test_tonearest): Likewise.
14706 (llrint_test_towardzero): Likewise.
14707 (llrint_test_downward): Likewise.
14708 (llrint_test_upward): Likewise.
14709 (log_test): Likewise.
14710 (log10_test): Likewise.
14711 (log1p_test): Likewise.
14712 (log2_test): Likewise.
14713 (logb_test): Likewise.
14714 (logb_test_downward): Likewise.
14715 (lround_test): Likewise.
14716 (llround_test): Likewise.
14717 (modf_test): Likewise.
14718 (nearbyint_test): Likewise.
14719 (nextafter_test): Likewise.
14720 (nexttoward_test): Likewise.
14721 (pow_test): Likewise.
14722 (pow_test_tonearest): Likewise.
14723 (pow_test_towardzero): Likewise.
14724 (pow_test_downward): Likewise.
14725 (pow_test_upward): Likewise.
14726 (remainder_test): Likewise.
14727 (remainder_test_tonearest): Likewise.
14728 (remainder_test_towardzero): Likewise.
14729 (remainder_test_downward): Likewise.
14730 (remainder_test_upward): Likewise.
14731 (remquo_test): Likewise.
14732 (rint_test): Likewise.
14733 (rint_test_tonearest): Likewise.
14734 (rint_test_towardzero): Likewise.
14735 (rint_test_downward): Likewise.
14736 (rint_test_upward): Likewise.
14737 (round_test): Likewise.
14738 (scalb_test): Likewise.
14739 (scalbn_test): Likewise.
14740 (scalbln_test): Likewise.
14741 (signbit_test): Likewise.
14742 (sin_test): Likewise.
14743 (sin_test_tonearest): Likewise.
14744 (sin_test_towardzero): Likewise.
14745 (sin_test_downward): Likewise.
14746 (sin_test_upward): Likewise.
14747 (sincos_test): Likewise.
14748 (sinh_test): Likewise.
14749 (sinh_test_tonearest): Likewise.
14750 (sinh_test_towardzero): Likewise.
14751 (sinh_test_downward): Likewise.
14752 (sinh_test_upward): Likewise.
14753 (sqrt_test): Likewise.
14754 (tan_test): Likewise.
14755 (tan_test_tonearest): Likewise.
14756 (tan_test_towardzero): Likewise.
14757 (tan_test_downward): Likewise.
14758 (tan_test_upward): Likewise.
14759 (tanh_test): Likewise.
14760 (tgamma_test): Likewise.
14761 (trunc_test): Likewise.
14762 (y0_test): Likewise.
14763 (y1_test): Likewise.
14764 (yn_test): Likewise.
14765 (significand_test): Likewise.
14766
bae143d2
OB
147672013-05-24 Ondřej Bílka <neleai@seznam.cz>
14768
14769 [BZ #15381]
14770 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14771
9323d39b
EM
147722013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14773
d4ea44a0 14774 [BZ #14894]
9323d39b
EM
14775 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14776 __ppc_mdoio and __ppc_mdoom.
14777 * manual/platform.texi: Document new functions __ppc_yield,
14778 __ppc_mdoio and __ppc_mdoom.
14779
13e23af7
CD
147802013-05-22 Carlos O'Donell <carlos@redhat.com>
14781
14782 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14783 (main): Mention "tls" pseudo-hwcap is legacy.
14784 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14785
351fe550
JM
147862013-05-22 Joseph Myers <joseph@codesourcery.com>
14787
14788 * math/gen-libm-test.pl (parse_args): Output only string of
14789 arguments as text for test name, not full call or descriptions of
14790 tests for extra outputs.
14791 (generate_testfile): Do not pass function name to parse_args.
14792 Generate this_func variable from START.
14793 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14794 field to arg_str.
14795 (struct test_ff_f_data): Likewise.
14796 (test_ff_f_data_nexttoward): Likewise.
14797 (struct test_fi_f_data): Likewise.
14798 (struct test_fl_f_data): Likewise.
14799 (struct test_if_f_data): Likewise.
14800 (struct test_fff_f_data): Likewise.
14801 (struct test_c_f_data): Likewise.
14802 (struct test_f_f1_data): Likewise. Remove field extra_name.
14803 (struct test_fF_f1_data): Likewise.
14804 (struct test_ffI_f1_data): Likewise.
14805 (struct test_c_c_data): Rename test_name field to arg_str.
14806 (struct test_cc_c_data): Likewise.
14807 (struct test_f_i_data): Likewise.
14808 (struct test_ff_i_data): Likewise.
14809 (struct test_f_l_data): Likewise.
14810 (struct test_f_L_data): Likewise.
14811 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14812 and extra2_name.
14813 (COMMON_TEST_SETUP): New macro.
14814 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14815 (COMMON_TEST_CLEANUP): Likewise.
14816 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14817 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14818 macros.
14819 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14820 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14821 macros.
14822 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14823 (RUN_TEST_fff_f): Take argument string. Call new setup and
14824 cleanup macros.
14825 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14826 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14827 macros.
14828 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14829 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14830 macros.
14831 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14832 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14833 cleanup macros.
14834 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14835 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14836 cleanup macros.
14837 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14838 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14839 cleanup macros.
14840 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14841 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14842 macros.
14843 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14844 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14845 macros.
14846 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14847 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14848 macros.
14849 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14850 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14851 cleanup macros.
14852 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14853 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14854 cleanup macros.
14855 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14856 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14857 macros.
14858 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14859 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14860 cleanup macros.
14861 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14862 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14863 macros.
14864 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14865 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14866 macros.
14867 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14868 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14869 cleanup macros.
14870 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14871
85118d4d
EBM
148722013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14873
14874 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14875 to _sifields.sigfault.
14876 (si_addr_lsb): Define new macro.
14877 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14878 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14879 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14880
7a44c18f
CD
148812013-05-03 Carlos O'Donell <carlos at redhat.com>
14882
14883 [BZ #15441]
14884 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14885 returns -1.
14886 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14887 null return -1.
14888 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14889 loading the domain.
14890
b50a7181
JM
148912013-05-22 Joseph Myers <joseph@codesourcery.com>
14892
14893 * math/gen-libm-test.pl (parse_args): Do not include expected
14894 result in test name.
14895 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14897 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14898 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14899 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14901
051063c8
SP
149022013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14903
3ce9e010
SP
14904 * benchtests/Makefile: Sort function entries.
14905
051063c8
SP
14906 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14907 tanh, asinh, acosh, atanh.
14908 * benchtests/acos-inputs: New file.
14909 * benchtests/acosh-inputs: New file.
14910 * benchtests/asin-inputs: New file.
14911 * benchtests/asinh-inputs: New file.
14912 * benchtests/atanh-inputs: New file.
14913 * benchtests/cosh-inputs: New file.
14914 * benchtests/log-inputs: New file.
14915 * benchtests/sinh-inputs: New file.
14916 * benchtests/tanh-inputs: New file.
14917
47c22455
DL
149182013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14919
14920 [BZ #15339]
14921 * posix/tst-getaddrinfo4.c: New test.
14922 * posix/Makefile (tests): Add it.
14923
3d04f5db
SP
149242013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14925
14926 [BZ #15339]
14927 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14928 when no services were used.
14929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14930 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14931
d5dd6189
AS
149322013-05-21 Andreas Schwab <schwab@suse.de>
14933
14934 [BZ #15014]
14935 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14936 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14937 successful.
14938 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14939 redundant variable declarations and reallocation of buffer when
14940 parsing as IPv6 address. Always set NSS status when called from
14941 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14942 buffer too small. Correct computation of needed size.
14943 * nss/Makefile (tests): Add test-digits-dots.
14944 * nss/test-digits-dots.c: New test.
14945
fef94eab
SP
149462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14947
14948 * benchtests/Makefile: Remove instructions for adding
14949 benchmark tests.
14950 * benchtests/README: New file to explain how to execute and
14951 enhance the benchmark tests.
14952
e39adf43
AS
149532013-05-21 Andreas Schwab <schwab@suse.de>
14954
14955 [BZ #15493]
14956 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14957 * setjmp/tst-sigsetjmp.c: New test.
14958
b2b671b6
OB
149592013-05-20 Ondřej Bílka <neleai@seznam.cz>
14960
14961 * sysdeps/x86_64/memset.S (memset): New implementation.
14962 (__bzero): Likewise.
14963 (__memset_tail): New function.
14964
2d48b41c
OB
149652013-05-20 Ondřej Bílka <neleai@seznam.cz>
14966
14967 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14968 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14969 __memcpy_sse2_unaligned ifunc selection.
14970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14971 Add memcpy-sse2-unaligned.S.
14972 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14973 Add: __memcpy_sse2_unaligned.
14974
f16cc3eb
JM
149752013-05-19 Joseph Myers <joseph@codesourcery.com>
14976
3e694268
JM
14977 [BZ #15490]
14978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14979 math_force_eval before restoring floating-point envrionment.
14980 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14982 Likewise.
14983 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14984 <math_private.h>.
14985 (__nearbyintl): Use math_force_eval before restoring
14986 floating-point environment.
14987 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14988
db62a907
JM
14989 * math/gen-libm-test.pl (special_functions): Remove.
14990 (parse_args): Don't handle TEST_extra. Handle functions with no
14991 return value.
14992 * math/libm-test.inc (struct test_sincos_data): Replace with
14993 struct test_fFF_11_data.
14994 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14995 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14996 (sincos_test_data): Change element type to struct
14997 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14998 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14999 RUN_TEST_LOOP_sincos.
15000 * math/README.libm-test: Don't mention special handling of
15001 individual functions.
15002 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15003 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15004 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15005 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15006 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15008
f16cc3eb
JM
15009 * math/gen-libm-test.pl (get_variable): Remove function.
15010 (parse_args): Don't show pointer parameters to call in test
15011 names. Use "extra output N" in test names for extra outputs
15012 rather than naming variables.
15013
3779b5b6
JM
150142013-05-18 Joseph Myers <joseph@codesourcery.com>
15015
2ee094ff
JM
15016 [BZ #15488]
15017 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15018 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15019 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15020 double tests.
15021 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15022 disable.
15023 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15024 check_long_double.
15025
3779b5b6
JM
15026 * math/gen-libm-test.pl (@tests): Remove variable.
15027 ($count): Likewise.
15028 (new_test): Remove function.
15029 (show_exceptions): New function.
15030 (special_functions): Use show_exceptions instead of new_test.
15031 (parse_args): Likewise.
15032 (generate_testfile): Pass only function name in generated call to
15033 print_max_error or print_complex_max_error.
15034 (get_ulps): Do not handle complex tests specially.
15035 (output_test): Rename to ...
15036 (get_all_ulps_for_test): ... this. Return a string rather than
15037 printing to a file. Require ulps to be present.
15038 (output_ulps): Generate arrays rather than #defines.
15039 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15040 (struct ulp_data): New type.
15041 (BUILD_COMPLEX_ULP): Remove macro.
15042 (compare_ulp_data): New function.
15043 (find_ulps): Likewise.
15044 (find_test_ulps): Likewise.
15045 (find_function_ulps): Likewise.
15046 (find_complex_function_ulps): Likewise.
15047 (print_max_error): Determine allowed ulps using
15048 find_function_ulps.
15049 (print_complex_max_error): Determine allowed ulps using
15050 find_complex_function_ulps.
15051 (check_float_internal): Determine max ulps using find_test_ulps.
15052 (check_float): Do not take max_ulp parameter. Update call to
15053 check_float_internal.
15054 (check_complex): Likewise.
15055 (check_int): Do not take max_ulp parameter.
15056 (check_long): Likewise.
15057 (check_bool): Likewise.
15058 (check_longlong): Likewise.
15059 (struct test_f_f_data): Remove max_ulp field.
15060 (struct test_ff_f_data): Likewise.
15061 (struct test_ff_f_data_nexttoward): Likewise.
15062 (struct test_fi_f_data): Likewise.
15063 (struct test_fl_f_data): Likewise.
15064 (struct test_if_f_data): Likewise.
15065 (struct test_fff_f_data): Likewise.
15066 (struct test_c_f_data): Likewise.
15067 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15068 (struct test_fF_f1_data): Likewise.
15069 (struct test_ffI_f1_data): Likewise.
15070 (struct test_c_c_data): Remove max_ulp field.
15071 (struct test_cc_c_data): Likewise.
15072 (struct test_f_i_data): Likewise.
15073 (struct test_ff_i_data): Likewise.
15074 (struct test_f_l_data): Likewise.
15075 (struct test_f_L_data): Likewise.
15076 (struct test_sincos_data): Likewise.
15077 (RUN_TEST_f_f): Do not handle ulps.
15078 (RUN_TEST_LOOP_f_f): Likewise.
15079 (RUN_TEST_2_f): Likewise.
15080 (RUN_TEST_LOOP_2_f): Likewise.
15081 (RUN_TEST_fff_f): Likewise.
15082 (RUN_TEST_LOOP_fff_f): Likewise.
15083 (RUN_TEST_c_f): Likewise.
15084 (RUN_TEST_LOOP_c_f): Likewise.
15085 (RUN_TEST_f_f1): Likewise.
15086 (RUN_TEST_LOOP_f_f1): Likewise.
15087 (RUN_TEST_fF_f1): Likewise.
15088 (RUN_TEST_LOOP_fF_f1): Likewise.
15089 (RUN_TEST_fI_f1): Likewise.
15090 (RUN_TEST_LOOP_fI_f1): Likewise.
15091 (RUN_TEST_ffI_f1): Likewise.
15092 (RUN_TEST_LOOP_ffI_f1): Likewise.
15093 (RUN_TEST_c_c): Likewise.
15094 (RUN_TEST_LOOP_c_c): Likewise.
15095 (RUN_TEST_cc_c): Likewise.
15096 (RUN_TEST_LOOP_cc_c): Likewise.
15097 (RUN_TEST_f_i): Likewise.
15098 (RUN_TEST_LOOP_f_i): Likewise.
15099 (RUN_TEST_f_i_tg): Likewise.
15100 (RUN_TEST_LOOP_f_i_tg): Likewise.
15101 (RUN_TEST_ff_i_tg): Likewise.
15102 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15103 (RUN_TEST_f_b): Likewise.
15104 (RUN_TEST_LOOP_f_b): Likewise.
15105 (RUN_TEST_f_b_tg): Likewise.
15106 (RUN_TEST_LOOP_f_b_tg): Likewise.
15107 (RUN_TEST_f_l): Likewise.
15108 (RUN_TEST_LOOP_f_l): Likewise.
15109 (RUN_TEST_f_L): Likewise.
15110 (RUN_TEST_LOOP_f_L): Likewise.
15111 (RUN_TEST_sincos): Likewise.
15112 (RUN_TEST_LOOP_sincos): Likewise.
15113
8269107f
JM
151142013-05-17 Joseph Myers <joseph@codesourcery.com>
15115
bb38759d
JM
15116 [BZ #15480]
15117 [BZ #15485]
15118 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15119 main case of finite arguments, set rounding mode to FE_TONEAREST
15120 and discard exceptions.
15121 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15122 exceptions.
15123 (remainder_tonearest_test_data): New variable.
15124 (remainder_test_tonearest): New function.
15125 (remainder_towardzero_test_data): New variable.
15126 (remainder_test_towardzero): New function.
15127 (remainder_downward_test_data): New variable.
15128 (remainder_test_downward): New function.
15129 (remainder_upward_test_data): New variable.
15130 (remainder_test_upward): New function.
15131 (main): Call the new test functions.
15132
a00bdcf0
JM
15133 * math/libm-test.inc (struct test_f_f1_data): Remove field
15134 extra_init.
15135 (struct test_fF_f1_data): Likewise.
15136 (struct test_ffI_f1_data): Likewise.
15137 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15138 based on value of EXTRA_EXPECTED.
15139 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15140 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15141 EXTRA_VAR based on value of EXTRA_EXPECTED.
15142 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15143 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15144 EXTRA_VAR based on value of EXTRA_EXPECTED.
15145 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15146 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15147 EXTRA_VAR based on value of EXTRA_EXPECTED.
15148 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15149 * math/gen-libm-test.pl (parse_args): Don't output initializers
15150 for extra output values.
15151
de407f79
JM
15152 * math/libm-test.inc (check_int): Expect result to be exactly
15153 equal to expected value and do not handle ulps.
15154 (check_long): Likewise.
15155 (check_longlong): Likewise.
15156
8269107f
JM
15157 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15158 exceptions.
15159 (cimag_test_data): Likewise.
15160 (conj_test_data): Likewise.
15161 (copysign_test_data): Likewise.
15162 (cproj_test_data): Likewise.
15163 (creal_test_data): Likewise.
15164 (fabs_test_data): Likewise.
15165 (fdim_test_data): Likewise.
15166 (finite_test_data): Likewise.
15167 (floor_test_data): Likewise.
15168 (fmax_test_data): Likewise.
15169 (fmin_test_data): Likewise.
15170 (fmod_test_data): Likewise.
15171 (fpclassify_test_data): Likewise.
15172 (frexp_test_data): Likewise.
15173 (ilogb_test_data): Likewise.
15174 (isfinite_test_data): Likewise.
15175 (isgreater_test_data): Likewise.
15176 (isgreaterequal_test_data): Likewise.
15177 (isinf_test_data): Likewise.
15178 (isless_test_data): Likewise.
15179 (islessequal_test_data): Likewise.
15180 (islessgreater_test_data): Likewise.
15181 (isnan_test_data): Likewise.
15182 (isnormal_test_data): Likewise.
15183 (issignaling_test_data): Likewise.
15184 (isunordered_test_data): Likewise.
15185 (ldexp_test_data): Likewise.
15186 (lrint_test_data): Likewise.
15187 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15188 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15189 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15190 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15191 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15192 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15193 test input.
15194 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15195 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15196 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15197 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15198 that test input.
15199 (lrint_downward_test_data): Test for "inexact" exceptions.
15200 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15201 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15202 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15203 test input.
15204 (lrint_upward_test_data): Test for "inexact" exceptions.
15205 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15206 test input.
15207 (llrint_test_data): Test for "inexact" exceptions.
15208 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15209 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15210 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15211 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15212 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15213 (llrint_downward_test_data): Test for "inexact" exceptions.
15214 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15215 (llrint_upward_test_data): Test for "inexact" exceptions.
15216 (logb_test_data): Likewise.
15217 (logb_downward_test_data): Likewise.
15218 (nextafter_test_data): Likewise.
15219 (nexttoward_test_data): Likewise.
15220 (remainder_test_data): Likewise.
15221 (remquo_test_data): Likewise.
15222 (scalbn_test_data): Likewise.
15223 (scalbln_test_data): Likewise.
15224 (signbit_test_data): Likewise.
15225 (sqrt_test_data): Likewise.
15226 (significand_test_data): Likewise.
15227
48a18de1
SP
152282013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15229
15230 [BZ #15424]
15231 * benchtests/bench-modf.c (struct args): Mark arg0 as
15232 volatile.
15233 * scripts/bench.pl: Mark members of struct args as volatile.
15234
13d3b41a
AZ
152352013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15236
68191c1d 15237 [BZ # 15497]
13d3b41a
AZ
15238 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15239 negative infinity on POWER6 or lower.
15240 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15241
2848b105
MR
152422013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15243
15244 [BZ #15442]
15245 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15246 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15247 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15248 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15249 (_FP_SETQNAN): New macro.
15250 (_FP_SETQNAN_SEMIRAW): Likewise.
15251 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15252 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15253 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15254 (FP_EXTEND): Use _FP_FRAC_SNANP.
15255 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15256 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15257 into account.
15258 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15259 New macro.
15260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15261 Likewise.
15262
323e5cb7
JM
152632013-05-16 Joseph Myers <joseph@codesourcery.com>
15264
c58b274f
JM
15265 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15266 with DIVIDE_BY_ZERO_EXCEPTION.
15267 (gamma_test_data): Likewise.
15268 (lgamma_test_data): Likewise.
15269 (log_test_data): Likewise.
15270 (log10_test_data): Likewise.
15271 (log2_test_data): Likewise.
15272 (tgamma_test_data): Likewise.
15273
0ab34904
JM
15274 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15275 (acos_test_tonearest): Likewise.
15276 (acos_test_towardzero): Likewise.
15277 (acos_test_downward): Likewise.
15278 (acos_test_upward): Likewise.
15279 (acosh_test): Likewise.
15280 (asin_test): Likewise.
15281 (asin_test_tonearest): Likewise.
15282 (asin_test_towardzero): Likewise.
15283 (asin_test_downward): Likewise.
15284 (asin_test_upward): Likewise.
15285 (asinh_test): Likewise.
15286 (atan_test): Likewise.
15287 (atanh_test): Likewise.
15288 (atan2_test): Likewise.
15289 (cabs_test): Likewise.
15290 (cacos_test): Likewise.
15291 (cacosh_test): Likewise.
15292 (casin_test): Likewise.
15293 (casinh_test): Likewise.
15294 (catan_test): Likewise.
15295 (catanh_test): Likewise.
15296 (cbrt_test): Likewise.
15297 (ccos_test): Likewise.
15298 (ccosh_test): Likewise.
15299 (cexp_test): Likewise.
15300 (clog_test): Likewise.
15301 (clog10_test): Likewise.
15302 (cos_test): Likewise.
15303 (cos_test_tonearest): Likewise.
15304 (cos_test_towardzero): Likewise.
15305 (cos_test_downward): Likewise.
15306 (cos_test_upward): Likewise.
15307 (cosh_test): Likewise.
15308 (cosh_test_tonearest): Likewise.
15309 (cosh_test_towardzero): Likewise.
15310 (cosh_test_downward): Likewise.
15311 (cosh_test_upward): Likewise.
15312 (cpow_test): Likewise.
15313 (csin_test): Likewise.
15314 (csinh_test): Likewise.
15315 (csqrt_test): Likewise.
15316 (ctan_test): Likewise.
15317 (ctan_test_tonearest): Likewise.
15318 (ctan_test_towardzero): Likewise.
15319 (ctan_test_downward): Likewise.
15320 (ctan_test_upward): Likewise.
15321 (ctanh_test): Likewise.
15322 (ctanh_test_tonearest): Likewise.
15323 (ctanh_test_towardzero): Likewise.
15324 (ctanh_test_downward): Likewise.
15325 (ctanh_test_upward): Likewise.
15326 (erf_test): Likewise.
15327 (erfc_test): Likewise.
15328 (exp_test): Likewise.
15329 (exp_test_tonearest): Likewise.
15330 (exp_test_towardzero): Likewise.
15331 (exp_test_downward): Likewise.
15332 (exp_test_upward): Likewise.
15333 (exp10_test): Likewise.
15334 (exp2_test): Likewise.
15335 (expm1_test): Likewise.
15336 (fmod_test): Likewise.
15337 (gamma_test): Likewise.
15338 (hypot_test): Likewise.
15339 (j0_test): Likewise.
15340 (j1_test): Likewise.
15341 (jn_test): Likewise.
15342 (lgamma_test): Likewise.
15343 (log_test): Likewise.
15344 (log10_test): Likewise.
15345 (log1p_test): Likewise.
15346 (log2_test): Likewise.
15347 (logb_test_downward): Likewise.
15348 (pow_test): Likewise.
15349 (pow_test_tonearest): Likewise.
15350 (pow_test_towardzero): Likewise.
15351 (pow_test_downward): Likewise.
15352 (pow_test_upward): Likewise.
15353 (remainder_test): Likewise.
15354 (remquo_test): Likewise.
15355 (sin_test): Likewise.
15356 (sin_test_tonearest): Likewise.
15357 (sin_test_towardzero): Likewise.
15358 (sin_test_downward): Likewise.
15359 (sin_test_upward): Likewise.
15360 (sincos_test): Likewise.
15361 (sinh_test): Likewise.
15362 (sinh_test_tonearest): Likewise.
15363 (sinh_test_towardzero): Likewise.
15364 (sinh_test_downward): Likewise.
15365 (sinh_test_upward): Likewise.
15366 (sqrt_test): Likewise.
15367 (tan_test): Likewise.
15368 (tan_test_tonearest): Likewise.
15369 (tan_test_towardzero): Likewise.
15370 (tan_test_downward): Likewise.
15371 (tan_test_upward): Likewise.
15372 (tanh_test): Likewise.
15373 (tgamma_test): Likewise.
15374 (y0_test): Likewise.
15375 (y1_test): Likewise.
15376 (yn_test): Likewise.
15377
323e5cb7
JM
15378 * math/gen-libm-test.pl (adjust_arg): Remove function.
15379 (special_function): Remove argument $in_func. Only handle
15380 generating output for tables of tests, not inside functions.
15381 (parse_args): Likewise.
15382 (generate_testfile): Remove variable $in_func. Update call to
15383 parse_args.
15384 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15385 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15386 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15387 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15388 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15389 (MAX_VALUE_INIT): Rename macro to max_value.
15390 (MIN_VALUE_INIT): Rename macro to min_value.
15391 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15392 (plus_zero): Remove variable.
15393 (minus_zero): Likewise.
15394 (plus_infty): Likewise.
15395 (minus_infty): Likewise.
15396 (qnan_value): Likewise.
15397 (max_value): Likewise.
15398 (min_value): Likewise.
15399 (min_subnorm_value): Likewise.
15400
e054f494
RA
154012013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15402
15403 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15404 uint64_t or uint32_t usage.
15405 * crypt/sha256-block.c: Likewise.
15406 * crypt/sha256-crypt.c: Likewise.
15407 * crypt/sha256.c: Likewise.
15408 * crypt/sha512-block.c: Likewise.
15409 * crypt/sha512-crypt.c: Likewise.
15410 * crypt/sha512.c: Likewise.
15411 * debug/backtrace-tst.c: Likewise.
15412 * debug/pcprofiledump.c: Likewise.
15413 * elf/cache.c: Likewise.
15414 * elf/dl-cache.c: Likewise.
15415 * elf/dl-misc.c: Likewise.
15416 * elf/dl-profile.c: Likewise.
15417 * elf/dl-support.c: Likewise.
15418 * elf/ldconfig.c: Likewise.
15419 * elf/sprof.c: Likewise.
15420 * iconv/dummy-repertoire.c: Likewise.
15421 * iconv/iconv_charmap.c: Likewise.
15422 * iconv/skeleton.c: Likewise.
15423 * iconvdata/8bit-generic.c: Likewise.
15424 * iconvdata/cp737.h: Likewise.
15425 * iconvdata/cp775.h: Likewise.
15426 * iconvdata/ibm1008.h: Likewise.
15427 * iconvdata/ibm1025.h: Likewise.
15428 * iconvdata/ibm1046.h: Likewise.
15429 * iconvdata/ibm1097.h: Likewise.
15430 * iconvdata/ibm1112.h: Likewise.
15431 * iconvdata/ibm1122.h: Likewise.
15432 * iconvdata/ibm1123.h: Likewise.
15433 * iconvdata/ibm1124.h: Likewise.
15434 * iconvdata/ibm1129.h: Likewise.
15435 * iconvdata/ibm1130.h: Likewise.
15436 * iconvdata/ibm1132.h: Likewise.
15437 * iconvdata/ibm1133.h: Likewise.
15438 * iconvdata/ibm1137.h: Likewise.
15439 * iconvdata/ibm1140.h: Likewise.
15440 * iconvdata/ibm1141.h: Likewise.
15441 * iconvdata/ibm1142.h: Likewise.
15442 * iconvdata/ibm1143.h: Likewise.
15443 * iconvdata/ibm1144.h: Likewise.
15444 * iconvdata/ibm1145.h: Likewise.
15445 * iconvdata/ibm1146.h: Likewise.
15446 * iconvdata/ibm1147.h: Likewise.
15447 * iconvdata/ibm1148.h: Likewise.
15448 * iconvdata/ibm1149.h: Likewise.
15449 * iconvdata/ibm1153.h: Likewise.
15450 * iconvdata/ibm1154.h: Likewise.
15451 * iconvdata/ibm1155.h: Likewise.
15452 * iconvdata/ibm1156.h: Likewise.
15453 * iconvdata/ibm1157.h: Likewise.
15454 * iconvdata/ibm1158.h: Likewise.
15455 * iconvdata/ibm1160.h: Likewise.
15456 * iconvdata/ibm1161.h: Likewise.
15457 * iconvdata/ibm1162.h: Likewise.
15458 * iconvdata/ibm1163.h: Likewise.
15459 * iconvdata/ibm1164.h: Likewise.
15460 * iconvdata/ibm1166.h: Likewise.
15461 * iconvdata/ibm1167.h: Likewise.
15462 * iconvdata/ibm12712.h: Likewise.
15463 * iconvdata/ibm1390.h: Likewise.
15464 * iconvdata/ibm1399.h: Likewise.
15465 * iconvdata/ibm16804.h: Likewise.
15466 * iconvdata/ibm4517.h: Likewise.
15467 * iconvdata/ibm4899.h: Likewise.
15468 * iconvdata/ibm4909.h: Likewise.
15469 * iconvdata/ibm4971.h: Likewise.
15470 * iconvdata/ibm5347.h: Likewise.
15471 * iconvdata/ibm803.h: Likewise.
15472 * iconvdata/ibm856.h: Likewise.
15473 * iconvdata/ibm901.h: Likewise.
15474 * iconvdata/ibm902.h: Likewise.
15475 * iconvdata/ibm9030.h: Likewise.
15476 * iconvdata/ibm9066.h: Likewise.
15477 * iconvdata/ibm921.h: Likewise.
15478 * iconvdata/ibm922.h: Likewise.
15479 * iconvdata/ibm9448.h: Likewise.
15480 * iconvdata/isiri-3342.h: Likewise.
15481 * iconvdata/jis0201.h: Likewise.
15482 * include/link.h: Likewise.
15483 * include/netdb.h: Likewise.
15484 * inet/check_native.c: Likewise.
15485 * inet/check_pf.c: Likewise.
15486 * inet/getipv4sourcefilter.c: Likewise.
15487 * inet/getnameinfo.c: Likewise.
15488 * inet/getsourcefilter.c: Likewise.
15489 * inet/htonl.c: Likewise.
15490 * inet/setipv4sourcefilter.c: Likewise.
15491 * inet/setsourcefilter.c: Likewise.
15492 * inet/test-inet6_opt.c: Likewise.
15493 * inet/tst-network.c: Likewise.
15494 * locale/C-collate.c: Likewise.
15495 * locale/C-ctype.c: Likewise.
15496 * locale/C-time.c: Likewise.
15497 * locale/C-translit.h: Likewise.
15498 * locale/loadarchive.c: Likewise.
15499 * locale/programs/3level.h: Likewise.
15500 * locale/programs/charmap.c: Likewise.
15501 * locale/programs/charmap.h: Likewise.
15502 * locale/programs/ld-address.c: Likewise.
15503 * locale/programs/ld-collate.c: Likewise.
15504 * locale/programs/ld-ctype.c: Likewise.
15505 * locale/programs/ld-identification.c: Likewise.
15506 * locale/programs/ld-measurement.c: Likewise.
15507 * locale/programs/ld-messages.c: Likewise.
15508 * locale/programs/ld-monetary.c: Likewise.
15509 * locale/programs/ld-name.c: Likewise.
15510 * locale/programs/ld-numeric.c: Likewise.
15511 * locale/programs/ld-paper.c: Likewise.
15512 * locale/programs/ld-telephone.c: Likewise.
15513 * locale/programs/ld-time.c: Likewise.
15514 * locale/programs/linereader.c: Likewise.
15515 * locale/programs/locale.c: Likewise.
15516 * locale/programs/locarchive.c: Likewise.
15517 * locale/programs/locfile.h: Likewise.
15518 * locale/programs/repertoire.c: Likewise.
15519 * locale/programs/simple-hash.c: Likewise.
15520 * locale/programs/simple-hash.h: Likewise.
15521 * malloc/memusage.c: Likewise.
15522 * malloc/memusagestat.c: Likewise.
15523 * nis/nis_defaults.c: Likewise.
15524 * nis/nis_hash.c: Likewise.
15525 * nis/nis_print.c: Likewise.
15526 * nis/nis_xdr.c: Likewise.
15527 * nscd/connections.c: Likewise.
15528 * nscd/hstcache.c: Likewise.
15529 * nscd/nscd_gethst_r.c: Likewise.
15530 * nscd/nscd_getserv_r.c: Likewise.
15531 * nscd/nscd_helper.c: Likewise.
15532 * nscd/servicescache.c: Likewise.
15533 * nss/makedb.c: Likewise.
15534 * nss/nss_db/db-XXX.c: Likewise.
15535 * nss/nss_db/db-initgroups.c: Likewise.
15536 * nss/nss_db/db-netgrp.c: Likewise.
15537 * nss/nss_files/files-network.c: Likewise.
15538 * nss/nss_files/files-parse.c: Likewise.
15539 * posix/bug-regex5.c: Likewise.
15540 * posix/fnmatch_loop.c: Likewise.
15541 * posix/regcomp.c: Likewise.
15542 * posix/regexec.c: Likewise.
15543 * posix/tst-rfc3484-2.c: Likewise.
15544 * posix/tst-rfc3484-3.c: Likewise.
15545 * posix/tst-rfc3484.c: Likewise.
15546 * resolv/nss_dns/dns-canon.c: Likewise.
15547 * resolv/nss_dns/dns-network.c: Likewise.
15548 * resolv/res_init.c: Likewise.
15549 * resolv/res_mkquery.c: Likewise.
15550 * resolv/tst-aton.c: Likewise.
15551 * stdlib/cxa_atexit.c: Likewise.
15552 * stdlib/cxa_finalize.c: Likewise.
15553 * stdlib/gen-fpioconst.c: Likewise.
15554 * stdlib/strtol_l.c: Likewise.
15555 * string/tst-endian.c: Likewise.
15556 * sunrpc/auth_des.c: Likewise.
15557 * sunrpc/clnt_udp.c: Likewise.
15558 * sunrpc/rtime.c: Likewise.
15559 * sunrpc/svcauth_des.c: Likewise.
15560 * sunrpc/xdr.c: Likewise.
15561 * sunrpc/xdr_intXX_t.c: Likewise.
15562 * sunrpc/xdr_rec.c: Likewise.
15563 * sysdeps/generic/ldconfig.h: Likewise.
15564 * sysdeps/generic/ldsodefs.h: Likewise.
15565 * sysdeps/generic/memusage.h: Likewise.
15566 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15567 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15568 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15569 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15570 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15572 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15573 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15574 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15576 * sysdeps/posix/getaddrinfo.c: Likewise.
15577 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15578 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15579 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15580 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15581 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15582 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15583 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15584 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15585 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15586 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15587 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15588 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15589 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15590 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15591 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15592 * sysdeps/x86_64/dl-tls.h: Likewise.
15593 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15594 * time/alt_digit.c: Likewise.
15595 * time/era.c: Likewise.
15596 * wcsmbs/tst-c16c32-1.c: Likewise.
15597
8c75f674
JM
155982013-05-16 Joseph Myers <joseph@codesourcery.com>
15599
15600 * math/libm-test.inc (struct test_sincos_data): New type.
15601 (RUN_TEST_LOOP_sincos): New macro.
15602 (sincos_test_data): New variable.
15603 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15604
e6e49e59
RH
156052013-05-16 Richard Henderson <rth@redhat.com>
15606
15607 * math/atest-exp2.c (LIMB64): New macro.
15608 (CONSTSZ): New macro.
15609 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15610 (hexdig): Move ...
15611 (print_mpn_fp): ... to function scope.
15612 (read_mpn_hex): Remove.
15613 (get_log2): Remove.
15614 (exp2_mpn): Use mp_log2.
15615 (main): Use mp_exp1.
15616
15c7c18d
JM
156172013-05-16 Joseph Myers <joseph@codesourcery.com>
15618
105a07df
JM
15619 * math/libm-test.inc: Remove comment about not testing "inexact"
15620 exceptions.
15621 (INEXACT_EXCEPTION): New macro.
15622 (NO_INEXACT_EXCEPTION): Likewise.
15623 (INVALID_EXCEPTION_OK): Update value.
15624 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15625 (OVERFLOW_EXCEPTION_OK): Likewise.
15626 (UNDERFLOW_EXCEPTION_OK): Likewise.
15627 (IGNORE_ZERO_INF_SIGN): Likewise.
15628 (ERRNO_UNCHANGED): Likewise.
15629 (ERRNO_EDOM): Likewise.
15630 (ERRNO_ERANGE): Likewise.
15631 (test_exceptions): Handle testing "inexact" exceptions.
15632 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15633 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15634 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15635 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15636 INEXACT_EXCEPTION.
15637 (rint_towardzero_test_data): Likewise.
15638 (rint_downward_test_data): Likewise.
15639 (rint_upward_test_data): Likewise.
15640
e9eee333
JM
15641 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15642 with OVERFLOW_EXCEPTION.
15643 (exp10_test_data): Likewise.
15644 (exp2_test_data): Likewise.
15645 (expm1_test_data): Likewise.
15646 (lgamma_test_data): Likewise.
15647 (pow_test_data): Likewise.
15648 (tgamma_test_data): Likewise.
15649 (yn_test_data): Remove duplicate test of overflow.
15650
1c38ff73
JM
15651 * math/libm-test.inc (struct test_cc_c_data): New type.
15652 (RUN_TEST_LOOP_cc_c): New macro.
15653 (cpow_test_data): New variable.
15654 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15655
15c7c18d
JM
15656 * math/libm-test.inc (struct test_f_L_data): New type.
15657 (RUN_TEST_LOOP_f_L): New macro.
15658 (llrint_test_data): New variable.
15659 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15660 (llrint_tonearest_test_data): New variable.
15661 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15662 (llrint_towardzero_test_data): New variable.
15663 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15664 (llrint_downward_test_data): New variable.
15665 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15666 (llrint_upward_test_data): New variable.
15667 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15668 (llround_test_data): New variable.
15669 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15670
f137ff13
PC
156712013-05-13 Peter Collingbourne <pcc@google.com>
15672
15673 * math/atest-exp2.c (get_log2): Remove const attribute.
15674
3608cb24
JM
156752013-05-15 Joseph Myers <joseph@codesourcery.com>
15676
15677 * math/libm-test.inc (struct test_f_l_data): New type.
15678 (RUN_TEST_LOOP_f_l): New macro.
15679 (lrint_test_data): New variable.
15680 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15681 (lrint_tonearest_test_data): New variable.
15682 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15683 (lrint_towardzero_test_data): New variable.
15684 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15685 (lrint_downward_test_data): New variable.
15686 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15687 (lrint_upward_test_data): New variable.
15688 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15689 (lround_test_data): New variable.
15690 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15691
39b1f617
PC
156922013-05-15 Peter Collingbourne <pcc@google.com>
15693
1deff3dc
PC
15694 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15695 (EXTRACT_WORDS64) Use where appropriate.
15696 (INSERT_WORDS64) Likewise.
15697
791f3ba0
PC
15698 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15699 constraints with x constraints.
15700 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15701
39b1f617
PC
15702 * malloc/obstack.c (_obstack_compat): Add initializer.
15703
12fba011
EM
157042013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15705
15706 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15707 si_trapno and add si_addr_lsb to _sifields.sigfault.
15708 (si_trapno): Remove macro.
15709 (si_addr_lsb): Define new macro.
15710 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15711
d369f531
JM
157122013-05-15 Joseph Myers <joseph@codesourcery.com>
15713
b861c6c4
JM
15714 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15715 instead of TEST_f_l.
15716 (llrint_test_tonearest): Likewise.
15717 (llrint_test_towardzero): Likewise.
15718 (llrint_test_downward): Likewise.
15719 (llrint_test_upward): Likewise.
15720 (llround_test): Likewise.
15721
7abeee12
JM
15722 * math/libm-test.inc (struct test_f_i_data): Add comment.
15723 (RUN_TEST_LOOP_f_b): New macro.
15724 (RUN_TEST_LOOP_f_b_tg): Likewise.
15725 (finite_test_data): New variable.
15726 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15727 (isfinite_test_data): New variable.
15728 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15729 (isinf_test_data): New variable.
15730 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15731 (isnan_test_data): New variable.
15732 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15733 (isnormal_test_data): New variable.
15734 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15735 (issignaling_test_data): New variable.
15736 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15737 (signbit_test_data): New variable.
15738 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15739
cbe8c4d3
JM
15740 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15741 with INVALID_EXCEPTION.
15742 (acosh_test_data): Likewise.
15743 (asin_test_data): Likewise.
15744 (atanh_test_data): Likewise.
15745 (fmod_test_data): Likewise.
15746 (log_test_data): Likewise.
15747 (log10_test_data): Likewise.
15748 (log2_test_data): Likewise.
15749 (pow_test_data): Likewise.
15750 (sqrt_test_data): Likewise.
15751 (y0_test_data): Likewise.
15752 (y1_test_data): Likewise.
15753 (yn_test_data): Likewise.
15754
5575c0e5
JM
15755 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15756 function contents.
15757
d369f531
JM
15758 * math/libm-test.inc (struct test_ff_i_data): New type.
15759 (RUN_TEST_LOOP_ff_i_tg): New macro.
15760 (isgreater_test_data): New variable.
15761 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15762 (isgreaterequal_test_data): New variable.
15763 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15764 (isless_test_data): New variable.
15765 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15766 (islessequal_test_data): New variable.
15767 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15768 (islessgreater_test_data): New variable.
15769 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15770 (isunordered_test_data): New variable.
15771 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15772
781fd748
DM
157732013-05-14 David S. Miller <davem@davemloft.net>
15774
15775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15776
87aa21df
JM
157772013-05-14 Joseph Myers <joseph@codesourcery.com>
15778
5e908270
JM
15779 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15780
f71172e5
JM
15781 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15782 extra_test to int.
15783 (struct test_f_i_data): Change type of max_ulp to int.
15784
8cfa635a
JM
15785 * math/libm-test.inc (test_ffI_f1_data): New type.
15786 (RUN_TEST_LOOP_ffI_f1): New macro.
15787 (remquo_test_data): New variable.
15788 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15789
2bcb36b2
JM
15790 * setjmp/tst-setjmp-fp.c: New file.
15791 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15792 (link-libm): New variable.
15793 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15794
acbd839a
JM
15795 * math/libm-test.inc (struct test_f_i_data): New type.
15796 (RUN_TEST_LOOP_f_i): New macro.
15797 (RUN_TEST_LOOP_f_i_tg): Likewise.
15798 (fpclassify_test_data): New variable.
15799 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15800 (ilogb_test_data): New variable.
15801 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15802
e414d745
JM
15803 * math/libm-test.inc (scalbln_test): Correct function name in END
15804 call.
15805
d9c2a0fd
JM
15806 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15807 (RUN_TEST_LOOP_fI_f1): New macro.
15808 (frexp_test_data): New variable.
15809 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15810
9dc9095d
JM
15811 * math/libm-test.inc (struct test_fF_f1_data): New type.
15812 (RUN_TEST_LOOP_fF_f1): New macro.
15813 (modf_test_data): New variable.
15814 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15815
87aa21df
JM
15816 * math/libm-test.inc (struct test_f_f1_data): New type.
15817 (RUN_TEST_LOOP_f_f1): New macro.
15818 (gamma_test_data): New variable.
15819 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15820 (lgamma_test_data): New variable.
15821 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15822
141af660
CD
158232013-05-13 Carlos O'Donell <carlos@redhat.com>
15824
15825 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15826 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15827 (main): Comment "tls" pseudo-hwcap.
15828
6d33265c
JM
158292013-05-13 Joseph Myers <joseph@codesourcery.com>
15830
68fc074c
JM
15831 * math/libm-test.inc (struct test_fl_f_data): New type.
15832 (RUN_TEST_LOOP_fl_f): New variable.
15833 (scalbln_test_data): New variable.
15834 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15835
243216e1
JM
15836 * math/libm-test.inc (struct test_fi_f_data): New type.
15837 (RUN_TEST_LOOP_fi_f): New macro.
15838 (ldexp_test_data): New variable.
15839 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15840 (scalbn_test_data): New variable.
15841 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15842
6a1992e2
JM
15843 * math/libm-test.inc (struct test_c_f_data): New type.
15844 (RUN_TEST_LOOP_c_f): New macro.
15845 (cabs_test_data): New variable.
15846 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15847 (carg_test_data): New variable.
15848 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15849 (cimag_test_data): New variable.
15850 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15851 (creal_test_data): New variable.
15852 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15853
0e400df5
JM
15854 * math/libm-test.inc (struct test_if_f_data): New type.
15855 (RUN_TEST_LOOP_if_f): New macro.
15856 (jn_test_data): New variable.
15857 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15858 (yn_test_data): New variable.
15859 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15860
6d33265c
JM
15861 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15862
f98ece5f
AZ
158632013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15864
15865 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15866 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15867
0f7d347b
SP
158682013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15869
43fe811b
SP
15870 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15871 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15872 (bench-deps): Add bench-timing.h.
15873 * benchtests-bench-skeleton.c: Include bench-timing.h.
15874 (main): Use TIMING_* macros instead of clock_gettime.
15875 * benchtests/bench-timing.h: New file.
15876
0f7d347b
SP
15877 [BZ #14582]
15878 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15879 Renamed from _LIB_VERSION.
15880 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15881
601a3a5f
JM
158822013-05-12 Joseph Myers <joseph@codesourcery.com>
15883
4f184d30
JM
15884 * math/libm-test.inc (struct test_fff_f_data): New type.
15885 (RUN_TEST_LOOP_fff_f): New macro.
15886 (fma_test_data): New variable.
15887 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15888 (fma_towardzero_test_data): New variable.
15889 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15890 (fma_downward_test_data): New variable.
15891 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15892 (fma_upward_test_data): New variable.
15893 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15894
08198877
JM
15895 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15896 (struct test_c_c_data): New type.
15897 (RUN_TEST_LOOP_c_c): New macro.
15898 (cacos_test_data): New variable.
15899 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15900 (cacosh_test_data): New variable.
15901 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15902 (casin_test_data): New variable.
15903 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15904 (casinh_test_data): New variable.
15905 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15906 (catan_test_data): New variable.
15907 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15908 (catanh_test_data): New variable.
15909 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15910 (ccos_test_data): New variable.
15911 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15912 (ccosh_test_data): New variable.
15913 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15914 (cexp_test_data): New variable.
15915 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15916 (clog_test_data): New variable.
15917 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15918 (clog10_test_data): New variable.
15919 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15920 (conj_test_data): New variable.
15921 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15922 (cproj_test_data): New variable.
15923 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15924 (csin_test_data): New variable.
15925 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15926 (csinh_test_data): New variable.
15927 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15928 (csqrt_test_data): New variable.
15929 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15930 (ctan_test_data): New variable.
15931 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15932 (ctan_tonearest_test_data): New variable.
15933 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15934 (ctan_towardzero_test_data): New variable.
15935 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15936 (ctan_downward_test_data): New variable.
15937 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15938 (ctan_upward_test_data): New variable.
15939 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15940 (ctanh_test_data): New variable.
15941 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15942 (ctanh_tonearest_test_data): New variable.
15943 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15944 (ctanh_towardzero_test_data): New variable.
15945 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15946 (ctanh_downward_test_data): New variable.
15947 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15948 (ctanh_upward_test_data): New variable.
15949 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15950 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15951 of BUILD_COMPLEX.
15952
601a3a5f
JM
15953 * math/libm-test.inc (struct test_ff_f_data): New type.
15954 (struct test_ff_f_data_nexttoward): Likewise.
15955 (RUN_TEST_LOOP_2_f): New macro.
15956 (RUN_TEST_LOOP_ff_f): Likewise.
15957 (atan2_test_data): New variable.
15958 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15959 (copysign_test_data): New variable.
15960 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15961 (fdim_test_data): New variable.
15962 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15963 (fmax_test_data): New variable.
15964 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15965 (fmin_test_data): New variable.
15966 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15967 (fmod_test_data): New variable.
15968 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15969 (hypot_test_data): New variable.
15970 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15971 (nextafter_test_data): New variable.
15972 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15973 (nexttoward_test_data): New variable.
15974 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15975 (pow_test_data): New variable.
15976 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15977 (pow_tonearest_test_data): New variable.
15978 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15979 (pow_towardzero_test_data): New variable.
15980 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15981 (pow_downward_test_data): New variable.
15982 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15983 (pow_upward_test_data): New variable.
15984 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15985 (remainder_test_data): New variable.
15986 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15987 (scalb_test_data): New variable.
15988 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15989 * sysdeps/i386/fpu/libm-test-ulps: Update.
15990
74c57478
JM
159912013-05-11 Joseph Myers <joseph@codesourcery.com>
15992
8329e4da
JM
15993 * math/libm-test.inc (fma_test): Use max_value instead of local
15994 variable fltmax.
15995 (nextafter_test): Likewise.
15996
74c57478
JM
15997 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15998 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15999 (acos_downward_test_data): New variable.
16000 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16001 (acos_upward_test_data): New variable.
16002 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16003 (acosh_test_data): New variable.
16004 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16005 (asin_test_data): New variable.
16006 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16007 (asin_tonearest_test_data): New variable.
16008 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16009 (asin_towardzero_test_data): New variable.
16010 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16011 (asin_downward_test_data): New variable.
16012 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16013 (asin_upward_test_data): New variable.
16014 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16015 (asinh_test_data): New variable.
16016 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16017 (atan_test_data): New variable.
16018 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16019 (atanh_test_data): New variable.
16020 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16021 (cbrt_test_data): New variable.
16022 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16023 (ceil_test_data): New variable.
16024 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16025 (cos_test_data): New variable.
16026 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16027 (cos_tonearest_test_data): New variable.
16028 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16029 (cos_towardzero_test_data): New variable.
16030 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16031 (cos_downward_test_data): New variable.
16032 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16033 (cos_upward_test_data): New variable.
16034 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16035 (cosh_test_data): New variable.
16036 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16037 (cosh_tonearest_test_data): New variable.
16038 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16039 (cosh_towardzero_test_data): New variable.
16040 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16041 (cosh_downward_test_data): New variable.
16042 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16043 (cosh_upward_test_data): New variable.
16044 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16045 (erf_test_data): New variable.
16046 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16047 (erfc_test_data): New variable.
16048 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16049 (exp_test_data): New variable.
16050 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16051 (exp_tonearest_test_data): New variable.
16052 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16053 (exp_towardzero_test_data): New variable.
16054 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16055 (exp_downward_test_data): New variable.
16056 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16057 (exp_upward_test_data): New variable.
16058 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16059 (exp10_test_data): New variable.
16060 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16061 (exp2_test_data): New variable.
16062 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16063 (expm1_test_data): New variable.
16064 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16065 (fabs_test_data): New variable.
16066 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16067 (floor_test_data): New variable.
16068 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16069 (j0_test_data): New variable.
16070 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16071 (j1_test_data): New variable.
16072 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16073 (log_test_data): New variable.
16074 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16075 (log10_test_data): New variable.
16076 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16077 (log1p_test_data): New variable.
16078 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16079 (log2_test_data): New variable.
16080 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16081 (logb_test_data): New variable.
16082 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16083 (logb_downward_test_data): New variable.
16084 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16085 (nearbyint_test_data): New variable.
16086 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16087 (rint_test_data): New variable.
16088 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16089 (rint_tonearest_test_data): New variable.
16090 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16091 (rint_towardzero_test_data): New variable.
16092 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16093 (rint_downward_test_data): New variable.
16094 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16095 (rint_upward_test_data): New variable.
16096 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16097 (round_test_data): New variable.
16098 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16099 (sin_test_data): New variable.
16100 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16101 (sin_tonearest_test_data): New variable.
16102 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16103 (sin_towardzero_test_data): New variable.
16104 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16105 (sin_downward_test_data): New variable.
16106 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16107 (sin_upward_test_data): New variable.
16108 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16109 (sinh_test_data): New variable.
16110 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16111 (sinh_tonearest_test_data): New variable.
16112 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16113 (sinh_towardzero_test_data): New variable.
16114 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16115 (sinh_downward_test_data): New variable.
16116 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16117 (sinh_upward_test_data): New variable.
16118 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16119 (sqrt_test_data): New variable.
16120 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16121 (tan_test_data): New variable.
16122 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16123 (tan_tonearest_test_data): New variable.
16124 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16125 (tan_towardzero_test_data): New variable.
16126 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16127 (tan_downward_test_data): New variable.
16128 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16129 (tan_upward_test_data): New variable.
16130 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16131 (tanh_test_data): New variable.
16132 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16133 (tgamma_test_data): New variable.
16134 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16135 (trunc_test_data): New variable.
16136 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16137 (y0_test_data): New variable.
16138 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16139 (y1_test_data): New variable.
16140 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16141 (significand_test_data): New variable.
16142 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16143
7187d844
CG
161442013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16145
16146 [BZ #12387]
16147 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16148
f63fae73
PT
161492013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16150
16151 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16152
8a67a4b3
AJ
161532013-05-10 Andreas Jaeger <aj@suse.de>
16154
16155 [BZ #15448]
16156 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16157 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16158
51df539d
JM
161592013-05-10 Joseph Myers <joseph@codesourcery.com>
16160
16161 * math/gen-libm-test.pl (adjust_arg): New function.
16162 (special_functions): Handle generating output in both functions
16163 and arrays.
16164 (parse_args): Likewise.
16165 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16166 $in_func argument to parse_args.
16167 * math/libm-test.inc (struct test_f_f_data): New type.
16168 (IF_ROUND_INIT_): New macro.
16169 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16170 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16171 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16172 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16173 (ROUND_RESTORE_): Likewise.
16174 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16175 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16176 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16177 (ROUND_RESTORE_FE_UPWARD): Likewise.
16178 (RUN_TEST_LOOP_f_f): New macro.
16179 (acos_test_data): New variable.
16180 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16181 (acos_tonearest_test_data): New variable.
16182 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16183
5c637fe5
SP
161842013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16185
16186 * benchtests/bench-skeleton.c (startup): Fix coding style.
16187
ab2b9461
JM
161882013-05-10 Joseph Myers <joseph@codesourcery.com>
16189
16190 [BZ #6809]
16191 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16192 negative infinity argument.
16193 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16194 negative infinity argument.
16195 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16196 negative infinity argument.
16197 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16198 domain errors.
16199
4c0fe6fe
FW
162002013-05-10 Florian Weimer <fweimer@redhat.com>
16201
16202 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16203 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16204 * iconv/iconv_prog.c (main): Likewise.
16205 * locale/programs/charmap-dir.c (charmap_readdir)
16206 (fopen_uncompressed): Likewise.
16207 * locale/programs/locfile.c (siblings_uncached)
16208 (write_locale_data): Use lstat64 instead of lstat.
16209 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16210 stat.
16211
a3375d29
AJ
162122013-05-10 Andreas Jaeger <aj@suse.de>
16213
16214 [BZ #15395]
16215 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16216 localization.
16217 Include <locale.h>.
16218
36129722
CD
162192013-05-09 Carlos O'Donell <carlos@redhat.com>
16220
16221 * elf/dl-close.c (_dl_close_worker): Add comments.
16222
faa7f811
JM
162232013-05-09 Joseph Myers <joseph@codesourcery.com>
16224
ed41ffef
JM
16225 [BZ #15359]
16226 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16227 high part of pi/2.
16228 (__ieee754_rem_pio2l): Update comments.
16229
d0213cd0
JM
16230 [BZ #15429]
16231 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16232 high part of pi/2.
16233 (__ieee754_rem_pio2l): Update comments.
16234
0d3e777a
JM
16235 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16236 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16237
24f56066
JM
16238 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16239 M_PI_4l.
16240
faa7f811
JM
16241 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16242 (M_PI_34_LOG10El): Likewise.
16243 (M_PI2_LOG10El): Likewise.
16244 (M_PI4_LOG10El): Likewise.
16245 (M_PI_LOG10El): Likewise.
16246
e9a5e0fd
AZ
162472013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16248
16249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16250
d8cd06db
JM
162512013-05-08 Joseph Myers <joseph@codesourcery.com>
16252
a0d9f9d7
JM
16253 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16254 (MINUS_ZERO_INIT): Likewise.
16255 (PLUS_INFTY_INIT): Likewise.
16256 (MINUS_INFTY_INIT): Likewise.
16257 (QNAN_VALUE_INIT): Likewise.
16258 (MAX_VALUE_INIT): Likewise.
16259 (MIN_VALUE_INIT): Likewise.
16260 (MIN_SUBNORM_VALUE_INIT): Likewise.
16261 (plus_zero): Initialize with PLUS_ZERO_INIT.
16262 (minus_zero): Initialize with MINUS_ZERO_INIT.
16263 (plus_infty): Initialize with PLUS_INFTY_INIT.
16264 (minus_infty): Initialize with MINUS_INFTY_INIT.
16265 (qnan_value): Initialize with QNAN_VALUE_INIT.
16266 (max_value): Initialize with MAX_VALUE_INIT.
16267 (min_value): Initialize with MIN_VALUE_INIT.
16268 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16269
ae08db3b
JM
16270 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16271 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16272 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16273 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16274
f44bf14a
JM
16275 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16276 (RUN_TEST_2_f): Likewise.
16277 (RUN_TEST_ff_f): Likewise.
16278 (RUN_TEST_fi_f): Likewise.
16279 (RUN_TEST_fl_f): Likewise.
16280 (RUN_TEST_fff_f): Likewise.
16281 (RUN_TEST_c_f): Likewise.
16282 (RUN_TEST_f_f1): Likewise.
16283 (RUN_TEST_fF_f1): Likewise.
16284 (RUN_TEST_fI_f1): Likewise.
16285 (RUN_TEST_ffI_f1): Likewise.
16286 (RUN_TEST_c_c): Likewise.
16287 (RUN_TEST_cc_c): Likewise.
16288 (RUN_TEST_f_i): Likewise.
16289 (RUN_TEST_f_i_tg): Likewise.
16290 (RUN_TEST_ff_i_tg): Likewise.
16291 (RUN_TEST_f_b): Likewise.
16292 (RUN_TEST_f_b_tg): Likewise.
16293 (RUN_TEST_f_l): Likewise.
16294 (RUN_TEST_f_L): Likewise.
16295 (RUN_TEST_sincos): Likewise.
16296 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16297 whether to show exceptions. Do not include ");\n" in return
16298 value.
16299 (special_functions): Output call to RUN_TEST_sincos instead of
16300 check_float calls. Update calls to new_test.
16301 (parse_args): Output call to single RUN_TEST_* macro instead of
16302 check_* calls and other assignments. Update calls to new_test.
16303
d8cd06db
JM
16304 [BZ #2546]
16305 [BZ #2560]
16306 [BZ #5159]
16307 [BZ #15426]
16308 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16309 input to result for tgamma overflow.
16310 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16311 (gamma_coeff): New variable.
16312 (NCOEFF): New macro.
16313 (gamma_positive): New function.
16314 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16315 underflow here. Use gamma_positive instead of exp (lgamma) for
16316 other arguments.
16317 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16318 (gamma_coeff): New variable.
16319 (NCOEFF): New macro.
16320 (gammaf_positive): New function.
16321 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16322 underflow here. Use gamma_positive instead of exp (lgamma) for
16323 other arguments.
16324 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16325 (gamma_coeff): New variable.
16326 (NCOEFF): New macro.
16327 (gammal_positive): New function.
16328 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16329 underflow here. Use gamma_positive instead of exp (lgamma) for
16330 other arguments.
16331 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16332 (gamma_coeff): New variable.
16333 (NCOEFF): New macro.
16334 (gammal_positive): New function.
16335 (__ieee754_gammal_r): Handle positive infinity, overflow and
16336 underflow here. Handle NaN the same as positive infinity. Remove
16337 check x < 0xffffffff for negative integers. Use gamma_positive
16338 instead of exp (lgamma) for other arguments.
16339 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16340 (gamma_coeff): New variable.
16341 (NCOEFF): New macro.
16342 (gammal_positive): New function.
16343 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16344 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16348 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16349 * sysdeps/generic/math_private.h (__gamma_productf): New
16350 prototype.
16351 (__gamma_product): Likewise.
16352 (__gamma_productl): Likewise.
16353 * math/Makefile (libm-calls): Add gamma_product.
16354 * math/libm-test.inc (tgamma_test): Add more tests.
16355 * sysdeps/i386/fpu/libm-test-ulps: Update.
16356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16357
bb7cf681
OB
163582013-05-08 Ondřej Bílka <neleai@seznam.cz>
16359
16360 * benchtests/bench-skeleton.c (main): Preheat CPU.
16361
ba853947
AJ
163622013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16363
16364 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16365
8347c74c
RM
163662013-05-07 Roland McGrath <roland@hack.frob.com>
16367
16368 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16369 and _dl_skip_args_internal.
16370
e8dd4791
CD
163712013-05-07 Carlos O'Donell <carlos@redhat.com>
16372
16373 * manual/message.texi (Message Translation): Talk about users.
16374 Message to key mapping impacts design.
16375
c7405830
RM
163762013-05-06 Roland McGrath <roland@hack.frob.com>
16377
a9173057
RM
16378 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16379
976e2f03
RM
16380 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16381
9723ffc5
RM
16382 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16383 * sysdeps/wordsize-64/glob64.c: ... here.
16384
962e6658
RM
16385 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16386 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16387 New macros.
16388
ee586a6d
RM
16389 * debug/getlogin_r_chk.c: Moved to ...
16390 * login/getlogin_r_chk.c: ... here.
16391 * debug/Makefile (routines): Move getlogin_r_chk to ...
16392 * login/Makefile (routines): ... here.
16393 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16394 * login/Versions (libc: GLIBC_2.4): ... here.
16395
355f9165
RM
16396 * io/poll.c (__poll): Renamed from poll.
16397 Add libc_hidden_def.
16398 (poll): Define as weak alias.
16399
bd9ffde6
RM
16400 * debug/ptsname_r_chk.c: Moved to ...
16401 * login/ptsname_r_chk.c: ... here.
16402 * debug/Makefile (routines): Move ptsname_r_chk to ...
16403 * login/Makefile (routines): ... here.
16404 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16405 * login/Versions (libc: GLIBC_2.4): ... here.
16406
8fb16a04
RM
16407 * posix/getlogin.c: Moved to ...
16408 * login/getlogin.c: ... here.
16409 * posix/getlogin_r.c: Moved to ...
16410 * login/getlogin_r.c: ... here.
16411 * posix/getlogin_r.c: Moved to ...
16412 * login/getlogin_r.c: ... here.
16413 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16414 * login/Makefile (routines): ... here.
16415 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16416 * login/Versions (libc: GLIBC_2.0): ... here.
16417
b99b892f
RM
16418 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16419 (setrlimit): Define as weak alias.
16420
c7405830
RM
16421 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16422 Call __ names for open, ftruncate, and close.
16423 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16424 (truncate): Define as weak alias.
16425
5bf96de5
JM
164262013-05-06 Joseph Myers <joseph@codesourcery.com>
16427
9ea3513c
JM
16428 * math/gen-libm-test.pl (parse_args): Initialize x before each
16429 test of frexp, modf and remquo.
16430
5bf96de5
JM
16431 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16432 test signgam value.
16433
16e616a7
AZ
164342013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16435
16436 [BZ #15418]
16437 [BZ #15419]
16438 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16439 internal tests.
16440 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16441
d5e82754
RM
164422013-05-06 Roland McGrath <roland@hack.frob.com>
16443
16444 * elf/dl-writev.h: New file.
16445 * elf/dl-misc.c: Include it.
16446 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16447 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16448
a7548d41
JM
164492013-05-04 Joseph Myers <joseph@codesourcery.com>
16450
b7dab1e4
JM
16451 * math/libm-test.inc (noXFails): Remove variable.
16452 (noXPasses): Likewise.
16453 (BUILD_COMPLEX_INT): Remove macro.
16454 (print_screen): Remove xfail argument.
16455 (print_screen_max_error): Likewise.
16456 (update_stats): Likewise.
16457 (print_max_error): Likewise. Update calls to other affected
16458 functions.
16459 (print_complex_max_error): Likewise.
16460 (test_single_exception): Update calls to print_screen.
16461 (test_single_errno): Likewise.
16462 (check_float_internal): Remove xfail argument. Update calls to
16463 other affected functions.
16464 (check_float): Likewise.
16465 (check_complex): Likewise.
16466 (check_int): Likewise.
16467 (check_long): Likewise.
16468 (check_bool): Likewise.
16469 (check_longlong): Likewise.
16470 (main): Don't print noXFails and noXPasses.
16471 * math/gen-libm-test.pl (top level): Don't mention expected
16472 failure handling in comment.
16473 (new_test): Don't handle expected failures.
16474 (parse_args): Don't mention expected failure handling in comment.
16475 (generate_testfile): Don't handle expected failures.
16476 (parse_ulps): Likewise.
16477 (print_ulps_file): Likewise.
16478 (get_failure): Remove function.
16479 (output_test): Don't handle expected failures.
16480 * make/README.libm-test: Don't mention expected failure handling.
16481
a7548d41
JM
16482 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16483 (minus_zero): Likewise.
16484 (plus_infty): Likewise.
16485 (minus_infty): Likewise.
16486 (qnan_value): Likewise.
16487 (max_value): Likewise.
16488 (min_value): Likewise.
16489 (min_subnorm_value): Likewise.
16490 (initialize): Do not initialize those variables dynamically.
16491
60bfd54c
RM
164922013-05-03 Roland McGrath <roland@hack.frob.com>
16493
cc0e6ed8
RM
16494 * io/open.c (__open_2): Moved to ...
16495 * io/open_2.c: ... this new file.
16496 * io/open64.c (__open64_2): Moved to ...
16497 * io/open64_2.c: ... this new file.
16498 * io/openat.c (__openat_2): Moved to ...
16499 * io/openat_2.c: ... this new file.
16500 * io/openat64.c (__openat64_2): Moved to ...
16501 * io/openat64_2.c: ... this new file.
16502 * io/Makefile (routines): Add them.
16503 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16504 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16505 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16506 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16507 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16508 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16509 (__openat64): Add hidden_ver.
16510 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16511 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16512
60bfd54c
RM
16513 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16514 Separately conditionalize setting of GLRO(dl_sysinfo) so
16515 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16516 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16517
83e7640f
AZ
165182013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16519
16520 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16521 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16522 definition.
16523 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16524 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16525 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16526 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16527 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16528
d5dc2af3
JM
165292013-05-03 Joseph Myers <joseph@codesourcery.com>
16530
c31a5b1e
JM
16531 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16532 test signgam value.
16533
d5dc2af3
JM
16534 * math/libm-test.inc (hypot_test): Do not use
16535 IGNORE_ZERO_INF_SIGN.
16536
164fd39d
AJ
165372013-05-03 Andreas Jaeger <aj@suse.de>
16538
16539 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16540 Linux 3.9.
16541 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16542 (PF_MAX): Adjust for VSOCK change.
16543
8237f48c
AZ
165442013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16545
16546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16547
9df02941
CD
165482013-05-02 Carlos O'Donell <carlos@redhat.com>
16549
16550 [BZ #15264]
16551 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16552 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16553 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16554
d422395e
DM
165552013-05-02 David S. Miller <davem@davemloft.net>
16556
16557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16558
a07c5731
OB
165592013-05-01 Ondřej Bílka <neleai@seznam.cz>
16560
16561 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16562
1324e37f
RM
165632013-05-01 Roland McGrath <roland@hack.frob.com>
16564
16565 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16566
0695940b
RS
165672013-05-01 Richard Smith <richard@metafoo.co.uk>
16568
bb5f27ad 16569 [BZ #14952]
0695940b
RS
16570 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16571 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16572 Use __attribute__ ((__gnu_inline__)).
16573 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16574 Don't use __attribute__ ((__gnu_inline__)).
16575
10de07f5
JM
165762013-05-01 Joseph Myers <joseph@codesourcery.com>
16577
16578 [BZ #15423]
16579 * math/s_catan.c (__catan): Handle small real or imaginary part of
16580 input specially to avoid spurious underflow.
16581 * math/s_catanf.c (__catanf): Likewise.
16582 * math/s_catanh.c (__catanh): Likewise.
16583 * math/s_catanhf.c (__catanhf): Likewise.
16584 * math/s_catanhl.c (__catanhl): Likewise.
16585 * math/s_catanl.c (__catanl): Likewise.
16586 * math/libm-test.inc (catan_test): Add more tests.
16587 (catanh_test): Likewise.
16588 * sysdeps/i386/fpu/libm-test-ulps: Update.
16589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16590
cb4d5414
AZ
165912013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16592
16593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16594
caf84319
JM
165952013-04-30 Joseph Myers <joseph@codesourcery.com>
16596
16597 [BZ #15416]
16598 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16599 accurately for denominator in atan2.
16600 * math/s_catanf.c (__catanf): Likewise.
16601 * math/s_catanh.c (__catanh): Likewise.
16602 * math/s_catanhf.c (__catanhf): Likewise.
16603 * math/s_catanhl.c (__catanhl): Likewise.
16604 * math/s_catanl.c (__catanl): Likewise.
16605 * math/libm-test.inc (catan_test): Add more tests.
16606 (catanh_test): Likewise.
16607 * sysdeps/i386/fpu/libm-test-ulps: Update.
16608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16609
d569c6ee
SP
166102013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16611
6dbe713d
SP
16612 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16613
f0ee064b
SP
16614 * benchtests/Makefile (bench): Remove slow benchmarks.
16615 * benchtests/atan-inputs: Add slow benchmark inputs.
16616 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16617 (BENCH_FUNC): Accept variant offset.
16618 (VARIANT): Define.
16619 * benchtests/bench-skeleton.c (main): Run benchmark for each
16620 variant.
16621 * benchtests/cos-inputs: Add slow benchmark inputs.
16622 * benchtests/exp-inputs: Likewise.
16623 * benchtests/pow-inputs: Likewise.
16624 * benchtests/sin-inputs: Likewise.
16625 * benchtests/slowatan-inputs: Remove.
16626 * benchtests/slowatan.c: Remove.
16627 * benchtests/slowcos-inputs: Remove.
16628 * benchtests/slowcos.c: Remove.
16629 * benchtests/slowexp-inputs: Remove.
16630 * benchtests/slowexp.c: Remove.
16631 * benchtests/slowpow-inputs: Remove.
16632 * benchtests/slowpow.c: Remove.
16633 * benchtests/slowsin-inputs: Remove.
16634 * benchtests/slowsin.c: Remove.
16635 * benchtests/slowtan-inputs: Remove.
16636 * benchtests/slowtan.c: Remove.
16637 * benchtests/tan-inputs: Add slow benchmark inputs.
16638 * scripts/bench.pl: Parse comments and directives.
16639
d569c6ee
SP
16640 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16641 in CPPFLAGS.
16642 ($(objpfx)bench-%.c): Remove *-ITER.
16643 * benchtests/bench-modf.c: Remove definition of ITER.
16644 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16645 (main): Loop for DURATION seconds instead of fixed number of
16646 iterations.
16647 * scripts/bench.pl: Don't expect iterations in parameters.
16648
a6a242fe
RM
166492013-04-29 Roland McGrath <roland@hack.frob.com>
16650
16651 * io/fchdir.c (__fchdir): Renamed from fchdir.
16652 (fchdir): Define as weak alias.
16653
f2da7793
JM
166542013-04-29 Joseph Myers <joseph@codesourcery.com>
16655
16656 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16657 (ERRNO_EDOM): Likewise.
16658 (ERRNO_ERANGE): Likewise.
16659 (noErrnoTests): New variable.
16660 (init_max_error): Set errno to 0.
16661 (test_single_errno): New function.
16662 (test_errno): Likewise.
16663 (check_float_internal): Call test_errno. Set errno to 0.
16664 (check_complex): Refer to errno tests in comment.
16665 (check_int): Call test_errno. Set errno to 0.
16666 (check_long): Likewise.
16667 (check_bool): Likewise.
16668 (check_longlong): Likewise.
16669 (cos_test): Use ERRNO_* flags for errno tests instead of
16670 check_int.
16671 (expm1_test): Likewise.
16672 (fmod_test): Likewise.
16673 (ilogb_test): Likewise.
16674 (lgamma_test): Likewise.
16675 (pow_test): Likewise.
16676 (remainder_test): Likewise.
16677 (sin_test): Likewise.
16678 (tan_test): Likewise.
16679 (yn_test): Likewise.
16680 (initialize): Set errno to 0.
16681 (main): Print number of errno tests.
16682 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16683
b1a36ceb
AJ
166842013-04-29 Andreas Jaeger <aj@suse.de>
16685
c3ed8088
AJ
16686 [BZ #15084]
16687 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16688 and RES_USEVC.
16689
f1a24198
AJ
16690 [BZ #15085]
16691 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16692 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16693 unimplemented.
16694
9ce3b2cb
AJ
16695 [BZ #15380]
16696 * stdlib/random.c (__initstate): Return NULL if
16697 __initstate fails.
16698
f1a24198 16699 [BZ #15086]
b1a36ceb
AJ
16700 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16701 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16702 RES_SNGLKUPREOP.
16703
7e7b6f36
AZ
167042013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16705
16706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16707
4d14f449
JM
167082013-04-29 Joseph Myers <joseph@codesourcery.com>
16709
16710 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16711 of individual tests.
16712 (casin_test): Likewise.
16713 (casinh_test): Likewise.
16714
5b4217d7
JM
167152013-04-27 Joseph Myers <joseph@codesourcery.com>
16716
16717 [BZ #15409]
16718 * math/s_catan.c (__catan): Handle arguments with large real or
16719 imaginary part separately without squaring.
16720 * math/s_catanf.c (__catanf): Likewise.
16721 * math/s_catanh.c (__catanh): Likewise.
16722 * math/s_catanhf.c (__catanhf): Likewise.
16723 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16724 and redefine.
16725 (__catanhl): Handle arguments with large real or imaginary part
16726 separately without squaring.
16727 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16728 and redefine.
16729 (__catanl): Handle arguments with large real or imaginary part
16730 separately without squaring.
16731 * math/libm-test.inc (catan_test): Add more tests.
16732 (catanh_test): Likewise.
16733 * sysdeps/i386/fpu/libm-test-ulps: Update.
16734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16735
4220c3ef
AJ
167362013-04-27 Andreas Jaeger <aj@suse.de>
16737
16738 [BZ #15007]
16739 * stdlib/stdlib.h: Update guards for qecvt.
16740 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16741 <stdlib.h>.
16742
4721b2d1
AM
167432013-04-27 Allan McRae <allan@archlinux.org>
16744
16745 * sysdeps/i386/fpu/libm-test-ulps: Update.
16746
f0302940
JM
167472013-04-26 Joseph Myers <joseph@codesourcery.com>
16748
9457fd95
JM
16749 [BZ #15406]
16750 * math/s_catan.c: Include <float.h>.
16751 (__catan): Ensure underflow exception occurs for underflowed
16752 result.
16753 * math/s_catanf.c: Include <float.h>.
16754 (__catanf): Ensure underflow exception occurs for underflowed
16755 result.
16756 * math/s_catanh.c: Include <float.h>.
16757 (__catanh): Ensure underflow exception occurs for underflowed
16758 result.
16759 * math/s_catanhf.c: Include <float.h>.
16760 (__catanhf): Ensure underflow exception occurs for underflowed
16761 result.
16762 * math/s_catanhl.c: Include <float.h>.
16763 (__catanhl): Ensure underflow exception occurs for underflowed
16764 result.
16765 * math/s_catanl.c: Include <float.h>.
16766 (__catanl): Ensure underflow exception occurs for underflowed
16767 result.
16768 * math/libm-test.inc (catan_test): Add more tests.
16769 (catanh_test): Likewise.
16770
f0302940
JM
16771 [BZ #15405]
16772 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16773 underflowed result.
16774 * math/s_ccoshf.c (__ccoshf): Likewise.
16775 * math/s_ccoshl.c (__ccoshl): Likewise.
16776 * math/s_csin.c (__csin): Likewise.
16777 * math/s_csinf.c (__csinf): Likewise.
16778 * math/s_csinh.c (__csinh): Likewise.
16779 * math/s_csinhf.c (__csinhf): Likewise.
16780 * math/s_csinhl.c (__csinhl): Likewise.
16781 * math/s_csinl.c (__csinl): Likewise.
16782 * math/libm-test.inc (ccos_test): Add more tests.
16783 (ccosh_test): Likewise.
16784 (csin_test): Likewise.
16785 (csinh_test): Likewise.
16786
aa630f59
AZ
167872013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16788
16789 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16790 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16791 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16792 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16793 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16794 powerpc/power5+/fpu folders.
16795 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16796
16797
1b835983
MT
167982013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16799
16800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16801
73709b26
JM
168022013-04-25 Joseph Myers <joseph@codesourcery.com>
16803
16804 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16805 additions to variable.
16806 [$(config-machine) = x86_64] (modules-names): Likewise.
16807 ($(objpfx)tst-audit3): Remove dependency.
16808 ($(objpfx)tst-audit3.out): Likewise.
16809 ($(objpfx)tst-audit4): Likewise.
16810 ($(objpfx)tst-audit4.out): Likewise.
16811 ($(objpfx)tst-audit5): Likewise.
16812 ($(objpfx)tst-audit5.out): Likewise.
16813 ($(objpfx)tst-audit6): Likewise.
16814 ($(objpfx)tst-audit6.out): Likewise.
16815 ($(objpfx)tst-audit7): Likewise.
16816 ($(objpfx)tst-audit7.out): Likewise.
16817 (tst-audit3-ENV): Remove variable.
16818 (tst-audit4-ENV): Likewise.
16819 (tst-audit5-ENV): Likewise.
16820 (tst-audit6-ENV): Likewise.
16821 (tst-audit7-ENV): Likewise.
16822 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16823 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16824 addition to variable.
16825 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16826 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16827 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16828 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16829 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16830 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16831 tst-audit3, tst-audit4 and tst-audit5.
16832 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16833 tst-audit6 and tst-audit7.
16834 [$(subdir) = elf] (modules-names): Add audit modules for those
16835 tests.
16836 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16837 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16838 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16839 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16840 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16841 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16842 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16843 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16844 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16845 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16846 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16847 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16848 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16849 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16850 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16851 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16852 Likewise.
16853 [$(subdir) = elf && $(config-cflags-avx) = yes]
16854 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16855 [$(subdir) = elf && $(config-cflags-avx) = yes]
16856 (CFLAGS-tst-auditmod4a.c): Likewise.
16857 [$(subdir) = elf && $(config-cflags-avx) = yes]
16858 (CFLAGS-tst-auditmod4b.c): Likewise.
16859 [$(subdir) = elf && $(config-cflags-avx) = yes]
16860 (CFLAGS-tst-auditmod6b.c): Likewise.
16861 [$(subdir) = elf && $(config-cflags-avx) = yes]
16862 (CFLAGS-tst-auditmod6c.c): Likewise.
16863 [$(subdir) = elf && $(config-cflags-avx) = yes]
16864 (CFLAGS-tst-auditmod7b.c): Likewise.
16865 * elf/tst-audit3.c: Move to ...
16866 * sysdeps/x86_64/tst-audit3.c: ... here.
16867 * elf/tst-audit4.c: Move to ...
16868 * sysdeps/x86_64/tst-audit4.c: ... here.
16869 * elf/tst-audit5.c: Move to ...
16870 * sysdeps/x86_64/tst-audit5.c: ... here.
16871 * elf/tst-audit6.c: Move to ...
16872 * sysdeps/x86_64/tst-audit6.c: ... here.
16873 * elf/tst-audit7.c: Move to ...
16874 * sysdeps/x86_64/tst-audit7.c: ... here.
16875 * elf/tst-auditmod3a.c: Move to ...
16876 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16877 * elf/tst-auditmod3b.c: Move to ...
16878 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16879 * elf/tst-auditmod4a.c: Move to ...
16880 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16881 * elf/tst-auditmod4b.c: Move to ...
16882 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16883 * elf/tst-auditmod5a.c: Move to ...
16884 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16885 * elf/tst-auditmod5b.c: Move to ...
16886 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16887 * elf/tst-auditmod6a.c: Move to ...
16888 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16889 * elf/tst-auditmod6b.c: Move to ...
16890 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16891 * elf/tst-auditmod6c.c: Move to ...
16892 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16893 * elf/tst-auditmod7a.c: Move to ...
16894 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16895 * elf/tst-auditmod7b.c: Move to ...
16896 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16897
1ef74943
PP
168982013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16899
16900 [BZ #15366]
16901 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16902 define unconditionally.
16903 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16904 define unconditionally.
16905 (INT8_C, INT16_C, etc.): Likewise.
16906
93fd48c5
MR
169072013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16908
ae9552cf
MR
16909 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16910 __ehdr_start with hidden visibility.
16911
93fd48c5
MR
16912 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16913
418601aa
CD
169142013-04-24 Carlos O'Donell <carlos@redhat.com>
16915
16916 * math/libm-test.inc (cos_test): Use accurate hex constants.
16917 (sincost_test): Likewise.
16918
2f38fbfe
JM
169192013-04-24 Joseph Myers <joseph@codesourcery.com>
16920
5e221800
JM
16921 * math/libm-test.inc (catan_test): Add more tests.
16922 (catanh_test): Likewise.
16923
77f143fd
JM
16924 * math/s_catanf.c (__catanf): Use suffixed floating-point
16925 constants.
16926 * math/s_catanhf.c (__catanhf): Likewise.
16927 * math/s_catanhl.c (__catanhl): Likewise.
16928 * math/s_catanl.c (__catanl): Likewise.
16929
2f38fbfe
JM
16930 [BZ #15394]
16931 * math/s_catan.c (__catan): Calculate imaginary part of result
16932 with log1p not log unless computing log of number close to 0.
16933 * math/s_catanf.c (__catanf): Likewise.
16934 * math/s_catanl.c (__catanl): Likewise.
16935 * math/s_catanh.c (__catanh): Calculate real part of result with
16936 log1p not log unless computing log of number close to 0.
16937 * math/s_catanhf.c (__catanhf): Likewise.
16938 * math/s_catanhl.c (__catanhl): Likewise.
16939 * math/libm-test.inc (catan_test): Add more tests.
16940 (catanh_test): Likewise.
16941 * sysdeps/i386/fpu/libm-test-ulps: Update.
16942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16943
45d69176
SP
169442013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16945
16946 * benchtests/Makefile: Mention files in which fast and slow
16947 paths of math functions are implemented.
16948
87f51853
RM
169492013-04-23 Roland McGrath <roland@hack.frob.com>
16950
16951 * sysdeps/posix/timespec_get.c: New file.
16952
3c026539
AZ
169532013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16954
16955 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16956 POWER.
16957 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16958 for POWER.
16959 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16960 powerpc/power5/fpu folders.
16961 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16962 * benchtests/Makefile: Add modf testcase.
16963 * benchtests/bench-modf.c: New file: Benchmark test for mo
16964
ff491d14
SP
169652013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16966
16967 [BZ #14888]
16968 * time/Makefile (tests): Add tst-strptime-whitespace.
16969 * time/strptime_l.c (get_number): Use ISSPACE.
16970 (__strptime_internal): Likewise.
16971 * time/tst-strptime-whitespace.c: New test case.
16972
7ed3f4e8
AS
169732013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16974
16975 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16976 member.
16977 (_nss_files_init): Set it here.
16978
5c95f7b6
HC
169792013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16980
16981 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16982 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16983 unsigned.
16984
d34c9158
JBG
169852013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16986
16987 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16988
2169712d
SP
169892013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16990
16991 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16992 size just once.
16993
29c5de99
DM
169942013-04-21 David S. Miller <davem@davemloft.net>
16995
16996 * po/ru.po: Update Russion translation from translation project.
16997
ccdad15d
AC
169982013-04-17 Adam Conrad <adconrad@0c3.net>
16999
17000 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17001 and setfsgid.
17002
0f122b8d
CD
170032013-04-17 Carlos O'Donell <carlos@redhat.com>
17004
5c5b07da 17005 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17006 * configure: Regenerate.
5c5b07da 17007 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17008 Add example to error message.
17009 * sysdeps/i386/configure: Regenerate.
17010
037714dd
SP
170112013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17012
17013 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17014 slowtan.
17015 * benchtests/cos-inputs: New file.
17016 * benchtests/slowcos-inputs: New file.
17017 * benchtests/slowcos.c: New file.
17018 * benchtests/slowtan-inputs: New file.
17019 * benchtests/slowtan.c: New file.
17020 * benchtests/tan-inputs: New file.
17021
e913141d
RM
170222013-04-16 Roland McGrath <roland@hack.frob.com>
17023
17024 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17025 considered kosher.
17026
a2964074
SP
170272013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17028
4856bcd2
SP
17029 * benchtests/Makefile: Include cppflags-iterator.mk to add
17030 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17031
a2964074
SP
17032 * Makefile.in (bench-clean): New target.
17033 * benchtests/Makefile (bench-clean): Likewise.
17034
9fbf9aca
DH
170352013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17036
17037 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17038
207d1e2a
TS
170392013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17040
17041 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17042
306dfba9
AS
170432013-04-15 Andreas Schwab <schwab@suse.de>
17044
17045 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17047 * nscd/pwdcache.c (cache_addpw): Likewise.
17048 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17049 more than recsize.
17050
206a6699
SP
170512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17052
17053 * benchtests/Makefile (bench): Write all output to
17054 bench-out.tmp together.
17055
0582f6b3
AS
170562013-04-15 Andreas Schwab <schwab@suse.de>
17057
17058 * nscd/nscd.c (main): Don't fork again after closing files.
17059
acb4325f
SP
170602013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17061
5cb26d0a
SP
17062 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17063
acb4325f
SP
17064 * benchtests/Rules (bench-deps): Collect dependencies into a
17065 single variable. Add Makefile to dependencies.
17066 ($(objpfx)bench-%.c): Depend on bench-deps.
17067
47792506
RM
170682013-04-12 Roland McGrath <roland@hack.frob.com>
17069 Xavier Roche <roche+kml2@exalead.com>
17070
17071 [BZ #15361]
17072 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17073 just that it's a file descriptor.
17074 * manual/llio.texi (Synchronizing AIO Operations): Update description
17075 for EBADF error from aio_fsync.
17076
8fc1bee5
SP
170772013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17078
17079 * Rules (bench): Move target definition...
17080 * benchtests/Makefile: ... here.
17081
aba5e333
CD
170822013-04-11 Carlos O'Donell <carlos@redhat.com>
17083
17084 * math/libm-test.inc (cos_test): Fix PI/2 test.
17085 (sincos_test): Likewise.
17086 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17087 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17088
273cdee8
AS
170892013-04-11 Andreas Schwab <schwab@suse.de>
17090
6ecec3b6
AS
17091 [BZ #13988]
17092 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17093 accept exponent character only when digits were seen.
17094 * stdio-common/Makefile (tests): Add bug26.
17095 * stdio-common/bug26.c: New file.
17096
273cdee8
AS
17097 [BZ #14293]
17098 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17099 non-freeable.
17100
8da491f5
SP
171012013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17102
01dc6df9
SP
17103 * Makeconfig (rtld-prefix): Define built linker prefix.
17104 * Rules (run-bench): Use it.
17105 * math/Makefile (run-regen-ulps): Likewise.
17106
8da491f5
SP
17107 * Rules (bench): Remove eval.
17108
abe7f530
SP
171092013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17110 Roland McGrath <roland@hack.frob.com>
17111 Ondrej Bilka <neleai@seznam.cz>
17112
17113 [BZ #15346]
17114 * time/getdate.c: Include ctype.h and alloca.h.
17115 (__getdate_r): Trim leading and trailing spaces of input.
17116 * time/tst-getdate.c (tests): Add tests with leading and
17117 trailing spaces.
17118
61c23e62
RM
171192013-04-08 Roland McGrath <roland@hack.frob.com>
17120
17121 [BZ #14280]
17122 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17123 when computing value.
17124
7208a313
CD
171252013-04-06 Carlos O'Donell <carlos@redhat.com>
17126
085b2d41
CD
17127 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17128 Use testrun.sh to run libm tests.
17129
7208a313
CD
17130 [BZ #15309]
17131 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17132
872c0acd
MM
171332013-04-06 Marko Myllynen <myllynen@redhat.com>
17134
17135 [BZ #15264]
17136 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17137
26510bdd
CD
171382013-04-06 Carlos O'Donell <carlos@redhat.com>
17139
17140 * Makefile.in (regen-ulps): New target.
17141 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17142 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17143 [ifneq (no,$(PERL)] (regen-ulps): New target.
17144 [ifeq (no,$(PERL)] (regen-ulps): New target.
17145 * math/libm-test.inc (ulps_file_name): Define.
17146 (output_dir): New variable.
17147 (options): Add "output-dir" option.
17148 (parse_opt): Handle 'o' case.
17149 (main): If output_dir is non-NULL use it as a prefix
17150 otherwise use "".
17151 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17152
a01f19c8
CD
171532013-04-06 Carlos O'Donell <carlos@redhat.com>
17154
17155 [BZ #10060, #10062]
17156 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17157 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17158 fail configure if __sync_val_compare_and_swap is not inlined.
17159 * sysdeps/i386/configure: Regenerate.
17160 * configure.in: Build for i686 when configured for i386.
17161 * configure: Regenerate.
17162 * README: Remove i386 reference.
17163
b7a329a5
CD
171642013-04-06 Carlos O'Donell <carlos@redhat.com>
17165
17166 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17167 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17168
bf0f50df
TS
171692013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17170
ee091edf
TS
17171 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17172 (lmsnanval): New variables.
17173 (F): Add conversion tests.
17174 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17175 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17176
a8b792d6
TS
17177 * stdio-common/tstdiomisc.c (F): Properly collect individual
17178 tests' results.
17179
a1cbf437
TS
17180 [BZ #14686, #15336]
17181 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17182 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17183 Instead, use input NaN values or generate a qNaN by arithmetic
17184 operation. Also fix bugs to comply with the standard.
17185 * math/libm-test.inc (remainder_test): Add more tests.
17186
8b43a0c9
TS
17187 [BZ #15335, #15342]
17188 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17190 input NaN values or generate a qNaN by arithmetic operation.
17191
d91da4ce
TS
17192 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17193 unreachable code.
17194
bf0f50df
TS
17195 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17196 definitions.
17197
05e166c8
JM
171982013-04-03 Joseph Myers <joseph@codesourcery.com>
17199
17200 [BZ #14478]
17201 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17202 underflowed result.
17203 * math/s_cexpf.c (__cexpf): Likewise.
17204 * math/s_cexpl.c (__cexpl): Likewise.
17205 * math/libm-test.inc (cexp_test): Add more tests.
17206
1cef1b19
AS
172072013-04-03 Andreas Schwab <schwab@suse.de>
17208
17209 [BZ #15330]
17210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17211 order arrays from heap if bigger than alloca cutoff.
17212
74d87055
TS
172132013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17214
17215 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17216 (SNAN_TESTS_double): Refer to GCC PR56831.
17217 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17218 GCC PR56828.
17219
d755bba4
SP
172202013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17221
90d5d5bb
SP
17222 * Rules (bench): Move bench.out after the run is complete.
17223
73e0cd5d
SP
17224 * Rules (bench): Echo currently running benchmark.
17225
64aabd4b
SP
17226 * benchtests/Makefile (bench): Add atan and slowatan.
17227 * benchtests/atan-inputs: New file.
17228 * benchtests/slowatan-inputs: New file.
17229 * benchtests/slowatan.c: New file.
17230
c871eccd
SP
17231 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17232 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17233 its value.
17234
d755bba4
SP
17235 [BZ #15305]
17236 * sysdeps/unix/sysv/linux/kernel-features.h
17237 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17238 __ASSUME_XFS_RESTRICTED_CHOWN.
17239 * sysdeps/unix/sysv/linux/pathconf.c
17240 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17241 Save and restore errno.
17242
52ce4860
JM
172432013-04-02 Joseph Myers <joseph@codesourcery.com>
17244
17245 [BZ #15327]
17246 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17247 arguments using __kernel_casinh.
17248 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17249 arguments using __kernel_casinhf.
17250 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17251 arguments using __kernel_casinhl.
17252 * math/libm-test.inc (cacosh_test): Add more tests.
17253 * sysdeps/i386/fpu/libm-test-ulps: Update.
17254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17255
81f311c2
SP
172562013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17257
e7906a47
SP
17258 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17260
92e3664b
SP
17261 * bench/Makefile (bench): Add sin and slowsin.
17262 * benchtests/sin-inputs: New file.
17263 * benchtests/slowsin-inputs: New file.
17264 * benchtests/slowsin.c: New file.
17265
81f311c2
SP
17266 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17267 (bench): Add slowexp and slowpow.
17268 (exp-ITER): Increase iterations.
17269 (pow-ITER): Likewise.
17270 * benchtests/exp-inputs: Change input.
17271 * benchtests/pow-inputs: Likewise.
17272 * benchtests/slowexp-inputs: New file.
17273 * benchtests/slowexp.c: New file.
17274 * benchtests/slowpow-inputs: New file.
17275 * benchtests/slowpow.c: New file.
17276
ab0f1aa9
AZ
172772013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17278
17279 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17280 instructions.
17281 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17282 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17283 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17284 * benchtests/Makefile: Add rint benchtest.
17285 * benchtests/rint-inputs: Input for rint benchtest.
17286
57267616
TS
172872013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17288
17289 * Versions.def (libm): Add GLIBC_2.18.
17290 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17291 hidden libm prototypes.
17292 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17293 * math/Makefile (libm-calls): Add s_issignaling.
17294 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17295 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17296 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17297 declaration.
17298 * math/math.h [__USE_GNU] (issignaling): New macro.
17299 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17300 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17301 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17302 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17305 * manual/arith.texi (issignaling): New section.
17306 * manual/libm-err-tab.pl (@all_functions): Update comment.
17307 * math/gen-libm-test.pl (parse_args): Apply special handling for
17308 issignaling.
17309 * math/libm-test.inc (print_float, issignaling_test): New
17310 functions.
17311 (check_float_internal): Add issignaling checks.
17312 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17313 default definition.
17314 * sysdeps/powerpc/math-tests.h: New file.
17315 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17316 tests.
17317 * math/test-snan.c (TEST_FUNC): Likewise.
17318
6142896d
DM
173192013-03-30 David S. Miller <davem@davemloft.net>
17320
17321 * po/de.po: Update from translation team.
17322
ccc8cadf
JM
173232013-03-30 Joseph Myers <joseph@codesourcery.com>
17324
17325 [BZ #10357]
17326 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17327 imaginary part less than 1.0 and real part less than 0.5
17328 specially.
17329 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17330 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17331 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17332 (cacos_test): Add more tests.
17333 (casin_test): Likewise.
17334 (casinh_test): Likewise.
17335 * sysdeps/i386/fpu/libm-test-ulps: Update.
17336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17337
0f6a8d4b
SP
173382013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17339
0d1029de
SP
17340 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17341 ONE with its value.
17342
c2d94018
SP
17343 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17344 (__pow_mp): Replace ONE and MONE with their values.
17345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17346 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17347 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17348 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17349 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17350 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17351
27ec37f1
SP
17352 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17353
a64d7e0e
SP
17354 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17355 (__pow_mp): Replace ZERO and MZERO with their values.
17356 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17357 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17358 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17360 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17361 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17362 (__sqr): Likewise.
17363
d26dd3eb
SP
17364 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17365
0f6a8d4b
SP
17366 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17367
e57b0c61
RM
173682013-03-28 Roland McGrath <roland@hack.frob.com>
17369
17370 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17371 Declare with __attribute__ ((weak)).
17372 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17373 Call __call_tls_dtors only if it's not NULL.
17374
356b3480
RM
173752013-03-28 Roland McGrath <roland@hack.frob.com>
17376
288f7d79
RM
17377 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17378 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17379 magic __ehdr_start linker symbol if it's defined.
17380 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17381 them up here if it was already done.
17382
dc0a0263
RM
17383 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17384 (_dl_aux_init): Use const in cast when setting it.
17385 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17386 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17387 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17388
3d3436ae
RM
17389 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17390 Declare them here.
17391 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17392 * csu/libc-tls.c: Nor here.
17393 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17394
356b3480
RM
17395 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17396 (__libc_message): Never call vsyslog.
17397
b0f1246a
AM
173982013-03-28 Alan Modra <amodra@gmail.com>
17399
17400 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17401 Define as empty.
17402 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17403 Likewise.
17404
fbbe2b9a
AZ
174052013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17406
17407 [BZ #15214]
17408 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17409 underflow.
17410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17411
1728ab37
SP
174122013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17413
7a86be6e
SP
17414 [BZ #15304]
17415 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17416 Don't add gid passed as argument.
17417
1728ab37
SP
17418 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17419
3a7182a1
JM
174202013-03-27 Joseph Myers <joseph@codesourcery.com>
17421
17422 [BZ #15307]
17423 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17424 imaginary part between 1.0 and 1.5 and real part less than 0.5
17425 specially.
17426 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17427 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17428 * math/libm-test.inc (cacos_test): Add more tests.
17429 (casin_test): Likewise.
17430 (casinh_test): Likewise.
17431 * sysdeps/i386/fpu/libm-test-ulps: Update.
17432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17433
6f2e90e7
SP
174342013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17435
5739f705
SP
17436 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17437 constants.
17438 (norm): Likewise.
17439 (denorm): Likewise.
17440 (__dbl_mp): Likewise.
17441 (add_magnitudes): Likewise.
17442 (sub_magnitudes): Likewise.
17443 (__add): Likewise.
17444 (__sub): Likewise.
17445 (__mul): Likewise.
17446 (__sqr): Likewise.
17447 (__inv): Likewise.
17448 (__dvd): Likewise.
17449
e375e83d
SP
17450 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17451 commented code.
17452 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17453 (__dubcos): Likewise.
17454 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17455 (__ieee754_acos): Likewise.
17456 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17457 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17458 (__exp1): Likewise.
17459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17461 (log1): Likewise.
17462 (my_log2): Likewise.
17463 (checkint): Likewise.
17464 * sysdeps/ieee754/dbl-64/e_remainder.c
17465 (__ieee754_remainder): Likewise.
17466 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17467 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17468 (bsloww): Likewise.
17469 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17470
6f2e90e7
SP
17471 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17472 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17473 MANTISSA_STORE_T to store computations on mantissa. Use
17474 macros for rounding and division.
17475 (denorm): Likewise.
17476 (__dbl_mp): Likewise.
17477 (add_magnitudes): Likewise.
17478 (sub_magnitudes): Likewise.
17479 (__mul): Likewise.
17480 (__sqr): Likewise.
17481 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17482 powers of two in terms of TWOPOW macro.
17483 (mp_no): Make type of mantissa as MANTISSA_T.
17484 [!RADIXI]: Define RADIXI.
17485 [!TWO52]: Define TWO52.
17486 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17487
fce14d4e
AZ
174882013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17489
17490 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17491 llroundl symbol when building for PPC32.
17492
9ad027fb
MW
174932013-03-24 Mark H Weaver <mhw@netris.org>
17494
17495 * manual/arith.texi (Normalization Functions): Fix prototypes for
17496 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17497
e42a38dd
AZ
174982013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17499
17500 [BZ #13889]
17501 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17502 high value to check if expl overflow.
17503 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17504 to check for underflow and overflow.
17505 * math/libm-test.inc: Add exp test.
17506
2e0fb521
DL
175072013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17508
17509 [BZ #11120]
17510 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17511 with NOT_IN_libc.
17512
b5784d95
AZ
175132013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17514
17515 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17516 symbol.
17517
5aa4a1a1
TS
175182013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17519
bdef0be7
TS
17520 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17521 wrap blocks consisting of several statements.
17522
5aa4a1a1
TS
17523 * sysdeps/generic/math-tests.h: New file.
17524 * sysdeps/i386/fpu/math-tests.h: Likewise.
17525 * math/test-snan.c: Include it.
17526 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17527
98c48fe5
JM
175282013-03-21 Joseph Myers <joseph@codesourcery.com>
17529
17530 [BZ #15285]
17531 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17532 (__ieee754_j0l): Do not improve calculations using cos of twice
17533 input for inputs above LDBL_MAX / 2.0L.
17534 (__ieee754_y0l): Likewise.
17535 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17536 (__ieee754_j1l): Do not improve calculations using cos of twice
17537 input for inputs above LDBL_MAX / 2.0L.
17538 (__ieee754_y1l): Likewise.
17539 * math/libm-test.inc (j0_test): Add another test.
17540 (j1_test): Likewise.
17541 (y0_test): Likewise.
17542 (y1_test): Likewise.
17543 * sysdeps/i386/fpu/libm-test-ulps: Update.
17544
3775a8bc
SP
175452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17546
17547 * Rules ($(objpfx)bench-%.c): Include code from a C source
17548 file.
17549
0a1b2ae6
JM
175502013-03-21 Joseph Myers <joseph@codesourcery.com>
17551
17552 [BZ #15287]
17553 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17554 imaginary part 1.0 and real part less than 0.5 specially.
17555 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17556 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17557 * math/libm-test.inc (cacos_test): Add more tests.
17558 (casin_test): Likewise.
17559 (casinh_test): Likewise.
17560 * sysdeps/i386/fpu/libm-test-ulps: Update.
17561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17562
b33d4ce4
SP
175632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17564
17565 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17566 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17567
bef0b507
JM
175682013-03-20 Joseph Myers <joseph@codesourcery.com>
17569
17570 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17571 * config.make.in (config-cflags-sse4): Remove variable.
17572 (config-cflags-avx): Likewise.
17573 (config-cflags-sse2avx): Likewise.
17574 (config-cflags-novzeroupper): Likewise.
17575 (config-asflags-i686): Likewise.
17576 (have-mfma4): Likewise.
17577 (have-as-vis3): Likewise.
17578 (MIG): Likewise.
17579 * configure.in (MIG): Do not AC_SUBST.
17580 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17581 (libc_cv_cc_sse4): Do not AC_SUBST.
17582 (libc_cv_cc_avx): Likewise.
17583 (libc_cv_cc_sse2avx): Likewise.
17584 (libc_cv_cc_novzeroupper): Likewise.
17585 (libc_cv_cc_fma4): Likewise.
17586 (libc_cv_as_i686): Likewise.
17587 (libc_cv_sparc_as_vis3): Likewise.
17588 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17589 LIBC_CONFIG_VAR.
17590 (config-asflags-i686): Likewise.
17591 (config-cflags-avx): Likewise.
17592 (config-cflags-sse2avx): Likewise.
17593 (have-mfma4): Likewise.
17594 (config-cflags-novzeroupper): Likewise.
17595 * sysdeps/mach/configure.in (MIG): Likewise.
17596 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17597 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17598 LIBC_CONFIG_VAR.
17599 (config-cflags-avx): Likewise.
17600 (config-cflags-sse2avx): Likewise.
17601 (have-mfma4): Likewise.
17602 (config-cflags-novzeroupper): Likewise.
17603 * configure: Regenerated.
17604 * sysdeps/i386/configure: Likewise.
17605 * sysdeps/mach/configure: Likewise.
17606 * sysdeps/sparc/configure: Likewise.
17607 * sysdeps/x86_64/configure: Likewise.
17608
912cc4b3
RM
176092013-03-20 Roland McGrath <roland@hack.frob.com>
17610
17611 [BZ #14812]
17612 * locale/programs/localedef.c (options): Put N_ translation marker
17613 on argument names, not just descriptions.
17614
04eed2b0
MS
176152013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17616
17617 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17618
a065ceff
OB
176192013-03-20 Ondřej Bílka <neleai@seznam.cz>
17620
9bb2a810 17621 [BZ #14176]
a065ceff
OB
17622 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17623
a600e5ce
RM
176242013-03-19 Roland McGrath <roland@hack.frob.com>
17625
17626 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17627 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17628 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17629 [!BEFORE_ABORT] (before_abort): New function.
17630 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17631 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17632 (writev_for_fatal): New function.
17633 (WRITEV_FOR_FATAL): New macro; call that.
17634 (backtrace_and_maps): New function.
17635 (BEFORE_ABORT): New macro; call that.
17636 (struct str_list): Type removed.
17637 (__libc_message, __libc_fatal): Functions removed.
17638 Include <sysdeps/posix/libc_fatal.c> instead.
17639
6b18bea6
JM
176402013-03-19 Joseph Myers <joseph@codesourcery.com>
17641
17642 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17643 constants.
17644 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17645 double constants.
17646
aaa8cb4b
AS
176472013-03-19 Andreas Schwab <schwab@suse.de>
17648
44673770
AS
17649 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17650 * sysdeps/gnu/configure: Regenerate.
17651
aaa8cb4b
AS
17652 * configure.in: Substitute libc_cv_rtlddir.
17653 * configure: Regenerate.
17654 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17655 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17656 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17657 * elf/Makefile (install-others, CFLAGS-interp.c)
17658 (ldso_install, common-ldd-rewrite): Likewise.
17659 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17660 $(inst_slibdir)/$(rtld-installed-name).
17661 * scripts/rellns-sh: Add -p option.
17662 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17663 for source.
17664
d3cfc668
SP
176652013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17666
17667 * manual/nptl.texi: Renamed to ...
17668 * manual/threads.texi: ... this.
17669 * manual/Makefile (chapters): Update.
17670
0e2b9cdd
RM
176712013-03-18 Roland McGrath <roland@hack.frob.com>
17672
17673 [BZ #14812]
17674 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17675 on argument names, not just descriptions.
0e2b9cdd
RM
17676 * malloc/memusagestat.c (options): Likewise.
17677 * nss/getent.c (options): Likewise.
63270c24
RM
17678
176792013-03-18 Benno Schulenberg <bensberg@justemail.net>
17680
17681 [BZ #14812]
17682 * iconv/iconv_prog.c (options): Put N_ translation marker
17683 on argument names, not just descriptions.
17684 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17685
b2e1393c
OB
176862013-03-18 Ondrej Bilka <neleai@seznam.cz>
17687
17688 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17689 implementation which is faster on all x86_64 architectures.
17690 Tested on AMD, Intel Nehalem, SNB, IVB.
17691 * sysdeps/x86_64/strnlen.S: Likewise.
17692
17693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17694 Remove all multiarch strlen and strnlen versions.
17695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17696 Remove strlen and strnlen related parts.
17697
17698 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17699 Inline strlen part.
17700 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17701
17702 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17703 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17704 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17705 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17706 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17707 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17708
ec4ff04d
CD
177092013-03-17 Carlos O'Donell <carlos@redhat.com>
17710
17711 * manual/memory.texi (Malloc Tunable Parameters):
17712 Sort parameters alphabetically. Add comments for missing entries.
17713
cd18e90a
DM
177142013-03-17 David S. Miller <davem@davemloft.net>
17715
17716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17717
2a185d32
JM
177182013-03-16 Joseph Myers <joseph@codesourcery.com>
17719
d2f9799e
JM
17720 [BZ #15283]
17721 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17722 for arguments at most half maximum finite value.
17723 * math/libm-test.inc (j0_test): Add more tests.
17724 (j1_test): Likewise.
17725 (y0_test): Likewise.
17726 (y1_test): Likewise.
17727 * sysdeps/i386/fpu/libm-test-ulps: Update.
17728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17729
2a185d32
JM
17730 [BZ #14155]
17731 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17732 1 / x and functions P and Q for arguments above 0x1p256L.
17733 (__ieee754_y0l): Likewise.
17734 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17735 (__ieee754_y1l): Likewise.
17736 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17737 (j1_test): Likewise.
17738 (y0_test): Likewise.
17739 (y1_test): Likewise.
17740
6cbec759
TS
177412013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17742
17743 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17744 variable.
17745
bc16e260
RM
177462013-03-15 Roland McGrath <roland@hack.frob.com>
17747
aefc9b8c
RM
17748 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17749 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17750 zero since it's initialized to EXEC_PAGESIZE.
17751
bc16e260
RM
17752 * sysdeps/unix/sysv/linux/ldsodefs.h
17753 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17754 * sysdeps/generic/ldsodefs.h: ... here.
17755
a57da955
TS
177562013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17757
af00a34d
TS
17758 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17759
495ded2c
TS
17760 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17761 math/test-snan.c.
17762 * math/test-snan.c: Renamed from
17763 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17764 * math/Makefile (tests): Add test-snan.
17765 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17766 test-powerpc-snan.
17767
777b0332
TS
17768 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17769 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17770 functions.
17771 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17772 __builtin_nan family of functions.
17773 * math/libm-test.inc (initialize): Initialize qnan_value with
17774 __builtin_nan family of functions.
17775 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17776 Remove variables.
17777 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17778 Remove functions.
17779 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17780 storage class. Initialize qNaN_var and sNaN_var with
17781 __builtin_nan and __builtin_nans families of functions,
17782 respectively.
17783
64d063b8
TS
17784 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17785 (sqrt_test): Remove duplicate test with qNaN input.
17786 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17787 (round_test, signbit_test, significand_test): Note missing +/-Inf
17788 as well as qNaN tests.
17789
67e971f1
TS
17790 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17791 qNaN_var. Fix a few strings, too.
17792 * math/libm-test.inc (nan_value): Rename to qnan_value.
17793 * math/gen-libm-test.pl (%beautify): Adjust to that.
17794 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17795 * math/test-misc.c (main): Likewise.
17796 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17797 to __qnan_bytes, and __qnan_union, respectively.
17798 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17799 Likewise.
17800 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17801 and lqnanval, respectively.
17802 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17803 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17804 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17805 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17806
64487e12
TS
17807 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17808 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17809 doubles.
17810
e015e27b
TS
17811 * math/test-misc.c (main): Fix copy'n'pastos.
17812 * misc/tst-efgcvt.c (special): Likewise.
17813
a57da955
TS
17814 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17815 Remove declarations.
17816
1e380345
SP
178172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17818
17819 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17820 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17821 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17822 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17823
ef26eece
AZ
178242013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17825
17826 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17827 macro to return vdso values correctly in IFUNC implementations.
17828 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17829 Optimization by using IFUNC.
17830
8cfdb7e0
SP
178312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17832 Richard Henderson <rth@redhat.com>
17833 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17834
17835 * Makefile.in (bench): New target.
17836 * NEWS: Mention the benchmark framework.
17837 * Rules (bench): Likewise.
17838 (binaries-bench): Generate binaries for functions to
17839 benchmark.
17840 * benchtests/Makefile: New makefile for benchmark tests.
17841 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17842 programs.
17843 * benchtests/exp-inputs: New input file for EXP function.
17844 * benchtests/pow-inputs: New input file for POW function.
17845 * scripts/bench.pl: New script to generate source files for
17846 benchmark programs.
17847
bcda9880
SP
178482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17849
d22ca8cd
SP
17850 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17851 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17852 computations on mantissa. Use macros for rounding and
17853 division.
17854 (denorm): Likewise.
17855 (__dbl_mp): Likewise.
17856 (add_magnitudes): Likewise.
17857 (sub_magnitudes): Likewise.
17858 (__mul): Likewise.
17859 (__sqr): Likewise.
17860 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17861 powers of two in terms of TWOPOW macro.
17862 (mp_no): Make type of mantissa as MANTISSA_T.
17863 [!RADIXI]: Define RADIXI.
17864 [!TWO52]: Define TWO52.
17865 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17866
bcda9880
SP
17867 * manual/nptl.texi (cindex): Modify threads to pthreads.
17868
06d5adfb
JM
178692013-03-15 Joseph Myers <joseph@codesourcery.com>
17870
17871 * sysdeps/x86_64/preconfigure: Regenerated.
17872
41c7328e
JM
178732013-03-14 Joseph Myers <joseph@codesourcery.com>
17874
17875 [BZ #14155]
17876 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17877 0x1p28 and above.
17878 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17879 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17880 0x1p28 and above.
17881 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17882 * math/libm-test.inc (j0_test): Do not allow one spurious
17883 underflow exception.
17884 (y1_test): Likewise.
17885
e25cfa60
SP
178862013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17887
0409959c
SP
17888 * manual/Makefile (chapters): Add nptl.
17889 * manual/debug.texi (Debugging Support): Add link to Threads
17890 chapter.
17891 * manual/nptl.texi: New file.
17892
e25cfa60
SP
17893 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17894
58a1335e
PB
178952013-03-14 Petr Baudis <pasky@ucw.cz>
17896
17897 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17898 for non-NULL pointer before the memory validity test. Pointed
17899 out by Holger Brunck <holger.brunck@keymile.com>.
17900
9dc7c64f
AS
179012013-03-13 Andreas Schwab <schwab@suse.de>
17902
17903 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17904 instead of .os.
17905
54206aa6
JM
179062013-03-13 Joseph Myers <joseph@codesourcery.com>
17907
17908 * timezone/zic.c: Update from tzcode 2013b.
17909
e98cdb38
CD
179102013-03-12 Carlos O'Donell <carlos@redhat.com>
17911
17912 * manual/install.texi (Configuring and compiling):
17913 Mention i686 and i586.
17914 * INSTALL: Regenerate.
17915
9967e003
RM
179162013-03-12 Roland McGrath <roland@hack.frob.com>
17917
17918 * sysdeps/init_array/elf-init.c: New file.
17919 * csu/elf-init.c
17920 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17921 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17922
17923 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17924 __gmon_start__ as global, but as static with a .preinit_array pointer.
17925 * sysdeps/init_array/gmon-start.c: New file. Use that.
17926 * sysdeps/init_array/crti.S: New file, empty except for comments.
17927 * sysdeps/init_array/crtn.S: Likewise.
17928
e6b5a293 179292013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17930
17931 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17932 definining bcopy.
80f844c9
OB
17933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17934 Remove Prefer_SSE_for_memop.
17935 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17936 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17937 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17939 memset-x86-64.
80f844c9 17940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17941 Remove bzero, memset ifunc support.
80f844c9
OB
17942 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17943 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17944 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17945 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17946
fb6b0fcb
AS
179472013-03-11 Andreas Schwab <schwab@suse.de>
17948
17949 [BZ #15234]
17950 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17951 by SHLIB_COMPAT.
17952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17953 (GLIBC_2.16): Remove pthread_atfork.
17954
3e6bd4b1
PP
179552013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17956
17957 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17958 (ptestcases.h): Likewise.
17959
222d7f00
RM
179602013-03-08 Roland McGrath <roland@hack.frob.com>
17961
17962 * Makeconfig ($(common-objpfx)config.status): Depend on
17963 sysdeps/*/preconfigure{,.in} too.
17964
1ba4f030
JM
179652013-03-08 Joseph Myers <joseph@codesourcery.com>
17966
a222d91a
JM
17967 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17968 (__free_hook): Use void * instead of __malloc_ptr_t.
17969 (__malloc_hook): Likewise.
17970 (__realloc_hook): Likewise.
17971 (__memalign_hook): Likewise.
17972 (__after_morecore_hook): Likewise.
17973 * malloc/arena.c (save_malloc_hook): Likewise.
17974 (save_free_hook): Likewise.
17975 * malloc/hooks.c (malloc_hook_ini): Likewise.
17976 (realloc_hook_ini): Likewise.
17977 (memalign_hook_ini): Likewise.
17978 * malloc/malloc.c (malloc_hook_ini): Likewise.
17979 (realloc_hook_ini): Likewise.
17980 (memalign_hook_ini): Likewise.
17981 (__free_hook): Likewise.
17982 (__malloc_hook): Likewise.
17983 (__realloc_hook): Likewise.
17984 (__memalign_hook): Likewise.
17985 (__libc_malloc): Likewise.
17986 (__libc_free): Likewise.
17987 (__libc_realloc): Likewise.
17988 (__libc_memalign): Likewise.
17989 (__libc_valloc): Likewise.
17990 (__libc_pvalloc): Likewise.
17991 (__libc_calloc): Likewise.
17992 (__posix_memalign): Likewise.
17993 * malloc/morecore.c (__sbrk): Likewise.
17994 (__default_morecore): Likewise.
17995
5cc45e10
JM
17996 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17997
dd54b864
JM
17998 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17999 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18000 __malloc_ptrdiff_t.
18001
1ba4f030
JM
18002 * malloc/malloc.h (__malloc_size_t): Remove macro.
18003 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18004 __malloc_size_t.
18005 (old_memalign_hook): Likewise.
18006 (old_realloc_hook): Likewise.
18007 (struct hdr): Likewise.
18008 (flood): Likewise.
18009 (mallochook): Likewise.
18010 (memalignhook): Likewise.
18011 (reallochook): Likewise.
18012 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18013 (tr_old_realloc_hook): Likewise.
18014 (tr_old_memalign_hook): Likewise.
18015 (tr_mallochook): Likewise.
18016 (tr_reallochook): Likewise.
18017 (tr_memalignhook): Likewise.
18018
edf66e57
AZ
180192013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18020
18021 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18022 default_ldbl_pack and using as default implementation.
18023 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18024 implementation.
18025 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18026 redundant definition.
18027 (ldbl_insert_mantissa): Likewise.
18028 (ldbl_canonicalize): Likewise.
18029 (ldbl_nearbyint): Likewise.
18030 (ldbl_pack): Rename to ldbl_pack_ppc.
18031 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18032 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18033 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18034
6d9145d8
SP
180352013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18036
18037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18038 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18039 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18040 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18042 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18043 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18044 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18045
4dd4e157
AJ
180462013-03-07 Andreas Jaeger <aj@suse.de>
18047
18048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18049 bits/mman-linux.h.
18050
adbb8027
SP
180512013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18052
ce544b5b
SP
18053 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18054 Include mpa.h and declare __MPEXP.
18055 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18056 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18057 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18058 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18059 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18060 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18061 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18062
4cc149fd
SP
18063 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18064 (__slowpow): Use long double EXPL and LOGL functions to
18065 compute POW.
18066 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18067 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18068 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18069 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18070 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18071 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18072
e6ebd4a7
SP
18073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18074 intermediate variable to calculate exponent.
18075 (__sqr): Likewise.
18076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18077 Likewise.
18078 (__sqr): Likewise.
18079
82a9811d
SP
18080 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18081 [!NO__SQR]: Define __sqr.
18082 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18083 and NO__SQR. Remove all code except __mul and __sqr. Include
18084 sysdeps/ieee754/dbl-64/mpa.c.
18085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18086
adbb8027
SP
18087 [BZ #12723]
18088 * posix/Makefile (tests): Add tst-pathconf.
18089 * posix/tst-pathconf.c: New test case.
18090 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18091 _PC_PIPE_BUF.
18092 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18093
39120df9
PF
180942013-03-06 Patsy Franklin <pfrankli@redhat.com>
18095
18096 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18097
67525cb8
AJ
180982013-03-06 Andreas Jaeger <aj@suse.de>
18099
664a9ce4
AJ
18100 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18101 definition via __MAP_ANONYMOUS.
18102
8e39047d
AJ
18103 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18104 it's not part of Linux headers.
18105
67525cb8
AJ
18106 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18107 (MAP_HUGE_MASK): Define.
18108
18109 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18110 Define.
18111 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18112 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18113 Define.
18114 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18115 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18116 Define.
18117 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18118 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18119 Define.
18120 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18121
18122 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18123 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18124 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18125 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18126 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18127 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18128
18129 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18130 Handle f2fs.
18131
18132 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18133 Handle f2fs and efivarfs.
18134
18135 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18136 f2fs.
18137
18138 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18139 (EFIVARFS_MAGIC): Add.
18140 (F2FS_LINK_MAX): Add.
18141
e1b42695
PP
181422013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18143
18144 * stdio-common/vfprintf.c: Replace __builtin_expect with
18145 __glibc_unlikely.
18146
2d67d91a
JM
181472013-03-06 Joseph Myers <joseph@codesourcery.com>
18148
18149 [BZ #13550]
18150 * sysdeps/generic/bp-sym.h: Remove file.
18151 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18152 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18153 <bp-sym.h> and <bp-asm.h>.
18154 (__longjmp): Don't use BP_SYM.
18155 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18156 and <bp-asm.h>.
18157 (memcpy): Don't use BP_SYM.
18158 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18159 <bp-sym.h> and <bp-asm.h>.
18160 (memcpy): Don't use BP_SYM.
18161 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18162 <bp-asm.h>.
18163 (memcpy): Don't use BP_SYM.
18164 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18165 <bp-asm.h>.
18166 (memset): Don't use BP_SYM.
18167 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18168 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18169 (__bzero): Don't use BP_SYM.
18170 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18171 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18172 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18173 <bp-sym.h> and <bp-asm.h>.
18174 (memcmp): Don't use BP_SYM. Remove comment about bounded
18175 pointers.
18176 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18177 <bp-sym.h> and <bp-asm.h>.
18178 (memcpy): Don't use BP_SYM.
18179 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18180 <bp-sym.h> and <bp-asm.h>.
18181 (memset): Don't use BP_SYM.
18182 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18183 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18184 (__bzero): Don't use BP_SYM.
18185 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18186 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18187 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18188 <bp-sym.h> and <bp-asm.h>.
18189 (strncmp): Don't use BP_SYM. Remove comment about bounded
18190 pointers.
18191 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18192 <bp-sym.h> and <bp-asm.h>.
18193 (memcpy): Don't use BP_SYM.
18194 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18195 <bp-sym.h> and <bp-asm.h>.
18196 (memset): Don't use BP_SYM.
18197 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18198 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18199 (__bzero): Don't use BP_SYM.
18200 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18201 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18202 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18203 <bp-sym.h> and <bp-asm.h>.
18204 (__memchr): Don't use BP_SYM.
18205 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18206 <bp-sym.h> and <bp-asm.h>.
18207 (memcmp): Don't use BP_SYM. Remove comment about bounded
18208 pointers.
18209 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18210 <bp-sym.h> and <bp-asm.h>.
18211 (memcpy): Don't use BP_SYM.
18212 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18213 <bp-sym.h> and <bp-asm.h>.
18214 (__mempcpy): Don't use BP_SYM.
18215 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18216 <bp-sym.h> and <bp-asm.h>.
18217 (__memrchr): Don't use BP_SYM.
18218 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18219 <bp-sym.h> and <bp-asm.h>.
18220 (memset): Don't use BP_SYM.
18221 (__bzero): Likewise.
18222 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18223 <bp-sym.h> and <bp-asm.h>.
18224 (__rawmemchr): Don't use BP_SYM.
18225 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18226 <bp-sym.h> and <bp-asm.h>.
18227 (__STRCMP): Don't use BP_SYM.
18228 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18229 <bp-sym.h> and <bp-asm.h>.
18230 (strchr): Don't use BP_SYM.
18231 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18232 <bp-sym.h> and <bp-asm.h>.
18233 (__strchrnul): Don't use BP_SYM.
18234 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18235 <bp-sym.h> and <bp-asm.h>.
18236 (strlen): Don't use BP_SYM.
18237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18238 <bp-sym.h> and <bp-asm.h>.
18239 (strncmp): Don't use BP_SYM. Remove comment about bounded
18240 pointers.
18241 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18242 <bp-sym.h> and <bp-asm.h>.
18243 (__strnlen): Don't use BP_SYM.
18244 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18245 <bp-sym.h> and <bp-asm.h>.
18246 (__GI__setjmp): Don't use BP_SYM.
18247 (_setjmp): Likewise.
18248 (__sigsetjmp): Likewise.
18249 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18250 (L(start_addresses)): Don't use BP_SYM.
18251 (_start): Likewise.
18252 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18253 <bp-asm.h>.
18254 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18255 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18256 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18257 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18258 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18259 <bp-asm.h>.
18260 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18261 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18262 about bounded pointers.
18263 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18264 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18265 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18266 <bp-asm.h>.
18267 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18268 about bounded pointers. Remove GKM FIXME comments.
18269 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18270 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18271 <bp-asm.h>.
18272 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18273 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18274 Remove GKM FIXME comments.
18275 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18276 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18277 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18278 <bp-asm.h>.
18279 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18280 about bounded pointers. Remove GKM FIXME comment.
18281 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18282 and <bp-asm.h>.
18283 (strncmp): Don't use BP_SYM. Remove comment about bounded
18284 pointers.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18286 <bp-sym.h> and <bp-asm.h>.
18287 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18289 <bp-sym.h> and <bp-asm.h>.
18290 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18291 comment.
18292
cdcf361f
PP
182932013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18294
18295 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18296 call free(NULL).
18297
3c4a2b15
DM
182982013-03-05 David S. Miller <davem@davemloft.net>
18299
18300 * po/es.po: Update from translation team.
18301
cdcf361f 183022013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18303
18304 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18305 <bits/mman-linux.h>.
18306 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18307 is fine.
18308 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18309 <bits/mman-linux.h> to end of file.
18310 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18311 is fine.
18312 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18313 <bits/mman-linux.h> to end of file.
18314 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18315 is fine.
18316 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18317 <bits/mman-linux.h> to end of file.
18318
18319 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18320 (MCL_CURRENT, MCL_FUTURE): Define here.
18321
5f67c04f
AK
183222013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18323
8a4473cc 18324 [BZ #15232]
5f67c04f
AK
18325 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18326 attribute_hidden.
18327 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18328
c3e94a95
AK
183292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18330
18331 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18332 fourth parameter needed for rt_sigprocmask syscall.
18333 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18334 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18335 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18336 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18337 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18338 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18339
cfb6382a
JM
183402013-03-04 Joseph Myers <joseph@codesourcery.com>
18341
18342 [BZ #13550]
18343 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18344 comment about bounded pointers.
18345 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18346 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18347
539d8e01
AJ
183482013-03-04 Andreas Jaeger <aj@suse.de>
18349
18350 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18351 common definitions.
18352
18353 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18354 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18355 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18356 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18357 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18358 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18359
2e167a70 183602013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18361
18362 [BZ #15055]
18363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18364 __ieee754_sqrl instead of __sqrl.
18365
68508633
JM
183662013-03-01 Joseph Myers <joseph@codesourcery.com>
18367
18368 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18369 * sysdeps/powerpc/fpu_control.h: ... here.
18370 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18371 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18372 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18373 * sysdeps/powerpc/bits/mathinline.h: ... here.
18374
7775448e
RM
183752013-03-01 Roland McGrath <roland@hack.frob.com>
18376
18377 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18378 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18379 to just [NEED_DL_SYSINFO_DSO].
18380 * elf/dl-support.c: Likewise.
18381 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18382 * elf/rtld.c (dl_main): Likewise.
18383 * elf/setup-vdso.h (setup_vdso): Likewise.
18384 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18385 * sysdeps/unix/sysv/linux/dl-sysdep.c
18386 (_dl_discover_osversion): Likewise.
18387
4e9b5995
CD
183882013-03-01 Carlos O'Donell <carlos@redhat.com>
18389
18390 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18391 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18392
e23872c8
SP
183932013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18394
e5c74c63
SP
18395 * NEWS: Mention libm performance improvements and non-x86 PI
18396 futex support.
18397
e23872c8
SP
18398 * csu/libc-start.c (__pthread_initialize_minimal): Change
18399 function arguments.
18400 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18401
b5510883
JM
184022013-02-28 Joseph Myers <joseph@codesourcery.com>
18403
18404 [BZ #13550]
18405 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18406 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18407 <bp-sym.h> and <bp-asm.h>.
18408 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18409 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18410 and <bp-asm.h>.
18411 (memcpy): Don't use BP_SYM.
18412 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18413 <bp-asm.h>.
18414 (__mpn_add_n): Don't use BP_SYM.
18415 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18416 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18417 and <bp-asm.h>.
18418 (__mpn_addmul_1): Don't use BP_SYM.
18419 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18420 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18421 <bp-sym.h>.
18422 (_setjmp): Don't use BP_SYM.
18423 (__novmx_setjmp): Likewise.
18424 (__GI__setjmp): Likewise.
18425 (__vmx_setjmp): Likewise.
18426 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18427 <bp-sym.h>.
18428 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18429 (__bzero): Don't use BP_SYM.
18430 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18431 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18432 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18433 <bp-sym.h> and <bp-asm.h>.
18434 (memcpy): Don't use BP_SYM.
18435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18436 <bp-sym.h> and <bp-asm.h>.
18437 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18438 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18439 <bp-sym.h> and <bp-asm.h>.
18440 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18441 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18442 <bp-asm.h>.
18443 (__mpn_lshift): Don't use BP_SYM.
18444 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18445 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18446 <bp-asm.h>.
18447 (memset): Don't use BP_SYM.
18448 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18449 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18450 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18451 <bp-asm.h>.
18452 (__mpn_mul_1): Don't use BP_SYM.
18453 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18455 <bp-sym.h> and <bp-asm.h>.
18456 (memcmp): Don't use BP_SYM.
18457 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18458 <bp-sym.h> and <bp-asm.h>.
18459 (memcpy): Don't use BP_SYM.
18460 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18461 <bp-sym.h> and <bp-asm.h>.
18462 (memset): Don't use BP_SYM.
18463 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18464 <bp-sym.h> and <bp-asm.h>.
18465 (strncmp): Don't use BP_SYM.
18466 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18467 <bp-sym.h> and <bp-asm.h>.
18468 (memcpy): Don't use BP_SYM.
18469 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18470 <bp-sym.h> and <bp-asm.h>.
18471 (memset): Don't use BP_SYM.
18472 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18473 <bp-sym.h> and <bp-asm.h>.
18474 (__memchr): Don't use BP_SYM.
18475 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18476 <bp-sym.h> and <bp-asm.h>.
18477 (memcmp): Don't use BP_SYM.
18478 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18479 <bp-sym.h> and <bp-asm.h>.
18480 (memcpy): Don't use BP_SYM.
18481 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18482 <bp-sym.h> and <bp-asm.h>.
18483 (__mempcpy): Don't use BP_SYM.
18484 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18485 <bp-sym.h> and <bp-asm.h>.
18486 (__memrchr): Don't use BP_SYM.
18487 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18488 <bp-sym.h> and <bp-asm.h>.
18489 (memset): Don't use BP_SYM.
18490 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18491 <bp-sym.h> and <bp-asm.h>.
18492 (__rawmemchr): Don't use BP_SYM.
18493 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18494 <bp-sym.h> and <bp-asm.h>.
18495 (__STRCMP): Don't use BP_SYM.
18496 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18497 <bp-sym.h> and <bp-asm.h>.
18498 (strchr): Don't use BP_SYM.
18499 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18500 <bp-sym.h> and <bp-asm.h>.
18501 (__strchrnul): Don't use BP_SYM.
18502 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18503 <bp-sym.h> and <bp-asm.h>.
18504 (strlen): Don't use BP_SYM.
18505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18506 <bp-sym.h> and <bp-asm.h>.
18507 (strncmp): Don't use BP_SYM.
18508 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18509 <bp-sym.h> and <bp-asm.h>.
18510 (__strnlen): Don't use BP_SYM.
18511 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18512 <bp-asm.h>.
18513 (__mpn_rshift): Don't use BP_SYM.
18514 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18515 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18516 <bp-sym.h> and <bp-asm.h>.
18517 (__sigsetjmp): Don't use BP_SYM.
18518 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18519 (L(start_addresses)): Don't use BP_SYM.
18520 (_start): Likewise.
18521 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18522 <bp-asm.h>.
18523 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18524 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18525 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18526 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18527 <bp-asm.h>.
18528 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18529 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18530 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18531 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18532 <bp-asm.h>.
18533 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18534 comments.
18535 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18536 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18537 <bp-asm.h>.
18538 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18539 FIXME comments.
18540 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18541 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18542 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18543 <bp-asm.h>.
18544 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18545 comment.
18546 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18547 and <bp-asm.h>.
18548 (strncmp): Don't use BP_SYM,
18549 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18550 <bp-asm.h>.
18551 (__mpn_sub_n): Don't use BP_SYM.
18552 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18553 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18554 and <bp-asm.h>.
18555 (__mpn_submul_1): Don't use BP_SYM.
18556 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18558 <bp-sym.h> and <bp-asm.h>.
18559 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18561 <bp-sym.h> and <bp-asm.h>.
18562 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18563 comment.
18564
8d19fe64
SP
185652013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18566
18567 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18568 Use ZK to minimize writes to Z.
18569 (sub_magnitudes): Simplify code a bit.
18570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18571 Use ZK to minimize writes to Z.
18572 (sub_magnitudes): Simplify code a bit.
18573
85bd816a
RM
185742013-02-27 Roland McGrath <roland@hack.frob.com>
18575
18576 * csu/gmon-start.c: Add special exception to license text.
18577
b5977bf2
RH
185782013-02-27 Richard Henderson <rth@redhat.com>
18579
18580 * scripts/config.guess: Update from config.git.
18581 * scripts/config.sub: Likewise.
18582
11d6e2f2
SP
185832013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18584
09c14ed2
SP
18585 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18586
a688864e
SP
18587 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18588
6295157a
SP
18589 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18590
b8de2202
SP
18591 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18592
11d6e2f2
SP
18593 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18594
7e80ddb8
RM
185952013-02-26 Roland McGrath <roland@hack.frob.com>
18596
18597 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18598 [$(build-shared = yes].
7e80ddb8 18599
7da6d9ed
SP
186002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18601
45f05884
SP
18602 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18603 (__mul): Reduce iterations for calculating mantissa.
18604
2236d359
SP
18605 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18606 MPTWO.
18607 (__mpranred): Likewise.
18608
7da6d9ed
SP
18609 [BZ #15160]
18610 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18611 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18612
b7688c42
PE
186132013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18614
18615 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18616 Define __attribute__.
18617
53a5c423
SP
186182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18619
18620 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18621 unused.
18622 * posix/regex_internal.h (__attribute): Remove.
18623 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18624 (re_string_context_at): Likewise.
18625 (bitset_not): Use __attribute__ and mark function as possibly
18626 unused.
18627 (bitset_merge): Likewise.
18628 (bitset_mask): Likewise.
18629 (re_string_char_size_at): Likewise.
18630 (re_string_wchar_at): Likewise.
18631 (re_string_elem_size_at): Likewise.
18632
60f5a8b5
SP
186332013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18634
2a983a2e
SP
18635 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18636 code.
18637 (cc32): Likewise.
18638
e69804d1
SP
18639 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18640 (__acr): Likewise.
18641 (__cpy): Likewise.
18642 (norm): Likewise.
18643 (denorm): Likewise.
18644 (__dbl_mp): Likewise.
18645 (add_magnitudes): Likewise.
18646 (sub_magnitudes): Likewise.
18647 (__mul): Likewise.
18648 (__inv): Likewise.
18649
2f22a1e8
SP
18650 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18651 style.
18652
8930ddc7
SP
18653 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18654 style.
18655
dc60cb11
SP
18656 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18657 code.
18658
60f5a8b5
SP
18659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18660 up changes with default code.
18661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18662 Likewise.
18663
b4d1fd33
AM
186642013-02-24 Allan McRae <allan@archlinux.org>
18665
faf6f8bc
AM
18666 * manual/socket.texi (The Internet Namespace): Order menu items
18667 to match that in the file.
18668
b4d1fd33
AM
18669 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18670 node listing of the info page menu.
18671
2366713d
JM
186722013-02-21 Joseph Myers <joseph@codesourcery.com>
18673
18674 [BZ #13550]
18675 * sysdeps/i386/bp-asm.h: Remove file.
18676 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18677 (PARMS): Do not use macros from bp-asm.h.
18678 (S1): Likewise.
18679 (S2): Likewise.
18680 (SIZE): Likewise.
18681 (__mpn_add_n): Do not use BP_SYM
18682 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18683 "bp-asm.h".
18684 (PARMS): Do not use macros from bp-asm.h.
18685 (S1): Likewise.
18686 (SIZE): Likewise.
18687 (__mpn_addmul_1): Do not use BP_SYM
18688 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18689 "bp-asm.h".
18690 (PARMS): Do not use macros from bp-asm.h.
18691 (SIGMSK): Likewise.
18692 (_setjmp): Likewise. Do not use BP_SYM.
18693 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18694 "bp-asm.h".
18695 (PARMS): Do not use macros from bp-asm.h.
18696 (SIGMSK): Likewise.
18697 (setjmp): Likewise. Do not use BP_SYM.
18698 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18699 "bp-asm.h".
18700 (PARMS): Do not use macros from bp-asm.h.
18701 (__frexp): Do not use BP_SYM.
18702 (frexp): Likewise.
18703 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18704 "bp-asm.h".
18705 (PARMS): Do not use macros from bp-asm.h.
18706 (__frexpf): Do not use BP_SYM.
18707 (frexpf): Likewise.
18708 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18709 "bp-asm.h".
18710 (PARMS): Do not use macros from bp-asm.h.
18711 (__frexpl): Do not use BP_SYM.
18712 (frexpl): Likewise.
18713 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18714 "bp-asm.h".
18715 (PARMS): Do not use macros from bp-asm.h.
18716 (__remquo): Do not use BP_SYM.
18717 (remquo): Likewise.
18718 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18719 "bp-asm.h".
18720 (PARMS): Do not use macros from bp-asm.h.
18721 (__remquof): Do not use BP_SYM.
18722 (remquof): Likewise.
18723 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18724 "bp-asm.h".
18725 (PARMS): Do not use macros from bp-asm.h.
18726 (__remquol): Do not use BP_SYM.
18727 (remquol): Likewise.
18728 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18729 "bp-asm.h".
18730 (PARMS): Do not use macros from bp-asm.h.
18731 (DEST): Likewise.
18732 (SRC): Likewise.
18733 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18734 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18735 "bp-asm.h".
18736 (PARMS): Do not use macros from bp-asm.h.
18737 (strlen): Do not use BP_SYM.
18738 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18739 "bp-asm.h".
18740 (PARMS): Do not use macros from bp-asm.h.
18741 (S1): Likewise.
18742 (S2): Likewise.
18743 (SIZE): Likewise.
18744 (__mpn_add_n): Do not use BP_SYM.
18745 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18746 "bp-asm.h".
18747 (PARMS): Do not use macros from bp-asm.h.
18748 (S1): Likewise.
18749 (SIZE): Likewise.
18750 (__mpn_addmul_1): Do not use BP_SYM.
18751 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18752 weak_alias.
18753 (bzero): Likewise.
18754 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18755 "bp-asm.h".
18756 (PARMS): Do not use macros from bp-asm.h.
18757 (S): Likewise.
18758 (SIZE): Likewise.
18759 (__mpn_lshift): Do not use BP_SYM.
18760 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18761 "bp-asm.h".
18762 (PARMS): Do not use macros from bp-asm.h.
18763 (DEST): Likewise.
18764 (SRC): Likewise.
18765 (LEN): Likewise.
18766 (memcpy): Likewise. Do not use BP_SYM.
18767 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18768 libc_hidden_def and weak_alias.
18769 (mempcpy): Do not use BP_SYM in weak_alias.
18770 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18771 "bp-asm.h".
18772 (PARMS): Do not use macros from bp-asm.h.
18773 (DEST): Likewise.
18774 (LEN): Likewise.
18775 [!BZERO_P] (CHR): Likewise.
18776 (memset): Likewise. Do not use BP_SYM.
18777 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18778 "bp-asm.h".
18779 (PARMS): Do not use macros from bp-asm.h.
18780 (S1): Likewise.
18781 (SIZE): Likewise.
18782 (__mpn_mul_1): Do not use BP_SYM.
18783 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18784 "bp-asm.h".
18785 (PARMS): Do not use macros from bp-asm.h.
18786 (S): Likewise.
18787 (SIZE): Likewise.
18788 (__mpn_rshift): Do not use BP_SYM.
18789 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18790 "bp-asm.h".
18791 (PARMS): Do not use macros from bp-asm.h.
18792 (STR): Likewise.
18793 (CHR): Likewise.
18794 (strchr): Likewise. Do not use BP_SYM.
18795 (index): Do not use BP_SYM in weak_alias.
18796 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18797 "bp-asm.h".
18798 (PARMS): Do not use macros from bp-asm.h.
18799 (DEST): Likewise.
18800 (SRC): Likewise.
18801 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18802 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18803 "bp-asm.h".
18804 (PARMS): Do not use macros from bp-asm.h.
18805 (strlen): Do not use BP_SYM.
18806 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18807 "bp-asm.h".
18808 (PARMS): Do not use macros from bp-asm.h.
18809 (S1): Likewise.
18810 (S2): Likewise.
18811 (SIZE): Likewise.
18812 (__mpn_sub_n): Do not use BP_SYM.
18813 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18814 "bp-asm.h".
18815 (PARMS): Do not use macros from bp-asm.h.
18816 (S1): Likewise.
18817 (SIZE): Likewise.
18818 (__mpn_submul_1): Do not use BP_SYM.
18819 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18820 "bp-asm.h".
18821 (PARMS): Do not use macros from bp-asm.h.
18822 (S1): Likewise.
18823 (S2): Likewise.
18824 (SIZE): Likewise.
18825 (__mpn_add_n): Do not use BP_SYM.
18826 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18827 weak_alias.
18828 (bzero): Likewise.
18829 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18830 "bp-asm.h".
18831 (PARMS): Do not use macros from bp-asm.h.
18832 (BLK2): Likewise.
18833 (LEN): Likewise.
18834 (memcmp): Do not use BP_SYM.
18835 (bcmp): Do not use BP_SYM in weak_alias.
18836 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18837 "bp-asm.h".
18838 (PARMS): Do not use macros from bp-asm.h.
18839 (DEST): Likewise.
18840 (SRC): Likewise.
18841 (LEN): Likewise.
18842 (memcpy): Likewise. Do not use BP_SYM.
18843 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18844 "bp-asm.h".
18845 (PARMS): Do not use macros from bp-asm.h.
18846 (DEST): Likewise.
18847 (SRC): Likewise.
18848 (LEN): Likewise.
18849 (memmove): Likewise. Do not use BP_SYM.
18850 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18851 "bp-asm.h".
18852 (PARMS): Do not use macros from bp-asm.h.
18853 (DEST): Likewise.
18854 (SRC): Likewise.
18855 (LEN): Likewise.
18856 (__mempcpy): Likewise. Do not use BP_SYM.
18857 (mempcpy): Do not use BP_SYM in weak_alias.
18858 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18859 "bp-asm.h".
18860 (PARMS): Do not use macros from bp-asm.h.
18861 (DEST): Likewise.
18862 (LEN): Likewise.
18863 [!BZERO_P] (CHR): Likewise.
18864 (memset): Likewise. Do not use BP_SYM.
18865 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18866 "bp-asm.h".
18867 (PARMS): Do not use macros from bp-asm.h.
18868 (STR2): Likewise.
18869 (strcmp): Do not use BP_SYM.
18870 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18871 "bp-asm.h".
18872 (PARMS): Do not use macros from bp-asm.h.
18873 (STR): Likewise.
18874 (DELIM): Likewise.
18875 [USE_AS_STRTOK_R] (SAVE): Likewise.
18876 (FUNCTION): Likewise. Do not use BP_SYM.
18877 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18878 aliases.
18879 (strtok_r): Likewise.
18880 (__GI___strtok_r): Likewise.
18881 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18882 (PARMS): Do not use macros from bp-asm.h.
18883 (S): Likewise.
18884 (SIZE): Likewise.
18885 (__mpn_lshift): Do not use BP_SYM.
18886 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18887 (PARMS): Do not use macros from bp-asm.h.
18888 (STR): Likewise.
18889 (CHR): Likewise.
18890 (__memchr): Do not use BP_SYM.
18891 (memchr): Do not use BP_SYM in weak_alias.
18892 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18893 (PARMS): Do not use macros from bp-asm.h.
18894 (BLK2): Likewise.
18895 (LEN): Likewise.
18896 (memcmp): Do not use BP_SYM.
18897 (bcmp): Do not use BP_SYM in weak_alias.
18898 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18899 (PARMS): Do not use macros from bp-asm.h.
18900 (S1): Likewise.
18901 (SIZE): Likewise.
18902 (__mpn_mul_1): Do not use BP_SYM.
18903 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18904 "bp-asm.h".
18905 (PARMS): Do not use macros from bp-asm.h.
18906 (STR): Likewise.
18907 (CHR): Likewise.
18908 (__rawmemchr): Do not use BP_SYM.
18909 (rawmemchr): Do not use BP_SYM in weak_alias.
18910 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18911 (PARMS): Do not use macros from bp-asm.h.
18912 (S): Likewise.
18913 (SIZE): Likewise.
18914 (__mpn_rshift): Do not use BP_SYM.
18915 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18916 (PARMS): Do not use macros from bp-asm.h.
18917 (SIGMSK): Likewise.
18918 (__sigsetjmp): Likewise. Do not use BP_SYM.
18919 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18920 (_start): Do not use BP_SYM.
18921 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18922 (PARMS): Do not use macros from bp-asm.h.
18923 (DEST): Likewise.
18924 (SRC): Likewise.
18925 (__stpcpy): Likewise. Do not use BP_SYM.
18926 (stpcpy): Do not use BP_SYM in weak_alias.
18927 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18928 "bp-asm.h".
18929 (PARMS): Do not use macros from bp-asm.h.
18930 (DEST): Likewise.
18931 (SRC): Likewise.
18932 (LEN): Likewise.
18933 (__stpncpy): Likewise. Do not use BP_SYM.
18934 (stpncpy): Do not use BP_SYM in weak_alias.
18935 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18936 (PARMS): Do not use macros from bp-asm.h.
18937 (STR): Likewise.
18938 (CHR): Likewise.
18939 (strchr): Likewise. Do not use BP_SYM.
18940 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18941 "bp-asm.h".
18942 (PARMS): Do not use macros from bp-asm.h.
18943 (STR): Likewise.
18944 (CHR): Likewise.
18945 (__strchrnul): Likewise. Do not use BP_SYM.
18946 (strchrnul): Do not use BP_SYM in weak_alias.
18947 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18948 "bp-asm.h".
18949 (PARMS): Do not use macros from bp-asm.h.
18950 (STOP): Likewise.
18951 (strcspn): Do not use BP_SYM.
18952 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18953 "bp-asm.h".
18954 (PARMS): Do not use macros from bp-asm.h.
18955 (STR): Likewise.
18956 (STOP): Likewise.
18957 (strpbrk): Likewise. Do not use BP_SYM.
18958 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18959 "bp-asm.h".
18960 (PARMS): Do not use macros from bp-asm.h.
18961 (STR): Likewise.
18962 (CHR): Likewise.
18963 (strrchr): Likewise. Do not use BP_SYM.
18964 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18965 (PARMS): Do not use macros from bp-asm.h.
18966 (SKIP): Likewise.
18967 (strspn): Do not use BP_SYM.
18968 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18969 (PARMS): Do not use macros from bp-asm.h.
18970 (STR): Likewise.
18971 (DELIM): Likewise.
18972 (SAVE): Likewise.
18973 (FUNCTION): Likewise. Do not use BP_SYM.
18974 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18975 aliases.
18976 (strtok_r): Likewise.
18977 (__GI___strtok_r): Likewise.
18978 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18979 (PARMS): Do not use macros from bp-asm.h.
18980 (S1): Likewise.
18981 (S2): Likewise.
18982 (SIZE): Likewise.
18983 (__mpn_sub_n): Do not use BP_SYM.
18984 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18985 "bp-asm.h".
18986 (PARMS): Do not use macros from bp-asm.h.
18987 (S1): Likewise.
18988 (SIZE): Likewise.
18989 (__mpn_submul_1): Do not use BP_SYM.
18990 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18991 <bp-sym.h>.
18992 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18993 and <bp-asm.h>.
18994 (PARMS): Do not use macros from bp-asm.h.
18995 (FLAGS): Likewise.
18996 (PTID): Likewise.
18997 (TLS): Likewise.
18998 (CTID): Likewise.
18999 (__clone): Do not use BP_SYM.
19000 (clone): Do not use BP_SYM in weak_alias.
19001 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19002 and <bp-asm.h>.
19003 (PARMS): Do not use macros from bp-asm.h.
19004 (LEN): Likewise.
19005 (__mmap64): Do not use BP_SYM.
19006 (mmap64): Do not use BP_SYM in weak_alias.
19007 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19008 <bp-sym.h> and <bp-asm.h>.
19009 (PARMS): Do not use macros from bp-asm.h.
19010 (__posix_fadvise64_l64): Do not use BP_SYM.
19011 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19012 (PARMS): Do not use macros from bp-asm.h.
19013 (NSOPS): Likewise.
19014 (semtimedop): Do not use BP_SYM.
19015 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19016 and <bp-asm.h>.
19017
582a3cff
AM
190182013-02-21 Allan McRae <allan@archlinux.org>
19019
19020 * manual/message.texi (Charset conversion in gettext):
19021 Move @end statement to beginning of line.
19022
bab8a695
SP
190232013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19024
80945231
SP
19025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19026 static.
19027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19028 Likewise.
19029
bab8a695
SP
19030 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19031 (denorm): Likewise.
19032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19034
e21d7aa7
AK
190352013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19036
19037 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19038 tail-call to the resolved function if pltexit isn't needed.
19039
4c7a4263
SP
190402013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19041
19042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19043 or Y being zero as being unlikely.
19044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19045 Likewise.
19046
41f49342
CD
190472013-02-20 Carlos O'Donell <carlos@redhat.com>
19048
19049 * manual/nss.texi (System Databases and Name Service Switch):
19050 Remove frobnicate @pxref.
19051
50022a93
TS
190522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19053
19054 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19055 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19056
08cbd996
PM
190572013-02-20 Petr Machata <pmachata@redhat.com>
19058
19059 * elf/elf.h (R_ARM_TARGET1): New macro.
19060 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19061 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19062 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19063 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19064 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19065 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19066 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19067 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19068 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19069 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19070 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19071 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19072 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19073 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19074 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19075 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19076 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19077 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19078 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19079 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19080 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19081 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19082 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19083 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19084 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19085 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19086 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19087 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19088 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19089 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19090 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19091 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19092 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19093 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19094 (R_ARM_THM_GOT_BREL12): Likewise.
19095 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19096 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19097 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19098 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19099 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19100 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19101 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19102 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19103 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19104
c7b275d6
TS
191052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19106
19107 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19108 __attribute_used__ to __attribute__ ((unused)).
19109
20cd7fb3
SP
191102013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19111
19112 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19113 powerpc mpa.c.
19114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19115 comment formatting.
19116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19117
92945b52
JM
191182013-02-19 Joseph Myers <joseph@codesourcery.com>
19119
19120 [BZ #13550]
19121 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19122 Remove macro.
19123 (ENTER): Remove both macro definitions.
19124 (LEAVE): Likewise.
19125 (CHECK_BOUNDS_LOW): Likewise.
19126 (CHECK_BOUNDS_HIGH): Likewise.
19127 (CHECK_BOUNDS_BOTH): Likewise.
19128 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19129 (RETURN_BOUNDED_POINTER): Likewise.
19130 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19131 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19132 (POP_ERRNO_LOCATION_RETURN): Likewise.
19133 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19134 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19135 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19136 macros.
19137 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19138 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19139 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19140 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19141 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19142 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19143 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19144 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19145 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19146 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19147 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19148 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19149 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19150 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19151 removed macros.
19152 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19153 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19154 macros.
19155 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19156 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19157 * sysdeps/i386/i586/memset.S (memset): Likewise.
19158 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19159 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19160 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19161 macros.
19162 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19163 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19164 Change uses of L(2) to L(out).
19165 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19166 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19167 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19168 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19169 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19170 removed macros.
19171 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19172 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19173 macros.
19174 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19175 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19176 (RETURN): Do not use macro LEAVE.
19177 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19178 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19179 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19180 * sysdeps/i386/i686/memset.S (memset): Likewise.
19181 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19182 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19183 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19184 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19185 Likewise.
19186 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19187 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19188 L(1_2) and L(1_3) into L(1).
19189 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19190 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19191 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19192 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19193 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19194 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19195 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19196 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19197 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19198 macros.
19199 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19200 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19201 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19202 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19203 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19204 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19205 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19206 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19207 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19208 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19209 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19210 * sysdeps/i386/strspn.S (strspn): Likewise.
19211 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19212 conditional code.
19213 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19214 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19215 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19216 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19217 L(1_3) into L(1_1).
19218 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19219 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19220 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19221 macros.
19222 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19223
2389741a
JJ
192242013-02-19 Jakub Jelinek <jakub@redhat.com>
19225
19226 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19227 macro.
19228
2016b3cd
SP
192292013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19230
e4f22324
SP
19231 * math/atest-exp.c (exp_mpn): Remove ROUND.
19232 * math/atest-exp2.c (exp_mpn): Likewise.
19233 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19234
2016b3cd
SP
19235 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19236 * stdlib/tst-tls-atexit-lib.c: Likewise.
19237 * stdlib/tst-tls-atexit.c: Likewise.
19238
4be9b544
MF
192392013-02-18 Mike Frysinger <vapier@gentoo.org>
19240
19241 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19242 and __attribute_alloc_size__.
19243
2f62b9ee
MF
192442013-02-18 Mike Frysinger <vapier@gentoo.org>
19245
19246 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19247 __attribute_alloc_size__.
19248 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19249 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19250
6ff444c4
MF
192512013-02-18 Mike Frysinger <vapier@gentoo.org>
19252
19253 * include/programs/xmalloc.h: New file.
19254 * catgets/gencat.c: Include it.
19255 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19256 * elf/pldd.c: Likewise.
19257 * iconv/iconv_charmap.c: Likewise.
19258 * iconv/iconvconfig.c: Likewise.
19259 * iconv/strtab.c: Likewise.
19260 * locale/programs/locale.c: Likewise.
19261 * locale/programs/localedef.h: Likewise.
19262 * locale/programs/simple-hash.c: Likewise.
19263 * nscd/nscd.h: Likewise.
19264 * nss/makedb.c: Likewise.
19265 * sysdeps/generic/ldconfig.h: Likewise.
19266
be179c8a
SP
192672013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19268
ba384f6e
SP
19269 * Versions.def: Add GLIBC_2.18.
19270 * include/link.h (struct link_map): New member l_tls_dtor_count.
19271 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19272 (__call_tls_dtors): Likewise.
19273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19274 __cxa_thread_atexit_impl.
19275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19276 Likewise.
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19278 Likewise.
19279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19280 Likewise.
19281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19282 Likewise.
19283 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19285 Likewise.
19286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19287 Likewise.
19288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19290 Likewise.
19291 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19292 (tests): Add test case tst-tls-atexit.
19293 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19294 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19295 (GLIBC_PRIVATE): Add __call_tls_dtors.
19296 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19297 for libstdc++.
19298 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19299 * stdlib/tst-tls-atexit.c: New test case.
19300 * stdlib/tst-tls-atexit-lib.c: New test case.
19301
ffaa74cf 19302 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19303
be179c8a
SP
19304 * elf/Versions (ld): Add _dl_find_dso_for_object.
19305 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19306 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19307 (dl_open_worker): Use _dl_find_dso_for_object.
19308 * elf/dl-sym.c (do_sym): Likewise.
19309 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19310
f78b5caa
AK
193112013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19312
19313 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19314 Syntactic changes only.
19315 (_dl_runtime_profile): Do a tail-call to the resolved function.
19316
29691210
JM
193172013-02-17 Joseph Myers <joseph@codesourcery.com>
19318
19319 [BZ #13550]
19320 * sysdeps/x86_64/bp-asm.h: Remove file.
19321 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19322 <bp-sym.h> and <bp-asm.h>.
19323 (__clone): Do not use BP_SYM.
19324 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19325 <bp-sym.h> and <bp-asm.h>.
19326 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19327 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19328 "bp-asm.h".
19329 (_setjmp): Do not use BP_SYM.
19330 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19331 "bp-asm.h".
19332 (setjmp): Do not use BP_SYM.
19333 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19334 libc_hidden_def.
19335 (mempcpy): Do not use BP_SYM in weak_alias.
19336 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19337 "bp-asm.h".
19338 (strchr): Do not use BP_SYM.
19339 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19340 "bp-asm.h".
19341 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19342 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19343 (_start): Do not use BP_SYM.
19344 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19345 "bp-asm.h".
19346 (strcat): Do not use BP_SYM.
19347 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19348 "bp-asm.h".
19349 (STRCMP): Do not use BP_SYM.
19350 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19351 "bp-asm.h".
19352 (STRCPY): Do not use BP_SYM.
19353 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19354 "bp-asm.h".
19355 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19356 "bp-asm.h".
19357 (FUNCTION): Do not use BP_SYM.
19358 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19359 weak_alias.
19360 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19361
f238fd19
AJ
193622013-02-17 Andreas Jaeger <aj@suse.de>
19363
19364 * time/Versions: Sort entries.
19365 * string/Versions: Likewise.
19366 * resolv/Versions: Likewise.
19367 * posix/Versions: Likewise.
19368 * iconv/Versions: Likewise.
19369 * elf/Versions: Likewise.
19370 * wcsmbs/Versions: Likewise.
19371
bd07f23c 193722013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19373
22af19f9
SP
19374 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19375 loop termination condition.
19376
4709fe76
SP
19377 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19378 variable to calculate EZ.
19379 (__sqr): Likewise.
2d0e0f29
SP
19380
19381 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19382 the lower precision input.
19383
daaa7713
JM
193842013-02-15 Joseph Myers <joseph@codesourcery.com>
19385
19386 [BZ #13550]
19387 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19388 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19389 (run-via-rtld-prefix): Do not handle %-bp tests.
19390 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19391 (all-object-suffixes): Remove .ob.
19392 (bppfx): Remove variable.
19393 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19394 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19395 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19396 [$(build-bounded) = yes] (libtype.ob): Likewise.
19397 * Makerules (elide-routines.ob): Remove variable.
19398 (do-tests-clean): Do not handle *-bp.out.
19399 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19400 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19401 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19402 (tests): Do not include $(tests-bp.out).
19403 (xtests): Do not include $(xtests-bp.out).
19404 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19405 [$(build-bounded) = yes] ($(addprefix
19406 $(objpfx),$(binaries-bounded))): Remove rule.
19407 ($(objpfx)%-bp.out): Remove rule.
19408 * config.make.in (build-bounded): Remove variable.
19409 * crypt/Makefile [$(build-bounded) = yes]
19410 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19411 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19412 append to variable.
19413 [$(build-bounded) = yes] (install-lib): Likewise.
19414 [$(build-bounded) = yes] (generated): Likewise.
19415 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19416 Remove rule.
19417 * intl/Makefile [$(build-bounded) = yes]
19418 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19419 * math/Makefile [$(build-bounded) = yes]
19420 ($(tests:%=$(objpfx)%-bp): Likewise.
19421 * misc/Makefile [$(build-bounded) = yes]
19422 ($(objpfx)tst-tsearch-bp): Likewise.
19423 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19424 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19425 Remove dependency.
19426 * string/Makefile (o-objects.ob): Remove variable.
19427 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19428 (CFLAGS-.ob): Remove variable.
19429 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19430 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19431 both definitions of variable.
19432 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19433 (ASFLAGS-.ob): Remove variable.
19434
e97ed6dd
JM
194352013-02-14 Joseph Myers <joseph@codesourcery.com>
19436
2bdd4ca6
JM
19437 [BZ #13550]
19438 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19439 Remove __BOUNDED_POINTERS__ from condition.
19440 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19441 * string/bits/string2.h [!__NO_STRING_INLINES &&
19442 !__BOUNDED_POINTERS__]: Likewise.
19443 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19444 Likewise.
19445 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19446 Remove conditional code.
19447 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19448 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19449 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19450 condition.
19451
e97ed6dd
JM
19452 [BZ #13550]
19453 * csu/libc-start.c: Do not include <bp-sym.h>.
19454 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19455 * elf/dl-open.c: Do not include <bp-sym.h>.
19456 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19457 * math/fegetenv.c: Do not include <bp-sym.h>.
19458 (fegetenv): Do not use BP_SYM in versioned symbols.
19459 * nptl/sysdeps/pthread/bits/libc-lockP.h
19460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19461 <bp-sym.h>.
19462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19463 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19465 (__pthread_mutex_destroy): Likewise.
19466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19467 (__pthread_mutex_lock): Likewise.
19468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19469 (__pthread_mutex_trylock): Likewise.
19470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19471 (__pthread_mutex_unlock): Likewise.
19472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19473 (__pthread_mutexattr_init): Likewise.
19474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19475 (__pthread_mutexattr_destroy): Likewise.
19476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19477 (__pthread_mutexattr_settype): Likewise.
19478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19479 (__pthread_rwlock_init): Likewise.
19480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19481 (__pthread_rwlock_destroy): Likewise.
19482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19483 (__pthread_rwlock_rdlock): Likewise.
19484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19485 (__pthread_rwlock_tryrdlock): Likewise.
19486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19487 (__pthread_rwlock_wrlock): Likewise.
19488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19489 (__pthread_rwlock_trywrlock): Likewise.
19490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19491 (__pthread_rwlock_unlock): Likewise.
19492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19493 (__pthread_key_create): Likewise.
19494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19495 (__pthread_setspecific): Likewise.
19496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19497 (__pthread_getspecific): Likewise.
19498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19499 Likewise.
19500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19501 (_pthread_cleanup_push_defer): Likewise.
19502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19503 (_pthread_cleanup_pop_restore): Likewise.
19504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19505 (pthread_setcancelstate): Likewise.
19506 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19507 <bp-sym.h>.
19508 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19509 (memchr): Do not use BP_SYM in weak_alias.
19510 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19511 (fegetenv): Do not use BP_SYM in versioned symbols.
19512 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19513 (fesetenv): Do not use BP_SYM in versioned symbols.
19514 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19515 (feupdateenv): Do not use BP_SYM in versioned symbols.
19516 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19517 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19518 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19519 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19520 (open64): Do not use BP_SYM in weak_alias.
19521 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19522 (fegetenv): Do not use BP_SYM in versioned symbols.
19523 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19524 (fesetenv): Do not use BP_SYM in versioned symbols.
19525 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19526 (feupdateenv): Do not use BP_SYM in versioned symbols.
19527 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19528 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19529 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19530 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19531 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19532 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19533 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19534 <bp-sym.h>.
19535 (__libc_start_main): Do not use BP_SYM.
19536
d6752ccd
SP
195372013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19538
cb57ce60
SP
19539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19540 redundant return line.
19541 (norm): Likewise.
19542 (denorm): Likewise.
19543 (dbl_mp): Likewise.
19544 (sub_magnitudes): Likewise.
19545 (__add): Likewise.
19546 (__sub): Likewise.
19547 (__mul): Likewise.
19548 (__inv): Likewise.
19549 (__dvd): Likewise.
19550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19551 (norm): Likewise.
19552 (denorm): Likewise.
19553 (dbl_mp): Likewise.
19554 (sub_magnitudes): Likewise.
19555 (__add): Likewise.
19556 (__sub): Likewise.
19557 (__mul): Likewise.
19558 (__inv): Likewise.
19559 (__dvd): Likewise.
19560
f414520d
SP
19561 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19562 instead of __mul.
19563 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19564 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19565 (cc32): Likewise.
19566
d6752ccd
SP
19567 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19568 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19570 of __mul for squares.
19571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19572 function
19573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19574 Likewise.
19575 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19576 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19577
70d9946a
JM
195782013-02-13 Joseph Myers <joseph@codesourcery.com>
19579
19580 [BZ #13550]
19581 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19582 code.
19583 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19584 prototype or function definition. Rename ubp_* variables and
19585 parameters. Remove argv definitions conditional on
19586 [__BOUNDED_POINTERS__].
19587 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19588 * elf/dl-runtime.c (_dl_fixup): Likewise.
19589 * include/set-hooks.h (RUN_HOOK): Likewise.
19590 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19591 definition.
19592 * string/strcpy.c (strcpy): Do not use __unbounded.
19593 * sysdeps/generic/frame.h (struct layout): Likewise.
19594 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19595 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19596 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19597 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19598 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19599 (__backtrace): Likewise.
19600 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19601 use __ptrvalue.
19602 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19603 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19604 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19605 Likewise.
19606 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19607 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19608 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19609 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19610 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19611 Do not use __unbounded.
19612 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19613 Rename __unboundedrlimits parameter to rlimits in prototype.
19614 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19615 Do not use __unbounded.
19616 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19617 not use __ptrvalue.
19618 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19619 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19620 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19621 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19622 __ptrvalue or __unbounded.
19623 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19624 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19625 use __unbounded.
19626 (__new_msgctl): Do not use __ptrvalue.
19627 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19628 __unbounded.
19629 (__libc_msgrcv): Do not use __ptrvalue.
19630 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19631 startup_info): Do not use __unbounded.
19632 (__libc_start_main): Likewise. Rename ubp_* variables and
19633 parameters. Remove argv definitions conditional on
19634 [__BOUNDED_POINTERS__].
19635 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19636 __ptrvalue.
19637 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19638 use __unbounded.
19639 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19640 or __ptrvalue.
19641 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19642 use __unbounded.
19643 (__new_shmctl): Do not use __ptrvalue.
19644 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19645 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19646 Likewise.
19647 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19648 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19649 (__libc_sigaction): Likewise.
19650 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19651 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19652 Likewise.
19653 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19654
cc7834d6
OB
196552013-02-13 Ondřej Bílka <neleai@seznam.cz>
19656
ffb1ec7b 19657 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19658
19659 * string/mempcpy.c: Implement by calling memcpy.
19660
bdf02814
SP
196612013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19662
c2af38aa
SP
19663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19664
4e92d59e
SP
19665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19666 evaluation.
19667
909279a5
SP
19668 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19669 values in the mantissa.
19670
bdf02814
SP
19671 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19672 minimize writes to Z.
19673 (sub_magnitudes): Simplify code a bit.
19674
cd525923
RM
196752013-02-12 Roland McGrath <roland@hack.frob.com>
19676
19677 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19678 from the message. The linker prefixes all warnings with that already.
19679
7e2f0d2d
AS
196802013-02-12 Andreas Schwab <schwab@suse.de>
19681
a445af0b
AS
19682 [BZ #15078]
19683 * posix/regexec.c (extend_buffers): Add parameter min_len.
19684 (check_matching): Pass minimum needed length.
19685 (clean_state_log_if_needed): Likewise.
19686 (get_subexp): Likewise.
19687 * posix/Makefile (tests): Add bug-regex34.
19688 (bug-regex34-ENV): Define.
19689 * posix/bug-regex34.c: New file.
19690
7e2f0d2d
AS
19691 [BZ #11561]
19692 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19693 elements compare against the byte sequence of it, not its name.
19694 * posix/Makefile (tests): Add bug-regex35.
19695 (bug-regex35-ENV): Define.
19696 * posix/bug-regex35.c: New file.
19697
a175b684
TV
196982013-02-11 Tom de Vries <tom@codesourcery.com>
19699
19700 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19701 comment.
19702 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19703 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19704 (CHECK_EOL): Add undef.
19705
310998fe 197062013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19707
19708 * bits/stdlib-bsearch.h: New file.
19709 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19710 * stdlib/stdlib.h: Likewise.
41eda41d 19711
8ded91fb
RM
197122013-02-11 Roland McGrath <roland@hack.frob.com>
19713
19714 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19715 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19716 declaration.
19717 * manual/search.texi (Array Search Function): Add missing const in
19718 lfind prototype.
19719 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19720 declaration to use rlim_t.
19721 (Basic Scheduling Functions): Remove erroneous const from
19722 sched_getparam prototype. Remove erroneous * from
19723 sched_get_priority_max and sched_get_priority_min prototypes.
19724 (Resource Usage): Fix summary @comment on vtimes to refer to
19725 sys/vtimes.h rather than vtimes.h.
19726 Add missing *s in vtimes prototype.
19727 (Limits on Resources): Fix ulimit prototype to return long int.
19728 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19729 prototypes to use long int rather than double.
19730 (BSD Random): Fix initstate and setstate to use char *, not void *.
19731 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19732 prototype to make second argument 'struct aiocb64 *const[]'.
19733 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19734 (Status of AIO Operations): Remove erroneous const in aio_return and
19735 aio_return64 prototypes.
19736 (Synchronizing I/O): Fix sync prototype to return void.
19737 * manual/startup.texi (Suboptions): Remove an erroneous const in
19738 getsubopt prototype.
19739 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19740 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19741 use size_t rather than int.
19742 (Scanning All Users): Likewise for getpwent_r.
19743 (Setting Groups): Add missing const to setgroups prototype.
19744 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19745 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19746 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19747 'const void *' rather than 'const char *'.
19748 (Host Address Functions): Likewise for inet_ntop.
19749 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19750 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19751 ssize_t for return value.
19752 (Sending Data): Likewise for send, sendto, sendmsg.
19753 (Socket Option Functions): Add a missing const in setsockopt prototype.
19754 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19755 use wchar_t for the argument.
19756 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19757 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19758 take no arguments.
19759 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19760 double/float/long double for second argument.
19761 Fix return types of significand, significandf, significandl.
19762 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19763 argument in fchmod prototype.
19764 (File Owner): Use uid_t and gid_t in fchown prototype.
19765 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19766 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19767 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19768 use 'const struct dirent **' as argument types to CMP function pointer
19769 argument.
19770 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19771 (File Times): Fix summary magic @comment for struct utimbuf and utime
19772 to refer to utime.h, not time.h.
19773 * manual/string.texi (Argz Functions): Add missing const in
19774 argz_extract and argz_next prototypes.
19775 (Finding Tokens in a String): Likewise for basename.
19776 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19777 (Copying and Concatenation): Fix typo in wmemmove prototype.
19778 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19779 (Signal Stack): Remove erroneous const in sigstack prototype.
19780 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19781 prototype.
19782 (Simple Calendar Time): Likewise for stime.
19783 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19784 prototype.
19785 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19786 say sys/sysctl.h instead.
19787 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19788 and vsyslog prototypes.
19789
fe77fe6d
TV
197902013-02-11 Tom de Vries <tom@codesourcery.com>
19791
19792 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19793 Remove.
19794
3a09b620
RM
197952013-02-11 Roland McGrath <roland@hack.frob.com>
19796
19797 * misc/sys/mman.h: Fix typo in mremap comment.
19798
550a0b89
RM
197992013-02-08 Roland McGrath <roland@hack.frob.com>
19800
19801 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19802 the '\0' terminator.
19803
a2da1673
JM
198042013-02-08 Joseph Myers <joseph@codesourcery.com>
19805
19806 [BZ #13550]
19807 * debug/segfault.c: Don't include <bp-checks.h>.
19808 * sysdeps/generic/bp-checks.h: Remove file.
19809 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19810 (__GETDENTS): Don't use CHECK_N.
19811 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19812 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19813 (__getgroups): Don't use CHECK_N.
19814 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19815 (setgroups): Don't use CHECK_N.
19816 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19817 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19818 (__libc_msgrcv): Don't use CHECK_N.
19819 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19820 (__libc_msgsnd): Don't use CHECK_N.
19821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19822 <bp-checks.h>.
19823 (__libc_pread): Don't use CHECK_N.
19824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19825 include <bp-checks.h>.
19826 (__libc_pread64): Don't use CHECK_N.
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19828 include <bp-checks.h>.
19829 (__libc_pwrite): Don't use CHECK_N.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19831 include <bp-checks.h>.
19832 (__libc_pwrite64): Don't use CHECK_N.
19833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19834 <bp-checks.h>.
19835 (__libc_pread): Don't use CHECK_N.
19836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19837 include <bp-checks.h>.
19838 (__libc_pread64): Don't use CHECK_N.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19840 include <bp-checks.h>.
19841 (__libc_pwrite): Don't use CHECK_N.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19843 include <bp-checks.h>.
19844 (__libc_pwrite64): Don't use CHECK_N.
19845 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19846 (do_pread): Don't use CHECK_N.
19847 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19848 (do_pread64): Don't use CHECK_N.
19849 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19850 (do_pwrite): Don't use CHECK_N.
19851 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19852 (do_pwrite64): Don't use CHECK_N.
19853 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19854 (__libc_readv): Don't use CHECK_N.
19855 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19856 (semop): Don't use CHECK_N.
19857 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19858 <bp-checks.h>.
19859 (semtimedop): Don't use CHECK_N.
19860 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19861 (__libc_pread): Don't use CHECK_N.
19862 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19863 <bp-checks.h>.
19864 (__libc_pread64): Don't use CHECK_N.
19865 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19866 <bp-checks.h>.
19867 (__libc_pwrite): Don't use CHECK_N.
19868 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19869 <bp-checks.h>.
19870 (__libc_pwrite64): Don't use CHECK_N.
19871 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19872 <bp-checks.h>.
19873 (__libc_msgrcv): Don't use CHECK_N.
19874 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19875 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19876 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19877 (__libc_writev): Don't use CHECK_N.
19878
b84660a8
RM
198792013-02-08 Roland McGrath <roland@hack.frob.com>
19880
7f3e75f8
RM
19881 * string/strcpy.c: Removed unused variable.
19882
b84660a8
RM
19883 * Makeconfig (+sysdep-includes): Define with := rather than =.
19884 Use an existing include/ subdir of each sysdeps dir before it.
19885
471514d3
CD
198862013-02-08 Carlos O'Donell <carlos@redhat.com>
19887
19888 * nscd/connection.c (register_traced_file): Comment function.
19889 [HAVE_INOTIFY] (union __inev): Define.
19890 [HAVE_INOTIFY] (inotify_check_files): New function.
19891 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19892 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19893 clear_db_cache.
19894 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19895
b2d3c3be
CD
198962013-02-08 Carlos O'Donell <carlos@redhat.com>
19897
19898 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19899 loaded if not already and that a failure is permanent.
19900
b39949d2
CD
199012013-02-08 Carlos O'Donell <carlos@redhat.com>
19902
ddacd1db 19903 [BZ #15006]
b39949d2
CD
19904 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19905 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19906
b2c9eff4
JM
199072013-02-08 Joseph Myers <joseph@codesourcery.com>
19908
f3aae3f3
JM
19909 [BZ #13550]
19910 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19911 (CHECK_1_NULL_OK): Likewise.
19912 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19913 (__fxstat): Do not use CHECK_1.
19914 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19915 <bp-checks.h>.
19916 (___fxstat64): Do not use CHECK_1.
19917 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19918 <bp-checks.h>.
19919 (__fxstatat): Do not use CHECK_1.
19920 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19921 <bp-checks.h>.
19922 (__fxstatat64): Do not use CHECK_1.
19923 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19924 <bp-checks.h>.
19925 (__fxstat): Do not use CHECK_1.
19926 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19927 <bp-checks.h>.
19928 (__fxstatat): Do not use CHECK_1.
19929 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19930 <bp-checks.h>.
19931 (__getresgid): Do not use CHECK_1.
19932 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19933 <bp-checks.h>.
19934 (__getresuid): Do not use CHECK_1.
19935 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19936 <bp-checks.h>.
19937 (__lxstat): Do not use CHECK_1.
19938 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19939 <bp-checks.h>.
19940 (__old_msgctl): Do not use CHECK_1.
19941 (__new_msgctl): Likewise.
19942 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19943 <bp-checks.h>.
19944 (__new_setrlimit): Do not use CHECK_1.
19945 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19946 <bp-checks.h>.
19947 (__old_shmctl): Do not use CHECK_1.
19948 (__new_shmctl): Likewise.
19949 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19950 <bp-checks.h>.
19951 (__xstat): Do not use CHECK_1.
19952 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19953 (__lxstat): Do not use CHECK_1.
19954 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19955 <bp-checks.h>.
19956 (___lxstat64): Do not use CHECK_1.
19957 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19958 (__old_msgctl): Do not use CHECK_1.
19959 (__new_msgctl): Likewise.
19960 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19961 <bp-checks.h>.
19962 (__gettimeofday): Do not use CHECK_1.
19963 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19964 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19965 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19966 <bp-checks.h>.
19967 (__gettimeofday): Do not use CHECK_1.
19968 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19969 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19970 (__new_shmctl): Do not use CHECK_1.
19971 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19972 <bp-checks.h>.
19973 (do_sigtimedwait): Do not use CHECK_1.
19974 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19975 <bp-checks.h>.
19976 (do_sigwaitinfo): Do not use CHECK_1.
19977 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19978 <bp-checks.h>.
19979 (msgctl): Do not use CHECK_1.
19980 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19981 <bp-checks.h>.
19982 (shmctl): Do not use CHECK_1.
19983 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19984 (ustat): Do not use CHECK_1.
19985 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19986 <bp-checks.h>.
19987 (__fxstat): Do not use CHECK_1.
19988 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19989 <bp-checks.h>.
19990 (__fxstatat): Do not use CHECK_1.
19991 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19992 <bp-checks.h>.
19993 (__lxstat): Do not use CHECK_1.
19994 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19995 <bp-checks.h>.
19996 (__xstat): Do not use CHECK_1.
19997 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19998 (__xstat): Do not use CHECK_1.
19999 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20000 (___xstat64): Do not use CHECK_1.
20001
b2c9eff4
JM
20002 [BZ #13550]
20003 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20004 definitions.
20005 (CHECK_BOUNDS_HIGH): Likewise.
20006 * string/strcpy.c: Do not include <bp-checks.h>.
20007 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20008
f1d70dad
RM
200092013-02-07 Roland McGrath <roland@hack.frob.com>
20010
20011 * nscd/nscd-client.h (__nscd_drop_map_ref):
20012 Add __attribute__ ((unused)).
20013 * nis/nss-nisplus.h (niserr2nss): Likewise.
20014
20015 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20016 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20017
20018 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20019 Remove inline keyword.
20020 * include/rounding-mode.h (round_away): Likewise.
20021 * libio/wfileops.c (adjust_wide_data): Likewise.
20022 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20023 (__m128i_strloadu_tolower): Likewise.
20024 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20025 (__m128i_strloadu_tolower): Likewise.
20026 * time/mktime.c (ydhms_diff): Likewise.
20027 * locale/elem-hash.h (elem_hash): Likewise.
20028 * locale/setlocale.c (setdata): Likewise.
20029 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20030 (re_string_wchar_at): Likewise.
20031 (bitset_not, bitset_merge, bitset_mask): Likewise.
20032 [!(__GNUC__ > 3)] (inline): Remove macro.
20033 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20034 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20035 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20036 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20037 * string/memcmp.c (memcmp_bytes): Likewise.
20038 * locale/programs/locarchive.c (compute_hashval): Likewise.
20039 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20040 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20041 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20042 * nss/getent.c (print_rpc, print_protocols): Likewise.
20043 (print_passwd, print_group, print_aliases): Likewise.
20044 * nis/nss-nisplus.h (niserr2nss): Likewise.
20045 * nscd/connections.c (restart_p): Likewise.
20046 Change return type to bool.
20047
eab55bfb
RM
200482013-02-05 Roland McGrath <roland@hack.frob.com>
20049
7bd642f5
RM
20050 * Makeconfig (all-Depend-files): Add existing
20051 $(sorted-subdirs:=/Depend) files.
20052 (all-subdirs): Remove nss.
20053 * sysdeps/unix/inet/Subdirs: Add it here instead.
20054 * hesiod/Depend: New file.
20055
573c29b2
RM
20056 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20057 instead of calling alloca.
20058
b2e25af0
RM
20059 * io/lseek.c (__lseek): Rename to __libc_lseek.
20060 Define __lseek as an alias.
20061
eab55bfb
RM
20062 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20063
9a0d1941
CD
200642013-02-04 Carlos O'Donell <carlos@redhat.com>
20065
20066 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20067 else clause and remove check for non-standard endianness.
20068
b83bbec4
DM
200692013-02-04 David S. Miller <davem@davemloft.net>
20070
20071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20072
6277fdab
JM
200732013-02-04 Joseph Myers <joseph@codesourcery.com>
20074
20075 [BZ #13550]
20076 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20077 (__ubp_memchr): Remove prototype.
20078 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20079 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20080 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20081 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20082 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20083 Remove alias.
20084 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20085 (__ubp_memchr): Likewise.
20086 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20087 (__ubp_memchr): Likewise.
20088 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20089 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20090 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20091 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20092 CHECK_STRING.
20093 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20094 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20095 (__getcwd): Do not use CHECK_STRING.
20096 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20097 <bp-checks.h>.
20098 (__real_chown): Do not use CHECK_STRING.
20099 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20100 <bp-checks.h>.
20101 (fchownat): Do not use CHECK_STRING.
20102 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20103 CHECK_STRING.
20104 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20105 <bp-checks.h>.
20106 (__lchown): Do not use CHECK_STRING.
20107 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20108 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20109 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20110 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20112 include <bp-checks.h>.
20113 (truncate64): Do not use CHECK_STRING.
20114 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20115 <bp-checks.h>.
20116 (__real_chown): Do not use CHECK_STRING.
20117 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20118 <bp-checks.h>.
20119 (__lchown): Do not use CHECK_STRING.
20120 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20121 <bp-checks.h>.
20122 (__chown): Do not use CHECK_STRING.
20123 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20124 <bp-checks.h>.
20125 (truncate64): Do not use CHECK_STRING.
20126 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20127 Likewise.
20128 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20129 (__xmknod): Do not use CHECK_STRING.
20130 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20131 <bp-checks.h>.
20132 (__xmknodat): Do not use CHECK_STRING.
20133 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20134 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20135
903ae060
AS
201362013-02-04 Andreas Schwab <schwab@suse.de>
20137
20138 [BZ #14142]
20139 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20140 * include/netdb.h: Likewise for h_errno.
20141 * elf/tst-stackguard1.c: Include <tls.h>.
20142
542f9466
JK
201432013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20144
20145 * elf/link.h (struct link_map): Extend the l_addr comment.
20146 * include/link.h (struct link_map): Likewise.
20147
e782a927
JM
201482013-02-01 Joseph Myers <joseph@codesourcery.com>
20149
20150 [BZ #13550]
20151 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20152 (BOUNDED_1): Remove macro.
20153 * debug/backtrace.c: Don't include <bp-checks.h>.
20154 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20155 (__backtrace): Likewise.
20156 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20157 <bp-checks.h>.
20158 (__backtrace): Don't use BOUNDED_1.
20159 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20160 <bp-checks.h>.
20161 (__backtrace): Don't use BOUNDED_1.
20162 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20163 (__backtrace): Don't use BOUNDED_1.
20164 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20165 (shmat): Don't use BOUNDED_N.
20166
8cf28c5e
JM
201672013-01-31 Joseph Myers <joseph@codesourcery.com>
20168
3a7ac8a0
JM
20169 [BZ #13550]
20170 * sysdeps/generic/bp-start.h: Remove file.
20171 * csu/libc-start.c: Don't include <bp-start.h>.
20172 (LIBC_START_MAIN): Set up __environ directly instead of using
20173 INIT_ARGV_and_ENVIRON.
20174 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20175 <bp-start.h>.
20176
f3499f95
JM
20177 [BZ #13550]
20178 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20179 definitions.
20180 (CHECK_FCNTL): Likewise.
20181 (CHECK_N_PAGES): Likewise.
20182
32a45bea
JM
20183 [BZ #13550]
20184 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20185 definitions.
20186 (CHECK_SIGSET_NULL_OK): Likewise.
20187 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20188 <bp-checks.h>.
20189 (sigpending): Don't use CHECK_SIGSET.
20190 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20191 <bp-checks.h>.
20192 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20193 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20194 <bp-checks.h>.
20195 (do_sigsuspend): Don't use CHECK_SIGSET.
20196 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20197 use CHECK_SIGSET.
20198 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20199 (do_sigwait): Don't use CHECK_SIGSET.
20200 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20201 use CHECK_SIGSET.
20202 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20203 include <bp-checks.h>.
20204 (sigpending): Don't use CHECK_SIGSET.
20205 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20206 include <bp-checks.h>.
20207 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20208 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20209 <bp-checks.h>.
20210 (sigpending): Don't use CHECK_SIGSET.
20211 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20212 <bp-checks.h>.
20213 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20214
2e8a5c8c
JM
20215 [BZ #13550]
20216 * sysdeps/generic/bp-semctl.h: Remove file.
20217 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20218 <bp-checks.h> and <bp-semctl.h>.
20219 (__old_semctl): Don't use CHECK_SEMCTL.
20220 (__new_semctl): Likewise.
20221 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20222 and <bp-semctl.h>.
20223 (__old_semctl): Don't use CHECK_SEMCTL.
20224 (__new_semctl): Likewise.
20225 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20226 <bp-checks.h> and <bp-semctl.h>.
20227 (__old_semctl): Don't use CHECK_SEMCTL.
20228 (__new_semctl): Likewise.
20229 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20230 <bp-checks.h> and <bp-semctl.h>.
20231 (semctl): Don't use CHECK_SEMCTL.
20232
c2d54929
JM
20233 [BZ #13550]
20234 * Makerules (elide-bp-thunks): Remove variable.
20235 (elide-routines.oS): Don't use $(elide-bp-thunks).
20236 (elide-routines.os): Likewise.
20237 (elide-routines.o): Likewise.
20238 (elide-routines.op): Likewise.
20239 (elide-routines.og): Likewise.
20240 (objects): Don't use $(bp-thunks).
20241 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20242 include.
20243 (common-generated): Do not add s-proto-bp.d.
20244 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20245 (int): Likewise.
20246 (typ): Likewise.
20247 Do not generate makefile rules for bounded-pointer thunks.
20248 * sysdeps/generic/bp-thunks.h: Remove file.
20249 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20250 * sysdeps/unix/s-proto-bp.S: Likewise.
20251
8cf28c5e
JM
20252 [BZ #15062]
20253 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20254 parts of result separately when argument is not close to line from
20255 -i to i and one part of argument is small.
20256 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20257 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20258 * math/libm-test.inc (cacos_test): Add more tests.
20259 (casin_test): Likewise.
20260 (casinh_test): Likewise.
20261 * sysdeps/i386/fpu/libm-test-ulps: Update.
20262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20263
c4e33b8d
DM
202642013-01-31 David S. Miller <davem@davemloft.net>
20265
20266 * po/de.po: Update from translation team.
20267
3b60b421
MK
202682013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20269
20270 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20271
bb931195
TS
202722013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20273
b5a5da23
TS
20274 * configure.in (_AC_PROG_CC_C89): New definition.
20275 * configure: Regenerate.
20276
bb931195
TS
20277 * configure.in (AC_PROG_CPP): New definition.
20278 * configure: Regenerate.
20279
8c53a12c
JM
202802013-01-23 Joseph Myers <joseph@codesourcery.com>
20281
20282 * debug/tst-backtrace.h: New file.
20283 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20284 (ret): Remove variable.
20285 (x): Likewise.
20286 (FAIL): Remove macro.
20287 (NO_INLINE): Likewise.
20288 (fn1): Use match function instead of strstr.
20289 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20290 (ret): Remove variable.
20291 (x): Likewise.
20292 (FAIL): Remove macro.
20293 (NO_INLINE): Likewise.
20294 (fn): Use match function instead of strstr.
20295 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20296 (ret): Remove variable.
20297 (x): Likewise.
20298 (FAIL): Remove macro.
20299 (NO_INLINE): Likewise.
20300 (handle_signal): Use match function instead of strstr.
20301 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20302 (ret): Remove variable.
20303 (x): Likewise.
20304 (FAIL): Remove macro.
20305 (NO_INLINE): Likewise.
20306 (handle_signal): Use match function instead of strstr.
20307
4858fa2a
RM
203082013-01-23 Roland McGrath <roland@hack.frob.com>
20309
20310 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20311
bae8e7f5
DM
203122013-01-23 David S. Miller <davem@davemloft.net>
20313
20314 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20315 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20316 argument of CAS if possible.
20317 * sysdeps/sparc/sparc64/bits/atomic.h
20318 (__arch_compare_and_exchange_val_32_acq): Likewise.
20319 (__arch_compare_and_exchange_val_64_acq): Likewise.
20320
9cbbc4ae
PT
203212013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20322
20323 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20324 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20325 Include <limits.h>.
67b3f58c 20326 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20327
5655a0b5
AC
203282013-01-23 Adam Conrad <adconrad@0c3.net>
20329
20330 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20331 (LDFLAGS-tst-array5): Likewise.
20332
052aff95
JM
203332013-01-23 Joseph Myers <joseph@codesourcery.com>
20334
20335 [BZ #15036]
20336 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20337 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20338 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20339 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20340
7c1e01aa
DM
203412013-01-21 David S. Miller <davem@davemloft.net>
20342
20343 * sysdeps/sparc/backtrace.c: New file.
20344 * sysdeps/sparc/sparc32/backtrace.h: New file.
20345 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20346 * sysdeps/sparc/sparc64/backtrace.h: New file.
20347 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20348 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20349 -funwind-tables.
20350
ab087e0a
AS
203512013-01-21 Andreas Schwab <schwab@suse.de>
20352
20353 [BZ #15020]
20354 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20355 closed its stdout.
20356
ed689c2f
AS
203572013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20358
20359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20360 "mpa2.h".
20361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20362
31d470ac
JM
203632013-01-18 Joseph Myers <joseph@codesourcery.com>
20364 Mark Mitchell <mark@codesourcery.com>
20365 Tom de Vries <tom@codesourcery.com>
20366 Paul Pluzhnikov <ppluzhnikov@google.com>
20367
20368 * debug/tst-backtrace2.c: New file.
20369 * debug/tst-backtrace3.c: Likewise.
20370 * debug/tst-backtrace4.c: Likewise.
20371 * debug/tst-backtrace5.c: Likewise.
20372 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20373 (CFLAGS-tst-backtrace3.c): Likewise.
20374 (CFLAGS-tst-backtrace4.c): Likewise.
20375 (CFLAGS-tst-backtrace5.c): Likewise.
20376 (LDFLAGS-tst-backtrace2): Likewise.
20377 (LDFLAGS-tst-backtrace3): Likewise.
20378 (LDFLAGS-tst-backtrace4): Likewise.
20379 (LDFLAGS-tst-backtrace5): Likewise.
20380 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20381 tst-backtrace4 and tst-backtrace5.
20382
90567f30 203832013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20384 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20385
20386 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20387 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20388 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20389 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20391 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20392 "+r" and remove output regs list as redundant. Add explicit inline
20393 asm to specify register of return val to work around compiler codegen
20394 bug. Remove (int) cast on return value. Add return type parameter to
20395 use in macro so that this macro does not truncate return value for
20396 64-bit values.
20397 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20398 pass to INTERNAL_VSYSCALL_NCS.
20399 (INLINE_VSYSCALL): Add 'long int' as return type to
20400 INTERNAL_VSYSCALL_NCS macro invocation.
20401 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20402 INTERNAL_VSYSCALL_NCS macro invocation.
20403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20404
d3b9ea61
SP
204052013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20406
0b57daeb
SP
20407 [BZ #14496]
20408 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20409 Fix application of SIMD FP exception mask.
20410
caa99d06
SP
20411 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20412 mp_no from a power of two.
20413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20414 __mpexp_twomm1. Use __pow_mp.
20415
d3b9ea61
SP
20416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20417 multiplication.
20418
1dbaee3c
DM
204192013-01-17 David S. Miller <davem@davemloft.net>
20420
20421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20422
728d7b43
JM
204232013-01-17 Joseph Myers <joseph@codesourcery.com>
20424
20425 [BZ #15023]
20426 * include/complex.h: Condition contents on [!_COMPLEX_H].
20427 (__kernel_casinhf): New prototype.
20428 (__kernel_casinh): Likewise.
20429 (__kernel_casinhl): Likewise.
20430 * math/Makefile (libm_calls): Add k_casinh.
20431 * math/k_casinh.c: New file.
20432 * math/k_casinhf.c: Likewise.
20433 * math/k_casinhl.c: Likewise.
20434 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20435 finite nonzero arguments.
20436 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20437 finite nonzero arguments.
20438 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20439 finite nonzero arguments.
20440 * math/s_casinh.c: Do not include <float.h>.
20441 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20442 * math/s_casinhf.c: Do not include <float.h>.
20443 (__casinhf): Move code for finite nonzero arguments to
20444 k_casinhf.c.
20445 * math/s_casinhl.c: Do not include <float.h>.
20446 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20447 redefine.
20448 (__casinhl): Move code for finite nonzero arguments to
20449 k_casinhl.c.
20450 * math/libm-test.inc (cacos_test): Add more tests.
20451 * sysdeps/i386/fpu/libm-test-ulps: Update.
20452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20453
2a26ef3a
PT
204542013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20455
20456 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20457 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20458 [!HAVE_MREMAP]: Remove [defined linux] case.
20459 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20460
a897655d
SP
204612013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20462
20463 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20464
881ebe89 204652013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20466
20467 * elf/elf.h (R_386_SIZE32): New relocation.
20468 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20469 R_386_SIZE32.
20470 (elf_machine_rela): Likewise.
20471 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20472 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20473
59981e9b
JM
204742013-01-17 Joseph Myers <joseph@codesourcery.com>
20475
20476 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20477 (FP_FAST_FMA): Do not define.
20478 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20479 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20480 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20481 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20482 !_SOFT_FLOAT]: Likewise.
20483 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20484 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20485 value.
20486 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20487 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20488 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20489 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20490 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20491 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20492 file.
20493
cfa8054f
AS
204942013-01-16 Andreas Schwab <schwab@suse.de>
20495
20496 [BZ #14327]
20497 * include/stdlib.h (__mktemp): Add declaration.
20498 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20499 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20500
dd930cc5
SP
205012013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20502
881ebe89
SP
20503 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20504 definitions.
20505 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20506 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20507 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20508 definitions here.
20509 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20510 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20511 definitions.
20512 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20513 and ONE.
20514 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20515 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20516 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20517 definitions.
20518 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20519 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20520 definitions.
20521 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20522
dd930cc5
SP
20523 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20524
c19a9f89
DM
205252013-01-15 David S. Miller <davem@davemloft.net>
20526
1aa61767
DM
20527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20528 trunc{,f} to libm-sysdep_routes.
20529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20531 file.
20532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20534 file.
20535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20536 file.
20537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20539 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20540 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20541 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20542 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20543 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20544 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20545
c42d5e98
DM
20546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20547 nearbyint{,f} to libm-sysdep_routes.
20548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20550 New file.
20551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20552 file.
20553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20554 New file.
20555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20556 file.
20557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20559 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20560 file.
20561 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20562 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20563 file.
20564 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20565 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20566 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20567
c19a9f89
DM
20568 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20569 libc_feholdexcept and libc_fesetenv.
20570
357679d2
MF
205712013-01-15 Mike Frysinger <vapier@gentoo.org>
20572
20573 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20574
65a82e3d
DM
205752013-01-14 David S. Miller <davem@davemloft.net>
20576
8b954ab9
DM
20577 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20578 (SPARC_ASM_VIS2_IFUNC): Likewise.
20579 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20581 use of 'siam' instruction.
20582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20583 Likewise.
20584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20585 Likewise.
20586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20587 Likewise.
20588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20593 file.
20594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20595 file.
20596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20597 file.
20598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20599 file.
20600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20605 new VIS2 routines.
20606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20609 Likewise.
20610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20615 routines to libm-sysdep_routines.
20616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20617
65a82e3d
DM
20618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20619 fdim/fdimf to libm-sysdep_routines.
20620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20621 file.
20622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20624 file.
20625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20628 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20629 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20630 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20631 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20632
e34ab705
SP
206332013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20634
2a91b573
SP
20635 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20636 to optimize copies.
20637
1066a534
SP
20638 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20641
e34ab705
SP
20642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20643 local variable MPTWO.
20644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20645 Likewise.
20646
aba5e596
MF
206472013-01-13 Mike Frysinger <vapier@gentoo.org>
20648
20649 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20650 GLOB_NOESCAPE.
20651
e557e9e5
MF
206522013-01-13 Mike Frysinger <vapier@gentoo.org>
20653
20654 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20655
0428cec9
MF
206562013-01-13 Mike Frysinger <vapier@gentoo.org>
20657
20658 * manual/pattern.texi (glob_t): Document gl_flags.
20659 (glob64_t): Likewise.
20660
8794a964
DM
206612013-01-11 David S. Miller <davem@davemloft.net>
20662
66438c3f
RM
20663 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20664 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20665 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20666 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20667 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20668 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20669 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20670 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20671 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20672 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20673 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20674 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20675 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20676
4ae4244d
DM
20677 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20678 sparc V9 rather than using V8 code.
20679 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20680 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20681
8794a964
DM
20682 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20683 Move to...
20684 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20685 Here.
20686
6270516e
RM
206872013-01-11 Roland McGrath <roland@hack.frob.com>
20688
20689 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20690 not in the main loop.
20691 * configure: Regenerated.
20692
6a57d931
JM
206932013-01-11 Joseph Myers <joseph@codesourcery.com>
20694
20695 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20696 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20697 to just #else.
20698 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20699 [!__GLIBC_HAVE_LONG_LONG] case.
20700 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20701 condition to just #else.
20702 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20703 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20704 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20705 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20706 unconditional.
20707 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20708 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20709 #elif condition to just #else.
20710 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20711 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20712 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20713 #elif condition to just #else.
20714
0e8529e9
SE
207152013-01-11 Steve Ellcey <sellcey@mips.com>
20716
20717 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20718 (EF_MIPS_ARCH_64): Fix value.
20719 (EF_MIPS_ARCH_32R2): New.
20720 (EF_MIPS_ARCH_64R2): New.
20721
740b3dbe
L
207222013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20723
20724 * Makeconfig (+link-pie-before-libc): New.
20725 (+link-pie-after-libc): Likewise.
20726 (+link-pie-tests): Likewise.
20727 (+link-pie): Rewritten.
20728 (link-before-libc): Remove $(config-LDFLAGS).
20729 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20730 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20731 (config-LDFLAGS): Renamed to ...
20732 (rtld-LDFLAGS): This.
20733 (rtld-tests-LDFLAGS): New macro.
20734 (link-libc-rpath-link): Likewise.
20735 (link-libc-tests-rpath-link): Likewise.
20736 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20737 (link-libc): Prepand $(link-libc-rpath-link).
20738 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20739 (test-program-prefix): New macro.
20740 (test-via-rtld-prefix): Likewise.
20741 (test-program-cmd): Likewise.
20742 (host-test-program-cmd): Likewise.
20743 * Makefile ($(common-objpfx)testrun.sh): Replace
20744 $(run-program-prefix) with $(test-program-prefix).
20745 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20746 $(rtld-LDFLAGS).
20747 ($(common-objpfx)shlib.lds): Likewise.
20748 (build-module-helper): Likewise.
20749 ($(common-objpfx)format.lds): Likewise.
20750 * Rules (binaries-pie-tests): New.
20751 (binaries-pie-notests): Likewise.
20752 (binaries-pie): Rewritten.
20753 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20754 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20755 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20756 (make-test-out): Replace $(host-built-program-cmd) with
20757 $(host-test-program-cmd).
20758 * config.make.in (build-hardcoded-path-in-tests): New variable.
20759 * configure.in (--enable-hardcoded-path-in-tests): New configure
20760 option.
20761 (hardcoded_path_in_tests): New AC_SUBST.
20762 * configure: Regenerated.
20763 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20764 $(built-program-cmd) with $(test-program-cmd).
20765 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20766 (test_program_cmd): This.
20767 * elf/Makefile ($(objpfx)order.out): Run test with
20768 $(test-program-prefix).
20769 ($(objpfx)order2.out): Likewise.
20770 ($(objpfx)tst-initorder.out): Likewise.
20771 ($(objpfx)tst-initorder2.out): Likewise.
20772 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20773 $(test-program-cmd).
20774 ($(objpfx)tst-array1-static.out): Likewise.
20775 ($(objpfx)tst-array2.out): Likewise.
20776 ($(objpfx)tst-array3.out): Likewise.
20777 ($(objpfx)tst-array4.out): Likewise.
20778 ($(objpfx)tst-array5.out): Likewise.
20779 ($(objpfx)tst-array5-static.out): Likewise.
20780 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20781 $(test-program-cmd).
20782 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20783 $(run-program-prefix) with $(test-program-prefix).
20784 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20785 (test_program_prefix): This.
20786 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20787 $(run-program-prefix) with $(test-program-prefix).
20788 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20789 (test_program_prefix): This.
20790 * iconvdata/tst-tables.sh: Likewise.
20791 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20792 $(run-program-prefix) with $(test-program-prefix).
20793 ($(objpfx)tst-translit.out): Likewise.
20794 ($(objpfx)tst-gettext2.out): Likewise.
20795 ($(objpfx)tst-gettext4.out): Likewise.
20796 ($(objpfx)tst-gettext6.out): Likewise.
20797 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20798 (test_program_prefix): This.
20799 * intl/tst-gettext2.sh: Likewise.
20800 * intl/tst-gettext4.sh Likewise.
20801 * intl/tst-gettext6.sh: Likewise.
20802 * intl/tst-translit.sh: Likewise.
20803 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20804 with $(test-program-cmd).
20805 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20806 $(run-program-prefix) with $(test-program-prefix).
20807 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20808 (test_program_prefix): This.
20809 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20810 $(run-program-prefix) with $(test-program-prefix).
20811 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20812 (test_program_prefix): This.
20813 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20814 * posix/Makefile ($(objpfx)globtest.out): Replace
20815 $(run-via-rtld-prefix) and $(test-wrapper) with
20816 $(test-program-prefix) and $(test-via-rtld-prefix).
20817 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20818 $(test-program-prefix).
20819 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20820 $(host-test-program-cmd).
20821 (tst-spawn-ARGS): Likewise.
20822 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20823 $(test-program-prefix).
20824 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20825 (test_via_rtld_prefix): This.
20826 (test_wrapper): Renamed to ...
20827 (test_program_prefix): This.
20828 (run_program_prefix): Replaced by test_program_prefix.
20829 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20830 (test_program_prefix): This.
20831 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20832 with $(host-test-program-cmd).
20833 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20834 $(run-program-prefix) with $(test-program-prefix).
20835 ($(objpfx)tst-printf.out): Likewise.
20836 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20837 $(test-program-cmd).
20838 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20839 (test_program_prefix): This.
20840 * stdio-common/tst-unbputc.sh: Likewise.
20841 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20842 $(run-program-prefix) with $(test-program-prefix).
20843 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20844 (test_program_prefix): This.
20845 * string/Makefile ($(objpfx)tst-svc.out): Replace
20846 $(built-program-cmd) with $(test-program-cmd).
20847
c6fe55cf
AJ
208482013-01-11 Andreas Jaeger <aj@suse.de>
20849
20850 [BZ #15003]
20851 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20852 value. Sync with Linux 3.7.
20853
9e6919c8
DM
208542013-01-10 David S. Miller <davem@davemloft.net>
20855
20856 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20857 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20858 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20859
1c9f1a02
RM
208602013-01-10 Roland McGrath <roland@hack.frob.com>
20861
20862 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20863 never set.
20864 * configure: Regenerated.
20865
b9de2dde
DM
208662013-01-10 David S. Miller <davem@davemloft.net>
20867
20868 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20869 sparc V9 rather than using V8 code.
20870 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20871 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20872
e7f68ef4
RM
208732013-01-10 Roland McGrath <roland@hack.frob.com>
20874
20875 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20876 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20877 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20878 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20879 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20880 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20881 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20882 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20883 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20884 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20885 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20886 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20887 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20888 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20889 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20890 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20891 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20892 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20893 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20894 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20895 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20896 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20897 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20898 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20899 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20900 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20901 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20902
5a47cc9c
DM
209032013-01-10 David S. Miller <davem@davemloft.net>
20904
20905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20906
4cf8f209
L
209072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20908
20909 * posix/Makefile (tests-static): New variable.
20910 (tests): Add $(tests-static).
20911 (tst-exec-static-ARGS): New variable.
20912 (tst-spawn-static-ARGS): Likewise.
20913 * posix/tst-exec-static.c: New file.
20914 * posix/tst-spawn-static.c: Likewise.
20915 * posix/tst-exec.c: Support run directly.
20916 * posix/tst-spawn.c: Likewise.
20917
fed0faa1
JM
209182013-01-10 Joseph Myers <joseph@codesourcery.com>
20919
828beb13
JM
20920 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20921 long.
20922 * math/bits/mathcalls.h (llrint): Likewise.
20923 (llround): Likewise.
20924 * stdlib/stdlib.h (struct drand48_data): Likewise.
20925 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20926 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20927 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20928 Likewise.
20929 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20930 Likewise.
20931 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20932 (elf_greg_t): Likewise.
20933 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20934 (__jmp_buf): Likewise.
20935 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20936 definitions.
20937 (llrint): Likewise, for all definitions.
20938 (llrintl): Likewise.
20939
fed0faa1
JM
20940 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20941 Remove [__GNUC__] condition.
20942 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20943 condition to just [__USE_ISOC99].
20944 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20945
1a20cb20
L
209462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20947
20948 [BZ #14200]
20949 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20950 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20951 defined.
20952 (_POSIX_V6_ILP32_OFF32): Likewise.
20953 (_XBS5_ILP32_OFF32): Likewise.
20954 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20955 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20956
751b85f7
SP
209572013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20958
7490eb81
SP
20959 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20960
751b85f7
SP
20961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20962 doubles __mpexp_twomm1. Adjust usage.
20963 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20964 Remove.
20965
988197f0
AS
209662013-01-10 Andreas Schwab <schwab@suse.de>
20967
20968 [BZ #14964]
20969 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20970 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20971
e83d7298
DM
209722013-01-09 David S. Miller <davem@davemloft.net>
20973
034ed64b 20974 [BZ #15003]
57f41c40
AS
20975 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20976 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20977 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20978 (TCP_FASTOPEN): Define.
e83d7298
DM
20979 (tcp_repair_opt): New structure.
20980 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20981 enum values.
57f41c40
AS
20982 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20983 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20984 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20985 (tcp_cookie_transactions): New structure.
20986
d5e0b9bd
AB
209872013-01-09 Anton Blanchard <anton@samba.org>
20988
20989 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20990 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20991 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20992 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20993
0c07e3ea
JM
209942013-01-09 Joseph Myers <joseph@codesourcery.com>
20995
20996 * include/features.h (__USE_ANSI): Remove.
20997
232f7002
RM
209982013-01-09 Roland McGrath <roland@hack.frob.com>
20999
ad98e30c
RM
21000 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21001
232f7002
RM
21002 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21003
950c99ca
SP
210042013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21005
b5792741
SP
21006 * sysdeps/s390/fpu/libm-test-ulps: Update.
21007
47cf2278
SP
21008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21009
950c99ca
SP
21010 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21011 (__acr): Likewise.
21012 (__cpy): Likewise.
21013 (norm): Likewise.
21014 (denorm): Likewise.
21015 (__mp_dbl): Likewise.
21016 (__dbl_mp): Likewise.
21017 (add_magnitudes): Likewise.
21018 (sub_magnitudes): Likewise.
21019 (__add): Likewise.
21020 (__sub): Likewise.
21021 (__mul): Likewise.
21022 (__inv): Likewise.
21023 (__dvd): Likewise.
21024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21025 (__acr): Likewise.
21026 (__cpy): Likewise.
21027 (norm): Likewise.
21028 (denorm): Likewise.
21029 (__mp_dbl): Likewise.
21030 (__dbl_mp): Likewise.
21031 (add_magnitudes): Likewise.
21032 (sub_magnitudes): Likewise.
21033 (__add): Likewise.
21034 (__sub): Likewise.
21035 (__mul): Likewise.
21036 (__inv): Likewise.
21037 (__dvd): Likewise.
21038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21039 (__acr): Likewise.
21040 (__cpy): Likewise.
21041 (norm): Likewise.
21042 (denorm): Likewise.
21043 (__mp_dbl): Likewise.
21044 (__dbl_mp): Likewise.
21045 (add_magnitudes): Likewise.
21046 (sub_magnitudes): Likewise.
21047 (__add): Likewise.
21048 (__sub): Likewise.
21049 (__mul): Likewise.
21050 (__inv): Likewise.
21051 (__dvd): Likewise.
21052
eede9df9
JM
210532013-01-08 Joseph Myers <joseph@codesourcery.com>
21054
21055 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21056 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21057 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21058 2 && __USE_EXTERN_INLINES]: Likewise.
21059
c40ea3d9
AJ
210602013-01-08 Andreas Jaeger <aj@suse.de>
21061
21062 [BZ# 14985]
21063 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21064 Remove.
21065 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21066 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21067
2ccdea26
AB
210682013-01-07 Anton Blanchard <anton@samba.org>
21069
21070 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21071 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21072 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21073 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21074 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21075 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21076 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21077 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21079 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21080 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21081 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21084 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21085 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21086 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21087 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21088 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21090 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21091 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21093 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21094 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21095 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21096 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21097 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21098 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21099 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21100 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21102 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21103 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21104 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21105 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21106 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21107 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21108 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21109 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21110 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21111 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21112 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21113
a9708fed
JM
211142013-01-07 Joseph Myers <joseph@codesourcery.com>
21115
375607b9
JM
21116 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21117 (__MALLOC_PMT): Likewise.
21118 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21119 [__GNUC__], only on [_LIBC].
21120 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21121 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21122 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21123 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21124 forward declaration.
21125 (realloc_hook_ini): Likewise.
21126 (memalign_hook_ini): Likewise.
21127 (__libc_memalign): Do not use __MALLOC_PMT in variable
21128 declaration.
21129 (__libc_valloc): Likewise.
21130 (__libc_pvalloc): Likewise.
21131 (__libc_calloc): Likewise.
21132 (__posix_memalign): Likewise.
21133
a9708fed
JM
21134 [BZ #14996]
21135 * math/s_casinh.c: Include <float.h>.
21136 (__casinh): Do not do computation with squaring and square root
21137 for large arguments.
21138 * math/s_casinhf.c: Include <float.h>.
21139 (__casinhf): Do not do computation with squaring and square root
21140 for large arguments.
21141 * math/s_casinhl.c: Include <float.h>.
21142 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21143 (__casinhl): Do not do computation with squaring and square root
21144 for large arguments.
21145 * math/libm-test.inc (casin_test): Add more tests.
21146 (casinh_test): Likewise.
21147 * sysdeps/i386/fpu/libm-test-ulps: Update.
21148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21149
afec409a
L
211502013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21151
21152 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21153 (__x86_64_raw_data_cache_size): Likewise.
21154 (__x86_64_data_cache_size_half): Likewise.
21155 (__x86_64_raw_data_cache_size_half): Likewise.
21156 (__x86_64_shared_cache_size): Likewise.
21157 (__x86_64_raw_shared_cache_size): Likewise.
21158 (__x86_64_shared_cache_size_half): Likewise.
21159 (__x86_64_raw_shared_cache_size_half): Likewise.
21160 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21161 to ...
21162 (__x86_data_cache_size): This.
21163 (__x86_64_raw_data_cache_size): Renamed to ...
21164 (__x86_raw_data_cache_size): This.
21165 (__x86_64_data_cache_size_half): Renamed to ...
21166 (__x86_data_cache_size_half): This.
21167 (__x86_64_raw_data_cache_size_half): Renamed to ...
21168 (__x86_raw_data_cache_size_half): This.
21169 (__x86_64_shared_cache_size): Renamed to ...
21170 (__x86_shared_cache_size): This.
21171 (__x86_64_raw_shared_cache_size): Renamed to ...
21172 (__x86_raw_shared_cache_size): This.
21173 (__x86_64_shared_cache_size_half): Renamed to ...
21174 (__x86_shared_cache_size_half): This.
21175 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21176 (__x86_raw_shared_cache_size_half): This.
21177 * sysdeps/x86_64/memcpy.S: Updated.
21178 * sysdeps/x86_64/memset.S: Likewise.
21179 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21180 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21181 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21182
0b3986d0
DM
211832013-01-04 David S. Miller <davem@davemloft.net>
21184
21185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21186
e47686e9
AS
211872013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21188
d643bac1
AS
21189 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21190 1 to avoid redefinition warning.
21191 (__USE_GNU): Don't define.
21192 (init_signaling_nan): Protoize.
21193
e47686e9
AS
21194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21195
b18decba
SP
211962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21197
fffb407f
SP
21198 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21200 (__cpymn): Likewise.
21201 (norm): Remove commented code.
21202 (denorm): Likewise.
21203 (__mp_dbl): Likewise.
21204 (__inv): Likewise.
21205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21206 (__cpymn): Likewise.
21207 (norm): Remove commented code.
21208 (denorm): Likewise.
21209 (__mp_dbl): Likewise.
21210 (__inv): Likewise.
21211
b18decba
SP
21212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21213 mp_no value for 1.0 and 2.0.
21214 (norm): Use RADIXI instead of radixi.d.
21215 (denorm): Likewise.
21216 (__mul): Use 0.0 instead of zero.d.
21217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21218 mp_no value for 1.0 and 2.0.
21219 (norm): Use RADIXI instead of radixi.d.
21220 (denorm): Likewise.
21221 (__mul): Use 0.0 instead of zero.d.
21222
cdc1c96f
JM
212232013-01-04 Joseph Myers <joseph@codesourcery.com>
21224
21225 [BZ #14994]
21226 * math/s_casinh.c (__casinh): Reduce finite argument to first
21227 quadrant then set signs of results at the end.
21228 * math/s_casinhf.c (__casinhf): Likewise.
21229 * math/s_casinhl.c (__casinhl): Likewise.
21230 * math/libm-test.inc (casin_test): Add more tests.
21231 (casinh_test): Likewise.
21232 * sysdeps/i386/fpu/libm-test-ulps: Update.
21233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21234
302913e1
SP
212352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21236
6420d207
SP
21237 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21238
a9e48ab4
SP
21239 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21240
b7837264
SP
21241 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21242 declarations.
21243 (denorm): Likewise.
21244 (__mp_dbl): Likewise.
21245 (__inv): Likewise.
21246
f8af25d2
SP
21247 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21248 and adjust the header comment.
21249
302913e1
SP
21250 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21251 variable name from declaration.
21252
5d7dd1ca
L
212532013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21254
21255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21256 Initialize COMMON_CPUID_INDEX_7 element.
21257 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21258 (CPUID_RTM): Likewise.
21259 (HAS_RTM): Likewise.
21260 (COMMON_CPUID_INDEX_7): New enum.
21261
2f5f40f4
AS
212622013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21263
21264 [BZ #14981]
21265 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21266 size is zero, record memory as freed.
21267
4056f4a0
AJ
212682013-01-03 Andreas Jaeger <aj@suse.de>
21269
21270 * po/ia.po: Add new Interlingua translation.
21271
ab15736f 212722012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21273
21274 * locale/programs/localedef.c: Fix description of '--posix' flag.
21275
568035b7
JM
212762013-01-02 Joseph Myers <joseph@codesourcery.com>
21277
e6898b8d
JM
21278 * NEWS: Update dates in second copyright notice.
21279 * README: Update copyright dates in example.
21280 * manual/libc.texinfo: Update copyright dates.
21281 * scripts/test-installation.pl: Update copyright date in --version
21282 output.
21283
0e2f9562
JM
21284 * hurd/ctty-input.c: Fix copyright notice formatting.
21285 * hurd/ctty-output.c: Likewise.
21286 * hurd/dtable.c: Likewise.
21287 * hurd/hurd-raise.c: Likewise.
21288 * hurd/hurdprio.c: Likewise.
21289 * hurd/msgportdemux.c: Likewise.
21290 * misc/sys/file.h: Likewise.
21291 * misc/sys/ioctl.h: Likewise.
21292 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21293 * sysdeps/mach/hurd/chdir.c: Likewise.
21294 * sysdeps/mach/hurd/fchdir.c: Likewise.
21295 * sysdeps/mach/hurd/rename.c: Likewise.
21296 * sysdeps/mach/hurd/rmdir.c: Likewise.
21297 * sysdeps/mach/hurd/seekdir.c: Likewise.
21298 * sysdeps/mach/hurd/setsid.c: Likewise.
21299 * sysdeps/posix/wait3.c: Likewise.
21300
568035b7
JM
21301 * All files with FSF copyright notices: Update copyright dates
21302 using scripts/update-copyrights.
21303 * intl/plural.c: Regenerated.
21304 * locale/programs/charmap-kw.h: Likewise.
21305 * locale/programs/locfile-kw.h: Likewise.
21306
da08f647
SP
213072013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21308
0f5477af
SP
21309 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21310 four values.
21311
44e0d4c2
SP
21312 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21313 calculation loop and add branch prediction.
21314
4d55b4e5
SP
21315 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21316 check access beyond bounds of m1np.
21317
da08f647
SP
21318 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21319 MPTWO.
21320 (__inv): Remove local variable MPTWO to use the global
21321 constant.
21322 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21323 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21324 variable MPTWO.
21325 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21326 MP3HALFS static const.
21327
8e051029
DM
213282013-01-01 David S. Miller <davem@davemloft.net>
21329
21330 * po/ca.po: Update from translation team.
21331
f4cf5f2d
JM
213322013-01-01 Joseph Myers <joseph@codesourcery.com>
21333
21334 * scripts/update-copyrights: New file.
21335 * Makeconfig: Reformat copyright notice.
21336 * ctype/ctype.h: Likewise.
21337 * debug/swprintf_chk.c: Likewise.
21338 * elf/dl-cache.c: Likewise.
21339 * elf/dl-debug.c: Likewise.
21340 * elf/dl-object.c: Likewise.
21341 * grp/initgroups.c: Likewise.
21342 * hurd/Makefile: Likewise.
21343 * hurd/hurd/signal.h: Likewise.
21344 * hurd/hurdfault.c: Likewise.
21345 * hurd/hurdioctl.c: Likewise.
21346 * hurd/hurdlookup.c: Likewise.
21347 * hurd/intr-msg.c: Likewise.
21348 * iconv/gconv_open.c: Likewise.
21349 * libio/swprintf.c: Likewise.
21350 * locale/lc-ctype.c: Likewise.
21351 * locale/nl_langinfo.c: Likewise.
21352 * mach/Machrules: Likewise.
21353 * mach/Makefile: Likewise.
21354 * malloc/obstack.h: Likewise.
21355 * manual/Makefile: Likewise.
21356 * manual/tsort.awk: Likewise.
21357 * misc/bits/stab.def: Likewise.
21358 * nis/nis_print_group_entry.c: Likewise.
21359 * nis/nis_table.c: Likewise.
21360 * nis/nss_compat/compat-pwd.c: Likewise.
21361 * nis/nss_compat/compat-spwd.c: Likewise.
21362 * po/Makefile: Likewise.
21363 * posix/fnmatch.c: Likewise.
21364 * posix/regex.h: Likewise.
21365 * resolv/Makefile: Likewise.
21366 * resolv/nss_dns/dns-network.c: Likewise.
21367 * resolv/res_hconf.c: Likewise.
21368 * scripts/gen-sorted.awk: Likewise.
21369 * soft-fp/soft-fp.h: Likewise.
21370 * stdio-common/printf.h: Likewise.
21371 * stdlib/monetary.h: Likewise.
21372 * stdlib/random.c: Likewise.
21373 * stdlib/random_r.c: Likewise.
21374 * sysdeps/generic/Makefile: Likewise.
21375 * sysdeps/gnu/Makefile: Likewise.
21376 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21378 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21383 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21384 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21386 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21387 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21388 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21389 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21390 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21391 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21392 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21393 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21395 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21396 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21397 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21398 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21399 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21400 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21401 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21402 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21404 * sysdeps/mach/hurd/errnos.awk: Likewise.
21405 * sysdeps/mach/hurd/fork.c: Likewise.
21406 * sysdeps/mach/hurd/getcwd.c: Likewise.
21407 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21408 * sysdeps/mach/hurd/mmap.c: Likewise.
21409 * sysdeps/mach/hurd/utimes.c: Likewise.
21410 * sysdeps/mach/hurd/xmknod.c: Likewise.
21411 * sysdeps/posix/profil.c: Likewise.
21412 * sysdeps/posix/readdir_r.c: Likewise.
21413 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21414 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21415 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21416 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21418 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21419 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21420 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21422 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21423 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21424 * sysdeps/pthread/lio_listio.c: Likewise.
21425 * sysdeps/sparc/dl-procinfo.h: Likewise.
21426 * sysdeps/unix/i386/sysdep.S: Likewise.
21427 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21428 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21429 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21430 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21432 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21433 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21434 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21435 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21436 * sysdeps/wordsize-32/divdi3.c: Likewise.
21437 * time/sys/time.h: Likewise.
21438 * wcsmbs/Makefile: Likewise.
21439
0549fbba
DM
214402013-01-01 David S. Miller <davem@davemloft.net>
21441
a141f1a7
DM
21442 * po/fr.po: Update from translation team.
21443
0549fbba
DM
21444 * catgets/gencat.c: Update copyright year.
21445 * csu/version.c: Likewise.
21446 * debug/catchsegv.sh: Likewise.
21447 * debug/pcprofiledump.c: Likewise.
21448 * debug/xtrace.sh: Likewise.
21449 * elf/ldconfig.c: Likewise.
21450 * elf/ldd.bash.in: Likewise.
21451 * elf/pldd.c: Likewise.
21452 * elf/sotruss.ksh: Likewise.
21453 * elf/sprof.c: Likewise.
21454 * iconv/iconv_prog.c: Likewise.
21455 * iconv/iconvconfig.c: Likewise.
21456 * locale/programs/locale.c: Likewise.
21457 * locale/programs/localedef.c: Likewise.
21458 * login/programs/pt_chown.c: Likewise.
21459 * malloc/memusage.sh: Likewise.
21460 * malloc/memusagestat.c: Likewise.
21461 * malloc/mtrace.pl: Likewise.
21462 * nscd/nscd.c: Likewise.
21463 * nss/getent.c: Likewise.
21464 * nss/makedb.c: Likewise.
21465 * posix/getconf.c: Likewise.
21466
18ea052c
SP
214672012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21468
21469 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21470 numbers.
21471
9c89fca6
MF
214722012-12-30 Mike Frysinger <vapier@gentoo.org>
21473
21474 * math/bits/mathcalls.h (modf): Use __nonnull.
21475
085ec079
SP
214762012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21477
21478 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21479 (split): Use macro CN instead of the bare value.
21480 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21481 could be used.
21482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21483 instead of the bare value.
21484 (power1): Likewise.
21485
6d9f97e1
SP
214862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21487
d63f73be
SP
21488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21489 __ATAN_TWOM.
21490 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21491
6d9f97e1
SP
21492 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21493 their values.
21494 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21495 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21496 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21497 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21498
4c4febf5
AJ
214992012-12-28 Andreas Jaeger <aj@suse.de>
21500
af5843ef
AJ
21501 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21502 values are from Linux 3.7.
21503
4c4febf5
AJ
21504 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21505 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21506
99136f82
SP
215072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21508
2f216c3c 21509 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21510 TRUE case.
21511
99136f82
SP
21512 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21513 (norm): Likewise.
21514 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21515 variables with preprocessor constants.
21516 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21517 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21518 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21519
7fffbdff
BH
215202012-12-27 Bruno Haible <bruno@clisp.org>
21521
21522 [BZ #14317]
21523 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21524 only if needed.
21525
b76eb5f0
SP
215262012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21527
31a7fe5c
SP
21528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21529 and use variable directly.
21530 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21531
b76eb5f0
SP
21532 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21533 MPONE.
21534 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21535 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21536 variable MPONE.
21537 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21539 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21540 include directive. Remove local variable MPONE.
21541 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21542 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21543 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21544
2c8bfe7d
DM
215452012-12-25 David S. Miller <davem@davemloft.net>
21546
21547 * version.h (RELEASE): Set to "development".
21548 (VERSION): Set to "2.17.90".
21549 * NEWS: Add 2.18 section.
21550
147d03b0
DM
215512012-12-21 David S. Miller <davem@davemloft.net>
21552
21553 * po/hr.po: Update from translation team.
21554
a8ebb2b9
AK
215552012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21556
21557 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21558
95b4f1b6
SE
215592012-12-19 Steve Ellcey <sellcey@mips.com>
21560
b2d94007 21561 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21562
cedb2a90
MS
215632012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21564
21565 * manual/contrib.texi (Contributors): Spelling correction.
21566
bbf527d6
DM
215672012-12-15 David S. Miller <davem@davemloft.net>
21568
21569 * po/ru.po: Update from translation team.
21570
bc38c906
DM
215712012-12-13 David S. Miller <davem@davemloft.net>
21572
85429b1a
DM
21573 * NEWS: Mention IFUNC testsuite enhancements.
21574
d283e353
DM
21575 * po/pl.po: Update from translation team.
21576 * po/bg.po: Likewise.
21577
bc38c906
DM
21578 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21579 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21580
a181b0d7
DM
215812012-12-11 David S. Miller <davem@davemloft.net>
21582
4641d57e
DM
21583 * po/sv.po: Update from translation team.
21584
f7bc6495
DM
21585 * po/vi.po: Update from translation team.
21586
6fc9048f
DM
21587 * po/cs.po: Update from translation team.
21588
a181b0d7
DM
21589 * po/de.po: Update from translation team.
21590 * po/eo.po: Likewise.
21591 * po/nl.po: Likewise.
21592
f70bfe80
SP
215932012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21594
3c8b4190
SP
21595 [BZ #14246]
21596 * manual/argp.texi (Argp Helper Functions): Move node to follow
21597 Argp Parsing State.
21598
f70bfe80
SP
21599 [BZ #14872]
21600 * manual/conf.texi (Limits on File System Capacity): Mention if
21601 terminating null is included in the max size.
21602
188f0adf
AJ
216032012-12-10 Andreas Jaeger <aj@suse.de>
21604
21605 * po/cs.po: Update from translation team.
21606
56e7d3ad
SP
216072012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21608
21609 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21610 void pointer and cast to uintptr_t.
21611 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21612 path.
21613 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21614 * sysdeps/s390/s390-64/memset.S: Likewise.
21615
76f2d2ea 216162012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21617
21618 [BZ #14833]
21619 * menual/message.texi (Message Translation): Fix typos.
21620 (Helper programs for gettext): Likewise.
21621
67cbf9a2
AS
216222012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21623
21624 [BZ #14898]
21625 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21626 Change to -1.
21627
682d0e9a
DM
216282012-12-07 David S. Miller <davem@davemloft.net>
21629
21630 * po/libc.pot: Update.
21631
573cd484
RH
216322012-12-07 Richard Henderson <rth@redhat.com>
21633
7e9da188 21634 [BZ #10114]
573cd484
RH
21635 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21636 normal/normal case to before the switch.
21637 (_FP_DIV): Likewise.
21638
e933a943
MF
216392012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21640 Mike Frysinger <vapier@gentoo.org>
21641
21642 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21643 check for __NR_fadvise64_64.
21644
82123268
CM
216452012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21646
21647 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21648 0, not just to plain "0" as a statement.
21649 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21650 with cw.
21651
d9814526
JM
216522012-12-06 Joseph Myers <joseph@codesourcery.com>
21653
21654 * NEWS: Use sourceware.org in Bugzilla URL.
21655
7728c574
SP
216562012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21657
f16946dd
SP
21658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21659 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21660
5704bbcb
SP
21661 * stdio-common/tst-put-error.c (do_test): Add newline to the
21662 padded test to ensure flush.
21663
17aa0516
JL
216642012-12-05 Jeff Law <law@redhat.com>
21665
21666 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21667
363313b5
JM
216682012-12-05 Joseph Myers <joseph@codesourcery.com>
21669
effbd42a
JM
21670 * README: Don't refer to ports add-on as distributed separately.
21671 Mention AArch64 in list of systems supported in the ports add-on.
21672
87600365
JM
21673 * LICENSES: Add more non-FSF copyright and license notices.
21674
a0d7066a
JM
21675 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21676 ((unused)).
21677
66ca5a5b
JM
21678 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21679
363313b5
JM
21680 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21681 10000 as width of padded output.
21682
b37984ad
JM
216832012-12-04 Joseph Myers <joseph@codesourcery.com>
21684
9003570a
JM
21685 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21686
b37984ad
JM
21687 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21688 variable LX with __attribute__ ((unused)).
21689 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21690 Likewise.
21691 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21692 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21693 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21694 with __attribute__ ((unused)).
21695
c8df52ec
DM
216962012-12-04 David S. Miller <davem@abraco.davemloft.net>
21697
21698 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21699
b3b099af
JM
217002012-12-04 Joseph Myers <joseph@codesourcery.com>
21701
c33aa6e3
JM
21702 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21703 (CFLAGS-nldbl-acos.c): New variable.
21704 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21705 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21706 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21707 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21708 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21709 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21710 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21711 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21712 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21713 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21714 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21715 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21716 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21717 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21718 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21719 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21720 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21721 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21722 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21723 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21724 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21725 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21726 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21727 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21728 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21729 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21730 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21731 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21732 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21733 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21734 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21735 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21736 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21737 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21738 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21739 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21740 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21741 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21742 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21743 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21744 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21745 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21746 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21747 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21748 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21749 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21750 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21751 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21752 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21753 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21754 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21755 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21756 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21757 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21758 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21759 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21760 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21761 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21762 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21763 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21764 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21765 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21766 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21767 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21768 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21769 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21770 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21771 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21772 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21773 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21774 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21775 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21776 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21777 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21778 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21779 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21780 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21781 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21782 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21783 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21784 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21785 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21786 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21787 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21788 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21789 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21790 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21791 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21792 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21793 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21794 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21795 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21796 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21797 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21798 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21799 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21800 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21801
20f0018d
JM
21802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21803 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21804
b3b099af
JM
21805 [BZ #14914]
21806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21807 whole low double instead of just low 47 bits when splitting values
21808 into two parts.
21809
029264d1
AM
218102012-12-03 Allan McRae <allan@archlinux.org>
21811
21812 * manual/stdio.texi (Predefined Printf Handlers): Remove
21813 @hsep and @vsep usage.
21814
c9d6789e
MF
218152012-12-03 Mike Frysinger <vapier@gentoo.org>
21816
21817 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21818 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21819
4b7634a5
JL
218202012-12-03 Jeff Law <law@redhat.com>
21821
21822 * time/sys/time.h (settimeofday): Do not mark TV argument
21823 as __nonnull.
21824
eb6cbd24
MF
218252012-12-01 Mike Frysinger <vapier@gentoo.org>
21826
21827 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21828 when currently writing and seek to current position when not.
21829 * libio/Makefile (tests): Remove bug-fclose1.
21830 * libio/bug-fclose1.c: Delete.
21831
f638872a
JM
218322012-12-01 Joseph Myers <joseph@codesourcery.com>
21833
21834 * manual/arith.texi (feenableexcept): Fix typo.
21835 (fedisableexcept): Likewise.
21836
48085d14
RM
218372012-11-30 Roland McGrath <roland@hack.frob.com>
21838
21839 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21840 second, differently-typed declaration, rather than a cast.
21841
1a538b9f
SP
218422012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21843
21844 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21845 * include/rpc/svc.h: ... here.
21846
d07f2ff1 218472012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21848
21849 [BZ #13013]
21850 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21851 depending n and resplen2 to catch cases where answer
21852 equals answerp2.
21853
c93ec1f0
CD
218542012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21855
21856 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21857 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21858
37db69de
MF
218592012-11-29 Mike Frysinger <vapier@gentoo.org>
21860
21861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21862
e10c4e4f
RM
218632012-11-29 Roland McGrath <roland@hack.frob.com>
21864
21865 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21866
2af1b328
JL
218672012-11-28 Jeff Law <law@redhat.com>
21868
21869 [BZ #13761]
21870 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21871 dataset_temporary. Track alloca usage into alloca_used.
21872 If dataset is large allocate and release it via malloc/free.
21873
111db5b1
FW
218742012-06-04 Florian Weimer <fweimer@redhat.com>
21875
f06cc227 21876 [BZ #14197]
111db5b1
FW
21877 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21878
dd694abd
DM
218792012-11-28 David S. Miller <davem@davemloft.net>
21880
21881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21882
9984dd01
JM
218832012-11-28 Joseph Myers <joseph@codesourcery.com>
21884
21885 [BZ #14803]
21886 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21887 of pi/2 rounded to nearest to 64 bits.
21888 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21889 nearest to 64 bits.
21890 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21891 bits.
21892
14bc93a9
JL
218932012-11-28 Jeff Law <law@redhat.com>
21894 Martin Osvald <mosvald@redhat.com>
21895
21896 [BZ #14889]
21897 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21898 * sunrpc/svc.c: Include time.h.
21899 (__svc_accept_failed): New function.
21900 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21901 any reason other than EINTR, call __svc_accept_failed.
21902 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21903 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21904
e3c6aa3a
AS
219052012-11-28 Andreas Schwab <schwab@suse.de>
21906
21907 * scripts/abilist.awk: Also handle indirect functions in .opd
21908 section.
21909
1bead169
JM
219102012-11-28 Joseph Myers <joseph@codesourcery.com>
21911
21912 [BZ #13881]
21913 * sysdeps/x86/fpu/powl_helper.c: New file.
21914 * sysdeps/x86/fpu/Makefile: Likewise.
21915 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21916 (p3): New object.
21917 (__ieee754_powl): Use __powl_helper for finite arguments except
21918 integer exponents below 8.
21919 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21920 (p3): New object.
21921 (__ieee754_powl): Use __powl_helper for finite arguments except
21922 integer exponents below 8.
21923 * math/libm-test.inc (pow_test): Add more tests and enable some
21924 previously disabled tests.
21925 * sysdeps/i386/fpu/libm-test-ulps: Update.
21926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21927
0817d63d
SP
219282012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21929 Carlos O'Donell <carlos_odonell@mentor.com>
21930
21931 * nss/makedb.c (is_prime): Assert that input is odd and greater
21932 than 4. Note that fact in a comment too.
21933 (next_prime): Add 4 to input.
21934
de2fd463
SP
219352012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21936
21937 [BZ #11741]
21938 * libio/Makefile (tests): Add test case tst-fwrite-error.
21939 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21940 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21941 * libio/tst-fwrite-error.c: New test case.
21942
c515fb51
L
219432012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21944
21945 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21946 before casting to void *.
21947 * include/libc-internal.h (__pointer_type): New macro.
21948 (__integer_if_pointer_type_sub): Likewise.
21949 (__integer_if_pointer_type): Likewise.
21950 (cast_to_integer): Likewise.
21951 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21952 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21953 before casting to atomic64_t.
21954 (atomic_exchange_acq): Likewise.
21955 (__arch_exchange_and_add_body): Likewise.
21956 (__arch_add_body): Likewise.
21957 (atomic_add_negative): Likewise.
21958 (atomic_add_zero): Likewise.
21959
4cf77aa9
JM
219602012-11-26 Joseph Myers <joseph@codesourcery.com>
21961
21962 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21963 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21964 (add_fdes): Likewise.
21965 (linear_search_fdes): Likewise.
21966 (binary_search_unencoded_fdes): Likewise.
21967
d260b3b4
AS
219682012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21969
21970 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21971
67060746
AC
219722012-11-24 Adam Conrad <adconrad@0c3.net>
21973
21974 * configure.in: Autodetect C++ header directories.
21975 * configure: Regenerated.
21976
800938a1
MF
219772012-11-23 Mike Frysinger <vapier@gentoo.org>
21978
21979 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21980
4e6e34e6
AS
219812012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21982
21983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21984
7c7feb47
JM
219852012-11-22 Joseph Myers <joseph@codesourcery.com>
21986
7184dcdf
JM
21987 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21988 LDBL_MANT_DIG == 106]: Disable some tests.
21989 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21990 Likewise.
21991 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21992 Likewise.
21993
0a42601f
JM
21994 [BZ #14871]
21995 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21996 input for small inputs. Return +/- pi/2 for large inputs.
21997 * math/libm-test.inc (atan_test): Add more tests.
21998
79c9b9fe
JM
21999 * sysdeps/generic/unwind-dw2-fde-glibc.c
22000 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22001 __attribute__ ((unused)).
22002
c60d3bf2
JM
22003 [BZ #14645]
22004 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22005 x * y if x and y are nonzero and z is zero.
22006
ef1e0867
JM
22007 [BZ #14811]
22008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22009 nonzero exponents with absolute value below 0x1p-117 to +/-
22010 0x1p-117.
22011
1468ded3
JM
22012 [BZ #14869]
22013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22014 up arguments below 2**-450, not just those below 2**-500.
22015 * math/libm-test.inc (hypot_test): Add another test.
22016
8e27e3cc
JM
22017 [BZ #14868]
22018 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22019 Return a+b for ratio over 2**120, not 2**60.
22020 * math/libm-test.inc (hypot_test): Add another test.
22021
c9c0279b
JM
22022 * math/libm-test.inc (clog_test): Use
22023 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22024 (clog10_test): Likewise.
22025
7c7feb47
JM
22026 [BZ #6778]
22027 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22028
fff1530e
AS
220292012-11-22 Andreas Schwab <schwab@suse.de>
22030
22031 * sysdeps/i386/fpu/libm-test-ulps: Update.
22032
94558d30
PT
220332012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22034
22035 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22036 printf output with newline.
22037
7e1be741
L
220382012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22039
6bfea974
L
22040 [BZ #14865]
22041 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22042 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22043 -z nodlopen, -z initfirst and -z execstack support.
22044 * configure: Regenerated.
22045
7e1be741
L
22046 * elf/elf.h (DF_1_NODIRECT): New macro.
22047 (DF_1_IGNMULDEF): Likewise.
22048 (DF_1_NOKSYMS): Likewise.
22049 (DF_1_NOHDR): Likewise.
22050 (DF_1_EDITED): Likewise.
22051 (DF_1_NORELOC): Likewise.
22052 (DF_1_SYMINTPOSE): Likewise.
22053 (DF_1_GLOBAUDIT): Likewise.
22054 (DF_1_SINGLETON): Likewise.
22055 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22056 DT_1_SUPPORTED_MASK bits.
22057 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22058
105ce2ce
CD
220592012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22060
22061 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22062
123be9de
TS
220632012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22064
d072f3f7
TS
22065 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22066 macro.
22067
123be9de
TS
22068 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22069 (sendmmsg): Move declarations...
22070 * socket/sys/socket.h: ... here.
22071 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22072 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22073 include it from...
22074 * socket/recvmmsg.c: ... this new file.
22075 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22076 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22077 definition of __sendmmsg hidden.
22078 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22079 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22080 Move ENOSYS stub into and include it from...
22081 * socket/sendmmsg.c: ... this new file.
22082 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22083 (sysdep_routines): Move recvmmsg and sendmmsg...
22084 * socket/Makefile (routines): ... here.
22085 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22086 (GLIBC_PRIVATE): Add __sendmmsg.
22087 * include/sys/socket.h (__sendmmsg): Add declarations.
22088 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22089 sendmmsg.
22090
cf9a5d18
JM
220912012-11-20 Joseph Myers <joseph@codesourcery.com>
22092
22093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22094 variable I1 with __attribute__ ((unused)).
22095 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22096
ecd4caf9
JM
220972012-11-19 Joseph Myers <joseph@codesourcery.com>
22098
be14d48f
JM
22099 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22100 DUMMY variables with __attribute__ ((unused)).
22101
ecd4caf9
JM
22102 * bits/byteswap.h: Include <bits/types.h>.
22103 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22104
986cab95
PT
221052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22106
22107 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22108 string_t. Do not manually set errno.
22109 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22110 length with __strnlen. Make sure to both set errno and return it on
22111 failure.
22112
6d33cc9d
DM
221132012-11-19 David S. Miller <davem@davemloft.net>
22114
22115 With help from Joseph Myers.
22116 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22117 very large arguments properly.
22118 * math/libm-test.inc (atan_test): New tests.
22119 (atan2_test): New tests.
22120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22122
ee663277
JM
221232012-11-19 Joseph Myers <joseph@codesourcery.com>
22124
877f2d8e
JM
22125 [BZ #14856]
22126 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22127 Define to 3.
22128
116fc08a
JM
22129 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22130 [POSIX] (EADDRNOTAVAIL): Likewise.
22131 [POSIX] (EAFNOSUPPORT): Likewise.
22132 [POSIX] (EALREADY): Likewise.
22133 [POSIX] (ECONNABORTED): Likewise.
22134 [POSIX] (ECONNREFUSED): Likewise.
22135 [POSIX] (ECONNRESET): Likewise.
22136 [POSIX] (EDESTADDRREQ): Likewise.
22137 [POSIX] (EDQUOT): Likewise.
22138 [POSIX] (EHOSTUNREACH): Likewise.
22139 [POSIX] (EIDRM): Likewise.
22140 [POSIX] (EISCONN): Likewise.
22141 [POSIX] (ELOOP): Likewise.
22142 [POSIX] (EMULTIHOP): Likewise.
22143 [POSIX] (ENETDOWN): Likewise.
22144 [POSIX] (ENETUNREACH): Likewise.
22145 [POSIX] (ENOBUFS): Likewise.
22146 [POSIX] (ENODATA): Likewise.
22147 [POSIX] (ENOLINK): Likewise.
22148 [POSIX] (ENOMSG): Likewise.
22149 [POSIX] (ENOPROTOOPT): Likewise.
22150 [POSIX] (ENOSR): Likewise.
22151 [POSIX] (ENOSTR): Likewise.
22152 [POSIX] (ENOTCONN): Likewise.
22153 [POSIX] (ENOTSOCK): Likewise.
22154 [POSIX] (EOPNOTSUPP): Likewise.
22155 [POSIX] (EOVERFLOW): Likewise.
22156 [POSIX] (EPROTO): Likewise.
22157 [POSIX] (EPROTONOSUPPORT): Likewise.
22158 [POSIX] (EPROTOTYPE): Likewise.
22159 [POSIX] (ESTALE): Likewise.
22160 [POSIX] (ETIME): Likewise.
22161 [POSIX] (ETXTBSY): Likewise.
22162 [POSIX] (EWOULDBLOCK): Likewise.
22163 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22164 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22165 [POSIX] (SEEK_CUR): Likewise.
22166 [POSIX] (SEEK_END): Likewise.
22167 [POSIX || UNIX98] (mode_t): Do not require.
22168 [POSIX] (off_t): Likewise.
22169 [POSIX] (pid_t): Likewise.
22170 [POSIX] (sys/stat.h): Do not allow header.
22171 [POSIX] (unistd.h): Likewise.
22172 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22173 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22174 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22175 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22176 require.
22177 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22178 sigevent): Specify elements.
22179 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22180 entry.
22181 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22182 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22183
a483863f
JM
22184 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22185 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22186 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22187 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22188 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22189 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22190 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22191 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22192 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22193 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22194 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22195 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22196 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22197 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22198 Likewise.
22199 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22200 Likewise.
22201 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22202 Likewise.
22203 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22204 Likewise.
22205 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22206 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22207 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22208 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22209 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22210 Specify lower bound on value.
22211 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22212 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22213 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22214 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22215 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22216 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22217 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22218 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22219 value.
22220 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22221 as optional.
22222 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22223 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22224 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22225 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22226 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22227 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22228 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22229 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22230 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22231 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22232 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22233 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22234 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22235 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22236 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22237 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22238 entry.
22239 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22240 optional.
22241 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22242 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22243 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22244 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22245 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22246 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22247 Likewise.
22248 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22249 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22250 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22251 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22252 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22253 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22254 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22255 as optional.
22256 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22257 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22258 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22259 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22260 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22261 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22262 specify as optional.
22263 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22264 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22265 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22266 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22267 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22268 [XPG3] (NL_LANGMAX): Likewise.
22269 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22270 [POSIX || XPG3] (NL_NMAX): Likewise.
22271 [POSIX || XPG3] (NL_SETMAX): Likewise.
22272 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22273 [XPG3] (NZERO): Likewise.
22274 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22275 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22276 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22277 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22278 (REG_ERANGE): Expect.
22279 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22280 optional-constant.
22281 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22282 Use (void) in prototype.
22283 [POSIX] (*_t): Allow.
22284 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22285 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22286 (WRDE_BADVAL): Expect.
22287
5ba924e3
JM
22288 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22289 expect.
22290 [XPG3 || XPG4] (O_RSYNC): Likewise.
22291 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22292 Likewise.
22293 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22294 [XPG3 || XPG4] (sigqueue): Likewise.
22295 [XPG3 || XPG4] (sigtimedwait): Likewise.
22296 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22297 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22298 [XPG3 || XPG4] (vsnprintf): Likewise.
22299 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22300 Likewise.
22301 [XPG3 || XPG4] (blksize_t): Likewise.
22302 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22303 Likewise.
22304 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22305 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22306 [XPG3 || XPG4] (struct itimerspec): Likewise.
22307 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22308 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22309 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22310 [XPG3 || XPG4] (clockid_t): Likewise.
22311 [XPG3 || XPG4] (timer_t): Likewise.
22312 [XPG3 || XPG4] (clock_getres): Likewise.
22313 [XPG3 || XPG4] (clock_gettime): Likewise.
22314 [XPG3 || XPG4] (clock_settime): Likewise.
22315 [XPG3 || XPG4] (nanosleep): Likewise.
22316 [XPG3 || XPG4] (timer_create): Likewise.
22317 [XPG3 || XPG4] (timer_delete): Likewise.
22318 [XPG3 || XPG4] (timer_gettime): Likewise.
22319 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22320 [XPG3 || XPG4] (timer_settime): Likewise.
22321 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22322 [XPG3 || XPG4] (getlogin_r): Likewise.
22323 [XPG3 || XPG4] (pread): Likewise.
22324 [XPG3 || XPG4] (pthread_atfork): Likewise.
22325 [XPG3 || XPG4] (pwrite): Likewise.
22326
ee663277
JM
22327 [BZ #14835]
22328 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22329 <bits/siginfo.h>.
22330
942caa16
PT
223312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22332
e19af380
PT
22333 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22334 finalizing MALLSTREAM.
22335
942caa16
PT
22336 * sysdeps/mach/hurd/syncfs.c: New file.
22337
cfde9b46
SP
223382012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22339
22340 [BZ #14719]
22341 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22342 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22343 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22344 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22345 (_nss_dns_gethostbyname4_r): Likewise.
22346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22347 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22348
f6da27e5
PH
223492012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22350
22351 [BZ #13763]
22352 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22353
6665d4a2
SM
223542012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22355
1f51ee92
SM
22356 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22357 * elf/cache.c (print_entry): Print ",AArch64" for
22358 FLAG_AARCH64_LIB64
22359
6665d4a2
SM
22360 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22361 * elf/cache.c (print_entry): Print ",hard-float" for
22362 FLAG_ARM_LIBHF.
22363
05b227bd
DM
223642012-11-18 David S. Miller <davem@davemloft.net>
22365
22366 With help from Joseph Myers.
22367 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22368 cutoff to 2**-13.
22369 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22370 cutoff to 2**-25.
22371 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22372 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22373 small.
22374 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22375 * math/libm-test.inc (y0_test): New tests.
22376 (y1_test): New tests.
22377 * sysdeps/i386/fpu/libm-test-ulps: Update.
22378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22380
786b0b67
AS
223812012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22382
22383 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22384 64-bit targets.
22385 * configure: Regenerated.
22386
8e18b86d
DM
223872012-11-17 David S. Miller <davem@davemloft.net>
22388
22389 [BZ #14811]
22390 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22391 nonzero exponents with absolute value below 0x1p-128 to +/-
22392 0x1p-128.
22393
531f1ae0
JM
223942012-11-17 Joseph Myers <joseph@codesourcery.com>
22395
12df29e2
JM
22396 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22397
150dc1a0
JM
22398 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22399
531f1ae0
JM
22400 * posix/getconf-speclist.c: New file.
22401 * posix/posix-envs.def: Likewise.
22402 * posix/confstr.c (START_ENV_GROUP): New macro.
22403 (END_ENV_GROUP): Likewise.
22404 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22405 (KNOWN_PRESENT_ENV_STRING): Likewise.
22406 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22407 (UNKNOWN_ENVIRONMENT): Likewise.
22408 (confstr): Include posix-envs.def instead of handling
22409 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22410 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22411 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22412 (END_ENV_GROUP): Likewise.
22413 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22414 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22415 (UNKNOWN_ENVIRONMENT): Likewise.
22416 (__sysconf): Include posix-envs.def instead of handling associated
22417 cases directly here.
22418 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22419 preprocessing getconf-speclist.c rather than running getconf or
22420 generating empty file.
22421
a93f9cbc
PT
224222012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22423
22424 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22425
d64d9f87
AL
224262012-11-16 Andrej Lajovic <natrij@gmail.com>
22427
22428 [BZ #14672]
22429 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22430
447885eb
DM
224312012-11-16 David S. Miller <davem@davemloft.net>
22432
22433 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22434 smaller than LDBL_EPSILON/2.0L, just return xm1.
22435
bcbf9830
L
224362012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22437
22438 * elf/tst-array1.c (init): Set constructor priority to 1000.
22439 (fini): Set destructor priority to 1000.
22440 * elf/tst-array2dep.c: Likewise.
22441
2b766585
SP
224422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22443
22444 [BZ #11741]
22445 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22446 (_IO_new_file_xsputn): Also return EOF if none of the input
22447 data was written when overflow failed.
22448 * libio/iopadn.c (_IO_padn): Likewise.
22449 * libio/iowpadn.c (_IO_wpadn): Likewise.
22450 * stdio-common/tst-put-error.c: Add copyright notice.
22451 (do_test): Add case for printing padded string.
22452 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22453 _IO_padn returned error.
22454 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22455 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22456 return EOF.
22457
b1848fde
SP
224582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22459
22460 * libio/libioP.h: Add comment note that the references to C++
22461 bits are now obsolete.
22462
2fd89785
MS
224632012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22464
22465 * math/libm-test.inc (check_complex): Use asprintf.
22466
e3ea5409
JM
224672012-11-14 Joseph Myers <joseph@codesourcery.com>
22468
22469 * debug/pcprofiledump.c (print_version): Update copyright year.
22470 * malloc/memusagestat.c (print_version): Likewise.
22471
2e64d265
L
224722012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22473
22474 [BZ #14831]
22475 * elf/Makefile (tests): Add tst-audit8.
22476 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22477 ($(objpfx)tst-audit8.out): New target.
22478 (tst-audit8-ENV): New variable.
22479 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22480 audit if l_reloc_result is NULL.
22481 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22482 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22483 * elf/tst-audit8.c: New file.
22484
c485e4d2
MS
224852012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22486
22487 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22488 * misc/Makefile (CFLAGS-select.c): Define.
22489 * posix/Makefile (CFLAGS-pause.c): Define.
22490
3a0d900a
DM
224912012-11-13 David S. Miller <davem@davemloft.net>
22492
22493 * crypt/Makefile: Move test targets after toplevel Rules
22494 inclusion. Grab any necessary sysdep routines when linking.
22495 * crypt/md5.c (md5_process_block): Remove define, we will always
22496 name it __md5_process_block.
22497 (md5_finish_ctx): Update md5_process_block call.
22498 (md5_stream): Likewise.
22499 (md5_process_bytes): Likewise.
22500 (md5_process_block): Rename to __md5_process_block and move to ...
22501 * crypt/md5-block.c: ... here.
22502 * crypt/sha256.c (sha256_process_block): Move to ...
22503 * crypt/sha256-block.c: ... here.
22504 * crypt/sha512.c (sha512_process_block): Move to ...
22505 * crypt/sha512-block.c: ... here.
22506 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22507 path.
22508 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22509 * sysdeps/sparc/sparc64/multiarch/Makefile
22510 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22511 crypt subdir.
22512 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22514 multiarch changes.
22515 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22516 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22517 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22518 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22519 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22520 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22521 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22522 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22523 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22524 file.
22525 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22526 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22527 file.
22528 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22529
8ca89318
JM
225302012-11-13 Joseph Myers <joseph@codesourcery.com>
22531
e27d476a
JM
22532 * timezone/tzselect.ksh: Update from tzcode git revision
22533 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22534 * timezone/zdump.c: Likewise.
22535 * timezone/zic.c: Likewise.
22536 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22537 in TZVERSION setting, not $(PKGVERSION).
22538 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22539 REPORT_BUGS_TO settings.
22540
8ca89318
JM
22541 [BZ #14838]
22542 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22543 macro.
22544
47594329
MS
225452012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22546
22547 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22548 detection to immediately after _FP_ROUND().
22549 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22550 bits are 0.
22551
640ac3f1
DM
225522012-11-11 David S. Miller <davem@davemloft.net>
22553
22554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22555 inttypes.h
22556 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22557 __close rather than their public counterparts.
22558
3d2577bb
JM
225592012-11-10 Joseph Myers <joseph@codesourcery.com>
22560
22561 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22562 file.
22563 [UNIX98] (sem_timedwait): Do not expect.
22564 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22565 [XPG4 || UNIX98] (sockatmark): Do not expect.
22566 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22567 (clock_getcpuclockid): Do not expect.
22568 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22569 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22570 Do not expect.
22571 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22572 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22573 [UNIX98] (vwscanf): Likewise.
22574 [UNIX98] (vswscanf): Likewise.
22575
fb1ae1ee
JM
225762012-11-09 Joseph Myers <joseph@codesourcery.com>
22577
9ec6f8bd
JM
22578 * timezone/version.h: Remove file.
22579 * timezone/README: Do not refer to version.h.
22580 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22581 $(objpfx)version.h.
22582 ($(objpfx)zdump.o): Likewise.
c3f81911 22583 ($(objpfx)version.h): New target.
9ec6f8bd 22584
0aa8f8a1
JM
22585 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22586 2012i.
22587 * timezone/README: Don't mention modification to tzselect.ksh.
22588 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22589 work on unmodified tzselect.ksh. Substitute version numbers in
22590 tzselect.ksh.
22591
4e87147f
JM
22592 * Makefile (format-me): Remove.
22593 (INSTALL): Adjust indentation. Use commands directly instead of
22594 using $(format-me).
22595
8b748aed
JM
22596 * aclocal.m4 (ACX_PKGVERSION): New macro.
22597 (ACX_BUGURL): Likewise.
22598 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22599 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22600 (REPORT_BUGS_TO): Likewise.
22601 * configure: Regenerated.
22602 * config.h.in (PKGVERSION): New macro.
22603 (REPORT_BUGS_TO): Likewise.
22604 * config.make.in (PKGVERSION): New variable.
22605 (PKGVERSION_TEXI): Likewise.
22606 (REPORT_BUGS_TO): Likewise.
22607 (REPORT_BUGS_TEXI): Likewise.
22608 * Makefile (format-me): Use -I$(common-objpfx)manual.
22609 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22610 ($(common-objpfx)manual/%): New target.
22611 (manual/%): Remove target.
22612 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22613 (print_version): Use PKGVERSION.
22614 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22615 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22616 and REPORT_BUGS_TO.
22617 ($(objpfx)xtrace): Likewise.
22618 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22619 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22620 (print_version): Use PKGVERSION.
22621 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22622 (do_version): Use PKGVERSION.
22623 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22624 REPORT_BUGS_TO.
22625 (common-ldd-rewrite): Likewise.
22626 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22627 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22628 (print_version): Use PKGVERSION.
22629 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22630 * elf/pldd.c (argp_program_bug_address): Remove variable.
22631 (more_help): New function.
22632 (argp): Use more_help.
22633 (print_version): Use PKGVERSION.
22634 * elf/sln.c (main): Use PKGVERSION.
22635 (usage): Use REPORT_BUGS_TO.
22636 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22637 (top level): Use PKGVERSION.
22638 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22639 (print_version): Use PKGVERSION.
22640 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22641 (print_version): Use PKGVERSION.
22642 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22643 (print_version): Use PKGVERSION.
22644 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22645 (print_version): Use PKGVERSION.
22646 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22647 (print_version): Use PKGVERSION.
22648 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22649 (print_version): Use PKGVERSION.
22650 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22651 and BUGURL.
22652 ($(objpfx)memusage): Likewise.
22653 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22654 (do_version): Use PKGVERSION.
22655 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22656 (print_version): Use PKGVERSION.
22657 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22658 ($PKGVERSION): New variable.
22659 ($REPORT_BUGS_TO): Likewise.
22660 (usage): Use $REPORT_BUGS_TO.
22661 (top level): Use $PKGVERSION.
22662 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22663 ($(objpfx)pkgvers.texi): New rule.
22664 ($(objpfx)stamp-pkgvers): Likewise.
22665 * manual/install.texi: Include pkgvers.texi.
22666 (--with-pkgversion): Document new configure option.
22667 (--with-bugurl): Likewise.
22668 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22669 than necessarily for this particular distribution. Use
22670 REPORT_BUGS_TO for where to report bugs.
22671 * INSTALL: Regenerated.
22672 * manual/libc.texinfo: Include pkgvers.texi.
22673 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22674 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22675 (print_version): Use PKGVERSION.
22676 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22677 (print_version): Use PKGVERSION.
22678 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22679 (print_version): Use PKGVERSION.
22680 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22681 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22682 macro.
22683 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22684 (print_version): Use PKGVERSION.
22685 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22686 (print_version): Use PKGVERSION.
22687 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22688 and PKGVERSION.
22689
92e4b6a9
JM
22690 * timezone/checktab.awk: Update from tzcode 2012i.
22691 * timezone/ialloc.c: Likewise.
22692 * timezone/private.h: Likewise.
22693 * timezone/scheck.c: Likewise.
22694 * timezone/tzfile.h: Likewise.
22695 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22696 (TZVERSION): Hardcode tzcode version number.
22697 * timezone/zdump.c: Update from tzcode 2012i.
22698 * timezone/zic.c: Likewise.
22699 * timezone/version.h: New file.
22700 * timezone/README: Describe version.h. Update upstream location.
22701
9bde902c
JM
22702 [BZ #14824]
22703 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22704 (mktemp): Enable declaration.
22705 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22706 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22708 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22709 Likewise.
22710 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22711 Likewise.
22712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22713 Likewise.
22714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22715 Likewise.
22716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22717 Likewise.
22718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22719 Likewise.
22720
fb1ae1ee
JM
22721 [BZ #14821]
22722 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22723 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22724 for copies of such integer values.
22725 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22726 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22727
2c1adbcb
AJ
227282012-11-09 Andreas Jaeger <aj@suse.de>
22729
22730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22731 definitions and declarations that are provided by
22732 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22733
d0f8457e
AK
227342012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22735
3a235abb 22736 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22737 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22738 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22739 definition.
22740
57241e26
MS
227412012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22742
22743 * elf/elf.h: Update comment before AArch64 relocations.
22744
60e8270d
DM
227452012-11-07 David S. Miller <davem@davemloft.net>
22746
22747 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22748 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22749 (__start_context): Declare.
22750 (__makecontext_ret): Delete.
22751 (__makecontext): Hook up __start_context instead of
22752 __makecontext_ret.
22753 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22754 (sysdep_routines): Add __start_context when in stdlib.
22755
0fbb0fbc
JM
227562012-11-07 Joseph Myers <joseph@codesourcery.com>
22757
22758 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22759 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22760 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22761 hardcoded "nm".
22762 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22763 (READELF): New variable. Use it instead of hardcoded "readelf".
22764
eb48db7e
L
227652012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22766
22767 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22768 * sysdeps/x86/Makefile: Here.
22769 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22770 * sysdeps/x86/tst-xmmymm.sh: This.
22771
05bcf62a
JM
227722012-11-07 Joseph Myers <joseph@codesourcery.com>
22773
c4b6cf53
JM
22774 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22775 expectations.
22776 [UNIX98] (pthread_barrier_t): Do not expect.
22777 [UNIX98] (pthread_barrierattr_t): Likewise.
22778 [UNIX98] (pthread_spinlock_t): Likewise.
22779 [UNIX98] (pthread_barrier_destroy): Likewise.
22780 [UNIX98] (pthread_barrier_init): Likewise.
22781 [UNIX98] (pthread_barrier_wait): Likewise.
22782 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22783 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22784 [UNIX98] (pthread_barrierattr_init): Likewise.
22785 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22786 [UNIX98] (pthread_getcpuclockid): Likewise.
22787 [UNIX98] (pthread_mutex_timedlock): Likewise.
22788 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22789 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22790 [UNIX98] (pthread_sigmask): Likewise.
22791 [UNIX98] (pthread_spin_destroy): Likewise.
22792 [UNIX98] (pthread_spin_init): Likewise.
22793 [UNIX98] (pthread_spin_lock): Likewise.
22794 [UNIX98] (pthread_spin_trylock): Likewise.
22795 [UNIX98] (pthread_spin_unlock): Likewise.
22796 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22797 Do not expect.
22798 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22799 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22800 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22801 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22802 [XPG3 || XPG4] (pthread_key_t): Likewise.
22803 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22804 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22805 [XPG3 || XPG4] (pthread_once_t): Likewise.
22806 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22807 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22808 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22809 [XPG3 || XPG4] (pthread_t): Likewise.
22810
cbe6e120
JM
22811 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22812 not expect.
22813 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22814
1b126443
JM
22815 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22816 Change function return type to int.
22817
b961a573
JM
22818 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22819 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22820 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22821 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22822 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22823 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22824 [!POSIX] (posix_madvise): Likewise.
22825 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22826 && !UNIX98].
22827 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22828 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22829 (mode_t): Likewise.
22830 (posix_mem_offset): Likewise.
22831 (posix_typed_mem_get_info): Likewise.
22832 (posix_typed_mem_open): Likewise.
22833
9e188909
JM
22834 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22835 Change condition to [XOPEN2K8].
22836
05bcf62a
JM
22837 * conform/conformtest.pl: Preprocess allow-header data with -x c
22838 instead of from stdin.
22839 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22840 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22841 [C99-based standards] (cerfc): Likewise.
22842 [C99-based standards] (cexp2): Likewise.
22843 [C99-based standards] (cexpm1): Likewise.
22844 [C99-based standards] (clog10): Likewise.
22845 [C99-based standards] (clog1p): Likewise.
22846 [C99-based standards] (clog2): Likewise.
22847 [C99-based standards] (clgamma): Likewise.
22848 [C99-based standards] (ctgamma): Likewise.
22849 [C99-based standards] (cerff): Likewise.
22850 [C99-based standards] (cerfcf): Likewise.
22851 [C99-based standards] (cexp2f): Likewise.
22852 [C99-based standards] (cexpm1f): Likewise.
22853 [C99-based standards] (clog10f): Likewise.
22854 [C99-based standards] (clog1pf): Likewise.
22855 [C99-based standards] (clog2f): Likewise.
22856 [C99-based standards] (clgammaf): Likewise.
22857 [C99-based standards] (ctgammaf): Likewise.
22858 [C99-based standards] (cerfl): Likewise.
22859 [C99-based standards] (cerfcl): Likewise.
22860 [C99-based standards] (cexp2l): Likewise.
22861 [C99-based standards] (cexpm1l): Likewise.
22862 [C99-based standards] (clog10l): Likewise.
22863 [C99-based standards] (clog1pl): Likewise.
22864 [C99-based standards] (clog2l): Likewise.
22865 [C99-based standards] (clgammal): Likewise.
22866 [C99-based standards] (ctgammal): Likewise.
22867 * conform/data/inttypes.h-data [C99-based standards]: Include
22868 stdint.h-data. Remove all expectations for stdint.h contents.
22869 [C99-based standards] (PRI*): Do not allow.
22870 [C99-based standards] (SCN*): Likewise.
22871 [C99-based standards] (*_t): Likewise.
22872 [C99-based-standards] (PRId8): Expect macro.
22873 [C99-based-standards] (PRIi8): Likewise.
22874 [C99-based-standards] (PRIo8): Likewise.
22875 [C99-based-standards] (PRIu8): Likewise.
22876 [C99-based-standards] (PRIx8): Likewise.
22877 [C99-based-standards] (PRIX8): Likewise.
22878 [C99-based-standards] (SCNd8): Likewise.
22879 [C99-based-standards] (SCNi8): Likewise.
22880 [C99-based-standards] (SCNo8): Likewise.
22881 [C99-based-standards] (SCNu8): Likewise.
22882 [C99-based-standards] (SCNx8): Likewise.
22883 [C99-based-standards] (PRIdLEAST8): Likewise.
22884 [C99-based-standards] (PRIiLEAST8): Likewise.
22885 [C99-based-standards] (PRIoLEAST8): Likewise.
22886 [C99-based-standards] (PRIuLEAST8): Likewise.
22887 [C99-based-standards] (PRIxLEAST8): Likewise.
22888 [C99-based-standards] (PRIXLEAST8): Likewise.
22889 [C99-based-standards] (SCNdLEAST8): Likewise.
22890 [C99-based-standards] (SCNiLEAST8): Likewise.
22891 [C99-based-standards] (SCNoLEAST8): Likewise.
22892 [C99-based-standards] (SCNuLEAST8): Likewise.
22893 [C99-based-standards] (SCNxLEAST8): Likewise.
22894 [C99-based-standards] (PRIdFAST8): Likewise.
22895 [C99-based-standards] (PRIiFAST8): Likewise.
22896 [C99-based-standards] (PRIoFAST8): Likewise.
22897 [C99-based-standards] (PRIuFAST8): Likewise.
22898 [C99-based-standards] (PRIxFAST8): Likewise.
22899 [C99-based-standards] (PRIXFAST8): Likewise.
22900 [C99-based-standards] (SCNdFAST8): Likewise.
22901 [C99-based-standards] (SCNiFAST8): Likewise.
22902 [C99-based-standards] (SCNoFAST8): Likewise.
22903 [C99-based-standards] (SCNuFAST8): Likewise.
22904 [C99-based-standards] (SCNxFAST8): Likewise.
22905 [C99-based-standards] (PRId16): Likewise.
22906 [C99-based-standards] (PRIi16): Likewise.
22907 [C99-based-standards] (PRIo16): Likewise.
22908 [C99-based-standards] (PRIu16): Likewise.
22909 [C99-based-standards] (PRIx16): Likewise.
22910 [C99-based-standards] (PRIX16): Likewise.
22911 [C99-based-standards] (SCNd16): Likewise.
22912 [C99-based-standards] (SCNi16): Likewise.
22913 [C99-based-standards] (SCNo16): Likewise.
22914 [C99-based-standards] (SCNu16): Likewise.
22915 [C99-based-standards] (SCNx16): Likewise.
22916 [C99-based-standards] (PRIdLEAST16): Likewise.
22917 [C99-based-standards] (PRIiLEAST16): Likewise.
22918 [C99-based-standards] (PRIoLEAST16): Likewise.
22919 [C99-based-standards] (PRIuLEAST16): Likewise.
22920 [C99-based-standards] (PRIxLEAST16): Likewise.
22921 [C99-based-standards] (PRIXLEAST16): Likewise.
22922 [C99-based-standards] (SCNdLEAST16): Likewise.
22923 [C99-based-standards] (SCNiLEAST16): Likewise.
22924 [C99-based-standards] (SCNoLEAST16): Likewise.
22925 [C99-based-standards] (SCNuLEAST16): Likewise.
22926 [C99-based-standards] (SCNxLEAST16): Likewise.
22927 [C99-based-standards] (PRIdFAST16): Likewise.
22928 [C99-based-standards] (PRIiFAST16): Likewise.
22929 [C99-based-standards] (PRIoFAST16): Likewise.
22930 [C99-based-standards] (PRIuFAST16): Likewise.
22931 [C99-based-standards] (PRIxFAST16): Likewise.
22932 [C99-based-standards] (PRIXFAST16): Likewise.
22933 [C99-based-standards] (SCNdFAST16): Likewise.
22934 [C99-based-standards] (SCNiFAST16): Likewise.
22935 [C99-based-standards] (SCNoFAST16): Likewise.
22936 [C99-based-standards] (SCNuFAST16): Likewise.
22937 [C99-based-standards] (SCNxFAST16): Likewise.
22938 [C99-based-standards] (PRId32): Likewise.
22939 [C99-based-standards] (PRIi32): Likewise.
22940 [C99-based-standards] (PRIo32): Likewise.
22941 [C99-based-standards] (PRIu32): Likewise.
22942 [C99-based-standards] (PRIx32): Likewise.
22943 [C99-based-standards] (PRIX32): Likewise.
22944 [C99-based-standards] (SCNd32): Likewise.
22945 [C99-based-standards] (SCNi32): Likewise.
22946 [C99-based-standards] (SCNo32): Likewise.
22947 [C99-based-standards] (SCNu32): Likewise.
22948 [C99-based-standards] (SCNx32): Likewise.
22949 [C99-based-standards] (PRIdLEAST32): Likewise.
22950 [C99-based-standards] (PRIiLEAST32): Likewise.
22951 [C99-based-standards] (PRIoLEAST32): Likewise.
22952 [C99-based-standards] (PRIuLEAST32): Likewise.
22953 [C99-based-standards] (PRIxLEAST32): Likewise.
22954 [C99-based-standards] (PRIXLEAST32): Likewise.
22955 [C99-based-standards] (SCNdLEAST32): Likewise.
22956 [C99-based-standards] (SCNiLEAST32): Likewise.
22957 [C99-based-standards] (SCNoLEAST32): Likewise.
22958 [C99-based-standards] (SCNuLEAST32): Likewise.
22959 [C99-based-standards] (SCNxLEAST32): Likewise.
22960 [C99-based-standards] (PRIdFAST32): Likewise.
22961 [C99-based-standards] (PRIiFAST32): Likewise.
22962 [C99-based-standards] (PRIoFAST32): Likewise.
22963 [C99-based-standards] (PRIuFAST32): Likewise.
22964 [C99-based-standards] (PRIxFAST32): Likewise.
22965 [C99-based-standards] (PRIXFAST32): Likewise.
22966 [C99-based-standards] (SCNdFAST32): Likewise.
22967 [C99-based-standards] (SCNiFAST32): Likewise.
22968 [C99-based-standards] (SCNoFAST32): Likewise.
22969 [C99-based-standards] (SCNuFAST32): Likewise.
22970 [C99-based-standards] (SCNxFAST32): Likewise.
22971 [C99-based-standards] (PRId64): Likewise.
22972 [C99-based-standards] (PRIi64): Likewise.
22973 [C99-based-standards] (PRIo64): Likewise.
22974 [C99-based-standards] (PRIu64): Likewise.
22975 [C99-based-standards] (PRIx64): Likewise.
22976 [C99-based-standards] (PRIX64): Likewise.
22977 [C99-based-standards] (SCNd64): Likewise.
22978 [C99-based-standards] (SCNi64): Likewise.
22979 [C99-based-standards] (SCNo64): Likewise.
22980 [C99-based-standards] (SCNu64): Likewise.
22981 [C99-based-standards] (SCNx64): Likewise.
22982 [C99-based-standards] (PRIdLEAST64): Likewise.
22983 [C99-based-standards] (PRIiLEAST64): Likewise.
22984 [C99-based-standards] (PRIoLEAST64): Likewise.
22985 [C99-based-standards] (PRIuLEAST64): Likewise.
22986 [C99-based-standards] (PRIxLEAST64): Likewise.
22987 [C99-based-standards] (PRIXLEAST64): Likewise.
22988 [C99-based-standards] (SCNdLEAST64): Likewise.
22989 [C99-based-standards] (SCNiLEAST64): Likewise.
22990 [C99-based-standards] (SCNoLEAST64): Likewise.
22991 [C99-based-standards] (SCNuLEAST64): Likewise.
22992 [C99-based-standards] (SCNxLEAST64): Likewise.
22993 [C99-based-standards] (PRIdFAST64): Likewise.
22994 [C99-based-standards] (PRIiFAST64): Likewise.
22995 [C99-based-standards] (PRIoFAST64): Likewise.
22996 [C99-based-standards] (PRIuFAST64): Likewise.
22997 [C99-based-standards] (PRIxFAST64): Likewise.
22998 [C99-based-standards] (PRIXFAST64): Likewise.
22999 [C99-based-standards] (SCNdFAST64): Likewise.
23000 [C99-based-standards] (SCNiFAST64): Likewise.
23001 [C99-based-standards] (SCNoFAST64): Likewise.
23002 [C99-based-standards] (SCNuFAST64): Likewise.
23003 [C99-based-standards] (SCNxFAST64): Likewise.
23004 [C99-based-standards] (PRIdMAX): Likewise.
23005 [C99-based-standards] (PRIiMAX): Likewise.
23006 [C99-based-standards] (PRIoMAX): Likewise.
23007 [C99-based-standards] (PRIuMAX): Likewise.
23008 [C99-based-standards] (PRIxMAX): Likewise.
23009 [C99-based-standards] (PRIXMAX): Likewise.
23010 [C99-based-standards] (SCNdMAX): Likewise.
23011 [C99-based-standards] (SCNiMAX): Likewise.
23012 [C99-based-standards] (SCNoMAX): Likewise.
23013 [C99-based-standards] (SCNuMAX): Likewise.
23014 [C99-based-standards] (SCNxMAX): Likewise.
23015 [C99-based-standards] (PRIdPTR): Likewise.
23016 [C99-based-standards] (PRIiPTR): Likewise.
23017 [C99-based-standards] (PRIoPTR): Likewise.
23018 [C99-based-standards] (PRIuPTR): Likewise.
23019 [C99-based-standards] (PRIxPTR): Likewise.
23020 [C99-based-standards] (PRIXPTR): Likewise.
23021 [C99-based-standards] (SCNdPTR): Likewise.
23022 [C99-based-standards] (SCNiPTR): Likewise.
23023 [C99-based-standards] (SCNoPTR): Likewise.
23024 [C99-based-standards] (SCNuPTR): Likewise.
23025 [C99-based-standards] (SCNxPTR): Likewise.
23026 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23027 allow.
23028 * conform/data/stdint.h-data: Update comments to clarify
23029 requirements.
23030 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23031 type.
23032 [C99-based standards] (INT8_MAX): Likewise.
23033 [C99-based standards] (INT16_MIN): Likewise.
23034 [C99-based standards] (INT16_MAX): Likewise.
23035 [C99-based standards] (INT32_MIN): Likewise.
23036 [C99-based standards] (INT32_MAX): Likewise.
23037 [C99-based standards] (INT64_MIN): Likewise.
23038 [C99-based standards] (INT64_MAX): Likewise.
23039 [C99-based standards] (UINT8_MAX): Likewise.
23040 [C99-based standards] (UINT16_MAX): Likewise.
23041 [C99-based standards] (UINT32_MAX): Likewise.
23042 [C99-based standards] (UINT64_MAX): Likewise.
23043 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23044 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23045 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23046 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23047 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23048 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23049 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23050 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23051 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23052 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23053 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23054 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23055 [C99-based standards] (INT_FAST8_MIN): Likewise.
23056 [C99-based standards] (INT_FAST8_MAX): Likewise.
23057 [C99-based standards] (INT_FAST16_MIN): Likewise.
23058 [C99-based standards] (INT_FAST16_MAX): Likewise.
23059 [C99-based standards] (INT_FAST32_MIN): Likewise.
23060 [C99-based standards] (INT_FAST32_MAX): Likewise.
23061 [C99-based standards] (INT_FAST64_MIN): Likewise.
23062 [C99-based standards] (INT_FAST64_MAX): Likewise.
23063 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23064 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23065 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23066 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23067 [C99-based standards] (INTPTR_MIN): Likewise.
23068 [C99-based standards] (INTPTR_MAX): Likewise.
23069 [C99-based standards] (UINTPTR_MAX): Likewise.
23070 [C99-based standards] (INTMAX_MIN): Likewise.
23071 [C99-based standards] (INTMAX_MAX): Likewise.
23072 [C99-based standards] (UINTMAX_MAX): Likewise.
23073 [C99-based standards] (PTRDIFF_MIN): Likewise.
23074 [C99-based standards] (PTRDIFF_MAX): Likewise.
23075 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23076 [C99-based standards] (SIZE_MAX): Likewise.
23077 [C99-based standards] (WCHAR_MAX): Likewise.
23078 [C99-based standards] (WINT_MAX): Likewise.
23079 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23080 constraint on value.
23081 [C99-based standards] (WCHAR_MIN): Likewise.
23082 [C99-based standards] (WINT_MIN): Likewise.
23083 [C99-based standards] (*_t): Allow.
23084 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23085 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23086 Include math.h-data and complex.h-data. Remove all expectations
23087 of math.h and complex.h contents.
23088 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23089 at end of line.
23090 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23091 (struct tm): Expect tag.
23092 [C99-based-standards] (wcstof): Expect function.
23093 [C99-based-standards] (wcstold): Likewise.
23094 [C99-based-standards] (wcstoll): Likewise.
23095 [C99-based-standards] (wcstoull): Likewise.
23096 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23097 macro-int-constant. Specify type.
23098 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23099 constraint on value.
23100 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23101 Specify type.
23102 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23103 Specify value.
23104 [ISO C standards]: Do not allow headers.
23105 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23106 wcs[abcdefghijklmnopqrstuvwxyz]*.
23107 [ISO C standards] (*_t): Do not allow.
23108 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23109 Expect function.
23110 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23111 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23112 Specify type.
23113 [ISO C standards]: Do not allow headers.
23114 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23115 is[abcdefghijklmnopqrstuvwxyz]*.
23116 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23117 to[abcdefghijklmnopqrstuvwxyz]*.
23118 [ISO C standards] (*_t): Do not allow.
23119 * conform/data/stdalign.h-data: New file.
23120 * conform/data/stdbool.h-data: Likewise.
23121 * conform/data/stdnoreturn.h-data: Likewise.
23122
7514feb8
RM
231232012-11-07 Roland McGrath <roland@hack.frob.com>
23124
23125 [BZ #14815]
23126 * manual/filesys.texi (Directory Entries): Typo fix.
23127 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23128
19b2ecfc
MS
231292012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23130
23131 * elf/elf.h (EM_AARCH64): New macro.
23132 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23133 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23134 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23135 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23136 (R_AARCH64_TLSDESC): Likewise.
23137 (NT_ARM_TLS): Likewise.
23138 (NT_ARM_HW_BREAK): Likewise.
23139 (NT_ARM_HW_WATCH): Likewise.
23140
60e235ee
JM
231412012-11-07 Joseph Myers <joseph@codesourcery.com>
23142
23143 [BZ #14811]
23144 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23145 (__ieee754_powl): Saturate nonzero exponents with absolute value
23146 below 0x1p-79 to +/- 0x1p-79.
23147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23148 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23149 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23150 nonzero exponents with absolute value below 0x1p-32 to +/-
23151 0x1p-32.
23152 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23153 (__ieee754_powl): Saturate nonzero exponents with absolute value
23154 below 0x1p-79 to +/- 0x1p-79.
23155 * math/libm-test.inc (pow_test): Add more tests.
23156
0ab234b7
AK
231572012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23158
23159 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23160 _dl_s390_cap_flags with kernel. Increase string length.
23161 (_dl_s390_platforms): Add z196 and zEC12.
23162
45832f74
JM
231632012-11-07 Joseph Myers <joseph@codesourcery.com>
23164
23165 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23166 Change XOPEN21K to XOPEN2K.
23167
19218757
MK
231682012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23169
23170 * string/memmove.c: Use memcpy when possible.
23171
c5f45721
AJ
231722012-11-06 Andreas Jaeger <aj@suse.de>
23173
23174 * po/eo.po: Update from translation team.
23175
82477c28
JM
231762012-11-06 Joseph Myers <joseph@codesourcery.com>
23177
23178 [BZ #14793]
23179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23180 exponent and small x and y exponents, scale x or y up. Increase
23181 by 2 the exponent used in scaling up.
23182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23184 * math/libm-test.inc (fma_test): Add more tests.
23185 (fma_test_towardzero): Likewise.
23186 (fma_test_downward): Likewise.
23187 (fma_test_upward): Likewise.
23188
99252c8c
JM
231892012-11-05 Joseph Myers <joseph@codesourcery.com>
23190
acfa885f
JM
23191 [BZ #14805]
23192 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23193 fenv_t *.
23194
99252c8c
JM
23195 [BZ #14801]
23196 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23197 namespace for names of struct fields.
23198 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23199 fenv_t fields.
23200 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23201 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23202
d6d98dea
ST
232032012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23204
23205 [BZ #3665]
23206 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23207
e10bb107
TS
232082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23209
23210 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23211 PTR_DEMANGLE.
23212
23213 [BZ #5246]
23214 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23215 PTR_DEMANGLE.
23216
a0c2940d
JM
232172012-11-04 Joseph Myers <joseph@codesourcery.com>
23218
23219 [BZ #14797]
23220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23221 definitely overflow as x * y not x * y + z.
23222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23223 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23224 * math/libm-test.inc (fma_test): Add more tests.
23225 (fma_test_towardzero): Likewise.
23226 (fma_test_downward): Likewise.
23227 (fma_test_upward): Likewise.
23228
b830319d
TS
232292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23230
23231 [BZ #157]
23232
23233 * include/stub-tag.h: Remove file.
23234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23235 '#include' of it.
23236 * manual/maint.texi (Porting): Don't reference it.
23237 * Makerules ($(objpfx)stubs): Likewise.
23238 * dirent/closedir.c: Don't include <stub-tag.h>.
23239 * dirent/dirfd.c: Likewise.
23240 * dirent/fdopendir.c: Likewise.
23241 * dirent/getdents.c: Likewise.
23242 * dirent/getdents64.c: Likewise.
23243 * dirent/opendir.c: Likewise.
23244 * dirent/readdir.c: Likewise.
23245 * dirent/readdir64.c: Likewise.
23246 * dirent/readdir64_r.c: Likewise.
23247 * dirent/readdir_r.c: Likewise.
23248 * dirent/rewinddir.c: Likewise.
23249 * dirent/seekdir.c: Likewise.
23250 * dirent/telldir.c: Likewise.
23251 * gmon/profil.c: Likewise.
23252 * grp/setgroups.c: Likewise.
23253 * inet/if_index.c: Likewise.
23254 * io/access.c: Likewise.
23255 * io/chdir.c: Likewise.
23256 * io/chmod.c: Likewise.
23257 * io/chown.c: Likewise.
23258 * io/close.c: Likewise.
23259 * io/dup.c: Likewise.
23260 * io/dup2.c: Likewise.
23261 * io/dup3.c: Likewise.
23262 * io/euidaccess.c: Likewise.
23263 * io/faccessat.c: Likewise.
23264 * io/fchdir.c: Likewise.
23265 * io/fchmod.c: Likewise.
23266 * io/fchmodat.c: Likewise.
23267 * io/fchown.c: Likewise.
23268 * io/fchownat.c: Likewise.
23269 * io/fcntl.c: Likewise.
23270 * io/flock.c: Likewise.
23271 * io/fstatfs.c: Likewise.
23272 * io/fstatfs64.c: Likewise.
23273 * io/fstatvfs.c: Likewise.
23274 * io/fstatvfs64.c: Likewise.
23275 * io/futimens.c: Likewise.
23276 * io/fxstat.c: Likewise.
23277 * io/fxstat64.c: Likewise.
23278 * io/fxstatat.c: Likewise.
23279 * io/fxstatat64.c: Likewise.
23280 * io/getcwd.c: Likewise.
23281 * io/isatty.c: Likewise.
23282 * io/lchmod.c: Likewise.
23283 * io/lchown.c: Likewise.
23284 * io/link.c: Likewise.
23285 * io/linkat.c: Likewise.
23286 * io/lseek.c: Likewise.
23287 * io/lseek64.c: Likewise.
23288 * io/lxstat64.c: Likewise.
23289 * io/mkdir.c: Likewise.
23290 * io/mkdirat.c: Likewise.
23291 * io/mkfifo.c: Likewise.
23292 * io/mkfifoat.c: Likewise.
23293 * io/open.c: Likewise.
23294 * io/open64.c: Likewise.
23295 * io/openat.c: Likewise.
23296 * io/openat64.c: Likewise.
23297 * io/pipe.c: Likewise.
23298 * io/pipe2.c: Likewise.
23299 * io/poll.c: Likewise.
23300 * io/posix_fadvise.c: Likewise.
23301 * io/posix_fadvise64.c: Likewise.
23302 * io/posix_fallocate.c: Likewise.
23303 * io/posix_fallocate64.c: Likewise.
23304 * io/read.c: Likewise.
23305 * io/readlink.c: Likewise.
23306 * io/readlinkat.c: Likewise.
23307 * io/rmdir.c: Likewise.
23308 * io/sendfile.c: Likewise.
23309 * io/sendfile64.c: Likewise.
23310 * io/statfs.c: Likewise.
23311 * io/statfs64.c: Likewise.
23312 * io/statvfs.c: Likewise.
23313 * io/statvfs64.c: Likewise.
23314 * io/symlink.c: Likewise.
23315 * io/symlinkat.c: Likewise.
23316 * io/ttyname.c: Likewise.
23317 * io/ttyname_r.c: Likewise.
23318 * io/umask.c: Likewise.
23319 * io/unlink.c: Likewise.
23320 * io/unlinkat.c: Likewise.
23321 * io/utime.c: Likewise.
23322 * io/utimensat.c: Likewise.
23323 * io/write.c: Likewise.
23324 * io/xmknod.c: Likewise.
23325 * io/xmknodat.c: Likewise.
23326 * io/xstat.c: Likewise.
23327 * io/xstat64.c: Likewise.
23328 * login/getpt.c: Likewise.
23329 * login/grantpt.c: Likewise.
23330 * login/unlockpt.c: Likewise.
23331 * math/e_acoshl.c: Likewise.
23332 * math/e_acosl.c: Likewise.
23333 * math/e_asinl.c: Likewise.
23334 * math/e_atan2l.c: Likewise.
23335 * math/e_atanhl.c: Likewise.
23336 * math/e_coshl.c: Likewise.
23337 * math/e_expl.c: Likewise.
23338 * math/e_fmodl.c: Likewise.
23339 * math/e_gammal_r.c: Likewise.
23340 * math/e_hypotl.c: Likewise.
23341 * math/e_j0l.c: Likewise.
23342 * math/e_j1l.c: Likewise.
23343 * math/e_jnl.c: Likewise.
23344 * math/e_lgammal_r.c: Likewise.
23345 * math/e_log10l.c: Likewise.
23346 * math/e_log2l.c: Likewise.
23347 * math/e_logl.c: Likewise.
23348 * math/e_powl.c: Likewise.
23349 * math/e_rem_pio2l.c: Likewise.
23350 * math/e_sinhl.c: Likewise.
23351 * math/e_sqrtl.c: Likewise.
23352 * math/fclrexcpt.c: Likewise.
23353 * math/fedisblxcpt.c: Likewise.
23354 * math/feenablxcpt.c: Likewise.
23355 * math/fegetenv.c: Likewise.
23356 * math/fegetexcept.c: Likewise.
23357 * math/fegetround.c: Likewise.
23358 * math/feholdexcpt.c: Likewise.
23359 * math/fesetenv.c: Likewise.
23360 * math/fesetround.c: Likewise.
23361 * math/feupdateenv.c: Likewise.
23362 * math/fgetexcptflg.c: Likewise.
23363 * math/fraiseexcpt.c: Likewise.
23364 * math/fsetexcptflg.c: Likewise.
23365 * math/ftestexcept.c: Likewise.
23366 * math/k_cosl.c: Likewise.
23367 * math/k_rem_pio2l.c: Likewise.
23368 * math/k_sinl.c: Likewise.
23369 * math/k_tanl.c: Likewise.
23370 * math/s_asinhl.c: Likewise.
23371 * math/s_atanl.c: Likewise.
23372 * math/s_cbrtl.c: Likewise.
23373 * math/s_erfl.c: Likewise.
23374 * math/s_expm1l.c: Likewise.
23375 * math/s_log1pl.c: Likewise.
23376 * math/s_tanhl.c: Likewise.
23377 * misc/acct.c: Likewise.
23378 * misc/brk.c: Likewise.
23379 * misc/chflags.c: Likewise.
23380 * misc/chroot.c: Likewise.
23381 * misc/fchflags.c: Likewise.
23382 * misc/fgetxattr.c: Likewise.
23383 * misc/flistxattr.c: Likewise.
23384 * misc/fremovexattr.c: Likewise.
23385 * misc/fsetxattr.c: Likewise.
23386 * misc/fsync.c: Likewise.
23387 * misc/ftruncate.c: Likewise.
23388 * misc/futimes.c: Likewise.
23389 * misc/futimesat.c: Likewise.
23390 * misc/getdomain.c: Likewise.
23391 * misc/getdtsz.c: Likewise.
23392 * misc/gethostid.c: Likewise.
23393 * misc/gethostname.c: Likewise.
23394 * misc/getloadavg.c: Likewise.
23395 * misc/getpagesize.c: Likewise.
23396 * misc/getsysstats.c: Likewise.
23397 * misc/getxattr.c: Likewise.
23398 * misc/gtty.c: Likewise.
23399 * misc/ioctl.c: Likewise.
23400 * misc/lgetxattr.c: Likewise.
23401 * misc/listxattr.c: Likewise.
23402 * misc/llistxattr.c: Likewise.
23403 * misc/lremovexattr.c: Likewise.
23404 * misc/lsetxattr.c: Likewise.
23405 * misc/lutimes.c: Likewise.
23406 * misc/madvise.c: Likewise.
23407 * misc/mincore.c: Likewise.
23408 * misc/mlock.c: Likewise.
23409 * misc/mlockall.c: Likewise.
23410 * misc/mmap.c: Likewise.
23411 * misc/mprotect.c: Likewise.
23412 * misc/msync.c: Likewise.
23413 * misc/munlock.c: Likewise.
23414 * misc/munlockall.c: Likewise.
23415 * misc/munmap.c: Likewise.
23416 * misc/preadv.c: Likewise.
23417 * misc/preadv64.c: Likewise.
23418 * misc/ptrace.c: Likewise.
23419 * misc/pwritev.c: Likewise.
23420 * misc/pwritev64.c: Likewise.
23421 * misc/readv.c: Likewise.
23422 * misc/reboot.c: Likewise.
23423 * misc/remap_file_pages.c: Likewise.
23424 * misc/removexattr.c: Likewise.
23425 * misc/revoke.c: Likewise.
23426 * misc/select.c: Likewise.
23427 * misc/setdomain.c: Likewise.
23428 * misc/setegid.c: Likewise.
23429 * misc/seteuid.c: Likewise.
23430 * misc/sethostid.c: Likewise.
23431 * misc/sethostname.c: Likewise.
23432 * misc/setregid.c: Likewise.
23433 * misc/setreuid.c: Likewise.
23434 * misc/setxattr.c: Likewise.
23435 * misc/sstk.c: Likewise.
23436 * misc/stty.c: Likewise.
23437 * misc/swapoff.c: Likewise.
23438 * misc/swapon.c: Likewise.
23439 * misc/sync.c: Likewise.
23440 * misc/syncfs.c: Likewise.
23441 * misc/syscall.c: Likewise.
23442 * misc/truncate.c: Likewise.
23443 * misc/ualarm.c: Likewise.
23444 * misc/usleep.c: Likewise.
23445 * misc/ustat.c: Likewise.
23446 * misc/utimes.c: Likewise.
23447 * misc/vhangup.c: Likewise.
23448 * misc/writev.c: Likewise.
23449 * posix/_exit.c: Likewise.
23450 * posix/alarm.c: Likewise.
23451 * posix/execve.c: Likewise.
23452 * posix/fexecve.c: Likewise.
23453 * posix/fork.c: Likewise.
23454 * posix/fpathconf.c: Likewise.
23455 * posix/getaddrinfo.c: Likewise.
23456 * posix/getegid.c: Likewise.
23457 * posix/geteuid.c: Likewise.
23458 * posix/getgid.c: Likewise.
23459 * posix/getgroups.c: Likewise.
23460 * posix/getlogin.c: Likewise.
23461 * posix/getlogin_r.c: Likewise.
23462 * posix/getpgid.c: Likewise.
23463 * posix/getpid.c: Likewise.
23464 * posix/getppid.c: Likewise.
23465 * posix/getresgid.c: Likewise.
23466 * posix/getresuid.c: Likewise.
23467 * posix/getsid.c: Likewise.
23468 * posix/getuid.c: Likewise.
23469 * posix/glob64.c: Likewise.
23470 * posix/nanosleep.c: Likewise.
23471 * posix/pathconf.c: Likewise.
23472 * posix/pause.c: Likewise.
23473 * posix/posix_madvise.c: Likewise.
23474 * posix/pread.c: Likewise.
23475 * posix/pread64.c: Likewise.
23476 * posix/pwrite.c: Likewise.
23477 * posix/pwrite64.c: Likewise.
23478 * posix/sched_getaffinity.c: Likewise.
23479 * posix/sched_getp.c: Likewise.
23480 * posix/sched_gets.c: Likewise.
23481 * posix/sched_primax.c: Likewise.
23482 * posix/sched_primin.c: Likewise.
23483 * posix/sched_rr_gi.c: Likewise.
23484 * posix/sched_setaffinity.c: Likewise.
23485 * posix/sched_setp.c: Likewise.
23486 * posix/sched_sets.c: Likewise.
23487 * posix/sched_yield.c: Likewise.
23488 * posix/setgid.c: Likewise.
23489 * posix/setlogin.c: Likewise.
23490 * posix/setpgid.c: Likewise.
23491 * posix/setresgid.c: Likewise.
23492 * posix/setresuid.c: Likewise.
23493 * posix/setsid.c: Likewise.
23494 * posix/setuid.c: Likewise.
23495 * posix/sleep.c: Likewise.
23496 * posix/spawni.c: Likewise.
23497 * posix/sysconf.c: Likewise.
23498 * posix/times.c: Likewise.
23499 * posix/wait.c: Likewise.
23500 * posix/wait3.c: Likewise.
23501 * posix/wait4.c: Likewise.
23502 * posix/waitpid.c: Likewise.
23503 * resolv/gai_sigqueue.c: Likewise.
23504 * resource/getpriority.c: Likewise.
23505 * resource/getrlimit.c: Likewise.
23506 * resource/getrusage.c: Likewise.
23507 * resource/nice.c: Likewise.
23508 * resource/setpriority.c: Likewise.
23509 * resource/setrlimit.c: Likewise.
23510 * resource/ulimit.c: Likewise.
23511 * rt/aio_cancel.c: Likewise.
23512 * rt/aio_fsync.c: Likewise.
23513 * rt/aio_read.c: Likewise.
23514 * rt/aio_sigqueue.c: Likewise.
23515 * rt/aio_suspend.c: Likewise.
23516 * rt/aio_write.c: Likewise.
23517 * rt/clock_getres.c: Likewise.
23518 * rt/clock_gettime.c: Likewise.
23519 * rt/clock_nanosleep.c: Likewise.
23520 * rt/clock_settime.c: Likewise.
23521 * rt/lio_listio.c: Likewise.
23522 * rt/mq_close.c: Likewise.
23523 * rt/mq_getattr.c: Likewise.
23524 * rt/mq_notify.c: Likewise.
23525 * rt/mq_open.c: Likewise.
23526 * rt/mq_receive.c: Likewise.
23527 * rt/mq_send.c: Likewise.
23528 * rt/mq_setattr.c: Likewise.
23529 * rt/mq_timedreceive.c: Likewise.
23530 * rt/mq_timedsend.c: Likewise.
23531 * rt/mq_unlink.c: Likewise.
23532 * rt/shm_open.c: Likewise.
23533 * rt/shm_unlink.c: Likewise.
23534 * rt/timer_create.c: Likewise.
23535 * rt/timer_delete.c: Likewise.
23536 * rt/timer_getoverr.c: Likewise.
23537 * rt/timer_gettime.c: Likewise.
23538 * rt/timer_settime.c: Likewise.
23539 * setjmp/__longjmp.c: Likewise.
23540 * setjmp/setjmp.c: Likewise.
23541 * signal/kill.c: Likewise.
23542 * signal/killpg.c: Likewise.
23543 * signal/raise.c: Likewise.
23544 * signal/sigaction.c: Likewise.
23545 * signal/sigaltstack.c: Likewise.
23546 * signal/sigblock.c: Likewise.
23547 * signal/sigignore.c: Likewise.
23548 * signal/sigintr.c: Likewise.
23549 * signal/signal.c: Likewise.
23550 * signal/sigpause.c: Likewise.
23551 * signal/sigpending.c: Likewise.
23552 * signal/sigqueue.c: Likewise.
23553 * signal/sigreturn.c: Likewise.
23554 * signal/sigset.c: Likewise.
23555 * signal/sigsetmask.c: Likewise.
23556 * signal/sigstack.c: Likewise.
23557 * signal/sigsuspend.c: Likewise.
23558 * signal/sigtimedwait.c: Likewise.
23559 * signal/sigvec.c: Likewise.
23560 * signal/sigwait.c: Likewise.
23561 * signal/sigwaitinfo.c: Likewise.
23562 * signal/sysv_signal.c: Likewise.
23563 * socket/accept.c: Likewise.
23564 * socket/accept4.c: Likewise.
23565 * socket/bind.c: Likewise.
23566 * socket/connect.c: Likewise.
23567 * socket/getpeername.c: Likewise.
23568 * socket/getsockname.c: Likewise.
23569 * socket/getsockopt.c: Likewise.
23570 * socket/isfdtype.c: Likewise.
23571 * socket/listen.c: Likewise.
23572 * socket/recv.c: Likewise.
23573 * socket/recvfrom.c: Likewise.
23574 * socket/recvmsg.c: Likewise.
23575 * socket/send.c: Likewise.
23576 * socket/sendmsg.c: Likewise.
23577 * socket/sendto.c: Likewise.
23578 * socket/setsockopt.c: Likewise.
23579 * socket/shutdown.c: Likewise.
23580 * socket/sockatmark.c: Likewise.
23581 * socket/socket.c: Likewise.
23582 * socket/socketpair.c: Likewise.
23583 * stdio-common/ctermid.c: Likewise.
23584 * stdio-common/cuserid.c: Likewise.
23585 * stdio-common/remove.c: Likewise.
23586 * stdio-common/rename.c: Likewise.
23587 * stdio-common/renameat.c: Likewise.
23588 * stdio-common/tempname.c: Likewise.
23589 * stdlib/getcontext.c: Likewise.
23590 * stdlib/makecontext.c: Likewise.
23591 * stdlib/setcontext.c: Likewise.
23592 * stdlib/swapcontext.c: Likewise.
23593 * stdlib/system.c: Likewise.
23594 * streams/fattach.c: Likewise.
23595 * streams/fdetach.c: Likewise.
23596 * streams/getmsg.c: Likewise.
23597 * streams/getpmsg.c: Likewise.
23598 * streams/putmsg.c: Likewise.
23599 * streams/putpmsg.c: Likewise.
23600 * sysdeps/unix/bsd/getpt.c: Likewise.
23601 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23602 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23603 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23605 Likewise.
23606 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23607 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23608 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23609 * sysvipc/msgctl.c: Likewise.
23610 * sysvipc/msgget.c: Likewise.
23611 * sysvipc/msgrcv.c: Likewise.
23612 * sysvipc/msgsnd.c: Likewise.
23613 * sysvipc/semctl.c: Likewise.
23614 * sysvipc/semget.c: Likewise.
23615 * sysvipc/semop.c: Likewise.
23616 * sysvipc/semtimedop.c: Likewise.
23617 * sysvipc/shmat.c: Likewise.
23618 * sysvipc/shmctl.c: Likewise.
23619 * sysvipc/shmdt.c: Likewise.
23620 * sysvipc/shmget.c: Likewise.
23621 * termios/tcdrain.c: Likewise.
23622 * termios/tcflow.c: Likewise.
23623 * termios/tcflush.c: Likewise.
23624 * termios/tcgetattr.c: Likewise.
23625 * termios/tcgetpgrp.c: Likewise.
23626 * termios/tcsendbrk.c: Likewise.
23627 * termios/tcsetattr.c: Likewise.
23628 * termios/tcsetpgrp.c: Likewise.
23629 * time/adjtime.c: Likewise.
23630 * time/clock.c: Likewise.
23631 * time/getitimer.c: Likewise.
23632 * time/gettimeofday.c: Likewise.
23633 * time/setitimer.c: Likewise.
23634 * time/settimeofday.c: Likewise.
23635 * time/stime.c: Likewise.
23636 * time/time.c: Likewise.
23637
236382012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23639
a20492cf
PT
23640 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23641 /usr/old/bin.
23642
72e182e3
PT
23643 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23644 instead of spaces.
23645 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23646
fbeafede
JM
236472012-11-03 Joseph Myers <joseph@codesourcery.com>
23648
5b5b04d6
JM
23649 [BZ #14796]
23650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23651 FE_TONEAREST before applying Dekker multiplication and Knuth
23652 addition. Clear inexact exceptions and check for exact zero
23653 results afterwards.
23654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23655 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23656 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23657 * math/libm-test.inc (fma_test): Add more tests.
23658 (fma_test_towardzero): Likewise.
23659 (fma_test_downward): Likewise.
23660 (fma_test_upward): Likewise.
23661 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23662 function.
23663 (libc_fesetround): New macro.
23664 (libc_fesetroundf): Likewise.
23665 (libc_fesetroundl): Likewise.
23666 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23667 function.
23668 (libc_fesetround_387): Likewise.
23669 (libc_fesetroundf): New macro.
23670 (libc_fesetround): Likewise.
23671 (libc_fesetroundl): Likewise.
23672 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23673 function.
23674 (libc_fesetroundf): New macro.
23675 (libc_fesetround): Likewise.
23676 (libc_fesetroundl): Likewise.
23677 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23678 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23679 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23680 libm_hidden_ver.
23681 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23682 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23683 libm_hidden_def.
23684 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23685 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23686 libm_hidden_ver.
23687 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23688 libm_hidden_def.
23689
fbeafede
JM
23690 [BZ #3439]
23691 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23692 integer constant usable in #if and use that to give value to enum
23693 constant.
23694 (FE_DIVBYZERO): Likewise.
23695 (FE_UNDERFLOW): Likewise.
23696 (FE_OVERFLOW): Likewise.
23697 (FE_INVALID): Likewise.
23698 (FE_INVALID_SNAN): Likewise.
23699 (FE_INVALID_ISI): Likewise.
23700 (FE_INVALID_IDI): Likewise.
23701 (FE_INVALID_ZDZ): Likewise.
23702 (FE_INVALID_IMZ): Likewise.
23703 (FE_INVALID_COMPARE): Likewise.
23704 (FE_INVALID_SOFTWARE): Likewise.
23705 (FE_INVALID_SQRT): Likewise.
23706 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23707 (FE_TONEAREST): Likewise.
23708 (FE_TOWARDZERO): Likewise.
23709 (FE_UPWARD): Likewise.
23710 (FE_DOWNWARD): Likewise.
23711 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23712 (FE_DIVBYZERO): Likewise.
23713 (FE_OVERFLOW): Likewise.
23714 (FE_UNDERFLOW): Likewise.
23715 (FE_INEXACT): Likewise.
23716 (FE_TONEAREST): Likewise.
23717 (FE_DOWNWARD): Likewise.
23718 (FE_UPWARD): Likewise.
23719 (FE_TOWARDZERO): Likewise.
23720 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23721 (FE_UNDERFLOW): Likewise.
23722 (FE_OVERFLOW): Likewise.
23723 (FE_DIVBYZERO): Likewise.
23724 (FE_INVALID): Likewise.
23725 (FE_TONEAREST): Likewise.
23726 (FE_TOWARDZERO): Likewise.
23727 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23728 (FE_OVERFLOW): Likewise.
23729 (FE_UNDERFLOW): Likewise.
23730 (FE_DIVBYZERO): Likewise.
23731 (FE_INEXACT): Likewise.
23732 (FE_TONEAREST): Likewise.
23733 (FE_TOWARDZERO): Likewise.
23734 (FE_UPWARD): Likewise.
23735 (FE_DOWNWARD): Likewise.
23736 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23737 (FE_DIVBYZERO): Likewise.
23738 (FE_OVERFLOW): Likewise.
23739 (FE_UNDERFLOW): Likewise.
23740 (FE_INEXACT): Likewise.
23741 (FE_TONEAREST): Likewise.
23742 (FE_DOWNWARD): Likewise.
23743 (FE_UPWARD): Likewise.
23744 (FE_TOWARDZERO): Likewise.
23745
105ca950
CM
237462012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23747
23748 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23749
a542b389
AS
237502012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23751
23752 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23753 commands. Quote $PWD.
23754 (blacklist_exports): Don't use remove_newlines. Replace "declare
23755 -x" by "export".
23756 (remove_newlines): Remove.
23757
f62c8abc
L
237582012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23759
23760 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23761 * stdlib/stdlib.h (atof): Moved to ...
23762 * include/bits/stdlib-float.h: Here. New file.
23763 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23764 * stdlib/bits/stdlib-float.h: New file.
23765 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23766 -mno-sse -mno-mmx.
23767 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23768 <xmmintrin.h>.
23769
0155d5b2
JM
237702012-11-02 Joseph Myers <joseph@codesourcery.com>
23771
a68d0680
JM
23772 * conform/conformtest.pl (@headers): Add fenv.h.
23773 * conform/data/fenv.h-data: New file.
23774 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23775 include of <math/fenv.h>.
23776
caf7f573
JM
23777 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23778 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23779 && !UNIX98]. Enables tests for XOPEN2K8.
23780 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23781 POSIX2008]: Likewise.
23782
6c073ad6
JM
23783 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23784 (struct rusage): Do not expect type or its members.
23785
0155d5b2
JM
23786 [BZ #3439]
23787 * math/math.h (FP_NAN): Define macro to integer constant usable in
23788 #if and use that to give value to enum constant.
23789 (FP_INFINITE): Likewise.
23790 (FP_ZERO): Likewise.
23791 (FP_SUBNORMAL): Likewise.
23792 (FP_NORMAL): Likewise.
23793
b5dcacb4
AS
237942012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23795
23796 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23797 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23798 arguments.
23799
f7934be8
RM
238002012-11-02 Roland McGrath <roland@hack.frob.com>
23801
23802 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23803 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23804 autoconf-time if not.
23805 * configure.in: Remove AC_PREREQ.
23806
d7d08bde
TMQMF
238072012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23808
23809 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23810 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23811 of the internal implementation.
23812
dcdae19a
JM
238132012-11-02 Joseph Myers <joseph@codesourcery.com>
23814
23815 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23816 except include of <misc/sys/syslog.h>.
23817
d6cffd3e
AS
238182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23819
23820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23821 function returns with a NULL context exit with zero.
23822
b3563932
TMQMF
238232012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23824
23825 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23826
b288a93d
L
238272012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23828
23829 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23830 (run_program_cmd): This.
23831 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23832 (tst_langinfo): New variable. Use it.
23833
a2421a68
SAS
238342012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23835
23836 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23837 floating point opcodes.
23838
6f796e1b
TS
238392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23840
7402596b
TS
23841 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23842 variable.
23843
d0d4f868
TS
23844 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23845
6f796e1b
TS
23846 * sysdeps/mach/hurd/powerpc: Remove directory.
23847 * sysdeps/mach/powerpc: Likewise.
23848
4da224a2
AS
238492012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23850
23851 * scripts/check-local-headers.sh: Ignore c++ headers.
23852
341dd673
TS
238532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23854
23855 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23856 __libc_cleanup_region_start argument.
23857
473611b2
JM
238582012-11-01 Joseph Myers <joseph@codesourcery.com>
23859
23860 [BZ #14784]
23861 [BZ #14785]
23862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23863 x * y using scaling, not as x * y + z.
23864 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23865 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23866 * math/libm-test.inc (fma_test): Add more tests.
23867 (fma_test_towardzero): Likewise.
23868 (fma_test_downward): Likewise.
23869 (fma_test_upward): Likewise.
23870
4078da3d
TS
238712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23872
23873 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23874
903252aa
JM
238752012-10-31 Joseph Myers <joseph@codesourcery.com>
23876
23877 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23878 New variable.
23879
cbc818d0
TS
238802012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23881
23882 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23883
5a03cb1e
AS
238842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23885
23886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23887 Fix sort order.
23888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23889 Likewise.
23890
90aff2ff
TMQMF
238912012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23892
23893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23894 Fix the order of the list for glibc 2.17.
23895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23896 Likewise.
23897
1818fcb7
AS
238982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23899
23900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23901
ef82f4da
JM
239022012-10-31 Joseph Myers <joseph@codesourcery.com>
23903
16a0e2ec
JM
23904 [BZ #14610]
23905 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23906 for low part of x being zero before using __atanl (y).
23907 * math/libm-test.inc (atan2_test): Add another test.
23908
0eb69512
JM
23909 * manual/install.texi (Configuring and compiling): Document
23910 general use of test-wrapper and test-wrapper-env.
23911 * INSTALL: Regenerated.
23912
ef82f4da
JM
23913 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23914 (__fma): Do not extract and scale down low bits on after-rounding
23915 systems when result rounded to normal precision would have normal
23916 exponent.
23917 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23918 (__fmal): Do not extract and scale down low bits on after-rounding
23919 systems when result rounded to normal precision would have normal
23920 exponent.
23921 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23922 (__fmal): Do not extract and scale down low bits on after-rounding
23923 systems when result rounded to normal precision would have normal
23924 exponent.
23925 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23926 macro.
23927 (fma_test): Add more tests.
23928 (fma_test_towardzero): Likewise.
23929 (fma_test_downward): Likewise.
23930 (fma_test_upward): Likewise.
23931
954ef0d9
L
239322012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23933
23934 * sysdeps/i386/tininess.h: Renamed to ...
23935 * sysdeps/x86/tininess.h: This.
23936 * sysdeps/x86_64/tininess.h: Removed.
23937
df61ffb2
JM
239382012-10-30 Joseph Myers <joseph@codesourcery.com>
23939
23940 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23941 input. Use $(build-program-cmd).
23942 ($(objpfx)tst-array1-static.out): Likewise.
23943 ($(objpfx)tst-array2.out): Likewise.
23944 ($(objpfx)tst-array3.out): Likewise.
23945 ($(objpfx)tst-array4.out): Likewise.
23946 ($(objpfx)tst-array5.out): Likewise.
23947 ($(objpfx)tst-array5-static.out): Likewise.
23948
01767843
CM
239492012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23950
47cc1490
CM
23951 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23952 if defined.
23953
01767843
CM
23954 * nss/nsswitch.h (nss_interface_function): Provide new
23955 macro for use with NSS functions.
23956 * grp/initgroups.c: Use new macro.
23957 * nss/getXXbyYY.c: Likewise.
23958 * nss/getXXbyYY_r.c: Likewise.
23959 * nss/getXXent.c: Likewise.
23960 * nss/getXXent_r.c: Likewise.
23961 * sysdeps/posix/getaddrinfo.c: Likewise.
23962
8321aa97
AJ
239632012-10-30 Andreas Jaeger <aj@suse.de>
23964
23965 * po/ru.po: Update Russion translation from translation project.
23966
2a27fd6d
JM
239672012-10-30 Joseph Myers <joseph@codesourcery.com>
23968
8627a232
JM
23969 [BZ #14152]
23970 [BZ #14783]
23971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23972 result and shift together with sticky bit instead of replicating
23973 round-to-nearest rounding.
23974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23976 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23977 missing underflow exceptions.
23978 (fma_test_towardzero): Add more tests.
23979 (fma_test_downward): Likewise.
23980 (fma_test_upward): Likewise.
23981
2a27fd6d
JM
23982 [BZ #14047]
23983 * sysdeps/generic/tininess.h: New file.
23984 * sysdeps/i386/tininess.h: Likewise.
23985 * sysdeps/sh/tininess.h: Likewise.
23986 * sysdeps/x86_64/tininess.h: Likewise.
23987 * stdlib/tst-strtod-underflow.c: Likewise.
23988 * stdlib/tst-tininess.c: Likewise.
23989 * stdlib/strtod_l.c: Include <tininess.h>.
23990 (round_and_return): Do not set errno for exact underflow cases.
23991 Force an underflow exception when setting errno for underflow.
23992 Determine underflow based on rounding to normal precision if
23993 TININESS_AFTER_ROUNDING.
23994 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23995 ERANGE for exact underflow cases.
23996 * stdlib/Makefile (tests): Add tst-tininess and
23997 tst-strtod-underflow.
23998 ($(objpfx)tst-tininess): Use $(link-libm).
23999 ($(objpfx)tst-strtod-underflow): Likewise.
24000
e7170363
AJ
240012012-10-30 Andreas Jaeger <aj@suse.de>
24002
e5088dc6
AJ
24003 [BZ#14767]
24004 * elf/Makefile (tests): Remove conditional for have-initfini-array
24005 since this is now always required and the variable does not exist
24006 anymore.
24007 (tests-static): Likewise.
24008 (modules-names): Likewise.
24009
e7170363 24010 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24011
24012 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24013 merged with constructor/destructor.
24014 (init_array): Likewise.
24015 * elf/tst-array2dep.c (fini_array): Likewise.
24016 (init_array): Likewise.
24017
60457d8a
MF
240182012-10-29 Mike Frysinger <vapier@gentoo.org>
24019
24020 * manual/message.texi: Delete @cartouche tags.
24021
8bece752
PT
240222012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24023
94ce799f
PT
24024 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24025 EOPNOTSUPP.
24026 * sysdeps/mach/hurd/fsync.c: Likewise.
24027
8bece752
PT
24028 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24029 [_POSIX_REALTIME_SIGNALS]: Change condition to
24030 [_POSIX_REALTIME_SIGNALS > 0].
24031
86ebe6b1
AJ
240322012-10-27 Andreas Jaeger <aj@suse.de>
24033
24034 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24035 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24037 [__WORDSIZE != 64]: Likewise.
24038
54399c08
L
240392012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24040
24041 * iconvdata/tst-table.sh: Remove ${SHELL}.
24042 * iconvdata/tst-tables.sh: Likewise.
24043
e2211bed
DM
240442012-10-25 David S. Miller <davem@davemloft.net>
24045
24046 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24047 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24048 of strtoull.
24049
f303f97c
DM
24050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24051 ifunc-impl-list.c
24052 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24053 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24054 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24055 file.
24056
1e9d84cd
RM
240572012-10-25 Roland McGrath <roland@hack.frob.com>
24058
24059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24060 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24061 __getdirentries.
24062
df381762
JM
240632012-10-25 Joseph Myers <joseph@codesourcery.com>
24064 Jim Blandy <jimb@codesourcery.com>
24065
24066 * scripts/cross-test-ssh.sh: New file.
24067 * manual/install.texi (Configuring and compiling): Document use of
24068 cross-test-ssh.sh.
24069 * INSTALL: Regenerated.
24070
bff64913
PT
240712012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24072
24073 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24074 EOPNOTSUPP.
24075
25fe8932
JM
240762012-10-25 Joseph Myers <joseph@codesourcery.com>
24077
24078 * Makeconfig (run-program-prefix): Fix comment.
24079
cc1290d0
JM
240802012-10-24 Joseph Myers <joseph@codesourcery.com>
24081 Jim Blandy <jimb@codesourcery.com>
24082
24083 * Makeconfig (test-wrapper): New variable,
24084 (test-wrapper-env): Likewise.
24085 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24086 (run-built-tests): Define to yes.
24087 (run-program-prefix): Use $(test-wrapper).
24088 (built-program-cmd): Likewise.
24089 * Rules (make-test-out): Use $(test-wrapper-env) and
24090 $(host-built-program-cmd).
24091 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24092 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24093 tst-pathopt.sh.
24094 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24095 $(test-wrapper-env) to tst-rtld-load-self.sh.
24096 ($(objpfx)order2.out): Use $(test-wrapper).
24097 ($(objpfx)tst-initorder.out): Likewise.
24098 ($(objpfx)tst-initorder2.out): Likewise.
24099 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24100 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24101 (test_wrapper_env): New variable. Use it to run ld.so.
24102 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24103 Use it to run ld.so.
24104 (test_wrapper_env): Likewise.
24105 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24106 $(test-wrapper) to run-iconv-test.sh.
24107 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24108 (ICONV): Use $test_wrapper.
24109 * posix/Makefile ($(objpfx)globtest.out): Pass
24110 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24111 globtest.sh, not $(run-program-prefix).
24112 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24113 (test_wrapper): Likewise.
24114 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24115 set together with run_via_rtld_prefix.
24116 (run_program_prefix): Define in terms of test_wrapper and
24117 run_via_rtld_prefix.
24118
6e6249d0
RM
241192012-10-24 Roland McGrath <roland@hack.frob.com>
24120
24121 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24122 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24123 Targets removed.
24124
24125 [BZ #14743]
24126 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24127 Declare __clock_getres, __clock_gettime, __clock_settime,
24128 __clock_nanosleep, and __clock_getcpuclockid.
24129 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24130 Remove librt_hidden_def (clock_gettime).
24131 * sysdeps/unix/clock_gettime.c: Likewise.
24132 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24133 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24134 * rt/clock_getres.c: Define __clock_getres as an alias.
24135 * sysdeps/posix/clock_getres.c: Likewise.
24136 * rt/clock_settime.c: Define __clock_settime as an alias.
24137 * sysdeps/unix/clock_settime.c: Likewise.
24138 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24139 * sysdeps/unix/clock_nanosleep.c: Likewise.
24140 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24141 * rt/clock-compat.c: New file.
24142 * rt/Makefile (librt-routines): Add clock-compat and move
24143 $(clock-routines) to ...
24144 (routines): ... here, new variable.
24145 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24146 Don't add get_clockfreq here.
24147 * rt/Versions (libc: GLIBC_2.17): New version set.
24148 Add clock_* symbols here.
24149 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24151 (GLIBC_2.17): Add clock_* symbols.
24152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24156 Likewise.
24157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24158 Likewise.
24159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24163 * NEWS: Mention the move.
24164
24165 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24166 Use __open, __read, __close rather than their public counterparts.
24167 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24168 (__get_clockfreq_via_cpuinfo): Likewise.
24169 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24170 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24171
24172 * config.h.in (HAVE_IFUNC): New #undef.
24173 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24174 was successful.
24175 * configure: Regenerated.
24176
0cae3f4b
MF
241772012-10-24 Mike Frysinger <vapier@gentoo.org>
24178
24179 * configure.in: Move READELF check to start of file.
24180 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24181 libc_cv_asm_gnu_indirect_function in the process.
24182 * configure: Regenerated.
24183
8175a253
MF
241842012-10-24 Mike Frysinger <vapier@gentoo.org>
24185
24186 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24187 send the output to /dev/null.
24188 (libc_cv_cc_with_libunwind): Likewise.
24189 (libc_cv_as_noexecstack): Likewise.
24190 * configure: Regenerate.
24191
0708a7d1
JM
241922012-10-24 Joseph Myers <joseph@codesourcery.com>
24193
10b40d85
JM
24194 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24195
0708a7d1
JM
24196 * posix/globtest.sh (TMPDIR): Do not set.
24197 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24198 (testout): Likewise.
24199
9fddec1a
AJ
242002012-10-24 Andreas Jaeger <aj@suse.de>
24201
3a8db22f
AJ
24202 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24203 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24204 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24205 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24206 posix_fadvise64, posix_fallocate64.
24207
9fddec1a
AJ
24208 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24209 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24210 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24211 Likewise.
24212 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24213 Likewise.
24214 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24215
24216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24217 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24218 <bits/fcntl-linux.h>.
24219 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24220
24221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24222 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24223 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24224 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24225 [__WORDSIZE != 64]: Likewise.
24226
ebfd1bbd
JM
242272012-10-23 Joseph Myers <joseph@codesourcery.com>
24228
03ac099f
JM
24229 * Makeconfig (run-built-tests): New variable.
24230 * Rules [$(cross-compiling) = yes]: Change condition to
24231 [$(run-built-tests) = no].
24232 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24233 to [$(run-built-tests) = yes].
24234 * elf/Makefile [$(cross-compiling) = no]: Likewise
24235 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24236 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24237 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24238 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24239 * io/Makefile [$(cross-compiling) = no]: Likewise.
24240 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24241 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24242 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24243 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24244 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24245 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24246 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24247 * string/Makefile [$(cross-compiling) = no]: Likewise.
24248
ebfd1bbd
JM
24249 * posix/Makefile ($(objpfx)globtest.out): Pass
24250 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24251 $(rtld-installed-name).
24252 * posix/globtest.sh (elf_objpfx): Remove variable.
24253 (rtld_installed_name): Likewise.
24254 (library_path): Likewise.
24255 (run_program_prefix): New variable. Use for running globtest
24256 binary.
24257
166bca24
JB
242582012-10-23 Jim Blandy <jimb@codesourcery.com>
24259 Joseph Myers <joseph@codesourcery.com>
24260
24261 * Makeconfig (host-built-program-cmd): New variable.
24262 * elf/Makefile (tst-stackguard1-ARGS): Use
24263 $(host-built-program-cmd).
24264 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24265 (tst-spawn-ARGS): Likewise.
24266 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24267
88866099
JM
242682012-10-23 Joseph Myers <joseph@codesourcery.com>
24269 Jim Blandy <jimb@codesourcery.com>
24270
24271 * Makeconfig (run-via-rtld-prefix): New variable.
24272 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24273 (built-program-cmd): Likewise.
24274
b4b4c296
AJ
242752012-10-22 Andreas Jaeger <aj@suse.de>
24276
24277 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24278 __O_RSYNC if it exists, otherwise to O_SYNC.
24279
6fb54a22
JB
242802012-10-22 Jim Blandy <jimb@codesourcery.com>
24281 Joseph Myers <joseph@codesourcery.com>
24282
24283 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24284 /dev/null.
24285 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24286 from /dev/null
24287 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24288 /dev/null.
24289
481b90b9
AJ
242902012-10-22 Andreas Jaeger <aj@suse.de>
24291
2a0e2669
AJ
24292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24293 Define always.
24294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24295
76e38f9a
AJ
24296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24297 bits/fcntl-linux.h.
24298
7cd37b43
AJ
24299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24300 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24301
481b90b9
AJ
24302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24303 to __O_LARGEFILE.
24304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24305 to __O_LARGEFILE.
24306
aba75984
JB
243072012-10-21 Jim Blandy <jimb@codesourcery.com>
24308 Joseph Myers <joseph@codesourcery.com>
24309
24310 * config.make.in (NM): New variable.
24311
88d4247f
AJ
243122012-10-21 Andreas Jaeger <aj@suse.de>
24313
24314 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24315 definitions and declarations that are provided by
24316 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24317
f2eed205
L
243182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24319
24320 [BZ #14683]
24321 * elf/Makefile (tests-static): Add tst-leaks1-static.
24322 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24323 ($(objpfx)tst-leaks1-static): New rule.
24324 ($(objpfx)tst-leaks1-static-mem): Likewise.
24325 (tst-leaks1-static-ENV): New macro.
24326 * elf/dl-open.c (dl_open_worker): Check the main application
24327 only if SHARED is defined.
24328 * elf/tst-leaks1-static.c: New file.
24329
335e6931
AJ
243302012-10-20 Andreas Jaeger <aj@suse.de>
24331
24332 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24333 generic values for Linux.
24334 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24335 and declarations that are provided by <bits/fcntl-linux.h> and
24336 include <bits/fcntl-linux.h>.
24337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24339
ac5c94d3
RM
243402012-10-20 Roland McGrath <roland@hack.frob.com>
24341
24342 * io/fcntl.h: Move include of <bits/types.h> to the top and
24343 include it unconditionally.
24344
de54b33a
L
243452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24346
228cfb01
L
24347 * wcsmbs/Makefile (tests-ifunc): New variable.
24348 (tests): Add $(tests-ifunc).
24349 * wcsmbs/test-wcschr-ifunc.c: New file.
24350 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24351 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24352 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24353 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24354 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24355
69f07e5f
L
24356 * string/Makefile (tests-ifunc): New variable.
24357 (tests): Add $(tests-ifunc).
24358 * string/test-memccpy.c (TEST_NAME): New macro.
24359 * string/test-memchr.c (TEST_NAME): Likewise.
24360 * string/test-memcmp.c (TEST_NAME): Likewise.
24361 * string/test-memcpy.c (TEST_NAME): Likewise.
24362 * string/test-memmem.c (TEST_NAME): Likewise.
24363 * string/test-memmove.c (TEST_NAME): Likewise.
24364 * string/test-memset.c (TEST_NAME): Likewise.
24365 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24366 * string/test-stpcpy.c (TEST_NAME): Likewise.
24367 * string/test-stpncpy.c (TEST_NAME): Likewise.
24368 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24369 * string/test-strcasestr.c (TEST_NAME): Likewise.
24370 * string/test-strcat.c (TEST_NAME): Likewise.
24371 * string/test-strchr.c (TEST_NAME): Likewise.
24372 * string/test-strcmp.c(TEST_NAME): Likewise.
24373 * string/test-strcpy.c (TEST_NAME): Likewise.
24374 * string/test-strcspn.c (TEST_NAME): Likewise.
24375 * string/test-strlen.c (TEST_NAME): Likewise.
24376 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24377 * string/test-strncmp.c (TEST_NAME): Likewise.
24378 * string/test-strncpy.c (TEST_NAME): Likewise.
24379 * string/test-strnlen.c (TEST_NAME): Likewise.
24380 * string/test-strpbrk.c (TEST_NAME): Likewise.
24381 * string/test-strrchr.c (TEST_NAME): Likewise.
24382 * string/test-strspn.c (TEST_NAME): Likewise.
24383 * string/test-strstr.c (TEST_NAME): Likewise.
24384 * string/test-bcopy-ifunc.c: New file.
24385 * string/test-bzero-ifunc.c: Likewise.
24386 * string/test-memccpy-ifunc.c: Likewise.
24387 * string/test-memchr-ifunc.c: Likewise.
24388 * string/test-memcmp-ifunc.c: Likewise.
24389 * string/test-memcpy-ifunc.c: Likewise.
24390 * string/test-memmem-ifunc.c: Likewise.
24391 * string/test-memmove-ifunc.c: Likewise.
24392 * string/test-mempcpy-ifunc.c: Likewise.
24393 * string/test-memset-ifunc.c: Likewise.
24394 * string/test-rawmemchr-ifunc.c: Likewise.
24395 * string/test-stpcpy-ifunc.c: Likewise.
24396 * string/test-stpncpy-ifunc.c: Likewise.
24397 * string/test-strcasecmp-ifunc.c: Likewise.
24398 * string/test-strcasestr-ifunc.c: Likewise.
24399 * string/test-strcat-ifunc.c: Likewise.
24400 * string/test-strchr-ifunc.c: Likewise.
24401 * string/test-strchrnul-ifunc.c: Likewise.
24402 * string/test-strcmp-ifunc.c: Likewise.
24403 * string/test-strcpy-ifunc.c: Likewise.
24404 * string/test-strcspn-ifunc.c: Likewise.
24405 * string/test-strlen-ifunc.c: Likewise.
24406 * string/test-strncasecmp-ifunc.c: Likewise.
24407 * string/test-strncat-ifunc.c: Likewise.
24408 * string/test-strncmp-ifunc.c: Likewise.
24409 * string/test-strncpy-ifunc.c: Likewise.
24410 * string/test-strnlen-ifunc.c: Likewise.
24411 * string/test-strpbrk-ifunc.c: Likewise.
24412 * string/test-strrchr-ifunc.c: Likewise.
24413 * string/test-strspn-ifunc.c: Likewise.
24414 * string/test-strstr-ifunc.c: Likewise.
24415
de54b33a
L
24416 * debug/Makefile (tests-ifunc): New variable.
24417 (tests): Add $(tests-ifunc).
24418 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24419 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24420 * debug/test-stpcpy_chk-ifunc.c: New file.
24421 * debug/test-strcpy_chk-ifunc.c: Likewise.
24422
88481c16
SP
244232012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24424
24425 [BZ #13601]
24426 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24427 header is not read in.
24428
135948bd
JM
244292012-10-19 Joseph Myers <joseph@codesourcery.com>
24430
89f1c388
JM
24431 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24432 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24433 directly. Pass built executable to script as
24434 $(built-program-cmd).
24435 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24436 $testprogram without using LD_LIBRARY_PATH and $ldso.
24437
e40a0d21
JM
24438 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24439 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24440 $(rtld-installed-name).
24441 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24442 (rtld_installed_name): Likewise.
24443 (library_path): Likewise.
24444 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24445 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24446 $(run-program-prefix) to tst-tables.sh.
24447 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24448 it to run tst-table-from and tst-table-to.
24449 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24450 Pass it to tst-table.sh.
24451 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24452 $(run-program-prefix) to tst-gettext.sh.
24453 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24454 tst-translit.sh.
24455 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24456 tst-gettext2.sh.
24457 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24458 to run tst-gettext.
24459 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24460 to run tst-gettext2.
24461 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24462 to run tst-translit.
24463 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24464 $(run-program-prefix) to tst-mtrace.sh.
24465 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24466 to run tst-mtrace.
24467 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24468 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24469 $(rtld-installed-name).
24470 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24471 (rtld_installed_name): Likewise.
24472 (run_program_prefix): New variable. Use it to run wordexp-test.
24473
728e272a
JM
24474 * Makeconfig (ARCH): Remove all definitions.
24475 (machine): Likewise.
24476 [ARCH]: Remove conditional code.
24477 [!objdir]: Give error.
24478 [!objdir] (objpfx): Remove.
24479 [!objdir] (common-objpfx): Likewise.
24480 [!objdir] (common-objdir): Likewise.
24481 * configure.in (config_makefile): Remove. Hardcode Makefile in
24482 AC_CONFIG_FILES call.
24483 * configure: Regenerated.
24484
d528cdcf
JM
24485 [BZ #13888]
24486 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24487 or TMPDIR.
24488 (testout): Likewise.
24489
135948bd
JM
24490 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24491 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24492 $(rtld-installed-name).
24493 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24494 (rtld_installed_name): Likwise.
24495 (runit): Remove function.
24496 (run_getconf): New variable, Use it for running getconf binary.
24497
38c78296
L
244982012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24499
24500 [BZ #14716]
24501 * string/test-memmem.c (check_result): New function.
24502 (do_one_test): Use it.
24503 (check1): New function.
24504 (test_main): Use it.
24505
d077f65f
MT
245062012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24507
24508 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24509
ced52c71
JM
245102012-10-18 Joseph Myers <joseph@codesourcery.com>
24511
24512 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24513 (_G_LSEEK64): Likewise.
24514 (_G_MMAP64): Likewise.
24515 (_G_FSTAT64): Likewise.
24516 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24517 (_G_LSEEK64): Likewise.
24518 (_G_MMAP64): Likewise.
24519 (_G_FSTAT64): Likewise.
24520 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24521 unconditional. Call __mmap64 directly.
24522 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24523 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24524 __lseek64 directly.
24525 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24526 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24527 __mmap64 directly.
24528 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24529 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24530 __lseek64 directly.
24531 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24532 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24533 __lseek64 directly.
24534 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24535 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24536 __lseek64 directly.
24537 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24538 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24539 __fxstat64 directly.
24540 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24541 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24542 unconditional.
24543 (freopen64) [!_G_OPEN64]: Remove conditional code.
24544 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24545 unconditional.
24546 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24547 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24548 unconditional.
24549 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24550 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24551 unconditional.
24552 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24553 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24554 unconditional.
24555 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24556 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24557 unconditional.
24558 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24559 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24560 unconditional.
24561 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24562 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24563 unconditional.
24564 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24565
b741de23
SP
245662012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24567
24568 [BZ #12140]
24569 * manual/memory.texi (Malloc Tunable Parameters): Add note
24570 about free list pointers overwriting some perturb bytes.
24571 Wording suggested by Roland McGrath.
24572
f9b9d9c9
JM
245732012-10-17 Joseph Myers <joseph@codesourcery.com>
24574
24575 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24576 (lgamma_test): Likewise.
24577 (tgamma_test): Likewise.
24578
172a631a
FW
245792012-10-16 Florian Weimer <fweimer@redhat.com>
24580
24581 [BZ #14700]
24582 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24583 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24584
e9f37252
MK
245852012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24586
24587 * NEWS: Mention BZ #14716.
24588 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24589 when removing AVAILABLE1_USES_J macro.
24590
d394eb74
L
245912012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24592
24593 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24594 (__bswap_64): __uint64_t for unsigned 64-bit int.
24595
ca38dc17
AS
245962012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24597
24598 * include/string.h (memmem): Declare libc hidden alias.
24599 * string/memmem.c (memmem): Define libc hidden alias.
24600 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24601 __read, __close instead of open, read, close.
24602
9a387d1f
L
246032012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24604
ac49ecaf
L
24605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24606 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24607 global and hidden.
24608 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24609 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24610 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24611 Likewise.
24612 (__rawmemchr_sse2): Likewise.
24613 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24614 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24615 (__strchr_sse2): Likewise.
24616 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24617 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24618 (__strcasecmp_sse2): Likewise.
24619 (__strncasecmp_sse2): Likewise.
24620 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24621 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24622 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24623 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24624 (__strrchr_sse2): Likewise.
24625 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24626 ifunc-impl-list.c.
24627 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24628 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24629 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24630 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24631 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24632 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24633 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24634 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24635 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24636 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24637 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24638 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24639 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24640 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24641 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24642 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24643 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24644 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24645 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24646 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24647 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24648 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24649 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24650 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24651 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24652 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24653 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24654 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24655 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24656 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24657
b090e8ea
L
24658 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24659 global and hidden.
24660 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24661 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24662 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24663 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24664 Likewise.
24665 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24666 Likewise.
24667 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24668 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24669 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24670 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24671 ifunc-impl-list.c.
24672 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24673 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24674 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24675 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24676 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24677 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24678 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24679 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24680 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24681 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24682 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24683 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24684 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24685 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24686 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24687 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24688 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24689 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24690 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24691 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24692 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24693 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24694 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24695 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24696 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24697 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24698 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24699 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24700 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24701 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24702 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24703 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24704 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24705 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24706 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24707 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24708 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24709 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24710 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24711 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24712 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24713
11dd4af6
L
24714 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24715 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24716 * include/ifunc-impl-list.h: New file.
24717 * misc/ifunc-impl-list.c: Likewise.
24718 * misc/Makefile (routines): Add ifunc-impl-list.
24719 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24720 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24721 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24722 TEST_NAME]: New variables.
11dd4af6
L
24723 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24724 are defined.
24725 (test_init): Call __libc_ifunc_impl_list to initialize
24726 func_list if TEST_IFUNC and TEST_NAME are defined.
24727
9a387d1f
L
24728 * string/Makefile (strop-tests): Add bcopy and bzero.
24729 * string/test-bcopy.c: New file.
24730 * string/test-bzero.c: Likewise.
24731 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24732 defined.
24733 * string/test-memset.c: Support bzero test if TEST_BZERO is
24734 defined.
24735 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24736 __libc_memmove.
24737 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24738 __libc_memset.
24739 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24740 of memset.
24741
472371b9
JM
247422012-10-10 Joseph Myers <joseph@codesourcery.com>
24743
1e4a9536
JM
24744 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24745 * configure: Regenerated.
24746
d173d12e
JM
24747 * Makeconfig (+link-static-before-libc): Don't include
24748 $(link-static-libc).
24749
472371b9
JM
24750 * libio/libio.h (_IO_pos_t): Remove.
24751
89a3ad0b
AO
247522012-10-10 Alexandre Oliva <aoliva@redhat.com>
24753
24754 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24755 McGrath.
24756
e7451425
AO
247572012-10-10 Alexandre Oliva <aoliva@redhat.com>
24758
24759 * crypt/crypt-entry.c: Include fips-private.h.
24760 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24761 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24762 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24763 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24764
4ba74a35
AO
247652012-10-10 Alexandre Oliva <aoliva@redhat.com>
24766
24767 * crypt/crypt-private.h: Include stdbool.h.
24768 (_ufc_setup_salt_r): Return bool.
24769 * crypt/crypt-entry.c: Include errno.h.
24770 (__crypt_r): Return NULL with EINVAL for bad salt.
24771 * crypt/crypt_util.c (bad_for_salt): New.
24772 (_ufc_setup_salt_r): Check that salt is long enough and within
24773 the specified alphabet.
24774 * crypt/badsalttest.c: New file.
24775 * crypt/Makefile (tests): Add it.
24776 ($(objpfx)badsalttest): New.
24777
f96f1242
MK
247782012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24779
24780 * NEWS: Add entry for BZ #14602.
24781
0e8e0c1c
JM
247822012-10-09 Joseph Myers <joseph@codesourcery.com>
24783
24784 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24785 type-generic.
24786 * math/libm-test.inc: Update comment listing what functions and
24787 macros are tested.
24788 (isgreater_test): New function.
24789 (isgreaterequal_test): Likewise.
24790 (isless_test): Likewise.
24791 (islessequal_test): Likewise.
24792 (islessgreater_test): Likewise.
24793 (isunordered_test): Likewise.
24794 (main): Call the new functions.
24795
273edc5e
RM
247962012-10-09 Roland McGrath <roland@hack.frob.com>
24797
b8493de0
RM
24798 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24799 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24800 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24801 * sysdeps/i386/configure: Regenerated.
24802 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24803 * sysdeps/mach/configure: Regenerated.
24804 * sysdeps/mach/hurd/configure: Regenerated.
24805 * sysdeps/powerpc/configure: Regenerated.
24806 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24807 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24808 * sysdeps/s390/s390-32/configure: Regenerated.
24809 * sysdeps/s390/s390-64/configure: Regenerated.
24810 * sysdeps/sh/configure: Regenerated.
24811 * sysdeps/sparc/configure: Regenerated.
24812 * sysdeps/unix/sysv/linux/configure: Regenerated.
24813 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24814 * sysdeps/x86_64/configure: Regenerated.
24815
273edc5e
RM
24816 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24817 defined. Don't check if MAP is NULL.
24818
c8450f70
JM
248192012-10-09 Joseph Myers <joseph@codesourcery.com>
24820
24821 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24822 (_G_stat64): Likewise.
24823 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24824 (_G_stat64): Likewise.
24825 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24826 instead of struct _G_stat64.
24827 * libio/fileops.c (mmap_remap_check): Likewise.
24828 (decide_maybe_mmap): Likewise.
24829 (_IO_new_file_seekoff): Likewise.
24830 (_IO_file_stat): Likewise.
24831 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24832 _G_off64_t.
24833 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24834 instead of struct _G_stat64.
24835 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24836
57e605ba
MK
248372012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24838
24839 [BZ #14602]
24840 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24841 Replace with ...
24842 (CHECK_EOL): New macro.
24843 (two_way_short_needle): Check beginning of haystack for EOL. Use
24844 CHECK_EOL.
24845 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24846 Replace with CHECK_EOL.
24847 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24848 Replace with CHECK_EOL.
24849
ef1bb361
JM
248502012-10-08 Joseph Myers <joseph@codesourcery.com>
24851
24852 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24853 type-generic.
24854 * math/libm-test.inc: Update comment listing what functions and
24855 macros are tested.
24856 (finite_test): New function.
24857 (isinf_test): Likewise.
24858 (isnan_test): Likewise.
24859 (fpclassify_test): Test subnormal input.
24860 (isfinite_test): Likewise.
24861 (isnormal_test): Likewise.
24862 (main): Call the new functions.
24863
55f11534
JN
248642012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24865
24866 [BZ #14660]
24867 * Makerules (%.dynsym): Force C locale when running
24868 $(OBJDUMP) --dynamic-syms.
24869
1ab29350
AS
248702012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24871
24872 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24873 <stdint.h>.
24874
f1ecb7ef
DM
248752012-10-06 David S. Miller <davem@davemloft.net>
24876
24877 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24878 upper 32-bits of the length value in %o2 since we use branch-on-register
24879 tests which consider the entire 64-bit register.
24880
5d41d91a
L
248812012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24882
24883 * string/test-strstr.c (check2): Add a test for page boundary.
24884
3baddb72
DM
248852012-10-05 David S. Miller <davem@davemloft.net>
24886
24887 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24888 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24889 file.
24890 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24891 sysdep_routines.
24892 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24893 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24894 and bzero when HWCAP_SPARC_CRYPTO is present.
24895
9cee5585
L
248962012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24897
d7e0dab9
L
24898 [BZ #14602]
24899 * string/test-strstr.c (check2): New function.
24900 (test_main): Call check2.
24901
03759f47
L
24902 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24903 and bug-strchr1.
24904 * string/bug-strcasestr1.c (do_test): Moved to ...
24905 * string/test-strcasestr.c (check1): Here. New function.
24906 (do_one_test): Break out result checking code into ...
24907 (check_result): This. New function.
24908 (do_one_test): Call check_result.
24909 (test_main): Call check1.
24910 * string/bug-strchr1.c (do_test): Moved to ...
24911 * string/test-strchr.c (check1): Here. New function.
24912 (do_one_test): Break out result checking code into ...
24913 (check_result): This. New function.
24914 (do_one_test): Call check_result.
24915 (test_main): Call check1.
24916 * string/bug-strstr1.c (main): Moved to ...
046f153e 24917 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24918 (do_one_test): Break out result checking code into ...
24919 (check_result): This. New function.
24920 (do_one_test): Call check_result.
24921 (test_main): Call check1.
24922 * string/bug-strcasestr1.c: Removed.
24923 * string/bug-strchr1.c: Likewise.
24924 * string/bug-strstr1.c: Likewise.
24925
53cea63e
L
24926 * elf/Makefile (dl-routines): Add hwcaps.
24927 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24928 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24929 (_dl_important_hwcaps): Moved to ...
24930 * elf/dl-hwcaps.c: Here. New file.
24931 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24932
9cee5585 24933 [BZ #14557]
bb859b06
L
24934 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24935 if IS_IN_rtld isn't defined.
24936
9cee5585
L
24937 * elf/dl-support.c (_dl_sysinfo_map): New.
24938 Include "get-dynamic-info.h" and "setup-vdso.h".
24939 (_dl_non_dynamic_init): Call setup_vdso.
24940 * elf/dynamic-link.h: Don't include <assert.h>.
24941 (elf_get_dynamic_info): Moved to ...
24942 * elf/get-dynamic-info.h: Here. New file.
24943 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24944 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24945 * elf/setup-vdso.h: Here. New file.
24946 * elf/rtld.c: Include "setup-vdso.h".
24947 (dl_main): Call setup_vdso.
24948
23c31b76
JM
249492012-10-05 Joseph Myers <joseph@codesourcery.com>
24950
28234b07
JM
24951 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24952 creal in comment listing functions tested. List finite, isinf,
24953 isnan, isless, islessequal, isgreater, isgreaterequal,
24954 islessgreater, isunordered, lgamma_r and pow10 as functions and
24955 macros not tested. Mention which functions not tested are aliases
24956 for other functions. Fix typo. Note that signs of NaNs are not
24957 tested.
24958
23c31b76
JM
24959 * scripts/config.guess: Update from config.git.
24960 * scripts/config.sub: Likewise.
24961
9043e228
RM
249622012-10-04 Roland McGrath <roland@hack.frob.com>
24963
24964 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24965 * misc/madvise.c (madvise): Renamed to __madvise.
24966 Make madvise a weak alias.
24967 * include/sys/mman.h: Declare __madvise.
24968 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24969 * sysdeps/unix/syscalls.list
24970 (madvise): Make __madvise the strong name, and madvise a weak alias.
24971 * sysdeps/unix/sysv/linux/syscalls.list
24972 (madvise, mmap): Remove redundant entries.
24973 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24974 * malloc/malloc.c (mtrim): Likewise.
24975 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24976
f57f8055
RM
249772012-10-03 Roland McGrath <roland@hack.frob.com>
24978
24979 * sysdeps/mach/hurd/dl-cache.c: File removed.
24980 * config.h.in (USE_LDCONFIG): New #undef.
24981 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24982 * configure: Regenerated.
24983 * elf/Makefile (dl-routines): Add dl-cache only under
24984 [$(use-ldconfig) = yes].
24985 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24986 cache on [USE_LDCONFIG].
24987 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24988 [USE_LDCONFIG].
24989 * elf/rtld.c (dl_main): Likewise.
24990
5bb0c10a
PT
249912012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24992
24993 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24994 _SC_LEVEL4_CACHE_LINESIZE.
24995
010188c6
RM
249962012-10-03 Roland McGrath <roland@hack.frob.com>
24997
24998 * sysdeps/unix/bsd/confstr.h: File removed.
24999
b6c5ec07
AO
250002012-10-02 Alexandre Oliva <aoliva@redhat.com>
25001
25002 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25003 sys/sdt-config.h.
25004
408223d4
RM
250052012-10-02 Roland McGrath <roland@hack.frob.com>
25006
25007 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25008 Make 'mapoff' field ElfW(Off) rather than off_t.
25009
bb9510dc
DL
250102012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25011
fc997c6e
DL
25012 * nscd/Makefile: Remove nscd-cflags and all its users.
25013 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25014 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25015
bb9510dc
DL
25016 [BZ #10631]
25017 * malloc.c (malloc_printerr): Clarify error message.
25018
05699367
L
250192012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25020
25021 [BZ #14648]
25022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25023 Set bit_FMA_Usable if FMA is supported.
25024 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25025 macro.
25026 (bit_FMA4_Usable): Updated.
25027 (index_FMA_Usable): New macro.
25028 (CPUID_FMA): Likewise
25029 (HAS_FMA): Defined with bit_FMA_Usable.
25030
51367701
RM
250312012-10-01 Roland McGrath <roland@hack.frob.com>
25032
25033 * bits/types.h (__swblk_t): Type removed.
25034 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25035 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25037 (__SWBLK_T_TYPE): Likewise.
25038 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25039 (__SWBLK_T_TYPE): Likewise.
25040 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25041 (__SWBLK_T_TYPE): Likewise.
25042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25043 (__SWBLK_T_TYPE): Likewise.
25044
4d57bf63 250452012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25046 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25047
25048 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25049 (xdr_mapname): Use YPMAXMAP as maxsize.
25050 (xdr_peername): Use YPMAXPEER as maxsize.
25051 (xdr_keydat): Use YPAXRECORD as maxsize.
25052 (xdr_valdat): Use YPMAXRECORD as maxsize.
25053
93c65d43
RM
250542012-10-01 Roland McGrath <roland@hack.frob.com>
25055
497a03d6
RM
25056 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25057
93c65d43
RM
25058 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25059 * csu/init-first.c: ... here.
25060 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25061 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25062 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25063 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25064 * sysdeps/i386/init-first.c: File removed.
25065 * sysdeps/sh/init-first.c: File removed.
25066
bec749fd
JM
250672012-10-01 Joseph Myers <joseph@codesourcery.com>
25068
25069 [BZ #14645]
25070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25071 if x * y might underflow to zero and z is zero.
25072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25073 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25074 * math/libm-test.inc (min_subnorm_value): New variable.
25075 (fma_test): Add more tests.
25076 (fma_test_towardzero): Likewise.
25077 (fma_test_downward): Likewise
25078 (fma_test_upward): Likewise.
25079 (initialize): Set min_subnorm_value.
25080
8ec5b013
JM
250812012-09-29 Joseph Myers <joseph@codesourcery.com>
25082
25083 [BZ #14638]
25084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25085 0 + 0.
25086 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25087 mode for addition resulting in exact zero.
25088 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25090 exact 0 + 0.
25091 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25093 * math/libm-test.inc (fma_test): Add more tests.
25094 (fma_test_towardzero): New function.
25095 (fma_test_downward): Likewise.
25096 (fma_test_upward): Likewise.
25097 (main): Call the new functions.
25098
b1fa802e
DM
250992012-09-28 David S. Miller <davem@davemloft.net>
25100
25101 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25102
d3b9fd9e
RM
251032012-09-28 Roland McGrath <roland@hack.frob.com>
25104
ea4d37b3
RM
25105 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25106 instead of SIGALRM.
25107
ac51c949
RM
25108 * sysdeps/gnu/_G_config.h: Moved to ...
25109 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25110 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25111 * sysdeps/generic/_G_config.h: ... here.
25112
28c195f7
RM
25113 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25114
848917f9
RM
25115 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25116
6bacf05b
RM
25117 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25118 Conditionalize target on [libnss_test1.so-version].
25119
91363dbb
RM
25120 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25121
cc87f7d8
RM
25122 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25123 (elfobjdir): Move out of conditionals.
25124
b1c608fe
RM
25125 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25126 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25127 (__nss_lookup_function): Conditionalize label remove_from_tree on
25128 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25129
1d9a6d96
DM
251302012-09-28 David S. Miller <davem@davemloft.net>
25131
25132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25133 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25134 file.
25135 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25136 sysdep_routines.
25137 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25139 when HWCAP_SPARC_CRYPTO is present.
25140
72581615
PT
251412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25142
25143 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25144
715a900c
JL
251452012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25146
25147 [BZ #6530]
25148 * stdio-common/vfprintf.c (process_string_arg): Revert
25149 2000-07-22 change.
25150
251512011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25152
25153 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25154 for testcase.
25155 * stdio-common/tst-sprintf.c: Include <locale.h>
25156 (main): Test sprintf's handling of incomplete multibyte
25157 characters.
25158
9bac1d86
L
251592012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25160
25161 * elf/dl-runtime.c (VERSYMIDX): Removed.
25162 * elf/dl-version.c (VERSYMIDX): Likewise.
25163 * elf/do-rel.h (VERSYMIDX): Likewise.
25164 (VALIDX): Likewise.
25165 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25166 * elf/rtld.c (VALIDX): Likewise.
25167 (ADDRIDX): Likewise.
9bac1d86
L
25168 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25169 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25170 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25171 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25172 (VALIDX): Likewise.
25173 (ADDRIDX): Likewise.
9bac1d86 25174
b31606c0
PT
251752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25176
25177 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25178
11541177
JL
251792012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25180
25181 [BZ #11438]
25182 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25183 to global scope.
25184 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25185 addresses are in the same scope as 192.0.2/24.
25186 * posix/gai.conf: Document new scope table defaults.
25187
adb26fae
SP
251882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25189
25190 [BZ #5298]
25191 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25192 for ftell. Compute offsets from write pointers instead.
25193 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25194
4573c6b0
SP
251952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25196
25197 [BZ #14543]
25198 * libio/Makefile (tests): New test case tst-fseek.
25199 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25200 combination works in wide mode.
25201 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25202 state when the external buffer state changes.
25203
aa9bbfe6
DM
252042012-09-27 David S. Miller <davem@davemloft.net>
25205
25206 [BZ #14376]
25207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25208 pass reloc->r_addend in as the 'high' argument to
25209 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25210
784421e7
DM
25211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25212
c39bc8b8
PT
252132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25214
25215 * rt/tst-aio2.c: Include <pthread.h>.
25216 * rt/tst-aio3.c: Likewise.
25217
1ccc2399
SE
252182012-09-27 Steve Ellcey <sellcey@mips.com>
25219
25220 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25221
31ed4153
L
252222012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25223
25f5f885
L
25224 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25225 contents on [SHARED].
31ed4153 25226
b7bfe116
MP
252272012-09-26 Marek Polacek <polacek@redhat.com>
25228
25229 [BZ #14530]
25230 [BZ #13741]
25231 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25232 for C++ and GCC <4.3 as well as for non GCC compilers.
25233
43c4edba
MT
252342012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25235
25236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25237
6a1bf82f
RM
252382012-09-25 Roland McGrath <roland@hack.frob.com>
25239
25240 * Makefile.in (all, install): Declare with .PHONY.
25241 Reported by Michael Hope <michael.hope@linaro.org>.
25242
8ad11b9a
TMQMF
252432012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25244
25245 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25246 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25247 system header.
25248 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25249 Likewise.
25250 (sydep_routines): Add the new and the internal functions.
25251 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25252 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25254 (GLIBC_2.17): Add the new function.
25255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25256 (GLIBC_2.17): Likewise.
25257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25258 (GLIBC_2.17): Likewise.
25259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25260 (GLIBC_2.17): Likewise.
25261 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25262
7e2fca8d
AM
252632012-09-25 Alan Modra <amodra@gmail.com>
25264
25265 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25266 Add release barrier before setting once_control to say
25267 initialisation is done. Add hints on lwarx. Use macro in
25268 place of isync.
25269 (clear_once_control): Add release barrier.
25270
b87c4b24
JM
252712012-09-25 Joseph Myers <joseph@codesourcery.com>
25272
d032e0d2
JM
25273 [BZ #13629]
25274 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25275 specially.
25276 * math/s_clog10.c (__clog10): Likewise.
25277 * math/s_clog10f.c (__clog10f): Likewise.
25278 * math/s_clog10l.c (__clog10l): Likewise.
25279 * math/s_clogf.c (__clogf): Likewise.
25280 * math/s_clogl.c (__clogl): Likewise.
25281 * math/Makefile (libm-calls): Add x2y2m1.
25282 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25283 (__x2y2m1): Likewise.
25284 (__x2y2m1l): Likewise.
25285 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25286 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25287 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25288 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25289 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25290 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25291 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25292 * sysdeps/i386/fpu/libm-test-ulps: Update.
25293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25294
b87c4b24
JM
25295 [BZ #14621]
25296 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25297 int as type of variable DEPTH.
25298 (glob): Use size_t instead of int as type of variables NEWCOUNT
25299 and OLD_PATHC.
25300
6d3bf199
LD
253012012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25302
22bf5c17
LD
25303 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25304 Add s_sincosf-sse2.
25305 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25306 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25307 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25308 macros for using routine as __sincosf_ia32.
25309 Use macro for function declaration and weak_alias.
25310 * sysdeps/i386/fpu/libm-test-ulps: Update.
25311
25312 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25314
25315 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25316 subnormal argument.
25317 * math/s_cexpf.c (__cexpf): Likewise.
25318 * math/s_csinf.c (__csinf): Likewise.
25319 * math/s_csinhf.c (__csinhf): Likewise.
25320 * math/s_ctanf.c (__ctanf): Likewise.
25321 * math/s_ctanhf.c (__ctanhf): Likewise.
25322 * math/s_ccosh.c (__ccoshf): Likewise.
25323 * math/s_cexp.c (__cexpl): Likewise.
25324 * math/s_csin.c (__csin): Likewise.
25325 * math/s_csinh.c (__csinh): Likewise.
25326 * math/s_ctan.c (__ctan): Likewise.
25327 * math/s_ctanh.c (ctanh): Likewise.
25328 * math/s_ccoshl.c (__ccoshl): Likewise.
25329 * math/s_cexpl.c (__cexpl): Likewise.
25330 * math/s_csinl.c (__csinl): Likewise.
25331 * math/s_csinhl.c (__csinhl): Likewise.
25332 * math/s_ctanl.c (__ctanl): Likewise.
25333 * math/s_ctanhl.c (__ctanhl): Likewise.
25334
203e5603
JM
253352012-09-25 Joseph Myers <joseph@codesourcery.com>
25336
25337 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25338 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25339 (_IO_off_t): Define to __off_t, not _G_off_t.
25340 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25341 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25342 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25343 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25344 type of __dummy and __dummy2 fields.
25345 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25346 (_G_ssize_t): Likewise.
25347 (_G_off_t): Likewise.
25348 (_G_pid_t): Likewise.
25349 (_G_uid_t): Likewise.
25350 (_G_wchar_t): Likewise.
25351 (_G_wint_t): Likewise.
25352 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25353 (_G_ssize_t): Likewise.
25354 (_G_off_t): Likewise.
25355 (_G_pid_t): Likewise.
25356 (_G_uid_t): Likewise.
25357 (_G_wchar_t): Likewise.
25358 (_G_wint_t): Likewise.
25359 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25360 (_G_ssize_t): Likewise.
25361 (_G_off_t): Likewise.
25362 (_G_pid_t): Likewise.
25363 (_G_uid_t): Likewise.
25364 (_G_wchar_t): Likewise.
25365 (_G_wint_t): Likewise.
25366
9fab36eb
SP
253672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25368
25369 * malloc/arena.c: Include malloc-sysdep.h.
25370 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25371 is sufficient to shrink the heap or an unmap is needed.
25372 * sysdeps/generic/malloc-sysdep.h: New file. Define
25373 new function check_may_shrink_heap.
25374 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25375 new function check_may_shrink_heap.
25376
2b4f00d1
SP
253772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25378
25379 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25380 comments.
25381
9a9028b1
DL
253822012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25383
57c69bef
DL
25384 * catgets/test-gencat.sh: Add "set -e".
25385 * elf/tst-pathopt.sh: Likewise.
25386 * grp/tst_fgetgrent.sh: Likewise.
25387 * iconvdata/run-iconv-test.sh: Likewise.
25388 * intl/tst-gettext.sh: Likewise.
25389 * intl/tst-gettext2.sh: Likewise.
25390 * intl/tst-gettext4.sh: Likewise.
25391 * intl/tst-gettext6.sh: Likewise.
25392 * intl/tst-translit.sh: Likewise.
25393 * io/ftwtest-sh: Likewise.
25394 * libio/test-freopen.sh: Likewise.
25395 * malloc/tst-mtrace.sh: Likewise.
25396 * posix/globtest.sh: Likewise.
25397 * posix/tst-getconf.sh: Likewise.
25398 * posix/wordexp-tst.sh: Likewise.
25399 * stdio-common/tst-printf.sh: Likewise.
25400 * stdio-common/tst-unbputc.sh: Likewise.
25401 * stdlib/tst-fmtmsg.sh: Likewise.
25402 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25403 * catgets/Makefile: Do not specify -e option when running
25404 testsuite shell scripts.
25405 * elf/Makefile: Likewise.
25406 * grp/Makefile: Likewise.
25407 * iconvdata/Makefile: Likewise.
25408 * intl/Makefile: Likewise.
25409 * io/Makefile: Likewise.
25410 * libio/Makefile: Likewise.
25411 * malloc/Makefile: Likewise.
25412 * posix/Makefile: Likewise.
25413 * stdio-common/Makefile: Likewise.
25414 * stdlib/Makefile: Likewise.
25415 * sysdeps/x86_64/Makefile: Likewise.
25416
9a9028b1
DL
25417 * io/ftwtest-sh: Add copyright header.
25418 * posix/globtest.sh: Likewise.
25419 * posix/tst-getconf.sh: Likewise.
25420 * posix/wordexp-tst.sh: Likewise.
25421 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25422
ced6f16e
L
254232012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25424
94b32c39
L
25425 [BZ #13679]
25426 * Makeconfig (+link): Defined as $(+link-static) if
25427 $(build-shared) isn't yes.
25428 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25429 isn't yes.
25430 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25431
189e935b
L
25432 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25433
ced6f16e
L
25434 [BZ #14562]
25435 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25436 new chunk size with MALLOC_ALIGN_MASK.
25437
a9f8e53a
JM
254382012-09-24 Joseph Myers <joseph@codesourcery.com>
25439
25440 [BZ #5044]
25441 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25442 <rounding-mode.h>.
25443 (__printf_fphex): Determine rounding using get_rounding_mode and
25444 round_away.
25445 * stdio-common/tst-printf-round.c (struct hex_test): New
25446 structure.
25447 (hex_tests): New variable.
25448 (test_hex_in_one_mode): New function.
25449 (do_test): Also run tests for hex float output.
25450
43153109
JM
254512012-09-21 Joseph Myers <joseph@codesourcery.com>
25452
25453 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25454 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25455 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25456 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25457 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25458 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25459 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25460 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25461
8a26625d
JM
254622012-09-20 Joseph Myers <joseph@codesourcery.com>
25463
25464 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25465 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25466 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25467 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25468
f3fd569c
DL
254692012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25470
25471 [BZ #14579]
25472 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25473 mode only.
25474 * elf/tst-rtld-load-self.sh: New test.
25475 * elf/Makefile: Run it.
25476
63bbedd4
JM
254772012-09-18 Joseph Myers <joseph@codesourcery.com>
25478
25479 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25480 (tst-writev-ENV): Remove.
25481 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25482
626f8b6a
CM
254832012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25484
25485 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25486
b7aaa4d6
JM
254872012-09-17 Joseph Myers <joseph@codesourcery.com>
25488
25489 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25490 unconditional.
25491 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25492 Likewise.
25493 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25494 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25495 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25496 Likewise.
25497
65513990
L
254982012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25499
25500 [BZ #14587]
25501 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25502 * config.make.in (have-cpp-asm-debuginfo): Removed.
25503 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25504 * configure: Regenerated.
25505
784761be
JM
255062012-09-14 Joseph Myers <joseph@codesourcery.com>
25507
25508 [BZ #5044]
25509 * stdio-common/printf_fp.c: Include <stdbool.h> and
25510 <rounding-mode.h>.
25511 (___printf_fp): Determine rounding using get_rounding_mode and
25512 round_away.
25513 * stdio-common/tst-printf-round.c: New file.
25514 * stdio-common/Makefile (tests): Add tst-printf-round.
25515 (link-libm): New variable.
25516 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25517
9503345f
L
255182012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25519
25520 [BZ #14576]
25521 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25522 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25523 Likewise.
25524 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25525 Likewise.
25526
ad35fc00
JM
255272012-09-13 Joseph Myers <joseph@codesourcery.com>
25528
25529 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25530 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25531 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25532 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25533
6c9b0f68
JM
255342012-09-12 Joseph Myers <joseph@codesourcery.com>
25535
25536 [BZ #14518]
25537 * include/rounding-mode.h: New file.
25538 * sysdeps/generic/get-rounding-mode.h: Likewise.
25539 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25540 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25541 (MAX_VALUE): New macro.
25542 (MIN_VALUE): Likewise.
25543 (overflow_value): New function.
25544 (underflow_value): Likewise.
25545 (round_and_return): Use overflow_value and underflow_value to
25546 determine return values in overflow and underflow cases. Use
25547 round_away to determine rounding depending on rounding mode.
25548 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25549 determine return values in overflow and underflow cases.
25550 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25551 (struct test_results): New structure.
25552 (struct test): Use struct test_results to store expected results
25553 for all rounding modes.
25554 (TEST): Include expected results for all rounding modes.
25555 (test_in_one_mode): New function.
25556 (do_test): Use test_in_one_mode to compute and check results.
25557 Check results for all rounding modes.
25558 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25559 $(link-libm).
25560
19fcedd5
AM
255612012-12-09 Allan McRae <allan@archlinux.org>
25562
1e9d84cd 25563 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25564
8bbfd2f1
JM
255652012-09-11 Joseph Myers <joseph@codesourcery.com>
25566
25567 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25568 (_G_int32_t): Likewise.
25569 (_G_uint16_t): Likewise.
25570 (_G_uint32_t): Likewise.
25571 (_G_HAVE_BOOL): Likewise.
25572 (_G_HAVE_ATEXIT): Likewise.
25573 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25574 (_G_HAVE_IO_FILE_OPEN): Likewise.
25575 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25576 (_G_int32_t): Likewise.
25577 (_G_uint16_t): Likewise.
25578 (_G_uint32_t): Likewise.
25579 (_G_HAVE_BOOL): Likewise.
25580 (_G_HAVE_ATEXIT): Likewise.
25581 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25582 (_G_HAVE_IO_FILE_OPEN): Likewise.
25583 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25584 (_G_int32_t): Likewise.
25585 (_G_uint16_t): Likewise.
25586 (_G_uint32_t): Likewise.
25587 (_G_HAVE_BOOL): Likewise.
25588 (_G_HAVE_ATEXIT): Likewise.
25589 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25590 (_G_HAVE_IO_FILE_OPEN): Likewise.
25591
b1dc5912
L
255922012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25593
25594 * csu/libc-tls.c: Update copyright years.
25595
0e886ef9
JM
255962012-09-10 Joseph Myers <joseph@codesourcery.com>
25597
28361c5e
JM
25598 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25599 [!_G_USING_THUNKS]: Remove conditional code.
25600 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25601 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25602
0e886ef9
JM
25603 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25604 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25605 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25606 (_G_VTABLE_LABEL_PREFIX): Likewise.
25607 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25608 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25609 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25610 (_G_VTABLE_LABEL_PREFIX): Likewise.
25611 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25612 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25613 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25614 (_G_VTABLE_LABEL_PREFIX): Likewise.
25615 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25616
bcba7aa2
L
256172012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25618
25619 * libio/Makefile: Include ../Makeconfig before tests.
25620 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25621 only if $(build-shared) is yes.
25622
06585ee8
L
25623 * iconv/gconv_db.c: Update copyright years.
25624
80ccd52c
LD
256252012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25626
25627 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25628 unwind info if defined PIC. Fix special cases description.
25629 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25630
25631 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25632 DP_HI_MASK entry.
25633 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25634
691bc9c1
L
256352012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25636
3d9b46b3
L
25637 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25638
de2139a9
L
25639 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25640 is NULL.
25641
5ca78dd0
L
25642 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25643 (LDLIBS-tst-chk4): This.
25644 (LDFLAGS-tst-chk5): Renamed to ...
25645 (LDLIBS-tst-chk5): This.
25646 (LDFLAGS-tst-chk6): Renamed to ...
25647 (LDLIBS-tst-chk6): This.
25648 (LDFLAGS-tst-lfschk4): Renamed to ...
25649 (LDLIBS-tst-lfschk4): This.
25650 (LDFLAGS-tst-lfschk5): Renamed to ...
25651 (LDLIBS-tst-lfschk5): This.
25652 (LDFLAGS-tst-lfschk6): Renamed to ...
25653 (LDLIBS-tst-lfschk6): This.
25654
691bc9c1
L
25655 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25656 on $(common-objpfx)soversions.mk.
25657
65cafb1c
JM
256582012-09-07 Joseph Myers <joseph@codesourcery.com>
25659
25660 [BZ #10014]
25661 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25662 example host name.
25663
c78ab094
SP
256642012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25665
25666 * malloc/arena.c (arena_get_retry): New function that gets
25667 another arena for the caller to try its request on.
25668 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25669 current arena cannot fulfill the request.
25670 (__libc_memalign): Likewise.
25671 (__libc_memalign): Likewise.
25672 (__libc_pvalloc): Likewise.
25673 (__libc_calloc): Likewise.
25674
01f49f59
JT
256752012-09-05 John Tobey <john.tobey@gmail.com>
25676
25677 [BZ #13542]
25678 * manual/arith.texi (Operations on Complex): Fix description
25679 of carg branch cut.
25680
4c23fed5
JM
256812012-09-06 Joseph Myers <joseph@codesourcery.com>
25682
1d3c8572
JM
25683 [BZ #10014]
25684 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25685 host name.
25686
4c23fed5
JM
25687 [BZ #10038]
25688 * manual/memory.texi (Memory): Make order of menu items match
25689 order of sections.
25690
04570aaa
L
256912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25692
25693 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25694 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25695 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25696
b80af2f4
L
256972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25698
25699 * csu/libc-tls.c (static_dtv): Renamed to ...
25700 (_dl_static_dtv): This. Make it global.
25701 (_dl_initial_dtv): Removed.
25702 (__libc_setup_tls): Updated.
25703 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25704 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25705 DL_INITIAL_DTV.
25706
2abe9f15
PM
257072012-09-06 Petr Machata <pmachata@redhat.com>
25708
25709 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25710 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25711 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25712 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25713
0948c3af
L
257142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25715
25716 [BZ #14545]
25717 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25718 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25719 freeing dtv[-1].
25720
a5055ad1
L
257212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25722
25723 [BZ #14544]
25724 * Makeconfig (link-static-before-libc): Replace $(+prector)
25725 with $(+prectorT).
25726 (link-static-after-libc): Replace $(+postctor) with
25727 $(+postctorT).
25728 (link-bounded): Replace $(+prector)/$(+postctor) with
25729 $(+prectorT)/$(+postctorT).
25730 (+prectorT): New macro.
25731 (+postctorT): Likewise.
25732
ed8c2ecd
JM
257332012-09-06 Joseph Myers <joseph@codesourcery.com>
25734
25735 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25736 (round_str): Handle values above the maximum for IBM long double
25737 as inexact.
25738 * stdlib/tst-strtod-round.c (tests): Regenerated.
25739
14c996c8
AK
257402012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25741
25742 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25743 assembler flag.
25744 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25745 zarch_nohighgprs around the zarch optimized routines.
25746 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25747 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25748 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25749 for zarch.
25750
430d6ce6
DM
257512012-09-05 David S. Miller <davem@davemloft.net>
25752
25753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25754
57f41c40
AS
25755 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25756 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25757 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25758 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25759 entries.
25760
24d4e01b
AO
257612012-09-05 Alexandre Oliva <aoliva@redhat.com>
25762
25763 * malloc/arena.c: Fold copyright years.
25764 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25765
61d58174
AO
257662012-09-05 Alexandre Oliva <aoliva@redhat.com>
25767
25768 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25769
20196a5e
AO
257702012-09-05 Alexandre Oliva <aoliva@redhat.com>
25771
25772 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25773
5c447383
AO
257742012-09-05 Alexandre Oliva <aoliva@redhat.com>
25775
25776 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25777 change internal state upon failure.
25778
fad64255
AO
257792012-09-05 Alexandre Oliva <aoliva@redhat.com>
25780
25781 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25782 * malloc/memusage.c (mmap): Likewise.
25783 (mmap64, mremap): Likewise. Adjust name in comment.
25784
1ffb8c90
SP
257852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25786
25787 * libio/fileops.c: Fix typos in comments.
25788 * libio/oldfileops.c: Likewise.
25789 * libio/wfileops.c: Likewise.
25790
6ef9cc37
SP
257912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25792
25793 [BZ #1349]
25794 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25795 (tst-malloc-usable-ENV): Set environment for test case.
25796 * malloc/hooks.c (malloc_check_get_size): New function to get
25797 requested size.
25798 * malloc/malloc.c (musable): Use malloc_check_get_size.
25799 * malloc/tst-malloc-usable.c: New test case.
25800
4d038ae3
AS
258012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25802
25803 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25804
c4e85184
AM
258052012-09-05 Allan McRae <allan@archlinux.org>
25806
b9dafc56 25807 [BZ #13966]
c4e85184
AM
25808 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25809 determine header location.
25810 * configure: Regenerated.
25811
e1343020
AS
258122012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25813
25814 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25815 float format.
25816 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25817 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25818 format.
e1343020
AS
25819 (test): Regenerate.
25820
0a9f1987
DM
258212012-09-04 David S. Miller <davem@davemloft.net>
25822
25823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25825 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25826
29237804
FW
258272012-09-04 Florian Weimer <fweimer@redhat.com>
25828
25829 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25830 failures.
25831
edb3cb88
FW
25832 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25833
60160d83
JM
258342012-09-04 Joseph Myers <joseph@codesourcery.com>
25835
25836 [BZ #9914]
25837 * libio/iogetdelim.c: Include <limits.h>.
25838 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25839 + len + 1 would overflow.
25840
bcd6c8dc
AJ
258412012-09-03 Andreas Jaeger <aj@suse.de>
25842
25843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25844 * sysdeps/i386/fpu/libm-test-ulps: Update.
25845
4ffffbd2
LD
258462012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25847
25848 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25849 Add s_sinf-sse2, s_conf-sse2.
25850
25851 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25852 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25853 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25854 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25855
25856 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25857 for using routine as __sinf_ia32.
25858 Use macro for function declaration and weak_alias.
25859 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25860 for using routine as __cosf_ia32.
25861 Use macro for function declaration and weak_alias.
25862
25863 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25864 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25865
25866 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25867 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25869
25870 * math/libm-test.inc (cos_test): Add more test cases.
25871 (sin_test): Likewise.
25872 (sincos_test): Likewise.
25873
511fa286
AK
258742012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25875
25876 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25877 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25878 hidden.
25879 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25880
5f30cfec
L
258812012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25882
25883 [BZ #14538]
25884 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25885 first element of the GOT.
25886 (elf_machine_load_address): Return the difference between
25887 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25888
0786794f
AM
258892012-09-01 Allan McRae <allan@archlinux.org>
25890
5f30cfec
L
25891 [BZ #13412]
25892 * configure.in (AWK): Require gawk version 3.0 or later.
25893 * configure: Regenerated.
0786794f 25894
26889eac
JM
258952012-09-01 Joseph Myers <joseph@codesourcery.com>
25896
25897 * sysdeps/unix/sysv/linux/kernel-features.h
25898 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25899 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25900 [__NR_clock_getres]: Make code unconditional.
25901 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25902 (clock_getcpuclockid): Remove code left unreachable by removal of
25903 conditionals.
25904 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25905 code unconditional.
25906 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25907 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25908 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25909 Make code unconditional.
25910 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25911 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25912 * sysdeps/unix/sysv/linux/clock_settime.c
25913 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25914 conditional code.
25915 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25916 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25917
d22e28b0
L
259182012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25919
25920 [BZ #14476]
25921 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25922 scripts/test-installation.pl.
25923
25924 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25925 and $ld_so_version if it is set.
25926
050af9c4
SP
259272012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25928
25929 [BZ #14516]
25930 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25931 failure if reading from procfs failed.
25932 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25933
ad845c0b
JM
259342012-08-27 Joseph Myers <joseph@codesourcery.com>
25935
25936 * sysdeps/unix/sysv/linux/kernel-features.h
25937 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25938 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25939 Remove conditional code.
25940 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25941 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25942 Remove conditional code.
25943 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25944 * sysdeps/unix/sysv/linux/i386/fxstat.c
25945 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25947 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25948 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25949 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25950 * sysdeps/unix/sysv/linux/i386/lxstat.c
25951 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25953 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25954 Remove conditional code.
25955 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25956 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25957 Remove conditional code.
25958 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25959 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25960 <kernel-features.h>.
25961 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25962 Remove.
25963 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25964 Remove conditional code.
25965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25966 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25967 Remove conditional.
25968
5dbf56af
MF
259692012-08-27 Mike Frysinger <vapier@gentoo.org>
25970
25971 [BZ #5400]
25972 * NEWS: Add fixed bug number.
25973
d6e70f43
JM
259742012-08-27 Joseph Myers <joseph@codesourcery.com>
25975
7efb4737
JM
25976 [BZ #14519]
25977 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25978 underflowing exponent in case of negative sign.
25979 * stdlib/tst-strtod-round-data: Add more tests.
25980 * stdlib/tst-strtod-round.c (tests): Regenerated.
25981
af92131a
JM
25982 [BZ #3479]
25983 * stdlib/strtod_l.c (NDIG): Remove.
25984 (HEXNDIG): Likewise.
25985 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25986 smallest representable value.
25987 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25988 lie within an exact representation of 1/2 ulp of the result.
25989 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25990 unconditionally.
25991 (TENS_P9_IDX): Define unconditionally.
25992 (TENS_P9_SIZE): Likewise.
25993 (TENS_P10_IDX): Likewise.
25994 (TENS_P10_SIZE): Likewise.
25995 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25996 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25997 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25998 entries for 10^2^13 and 10^2^14.
25999 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26000 (TENS_P13_IDX): Define.
26001 (TENS_P13_SIZE): Likewise.
26002 (TENS_P14_IDX): Likewise.
26003 (TENS_P14_SIZE): Likewise.
26004 (_fpioconst_pow10): Change array size to
26005 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26006 unconditional.
26007 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26008 1024]: Add entries for 10^2^13 and 10^2^14.
26009 [LAST_POW10 > _LAST_POW10]: Remove #error.
26010 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26011 (_fpioconst_pow10): Change array size to
26012 FPIOCONST_POW10_ARRAY_SIZE.
26013 * stdlib/gen-fpioconst.c: New file.
26014 * stdlib/gen-tst-strtod-round.c: Likewise.
26015 * stdlib/tst-strtod-round-data: Likewise.
26016 * stdlib/tst-strtod-round.c: Likewise.
26017 * stdlib/Makefile (tests): Add tst-strtod-round.
26018
d6e70f43
JM
26019 [BZ #14459]
26020 * stdlib/strtod_l.c: Include <stdint.h>.
26021 (NDEBUG): Do not define.
26022 (round_and_return): Change EXPONENT parameter to type intmax_t.
26023 Rearrange calculations to avoid internal overflow possibilities.
26024 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26025 Rearrange calculations to avoid internal overflow possibilities.
26026 Assert that number fits inside MPNSIZE limbs.
26027 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26028 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26029 calculations and add assertions to avoid internal overflow
26030 possibilities. Add casts to avoid signed/unsigned operations.
26031 * stdlib/tst-strtod-overflow.c: New file.
26032 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26033
1f529f7d
MP
260342012-08-25 Marek Polacek <polacek@redhat.com>
26035
26036 * time/time.h: Fix some typos in comments.
26037
59a629f1
RM
260382012-08-23 Roland McGrath <roland@hack.frob.com>
26039
26040 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26041 * posix/tst-rfc3484-2.c: Likewise.
26042 * posix/tst-rfc3484-3.c: Likewise.
26043
d3bafbc9
SM
260442012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26045
26046 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26047 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26048
4efcc022
JM
260492012-08-23 Joseph Myers <joseph@codesourcery.com>
26050
26051 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26052 #include of fxstatat64.c.
26053
3cc3ef96
RM
260542012-08-22 Roland McGrath <roland@hack.frob.com>
26055
f04e2132
RM
26056 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26057 * shadow/getspent_r.c: Likewise.
26058 * shadow/getspnam.c: Likewise.
26059 * shadow/getspnam_r.c: Likewise.
26060 * gshadow/getsgent.c: Likewise.
26061 * gshadow/getsgent_r.c: Likewise.
26062 * gshadow/getsgnam.c: Likewise.
26063 * gshadow/getsgnam_r.c: Likewise.
26064 * inet/getnetbyad.c: Likewise.
26065 * inet/getnetbyad_r.c: Likewise.
26066 * inet/getnetbynm.c: Likewise.
26067 * inet/getnetbynm_r.c: Likewise.
26068 * inet/getnetent.c: Likewise.
26069 * inet/getnetent_r.c: Likewise.
26070 * inet/getproto.c: Likewise.
26071 * inet/getproto_r.c: Likewise.
26072 * inet/getprtent.c: Likewise.
26073 * inet/getprtent_r.c: Likewise.
26074 * inet/getprtname.c: Likewise.
26075 * inet/getprtname_r.c: Likewise.
26076 * inet/getrpcbyname.c: Likewise.
26077 * inet/getrpcbyname_r.c: Likewise.
26078 * inet/getrpcbynumber.c: Likewise.
26079 * inet/getrpcbynumber_r.c: Likewise.
26080 * inet/getrpcent.c: Likewise.
26081 * inet/getrpcent_r.c: Likewise.
26082 * inet/getaliasent.c: Likewise.
26083 * inet/getaliasent_r.c: Likewise.
26084 * inet/getaliasname.c: Likewise.
26085 * inet/getaliasname_r.c: Likewise.
26086 * nscd/getgrgid_r.c: Likewise.
26087 * nscd/getgrnam_r.c: Likewise.
26088 * nscd/gethstbyad_r.c: Likewise.
26089 * nscd/gethstbynm3_r.c: Likewise.
26090 * nscd/getpwnam_r.c: Likewise.
26091 * nscd/getpwuid_r.c: Likewise.
26092 * nscd/getsrvbynm_r.c: Likewise.
26093 * nscd/getsrvbypt_r.c: Likewise.
26094 * nscd/gai.c: Likewise.
26095
c53d909c
RM
26096 * configure.in (build_nscd): New substituted variable, set
26097 by --disable-build-nscd and defaults to $use_nscd.
26098 * configure: Regenerated.
26099 * config.make.in (build-nscd): New substituted variable.
26100 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26101 Change conditional to require [$(build-nscd) = yes] as well.
26102 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26103
3cc3ef96
RM
26104 [BZ# 13696]
26105 * configure.in (use_nscd): New substituted variable, set by
26106 --disable-nscd. If enabled, define USE_NSCD.
26107 * configure: Regenerated.
26108 * config.h.in: Add USE_NSCD.
26109 * config.make.in (use-nscd): New substituted variable.
26110 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26111 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26112 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26113 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26114 (CFLAGS-getgrnam_r.c): Likewise.
26115 (CFLAGS-initgroups.c): Likewise.
26116 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26117 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26118 Variables removed.
26119 * inet/getnetgrent_r.c
26120 (nscd_setnetgrent): New function, broken out of ...
26121 (setnetgrent): ... here. Call it.
26122 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26123 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26124 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26125 * nscd/Makefile (routines, aux): Move definitions after include of
26126 Makeconfig. Conditionalize on [$(use-nscd) != no].
26127 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26128 Conditionalize on [USE_NSCD].
26129 (is_nscd, nscd_init_cb): Likewise.
26130 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26131 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26132 * nss/nss_db/db-init.c: Likewise.
26133 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26134 [USE_NSCD].
26135 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26136 (make_request): Use it.
26137 (cache_valid_p): New function.
26138 (__check_pf): Use it.
26139 * NEWS: Add item for --disable-nscd.
26140
07e51550
DL
261412012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26142
26143 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26144 to support sed >= 4.2.1-20-ga9bf076.
26145 * configure: Regenerated.
26146
35a5b08b
RM
261472012-08-22 Roland McGrath <roland@hack.frob.com>
26148
26149 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26150 Conditionalize whole body on [IREL].
26151
8479f23a
JL
261522012-08-22 Jeff Law <law@redhat.com>
26153
26154 [BZ #14505]
26155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26156 if the family is PF_UNSPEC.
26157
48da0b21
MF
261582012-08-22 Mike Frysinger <vapier@gentoo.org>
26159
26160 * Makerules (lib-version): Rename from V.
26161 (install-lib-nosubdir): Change V to lib-version.
26162
15d0da8c
WS
261632012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26164
26165 [BZ #14252]
26166 * powerpc32/power6/wcschr.c: New file.
26167 * powerpc32/power6/wcscpy.c: New file.
26168 * powerpc32/power6/wcsrchr.c: New file.
26169 * powerpc64/power6/wcschr.c: New file.
26170 * powerpc64/power6/wcscpy.c: New file.
26171 * powerpc64/power6/wcsrchr.c: New file.
26172
bcca0895
MK
261732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26174
26175 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26176 (two_way_short_needle): Use it.
5a4aaa33
RM
26177 * string/strstr.c (AVAILABLE1_USES_J): Define.
26178 * string/strcasestr.c: Likewise.
99677e57
MK
26179
26180 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26181 array references.
26182 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26183
400726de
MK
26184 [BZ #11607]
26185 * NEWS: Add an entry.
26186 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26187 define their defaults.
26188 (two_way_short_needle): Detect end-of-string on-the-fly.
26189 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26190 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26191 * string/bug-strcasestr1.c: New test.
26192 * string/Makefile: Run it.
26193
20a71f2c
MK
261942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26195
26196 [BZ #11607]
26197 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26198 the first character.
26199
21ad0558
RM
262002012-08-21 Roland McGrath <roland@hack.frob.com>
26201
26202 * csu/elf-init.c (__libc_csu_irel): Function removed.
26203 * csu/libc-start.c (apply_irel): New function.
26204 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26205
0e1d9911
JM
262062012-08-21 Joseph Myers <joseph@codesourcery.com>
26207
26208 * sysdeps/unix/sysv/linux/kernel-features.h
26209 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26210 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26211 <kernel-features.h>.
26212 [__NR_fadvise64_64]: Make code unconditional.
26213 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26214 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26215 !__NR_fadvise64_64)]: Likewise.
26216 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26217 !__NR_fadvise64_64))]: Likewise.
26218 [__NR_fadvise64]: Make code unconditional.
26219 [!__NR_fadvise64]: Remove conditional code.
26220 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26221 <kernel-features.h>.
26222 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26223 unconditional.
26224 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26225 conditional code.
26226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26227 not include <kernel-features.h>.
26228 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26229 unconditional.
26230 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26231 conditional code.
26232 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26233 include <kernel-features.h>.
26234 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26235 unconditional.
26236 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26237 conditional code.
26238
14a50c9d
WS
262392012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26240
26241 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26242 slight instruction rearrangements per scrollpipe analysis.
26243 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26244
c0f4faf0
RM
262452012-08-20 Roland McGrath <roland@hack.frob.com>
26246
696da859
RM
26247 * manual/syslog.texi (syslog; vsyslog, closelog):
26248 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26249 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26250
c0f4faf0
RM
26251 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26252 DSOCAPS to match condition on defining it.
26253
348363b2
JM
262542012-08-20 Joseph Myers <joseph@codesourcery.com>
26255
a35cbf28
JM
26256 * sysdeps/unix/sysv/linux/kernel-features.h
26257 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26259 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26260 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26262 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26263 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26265 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26266 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26267
445f7ecd
JM
26268 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26269 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26270
348363b2
JM
26271 * sysdeps/unix/sysv/linux/kernel-features.h
26272 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26273 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26274 unconditional.
26275 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26276 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26277 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26278 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26279 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26280 Make code unconditional.
26281 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26282 (__mmap64) [!__NR_mmap2]: Likewise.
26283 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26284 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26285 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26286 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26287 [__NR_mmap2]: Make code unconditional.
26288 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26289 (__mmap64) [!__NR_mmap2]: Likewise.
26290
bc5bc0e5
AK
262912012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26292
26293 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26294
88d506de
AJ
262952012-08-18 Andreas Jaeger <aj@suse.de>
26296
26297 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26298
493387d2
MF
262992012-08-18 Mike Frysinger <vapier@gentoo.org>
26300
26301 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26302 * include/unistd.h (__have_sock_cloexec): Likewise.
26303 (__have_pipe2): Likewise.
26304 (__have_dup3): Likewise.
26305
a277af22
MF
263062012-08-18 Mike Frysinger <vapier@gentoo.org>
26307
26308 [BZ #9685]
26309 * include/unistd.h (__have_pipe2): Change define into an extern int.
26310 (__have_dup3): Likewise.
26311 * socket/have_sock_cloexec.c: Include fcntl.h.
26312 (__have_pipe2): New variable.
26313 (__have_dup3): Likewise.
26314
fdab8fd3
MF
263152012-08-17 Mike Frysinger <vapier@gentoo.org>
26316
26317 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26318
31035e80
MP
263192012-08-17 Marek Polacek <polacek@redhat.com>
26320
26321 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26322 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26323
3bd9e993
RM
263242012-08-17 Roland McGrath <roland@hack.frob.com>
26325
c91c505f
RM
26326 * configure.in: Add AC_SUBST for sysheaders.
26327 * configure: Regenerated.
26328 * config.make.in (sysheaders): New substituted variable.
26329
7c6f9d53
RM
26330 * sysdeps/unix/mkfifo.c: Moved ...
26331 * sysdeps/posix/mkfifo.c: ... here.
26332 * sysdeps/unix/mkfifoat.c: Moved ...
26333 * sysdeps/posix/mkfifoat.c: ... here.
26334
26335 * sysdeps/unix/utime.c: Moved ...
26336 * sysdeps/posix/utime.c: ... here.
26337
26338 * sysdeps/unix/time.c: Moved ...
26339 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26340 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26341 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26342
26343 * sysdeps/unix/nice.c: Moved ...
26344 * sysdeps/posix/nice.c: ... here.
26345
26346 * sysdeps/unix/alarm.c: Moved ...
26347 * sysdeps/posix/alarm.c: ... here.
26348
3bd9e993
RM
26349 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26350
d1f09384
JL
263512012-08-17 Jeff Law <law@redhat.com>
26352
26353 * intl/Makefile (codeset_mo): New variable.
26354 ($(codeset_mo)): New target.
26355 (tst-codeset.out): Depend on that. Remove explicit rule.
26356 (tst-gettext3.out, tst-gettext5.out): Likewise.
26357 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26358 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26359 * intl/tst-codeset.sh: Remove.
26360 * intl/tst-gettext3.sh: Likewise.
26361 * intl/tst-gettext5.sh: Likewise.
26362
2ae1ae5c
RM
263632012-08-17 Roland McGrath <roland@hack.frob.com>
26364
c31fdb83
RM
26365 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26366 * sysdeps/unix/syscalls.list: ... here.
26367
a0844057
RM
26368 * sysdeps/posix/getaddrinfo.c
26369 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26370 (gaiconf_init, gaiconf_reload): Use them.
26371 [!_STATBUF_ST_NSEC]
26372 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26373 Define using time_t rather than struct timespec.
26374
750c1f2a
RM
26375 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26376 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26377 Macros removed.
26378 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26379 [!NO_THREADS].
26380 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26381 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26382 Likewise.
26383
2ae1ae5c
RM
26384 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26385 __libc_cleanup_push argument.
26386
e66a42f5
RM
26387 * bits/param.h: New file.
26388 * misc/sys/param.h: New file.
26389 * include/sys/param.h: New file.
26390 * misc/Makefile (headers): Add bits/param.h.
26391 * sysdeps/generic/sys/param.h: File removed.
26392 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26393 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26394 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26395 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26396
b7c08a66
RM
26397 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26398 last change.
26399
b2e1c562
RM
26400 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26401 [_IO_MTSAFE_IO].
26402 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26403 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26404 New macros.
26405
c75ccd4c
RM
26406 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26407 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26408 rather than -D_IO_MTSAFE_IO conditionally.
26409 * stdio-common/Makefile (CPPFLAGS): Likewise.
26410 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26411 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26412 Use $(libio-mtsafe).
26413 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26414 of -D_IO_MTSAFE_IO.
26415 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26416 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26417 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26418 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26419 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26420 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26421 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26422 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26423 (CFLAGS-fread_u_chk.c): Likewise.
26424 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26425 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26426 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26427 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26428 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26429 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26430 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26431 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26432 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26433
26434 * libio/Makefile: Test [$(libc-reentrant) = yes]
26435 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26436
26437 * Makeconfig
26438 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26439 * sysdeps/pthread/configure: File removed.
26440 * sysdeps/pthread/Makeconfig: New file.
26441 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26442 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26443
d9195db8
GB
264442012-08-16 Gary Benson <gbenson@redhat.com>
26445
26446 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26447 unmapping the first object in a namespace.
26448
86466cd9
RM
264492012-08-16 Roland McGrath <roland@hack.frob.com>
26450
26451 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26452 (__internal_setnetgrent): ... this. Add internal_function to
26453 definition. Add libc_hidden_def.
26454 (setnetgrent): Update caller.
26455 (internal_endnetgrent): Renamed to ...
26456 (__internal_endnetgrent): ... this. Add internal_function to
26457 definition. Add libc_hidden_def.
26458 (endnetgrent): Update caller.
26459 (internal_getnetgrent_r): Renamed to ...
26460 (__internal_getnetgrent_r): ... this. Add internal_function to
26461 definition. Add libc_hidden_def.
26462 (__getnetgrent_r): Update caller.
26463 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26464
c3c8283c
JM
264652012-08-16 Joseph Myers <joseph@codesourcery.com>
26466
26467 * stdlib/longlong.h: Update from GCC.
26468
db1ee0a8
RM
264692012-08-16 Roland McGrath <roland@hack.frob.com>
26470
26471 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26472 on _QL, which is set by umul_ppmm but never used.
26473 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26474 variables, which are set by GMP macros but never used.
26475 * stdio-common/_itowa.c (_itowa): Likewise.
26476 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26477 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26478
30f69637
CD
264792012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26480
26481 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26482 struct La_sh_regs is not constant.
26483 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26484 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26485 and struct La_sparc64_regs are not constant.
26486
93a78ac4
JM
264872012-08-16 Joseph Myers <joseph@codesourcery.com>
26488
26489 * sysdeps/unix/sysv/linux/kernel-features.h
26490 (__ASSUME_POSIX_TIMERS): Remove.
26491 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26492 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26493 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26494 Make code unconditional.
26495 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26496 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26497 Make code unconditional.
26498 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26499 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26500 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26501 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26502 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26503 Make code unconditional.
26504 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26505 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26506 (__libc_missing_posix_timers): Remove.
26507
dd924cd7
RM
265082012-08-15 Roland McGrath <roland@hack.frob.com>
26509
4b4f2771
RM
26510 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26511 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26512
601c888b
RM
26513 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26514
176790a7
RM
26515 * elf/dl-sym.c: Include <stdlib.h>.
26516
329bc018
RM
26517 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26518 constants, which avoids warnings in 32-bit builds.
26519
e04e272d
RM
26520 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26521 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26522
952bf94a
RM
26523 * misc/lseek.c: File moved to ...
26524 * io/lseek.c: ... here.
26525
7c99b50a
RM
26526 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26527
dd924cd7
RM
26528 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26529 shifting LEN more than 31 bits at once.
26530
b3f479a8
LD
265312012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26532
26533 [BZ #14195]
8c4ae0d4
RM
26534 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26535 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26536 * string/test-strncasecmp.c (check1): Renamed to...
26537 (bz12205): ...this.
26538 (bz14195): Add new testcase for two empty input strings and N > 0.
26539 (test_main): Call new testcase, adapt for renamed function.
26540
9c55864e
AJ
265412012-08-15 Andreas Jaeger <aj@suse.de>
26542
26543 [BZ #14090]
26544 * crypt/md5test2.c: New test, based on test supplied by Serge
26545 Belyshev <belyshev@depni.sinp.msu.ru>.
26546 * crypt/Makefile (xtests): Add md5test-giant..
26547 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26548
02dcb6c5
PE
265492012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26550
26551 [BZ #14090]
26552 * crypt/md5.c (md5_process_block): Don't assume the buffer
26553 length is less than 2**32.
26554 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26555 length is less than 2**64.
26556
a3f95dcc
RM
265572012-08-15 Roland McGrath <roland@hack.frob.com>
26558
be75d758
RM
26559 * string/str-two-way.h: Include <sys/param.h>.
26560 (MAX): Macro removed.
26561
7312ca90
RM
26562 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26563 Move #define and #undef of memmove to just before and after
26564 including <string.h>.
26565
9a0a5486
RM
26566 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26567 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26568 and after including <string.h>. Move declarations of
26569 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26570 to before #include "string/memmove.c".
26571
67cc348d
RM
26572 * include/dirent.h: Declare __getdirentries.
26573
a3f95dcc
RM
26574 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26575 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26576
ca98e171
MF
265772012-08-14 Mike Frysinger <vapier@gentoo.org>
26578
26579 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26580 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26581 * sysdeps/i386/configure: Regenerated.
26582 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26583 STABS_CURRENT_FILE, and STABS_FUN.
26584 (END): Remove call to STABS_FUN_END.
26585 (STABS_CURRENT_FILE1): Delete.
26586 (STABS_CURRENT_FILE): Likewise.
26587 (STABS_FUN): Likewise.
26588 (STABS_FUN_END): Likewise.
26589 (STABS_FUN2): Likewise.
26590 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26591 * sysdeps/x86_64/configure: Regenerated.
26592
5908bf46
RM
265932012-08-14 Roland McGrath <roland@hack.frob.com>
26594
26595 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26596 * elf/dl-lookup.c: Likewise.
5908bf46 26597
f2c05b9e
JM
265982012-08-14 Joseph Myers <joseph@codesourcery.com>
26599
26600 * sysdeps/unix/sysv/linux/kernel-features.h
26601 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26602 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26603 unconditionally.
26604 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26605 unconditionally.
26606 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26607 condition on __ASSUME_CLONE_THREAD_FLAGS.
26608
e11f5155
AJ
266092012-08-14 Andreas Jaeger <aj@suse.de>
26610
26611 * sysdeps/i386/fpu/libm-test-ulps: Update.
26612
51a9ba86
MK
266132012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26614
2fdd4f78
AJ
26615 * include/atomic.h (atomic_exchange_and_add): Split into ...
26616 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26617 New atomic macros.
51a9ba86 26618
ba6cba9e
MT
266192012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26620
26621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26622
42443a47
JL
266232012-08-13 Jeff Law <law@redhat.com>
26624
26625 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26626 null byte in the output string.
26627
121dce05
JM
266282012-08-10 Joseph Myers <joseph@codesourcery.com>
26629
26630 * sysdeps/unix/sysv/linux/kernel-features.h
26631 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26632 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26633 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26634 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26635 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26636 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26637 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26638
bf51f568
JL
266392012-08-09 Jeff Law <law@redhat.com>
26640
26641 [BZ #13939]
26642 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26643 When avoid_arena is set, don't retry in the that arena. Pick the
26644 next one, whatever it might be.
26645 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26646 (arena_lock): Pass in new parameter to arena_get2.
26647 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26648 arena_get2.
26649 (__libc_malloc): Unify retrying after main arena failure with
26650 __libc_memalign version.
26651 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26652
f85fa270
L
266532012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26654
26655 [BZ #14166]
26656 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26657 to __redirect_strstr.
26658 (__strstr_sse42): Use typeof __redirect_strstr.
26659 (__strstr_ia32): Likewise.
26660 (__libc_strstr): New prototype.
26661 (strstr): Renamed to ...
26662 (__libc_strstr): This.
26663 (strstr): New strong alias of __libc_strstr.
26664 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26665 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26666 __redirect_time.
26667 Include <time.h>.
26668 (__libc_time): New prototype.
26669 (time_ifunc): Replace time with __libc_time.
26670 (time): New strong alias and hidden definition of __libc_time.
26671 (__GI_time): Remove strong alias.
26672 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26673 Include <stddef.h>.
26674 (memmove): Redefined to __redirect_memmove.
26675 (__memmove_sse2): Use typeof __redirect_memmove.
26676 (__memmove_ssse3): Likewise.
26677 (__memmove_ssse3_back): Likewise.
26678 (__libc_memmove): New prototype.
26679 (memmove): Renamed to ...
26680 (__libc_memmove): This.
26681 (memmove): New strong alias of __libc_memmove.
26682
33b4a91e
MS
266832012-08-08 Mark Salter <msalter@redhat.com>
26684
26685 * elf/elf.h
26686 (R_MN10300_TLS_GD): Define.
26687 (R_MN10300_TLS_LD): Likewise.
26688 (R_MN10300_TLS_LDO): Likewise.
26689 (R_MN10300_TLS_GOTIE): Likewise.
26690 (R_MN10300_TLS_IE): Likewise.
26691 (R_MN10300_TLS_LE): Likewise.
26692 (R_MN10300_TLS_DTPMOD): Likewise.
26693 (R_MN10300_TLS_DTPOFF): Likewise.
26694 (R_MN10300_TLS_TPOFF): Likewise.
26695 (R_MN10300_SYM_DIFF): Likewise.
26696 (R_MN10300_ALIGN): Likewise.
26697 (R_MN10300_NUM): Update.
26698
b36137f1
JM
266992012-08-08 Joseph Myers <joseph@codesourcery.com>
26700
26701 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26702 Remove.
26703
cdd915fd
RM
267042012-08-08 Roland McGrath <roland@hack.frob.com>
26705
a2433aac
RM
26706 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26707
cdd915fd
RM
26708 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26709 sysdeps/unix -> sysdeps/posix move.
26710 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26711
bf9b740a
AM
267122012-08-07 Allan McRae <allan@archlinux.org>
26713
26714 [BZ #14303]
26715 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26716 (SUNOS_CPP): Likewise.
26717 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26718 not found.
26719 (open_input): Call CPP using execvp.
26720
93df14ee
JM
267212012-08-07 Joseph Myers <joseph@codesourcery.com>
26722
26723 * sysdeps/unix/sysv/linux/kernel-features.h
26724 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26725 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26726 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26727 (__ASSUME_WAITID_SYSCALL): Likewise.
26728 * sysdeps/unix/sysv/linux/dl-execstack.c
26729 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26730 code unconditional.
26731 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26732 conditional code.
26733 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26734 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26735 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26736 code.
26737 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26738 unconditional.
26739 [__ASSUME_WAITID_SYSCALL]: Likewise.
26740 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26741
d34689de
RM
267422012-08-07 Roland McGrath <roland@hack.frob.com>
26743
a281decc
RM
26744 * sysdeps/unix/closedir.c: Renamed to ...
26745 * sysdeps/posix/closedir.c: ... here.
26746 * sysdeps/unix/dirfd.c: Renamed to ...
26747 * sysdeps/posix/dirfd.c: ... here.
26748 * sysdeps/unix/dirstream.h: Renamed to ...
26749 * sysdeps/posix/dirstream.h: ... here.
26750 * sysdeps/unix/fdopendir.c: Renamed to ...
26751 * sysdeps/posix/fdopendir.c: ... here.
26752 * sysdeps/unix/opendir.c: Renamed to ...
26753 * sysdeps/posix/opendir.c: ... here.
26754 * sysdeps/unix/readdir.c: Renamed to ...
26755 * sysdeps/posix/readdir.c: ... here.
26756 * sysdeps/unix/readdir_r.c: Renamed to ...
26757 * sysdeps/posix/readdir_r.c: ... here.
26758 * sysdeps/unix/rewinddir.c: Renamed to ...
26759 * sysdeps/posix/rewinddir.c: ... here.
26760 * sysdeps/unix/seekdir.c: Renamed to ...
26761 * sysdeps/posix/seekdir.c: ... here.
26762 * sysdeps/unix/telldir.c: Renamed to ...
26763 * sysdeps/posix/telldir.c: ... here.
26764 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26765 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26766 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26767 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26768
22895b47
RM
26769 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26770 * bits/fcntl.h: ... here.
26771
707a53b6
RM
26772 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26773 not 0.
26774 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26775 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26776 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26777 (struct flock): Move l_start, l_len to the beginning.
26778 Use __pid_t for l_pid.
26779 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26780 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26781 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26782 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26783 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26784 [__USE_LARGEFILE64] (struct flock64): New type.
26785 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26786
f0bd3e25
RM
26787 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26788 * bits/dirent.h: ... here.
26789
d34689de
RM
26790 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26791 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26792
6dad2c06
JM
267932012-08-07 Joseph Myers <joseph@codesourcery.com>
26794
26795 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26796 Change from 2.6.0 to 2.6.16.
26797 * sysdeps/unix/sysv/linux/configure: Regenerated.
26798 * sysdeps/unix/sysv/linux/kernel-features.h
26799 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26800 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26801 version.
26802 (__ASSUME_UTIMES): Likewise.
26803 (__ASSUME_CLONE_STOPPED): Remove.
26804 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26805 architectures, not kernel version.
26806 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26807 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26808 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26809 (__ASSUME_WAITID_SYSCALL): Likewise.
26810 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26811 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26812 * README: State 2.6.16 as minimum Linux kernel version. Do not
26813 refer to older versions.
26814
03af9520
RM
268152012-08-06 Roland McGrath <roland@hack.frob.com>
26816
8e49df1d
RM
26817 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26818 Define alphasort64 as an alias.
26819 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26820 Define versionsort64 as an alias.
26821 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26822 Define scandir64 as an alias.
26823 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26824 Define scandirat64 as an alias.
26825 * dirent/alphasort64.c (alphasort64):
26826 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26827 * dirent/versionsort64.c: Likewise.
26828 * dirent/scandir64.c: Likewise.
26829 * dirent/scandirat64.c: Likewise.
26830 * sysdeps/wordsize-64/alphasort.c: File removed.
26831 * sysdeps/wordsize-64/alphasort64.c: File removed.
26832 * sysdeps/wordsize-64/scandir.c: File removed.
26833 * sysdeps/wordsize-64/scandir64.c: File removed.
26834 * sysdeps/wordsize-64/scandirat.c: File removed.
26835 * sysdeps/wordsize-64/scandirat64.c: File removed.
26836 * sysdeps/wordsize-64/versionsort.c: File removed.
26837 * sysdeps/wordsize-64/versionsort64.c: File removed.
26838 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26839 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26840 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26841 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26842 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26843 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26844 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26845 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26846
26847 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26849 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26851 [defined __arch64__ || defined __sparcv9]
26852 (__INO_T_MATCHES_INO64_T): New macro.
26853 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26854 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26855 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26856 * sysdeps/unix/sysv/linux/bits/dirent.h
26857 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26858 (_DIRENT_MATCHES_DIRENT64): New macro.
26859
03af9520
RM
26860 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26861 Define lockf64 as an alias.
26862 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26863 Define fseeko64 as an alias.
26864 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26865 Define ftello64 as an alias.
26866 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26867 Define _IO_fgetpos64 and fgetpos64 as aliases.
26868 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26869 Define _IO_fsetpos64 and fsetpos64 as aliases.
26870 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26871 Conditionalize body on this.
26872 * libio/fseeko64.c: Likewise.
26873 * libio/ftello64.c: Likewise.
26874 * libio/iofgetpos64.c: Likewise.
26875 * libio/iofsetpos64.c: Likewise.
26876 * sysdeps/wordsize-64/lockf.c: File removed.
26877 * sysdeps/wordsize-64/lockf64.c: File removed.
26878 * sysdeps/wordsize-64/fseeko.c: File removed.
26879 * sysdeps/wordsize-64/fseeko64.c: File removed.
26880 * sysdeps/wordsize-64/ftello.c: File removed.
26881 * sysdeps/wordsize-64/ftello64.c: File removed.
26882 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26883 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26884 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26885 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26886 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26887 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26888 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26889 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26890 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26891 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26892 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26894 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26895 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26896
26897 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26899 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26900 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26901 [defined __arch64__ || defined __sparcv9]
26902 (__OFF_T_MATCHES_OFF64_T): New macro.
26903 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26904 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26906 (__OFF_T_MATCHES_OFF64_T): New macro.
26907
c5757acd
L
269082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26909
26910 * stdlib/secure-getenv.c (__secure_getenv): Replace
26911 GLIBC_2_16 with GLIBC_2_17.
26912
3a31811e
L
269132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26914
26915 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26917
faa2bccb
DM
269182012-08-03 David S. Miller <davem@davemloft.net>
26919
26920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26921
85fe1997
JM
269222012-08-03 Joseph Myers <joseph@codesourcery.com>
26923
26924 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26925 Remove.
26926 (__ASSUME_CORRECT_SI_PID): Likewise.
26927 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26928 (__ASSUME_TMPFS_NAME): Likewise.
26929 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26930 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26931 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26932 (HAVE_AUX_SECURE): Make definition unconditional.
26933 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26934 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26935
4f75b7a0
RM
269362012-08-03 Roland McGrath <roland@hack.frob.com>
26937
26938 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26939 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26940 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26941 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26942 __eloop_threshold instead of SYMLOOP_MAX.
26943
26944 * sysdeps/generic/eloop-threshold.h: New file.
26945 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26946 of MAXSYMLINKS.
26947 * elf/chroot_canon.c (chroot_canon): Likewise.
26948
7aab07e4
JM
269492012-08-03 Joseph Myers <joseph@codesourcery.com>
26950
26951 [BZ #13717]
26952 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26953 Change to 2.6.0 everywhere.
26954 * sysdeps/unix/sysv/linux/configure: Regenerated.
26955 * sysdeps/unix/sysv/linux/kernel-features.h
26956 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26957 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26958 kernel versions.
26959 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26960 (__ASSUME_FUTEX_REQUEUE): Remove.
26961 (__ASSUME_STATFS64): Define unconditionally.
26962 (__ASSUME_AT_SECURE): Likewise.
26963 (__ASSUME_CORRECT_SI_PID): Likewise.
26964 (__ASSUME_TGKILL): Define without depending on kernel version for
26965 i386.
26966 (__ASSUME_UTIMES): Likewise.
26967 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26968 kernel version.
26969 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26970 (__ASSUME_TMPFS_NAME): Likewise.
26971 * README: Update reference to Linux kernel versions.
26972
b67e9372
MP
269732012-08-02 Marek Polacek <polacek@redhat.com>
26974
1f529f7d 26975 [BZ# 14150]
b67e9372
MP
26976 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26977 libc_cv_asm_type_prefix with %.
26978 * configure: Regenerated.
d2441631
RM
26979 * include/libc-symbols.h: Remove comment about
26980 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26981 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26982 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26983 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26984 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26985 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26986 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26987 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26988 * elf/tst-unique2mod1.c: Likewise.
26989 * elf/tst-unique1mod2.c: Likewise.
26990 * elf/tst-unique1mod1.c: Likewise.
26991 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26992 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26993 Replace ASM_TYPE_DIRECTIVE with .type.
26994 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26995 * sysdeps/i386/sysdep.h: Likewise.
26996 * sysdeps/x86_64/sysdep.h: Likewise.
26997 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26999 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27000 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27001 * sysdeps/powerpc/powerpc32/sysdep.h:
27002 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27003 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27004 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27005 * sysdeps/i386/fpu/e_powf.S: Likewise.
27006 * sysdeps/i386/fpu/e_expl.S: Likewise.
27007 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27008 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27009 * sysdeps/i386/fpu/e_pow.S: Likewise.
27010 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27011 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27012 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27013 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27014 * sysdeps/i386/fpu/e_log2.S: Likewise.
27015 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27016 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27017 * sysdeps/i386/fpu/e_powl.S: Likewise.
27018 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27019 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27020 * sysdeps/i386/fpu/e_logl.S: Likewise.
27021 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27022 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27023 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27024 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27025 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27026 * sysdeps/i386/fpu/e_log.S: Likewise.
27027 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27028 * sysdeps/i386/fpu/e_logf.S: Likewise.
27029 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27030 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27031 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27032 * sysdeps/i386/fpu/e_log10.S: Likewise.
27033 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27035 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27036 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27037 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27038 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27039 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27040 * sysdeps/i386/i686/strtok.S: Likewise.
27041 * sysdeps/i386/i386-mcount.S: Likewise.
27042 * sysdeps/i386/strtok.S: Likewise.
27043 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27044 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27045 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27046 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27047 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27048 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27049 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27050 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27051 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27052 * sysdeps/x86_64/_mcount.S: Likewise.
27053 * sysdeps/x86_64/strtok.S: Likewise.
27054 * sysdeps/sh/_mcount.S: Likewise.
27055
2747bf9a
RM
270562012-08-01 Roland McGrath <roland@hack.frob.com>
27057
27058 * libio/iofopen.c: Include <fcntl.h>.
27059 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27060 (_IO_fopen64, fopen64): Define as aliases.
27061 * libio/iofopen64.c: Include <fcntl.h>.
27062 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27063 Conditionalize body on this.
27064 * sysdeps/wordsize-64/iofopen.c: File removed.
27065 * sysdeps/wordsize-64/iofopen64.c: File removed.
27066
3fb791b8
MP
270672012-08-01 Marek Polacek <polacek@redhat.com>
27068
27069 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27070 Use dlfcn directly instead of a variable.
27071 (binfmt-subdir): Do not define.
27072 (dlfcn): Likewise.
27073
a9f1039f
JM
270742012-08-01 Joseph Myers <joseph@codesourcery.com>
27075
23bddc06
JM
27076 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27077 Remove all definitions.
27078 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27079 <kernel-features.h>.
27080 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27081 (miss_F_GETOWN_EX): Remove all definitions.
27082 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27083 macro definition.
27084 [!__ASSUME_FCNTL64]: Remove conditional code.
27085 [__ASSUME_FCNTL64]: Make code unconditional.
27086 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27087 <kernel-features.h>.
27088 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27089 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27090 (lockf64) [__NR_fcntl64]: Make code unconditional.
27091 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27092
a9f1039f
JM
27093 * sysdeps/unix/sysv/linux/kernel-features.h
27094 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27095 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27096 Make code unconditional.
27097 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27098 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27100 [__NR_vfork]: Make code unconditional.
27101 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27102 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27104 [__NR_vfork]: Make code unconditional.
27105 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27106 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27107
09c0ee5f
RM
271082012-08-01 Roland McGrath <roland@hack.frob.com>
27109
48aec5b9
RM
27110 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27111 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27112
cd97c966
RM
27113 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27114 Define mkstemp64 as an alias.
3f55550c
RM
27115 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27116 Define mkstemps64 as an alias.
cd97c966
RM
27117 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27118 Define mkostemp64 as an alias.
b8625cfc
RM
27119 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27120 Define mkostemps64 as an alias.
cd97c966
RM
27121 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27122 Conditionalize body on this.
27123 * misc/mkostemp64.c: Likewise.
b8625cfc 27124 * misc/mkostemps64.c: Likewise.
3f55550c 27125 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27126 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27127 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27128 * sysdeps/wordsize-64/mkostemp.c: File removed.
27129 * sysdeps/wordsize-64/mkstemp.c: File removed.
27130 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27131 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27133 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27134
09c0ee5f
RM
27135 [BZ #14138]
27136 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27137 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27138 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27139 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27140
27141 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27142 compat_symbol macros from <shlib-compat.h> rather than the underlying
27143 default_symbol_version and symbol_version macros, so that DEFAULT
27144 lines in shlib-versions are respected.
27145 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27146
7e66ee51
FW
271472012-08-01 Florian Weimer <fweimer@redhat.com>
27148
27149 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27150 Declare with warn_unused_result.
27151 (setgid, setregid, setegid, setresgid): Likewise.
27152 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27153 Likewise.
27154 * WUR-REPORT: Remove set*id functions.
27155
d2a54255
PT
271562012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27157
27158 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27159
7ecdb005
RM
271602012-07-31 Roland McGrath <roland@hack.frob.com>
27161
b4180a5e 27162 [BZ #10191]
789bd351
RM
27163 * include/sys/socket.h (__libc_accept, __libc_accept4):
27164 Add attribute_hidden.
27165 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27166
40ce302d
RM
27167 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27168 use of PTR_MANGLE.
27169 * inet/getnetgrent_r.c (setup): Likewise.
27170
7ecdb005
RM
27171 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27172
e2eabb2c
DM
271732012-07-31 David S. Miller <davem@davemloft.net>
27174
27175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27176
d0419dbf
JM
271772012-07-31 Joseph Myers <joseph@codesourcery.com>
27178
27179 [BZ #13629]
27180 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27181 value between 1.0 and 2.0 and smaller part has absolute value less
27182 than 1.0.
27183 * math/s_clog10.c (__clog10): Likewise.
27184 * math/s_clog10f.c (__clog10f): Likewise.
27185 * math/s_clog10l.c (__clog10l): Likewise.
27186 * math/s_clogf.c (__clogf): Likewise.
27187 * math/s_clogl.c (__clogl): Likewise.
27188 * math/libm-test.inc (clog_test): Add more tests.
27189 (clog10_test): Likewise.
27190 * sysdeps/i386/fpu/libm-test-ulps: Update.
27191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27192
2bc13872
FW
271932012-07-31 Florian Weimer <fweimer@redhat.com>
27194
27195 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27196 Exit with zero in case no suitable GID is found, and write a
27197 message to standard error.
27198
bea9b193
RM
271992012-07-30 Roland McGrath <roland@hack.frob.com>
27200
27201 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27202 rather than to 1.
27203 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27204 (MAXPATHLEN): Removed.
27205 (NOGROUP, NODEV): New macros.
27206 (setbit, clrbit, isset, isclr): New macros.
27207 (howmany, roundup, powerof2): New macros.
27208 (DEV_BSIZE): New macro.
27209
27210 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27211 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27212
27213 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27214 definition on [!__NO_LONG_DOUBLE_MATH].
27215
27216 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27217 PTR_MANGLE and PTR_DEMANGLE.
27218
27219 * socket/accept4.c (accept4): Rename to __libc_accept4.
27220 Define accept4 as a weak alias.
27221
27222 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27223 on [_DIRENT_HAVE_D_TYPE].
27224 * io/ftw.c (ftw_dir): Likewise.
27225
27226 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27227
27228 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27229
27230 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27231 Use the BSD numbers rather than the arbitrary ones we had.
27232 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27233 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27234 (SIGXCPU, SIGXFSZ): New macros.
27235 (_NSIG): Now 32.
27236
27237 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27238 initializer on [_LIBC_REENTRANT].
27239
27240 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27241 definitions inside [_POSIX_MAPPED_FILES].
27242
27243 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27244
27245 * dirent/opendir.c: Include <fcntl.h>.
27246
27247 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27248 (__libc_getspecific): Likewise.
27249 (__libc_key_create): Likewise.
27250
27251 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27252 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27253 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27254 (tmpfile64): Define as alias.
27255 * sysdeps/wordsize-64/tmpfile.c: File removed.
27256 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27258 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27259
27260 * stdio-common/vfscanf.c: Include <stdbool.h>.
27261 * nss/makedb.c: Likewise.
27262 * stdio-common/_i18n_number.h: Likewise.
27263 * argp/argp-help.c: Likewise.
27264 * posix/wordexp.c: Likewise.
27265 * sysdeps/posix/spawni.c: Likewise.
27266 * nss/nss_files/files-initgroups.c: Likewise.
27267 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27268 * nss/nss_files/files-initgroups.c: Likewise.
27269 * nss/nss_db/db-netgrp.c: Likewise.
27270 * nss/nss_db/db-initgroups.c: Likewise.
27271 * io/fchmodat.c: Include <sys/stat.h>.
27272
27273 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27274 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27275
27276 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27277 [HAVE_MMAP].
27278
27279 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27280 Add multiple inclusion protection.
27281
e5abc686
DM
272822012-07-27 David S. Miller <davem@davemloft.net>
27283
27284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27285
815e6fa3
GB
272862012-07-27 Gary Benson <gbenson@redhat.com>
27287
27288 [BZ #14298]
27289 * elf/rtld.c: Include <stap-probe.h>.
27290 (dl_main): Added static probes "init_start" and "init_complete".
27291 * elf/dl-load.c: Include <stap-probe.h>.
27292 (lose): Take new parameter "nsid".
27293 Added static probe "map_failed".
27294 (_dl_map_object_from_fd): Pass namespace id to lose.
27295 Added static probe "map_start".
27296 (open_verify): Pass namespace id to lose.
27297 * elf/dl-open.c: Include <stap-probe.h>.
27298 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27299 and "reloc_complete".
27300 * elf/dl-close.c: Include <stap-probe.h>.
27301 (_dl_close_worker): Added static probes "unmap_start" and
27302 "unmap_complete".
27303 * elf/rtld-debugger-interface.txt: New file documenting the above.
27304
9f98c16c
RM
273052012-07-26 Roland McGrath <roland@hack.frob.com>
27306
27307 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27308 rather than a string variable.
27309 * sunrpc/rpc_main.c (h_output): Likewise.
27310 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27311
f3c22df3
PT
273122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27313
27314 * inet/check_native.c: New file.
27315
3129cfc6
JM
273162012-07-26 Joseph Myers <joseph@codesourcery.com>
27317
da865e95
JM
27318 [BZ #13629]
27319 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27320 if larger part has absolute value 1.0.
27321 * math/s_clog10.c (__clog10): Likewise.
27322 * math/s_clog10f.c (__clog10f): Likewise.
27323 * math/s_clog10l.c (__clog10l): Likewise.
27324 * math/s_clogf.c (__clogf): Likewise.
27325 * math/s_clogl.c (__clogl): Likewise.
27326 * math/libm-test.inc (clog_test): Add more tests.
27327 (clog10_test): Likewise.
27328 * sysdeps/i386/fpu/libm-test-ulps: Update.
27329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27330
3129cfc6
JM
27331 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27332 (pltexit): Likewise.
27333 (La_regs): Likewise.
27334 (La_retval): Likewise.
27335 (int_retval): Likewise.
27336 Update #error for removed macros to refer only to definitions in
27337 tst-audit.h.
27338 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27339 macro.
27340 (pltexit): Likewise.
27341 (La_regs): Likewise.
27342 (La_retval): Likewise.
27343 (int_retval): Likewise.
27344 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27345 macro.
27346 (pltexit): Likewise.
27347 (La_regs): Likewise.
27348 (La_retval): Likewise.
27349 (int_retval): Likewise.
27350 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27351 macro.
27352 (pltexit): Likewise.
27353 (La_regs): Likewise.
27354 (La_retval): Likewise.
27355 (int_retval): Likewise.
27356 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27357 macro.
27358 (pltexit): Likewise.
27359 (La_regs): Likewise.
27360 (La_retval): Likewise.
27361 (int_retval): Likewise.
27362 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27363 macro.
27364 (pltexit): Likewise.
27365 (La_regs): Likewise.
27366 (La_retval): Likewise.
27367 (int_retval): Likewise.
27368 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27369 macro.
27370 (pltexit): Likewise.
27371 (La_regs): Likewise.
27372 (La_retval): Likewise.
27373 (int_retval): Likewise.
27374 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27375 macro definitions in tst-audit.h.
27376 * sysdeps/i386/tst-audit.h: New file.
27377 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27378 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27379 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27380 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27381 * sysdeps/sh/tst-audit.h: Likewise.
27382 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27383 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27384 * sysdeps/x86_64/tst-audit.h: Likewise.
27385
bfc07087
AJ
273862012-07-26 Andreas Jaeger <aj@suse.de>
27387
b1b2aaf8
AJ
27388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27389 ptrace.
27390
27391 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27392 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27393 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27394 PTRACE_O_MASK.
27395 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27396 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27397 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27398
bfc07087
AJ
27399 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27400 value.
27401
27402 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27403 _sigsys.
27404 (si_call_addr, si_syscall, si_arch): Define new macro.
27405 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27406 _sigsys.
27407 (si_call_addr, si_syscall, si_arch): Define new marcro.
27408 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27409 _sigsys.
27410 (si_call_addr, si_syscall, si_arch): Define new macro.
27411 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27412 _sigsys.
27413 (si_call_addr, si_syscall, si_arch): Define new macro.
27414
89b4b02f
JM
274152012-07-25 Joseph Myers <joseph@codesourcery.com>
27416
27417 [BZ #13717]
27418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27419 Change to 2.4.21 where previously 2.4.1.
27420 * sysdeps/unix/sysv/linux/configure: Regenerated.
27421 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27422 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27423 Linux kernel version.
27424 (__ASSUME_STD_AUXV): Remove.
27425 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27426 kernel version.
27427 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27428 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27429 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27430 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27431 (__ASSUME_NETLINK_SUPPORT): Likewise.
27432 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27433 (__no_netlink_support): Remove conditional definition.
27434 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27435 Remove.
27436 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27437 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27438 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27439 (if_nameindex_ioctl): Remove.
27440 (if_nameindex_netlink): Do not handle __no_netlink_support.
27441 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27442 code.
27443 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27444 Remove conditional code.
27445 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27446 code.
27447 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27448 unconditional.
27449 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27450 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27451 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27452 Remove.
27453 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27454 [!__ASSUME_STD_AUXV]: Remove conditional code.
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27456 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27457 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27459 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27460 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27461 code.
27462 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27464 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27465 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27466 conditional code.
27467 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27469 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27470 code.
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27472 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27473 conditional code.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27475 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27476 code unconditional.
27477 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27478 conditional code.
27479 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27480 unconditional.
27481 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27482 conditional code.
27483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27484 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27485 unconditional.
27486 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27487 conditional code.
27488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27489 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27490 code unconditional.
27491 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27492 conditional code.
27493 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27494 unconditional.
27495 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27496 conditional code.
27497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27498 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27499 code unconditional.
27500 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27501 conditional code.
27502 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27503 unconditional.
27504 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27505 conditional code.
27506
842a39cd
AS
275072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27508
27509 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27510 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27511 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27512 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27513 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27514 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27515 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27516 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27517 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27518 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27519 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27520 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27521 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27522 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27523 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27524 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27525 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27526 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27527 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27529 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27530 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27531 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27532
84b3fd84
FW
275332012-07-25 Florian Weimer <fweimer@redhat.com>
27534
27535 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27536 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27537 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27538 Introduce __libc_secure_getenv.
0c7936d5
FW
27539 * stdlib/Versions (2.17): Add secure_getenv
27540 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27541 * stdlib/secure-getenv.c: Rename __secure_getenv to
27542 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27543 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27544 * stdlib/tst-secure-getenv.c: New.
27545 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27546 * manual/startup.texi (Environment Access): Document
27547 secure_getenv.
84b3fd84
FW
27548 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27549 __libc_secure_getenv.
27550 * inet/ruserpass.c (ruserpass): Likewise.
27551 * malloc/mtrace.c (mtrace): Likewise.
27552 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27553 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27554 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27555 * sysdeps/posix/tempname.c: Likewise. Evaluate
27556 HAVE_SECURE_GETENV.
27557 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27558 __secure_getenv to __libc_secure_getenv.
84b3fd84 27559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27561 Likewise.
27562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27563 Likewise.
27564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27571
56e49b71
JM
275722012-07-25 Joseph Myers <joseph@codesourcery.com>
27573
27574 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27575 (struct La_i86_retval): Likewise.
27576 (struct La_x86_64_regs): Likewise.
27577 (struct La_x86_64_retval): Likewise.
27578 (struct La_x32_regs): Likewise.
27579 (struct La_x32_retval): Likewise.
27580 (struct La_ppc32_regs): Likewise.
27581 (struct La_ppc32_retval): Likewise.
27582 (struct La_ppc64_regs): Likewise.
27583 (struct La_ppc64_retval): Likewise.
27584 (struct La_sh_regs): Likewise.
27585 (struct La_sh_retval): Likewise.
27586 (struct La_s390_32_regs): Likewise.
27587 (struct La_s390_32_retval): Likewise.
27588 (struct La_s390_64_regs): Likewise.
27589 (struct La_s390_64_retval): Likewise.
27590 (struct La_sparc32_regs): Likewise.
27591 (struct La_sparc32_retval): Likewise.
27592 (struct La_sparc64_regs): Likewise.
27593 (struct La_sparc64_retval): Likewise.
27594 (struct audit_ifaces): Remove architecture-specific pltenter and
27595 pltexit members.
27596 * sysdeps/i386/ldsodefs.h: New file.
27597 * sysdeps/powerpc/ldsodefs.h: Likewise.
27598 * sysdeps/s390/ldsodefs.h: Likewise.
27599 * sysdeps/sh/ldsodefs.h: Likewise.
27600 * sysdeps/sparc/ldsodefs.h: Likewise.
27601 * sysdeps/x86_64/ldsodefs.h: Likewise.
27602
354691b7
MP
276032012-07-25 Marek Polacek <polacek@redhat.com>
27604
27605 [BZ #6808]
27606 * math/libm-test.inc (yn_test): Add another test.
27607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27608 to ERANGE when the result is +-Inf.
27609 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27610 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27611 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27612 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27613
bf9e2071
JM
276142012-07-24 Joseph Myers <joseph@codesourcery.com>
27615
27616 * conform/data/time.h-data (NULL): Use macro-constant. Require
27617 equal to 0.
27618 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27619 clock_t.
27620 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27621
57633811
TS
276222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27623
27624 * configure.in <sysdeps resolving>: Correct printing
27625 Implies_before.
27626 * configure: Regenerate.
27627
c23c33b0
TS
276282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27629
27630 * math/w_ilogb.c: Include <limits.h>.
27631 * math/w_ilogbl.c: Likewise.
27632
b5982523
JM
276332012-07-20 Joseph Myers <joseph@codesourcery.com>
27634
27635 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27636 va_copy. Document allowing for unavailable va_copy only as
27637 pre-C99 compatibility.
27638 * manual/string.texi (Copying and Concatenation): Use va_copy
27639 instead of __va_copy in concat example.
27640
ac4ea442
PT
276412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27642
27643 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27644 (__sendto): Use create_address_port. Initialize APORT and deallocate
27645 it if not null.
27646
f98eafbd
PT
27647 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27648 with O_NOLINK passed to __file_name_lookup.
27649
898c7aab
PT
27650 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27651 with O_NOLINK passed to __file_name_lookup.
27652
0ced335a
PT
27653 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27654 negative N or less than NGIDS.
27655
b3404dbd
PT
27656 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27657 type to string_t. Set ERANGE as errno and return it if NAME is not big
27658 enough. Use memcpy instead of strncpy.
27659
0f48659e
JM
276602012-07-20 Joseph Myers <joseph@codesourcery.com>
27661
27662 * elf/Makefile (check-data): Remove.
27663 (localplt.data): New vpath directive.
27664 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27665 instead of $(check-data).
27666 * scripts/data/localplt-generic.data: Move to ...
27667 * sysdeps/generic/localplt.data: ... here.
27668 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27669 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27670 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27672 ... here.
27673 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27675 ... here.
27676 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27678 ... here.
27679 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27681 ... here.
27682 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27684 ... here.
27685 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27687 ... here.
27688
d37cbdaa
AZ
276892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27690
27691 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27692 PPC32 and PPC64 files.
27693 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27694 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27695
46f85fc2
AK
276962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27697
27698 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27699 __makecontext_ret to ...
27700 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27701 ... here and call exit if uc_link is NULL. New file.
27702 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27703 __makecontext_ret.S.
27704 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27705 __makecontext_ret to ...
27706 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27707 ... here and call exit if uc_link is NULL. New file.
27708 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27709 __makecontext_ret.S.
27710
08f43f9b
AK
277112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27712
27713 * elf/elf.h (R_390_IRELATIVE): New definition.
27714 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27715 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27716 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27718 (elf_machine_lazy_rel): Likewise.
27719 * sysdeps/s390/dl-irel.h: New file.
27720 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27721 * sysdeps/s390/s390-64/memset.S: New asm code.
27722 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27723 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27724 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27725 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27726 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27727 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27728 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27729 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27730 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27731 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27732 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27733 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27734 * sysdeps/s390/s390-32/memset.S: New asm code.
27735 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27736
3b05db33
MP
277372012-07-17 Marek Polacek <polacek@redhat.com>
27738
27739 [BZ #14349]
27740 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27741 * sysdeps/s390/s390-64/configure.in: Likewise.
27742 * sysdeps/sparc/configure.in: Likewise.
27743 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27744 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27745 * sysdeps/i386/configure.in: Likewise.
27746 * sysdeps/x86_64/configure.in: Likewise.
27747 * sysdeps/sh/configure.in: Likewise.
27748 * sysdeps/s390/s390-32/configure: Regenerated.
27749 * sysdeps/s390/s390-64/configure: Likewise.
27750 * sysdeps/x86_64/configure: Likewise.
27751 * sysdeps/sh/configure: Likewise.
27752 * sysdeps/powerpc/powerpc64/configure: Likewise.
27753 * sysdeps/powerpc/powerpc32/configure: Likewise.
27754 * sysdeps/sparc/configure: Likwise.
27755 * sysdeps/i386/configure: Likewise.
27756
a66877c6
MP
27757 * elf/dl-open.c: Comment fixes.
27758
cfc82fd8
JM
277592012-07-17 Joseph Myers <joseph@codesourcery.com>
27760
bd29910a
JM
27761 * Makefile [CXX] (check-data): Remove.
27762 [CXX] (c++-types.data): New vpath directive.
27763 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27764 vpath. Do not allow for C++ type data being missing.
27765 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27766 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27767 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27768 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27769 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27770 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27771 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27773 ... here.
27774 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27776 ... here.
27777 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27779 ... here.
27780 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27782 ... here.
27783 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27785 ... here.
27786 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27788 ... here.
27789 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27791 ... here.
27792 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27794
cfc82fd8
JM
27795 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27796 definitions to architecture-specific files.
27797 (TLS_IE): Likewise.
27798 (TLS_LD): Likewise.
27799 (TLS_GD): Likewise.
27800 * sysdeps/i386/tls-macros.h: New file.
27801 * sysdeps/powerpc/tls-macros.h: Likewise.
27802 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27803 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27804 * sysdeps/sh/tls-macros.h: Likewise.
27805 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27806 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27807 * sysdeps/x86_64/tls-macros.h: Likewise.
27808
f7db3170
TS
278092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27810
07cbfc23
TS
27811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27812 zero value for regular exit case.
27813
f7db3170
TS
27814 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27815 (__start_context): Preserve zero value for regular exit case.
27816
dc97c227
TS
278172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27818 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27819
27820 * manual/setjmp.texi (setcontext): Clarify normal process
27821 termination when uc_link is the null pointer.
27822 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27823 exit call.
27824
d0cd7d02
AS
278252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27826
27827 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27828 preprocessor. Test for each exception mask separately.
27829
dd318934
AJ
278302012-07-16 Andreas Jaeger <aj@suse.de>
27831
27832 * po/ru.po: Update from translation team.
27833
8048311a
JM
278342012-07-15 Joseph Myers <joseph@codesourcery.com>
27835
27836 * conform/data/string.h-data (NULL): Use macro-constant. Require
27837 equal to 0.
27838 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27839 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27840 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27841 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27843
b637d46e
AJ
278442012-07-13 Andreas Jaeger <aj@suse.de>
27845
27846 * po/fr.po: Update from translation team.
27847
541428fe
MP
278482012-07-12 Marek Polacek <polacek@redhat.com>
27849
27850 [BZ #14173]
27851 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27852 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27853 loop condition.
27854
ec332e94
JM
278552012-07-12 Joseph Myers <joseph@codesourcery.com>
27856
27857 [BZ #13717]
27858 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27859 Change to 2.4.1 where previously 2.4.0.
27860 * sysdeps/unix/sysv/linux/configure: Regenerated.
27861 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27862 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27863 version.
27864 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27865 (__ASSUME_AT_CLKTCK): Remove.
27866 (__ASSUME_AT_PAGESIZE): Likewise.
27867 (__ASSUME_AT_XID): Likewise.
27868 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27869 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27870 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27871 unconditionally.
27872 (HAVE_AUX_PAGESIZE): Likewise.
27873 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27874 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27875 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27876
7b6e99be
JB
278772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27878
27879 [BZ #14307]
27880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27881 the temporary buffer used to invoke __gethostbyname2_r,
27882 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27883 host_data / struct gaih_addrtuple.
27884 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27885 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27886 header file nss/nsswitch.h.
27887 * nss/nsswitch.h (global scope): Add definition of implementation
27888 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27889 resolv/nss_dns/dns-host.c).
27890
608404eb
AJ
278912012-07-11 Andreas Jaeger <aj@suse.de>
27892
27893 * po/fr.po: Update from translation team.
27894
71220aca
AJ
27895 * po/sv.po: Update from translation team
27896 * po/fr.po: Another update from translation team.
27897
28cfe843
AZ
278982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27899
27900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27901 for subnormals or multiply small sinh result by itself.
27902 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27904
6b90f981
DM
279052012-07-11 David S. Miller <davem@davemloft.net>
27906
27907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27908
c6825772
AS
279092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27910
27911 [BZ #14347]
27912 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27913 (INTERNAL_MARK): Shift it here.
27914
7b8e0d49
MP
279152012-07-10 Marek Polacek <polacek@redhat.com>
27916
27917 [BZ #14151]
27918 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27919 libc_cv_asm_global_directive with .globl.
27920 * configure: Regenerated.
27921 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27922 with .globl.
27923 * sysdeps/i386/configure: Regenerated.
27924 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27925 with .globl.
27926 * sysdeps/x86_64/configure: Regenerated.
27927 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27928 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27929 * elf/tst-unique2mod2.c: Likewise.
27930 * elf/tst-unique2mod1.c: Likewise.
27931 * elf/tst-unique1mod2.c: Likewise.
27932 * elf/tst-unique1mod1.c: Likewise.
27933 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27934 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27935 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27936 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27937 * sysdeps/mach/sysdep.h: Likewise.
27938 * sysdeps/i386/sysdep.h: Likewise.
27939 * sysdeps/i386/i386-mcount.S: Likewise.
27940 * sysdeps/x86_64/_mcount.S: Likewise.
27941 * sysdeps/x86_64/sysdep.h: Likewise.
27942 * sysdeps/sh/_mcount.S: Likewise.
27943 * sysdeps/sh/sysdep.h: Likewise.
27944 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27945 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27946 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27947 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27948 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27949 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27950 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27951 * locale/localeinfo.h: Likewise.
27952 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27953 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27954
6c55cda3
RM
279552012-07-09 Roland McGrath <roland@hack.frob.com>
27956
27957 [BZ #14336]
27958 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27959 system".
27960 * manual/message.texi (The Uniforum approach): Likewise.
27961 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27962 (glibc iconv Implementation): Likewise.
27963
638a572e
JM
279642012-07-09 Joseph Myers <joseph@codesourcery.com>
27965
27966 [BZ #14337]
27967 * math/s_clog.c (__clog): Avoid scaling a value down where that
27968 could result in underflow.
27969 * math/s_clog10.c (__clog10): Likewise.
27970 * math/s_clog10f.c (__clog10f): Likewise.
27971 * math/s_clog10l.c (__clog10l): Likewise.
27972 * math/s_clogf.c (__clogf): Likewise.
27973 * math/s_clogl.c (__clogl): Likewise.
27974 * math/libm-test.inc (clog_test): Add more tests.
27975 (clog10_test): Likewise.
27976 * sysdeps/i386/fpu/libm-test-ulps: Update.
27977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27978
261f4859
AS
279792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27980
0abaf3e4
AS
27981 [BZ #14283]
27982 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27983 by 7 not 8 to examine high bit of fractional part.
27984
261f4859
AS
27985 [BZ #14042]
27986 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27987 for call to __mcount_internal.
27988 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27989 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27990 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27991
f17ac40d
JM
279922012-07-06 Joseph Myers <joseph@codesourcery.com>
27993
9ad63c23
JM
27994 [BZ #14154]
27995 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27996 approximation for values within 0x1p-13f of an odd multiple of
27997 pi/4.
27998 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27999 exception. Add more tests.
28000 * sysdeps/i386/fpu/libm-test-ulps: Update.
28001
f17ac40d
JM
28002 [BZ #6778]
28003 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28004 inputs and return -1 for them. Do not check for +Inf in case not
28005 reachable for +Inf.
28006 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28007 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28008 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28009 and return -1 for them. Do not check for +Inf in case not
28010 reachable for +Inf.
28011 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28012 define.
28013 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28014 and return -1 for them. Do not check for +Inf in case not
28015 reachable for +Inf.
28016 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28017 spurious underflow.
28018 * sysdeps/i386/fpu/libm-test-ulps: Update.
28019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28020
fb21f89b
MF
280212012-07-06 Mike Frysinger <vapier@gentoo.org>
28022
28023 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28024
cdfe2c5e
JM
280252012-07-05 Joseph Myers <joseph@codesourcery.com>
28026
28027 [BZ #14157]
28028 [BZ #14331]
28029 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28030 could result in spurious underflow. Scale down values above
28031 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28032 * math/s_csqrtf.c (__csqrtf): Likewise.
28033 * math/s_csqrtl.c (__csqrtl): Likewise.
28034 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28035 spurious underflow.
28036 * sysdeps/i386/fpu/libm-test-ulps: Update.
28037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28038
70d35b67
AS
280392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28040
704bc459
AS
28041 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28042 xopen-msg.sed.
28043 * catgets/xopen-msg.awk: New file.
28044 * catgets/xopen-msg.sed: Removed.
28045
70d35b67
AS
28046 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28047 po2text.sed.
28048 * intl/po2test.awk: New file.
28049 * intl/po2test.sed: Removed.
28050
ca61cf32
JM
280512012-07-04 Joseph Myers <joseph@codesourcery.com>
28052
28053 [BZ #14328]
28054 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28055 or multiply small sinh result by itself.
28056 * math/s_ctanf.c (__ctanf): Likewise.
28057 * math/s_ctanh.c (__ctanh): Likewise.
28058 * math/s_ctanhf.c (__ctanhf): Likewise.
28059 * math/s_ctanhl.c (__ctanhl): Likewise.
28060 * math/s_ctanl.c (__ctanl): Likewise.
28061 * math/libm-test.inc (ctan_test_tonearest): New function.
28062 (ctan_test_towardzero): Likewise.
28063 (ctan_test_downward): Likewise.
28064 (ctan_test_upward): Likewise.
28065 (ctanh_test_tonearest): Likewise.
28066 (ctanh_test_towardzero): Likewise.
28067 (ctanh_test_downward): Likewise.
28068 (ctanh_test_upward): Likewise.
28069 (main): Call these new functions.
28070 * sysdeps/i386/fpu/libm-test-ulps: Update.
28071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28072
ca48a46a
MF
280732012-07-03 Mike Frysinger <vapier@gentoo.org>
28074
28075 * .gitignore: Delete /ports entry.
28076
9d63d37d
AJ
280772012-07-03 Andreas Jaeger <aj@suse.de>
28078
28079 * po/bg.po: Update from translation team.
28080 * po/cs.po: Likewise.
28081 * po/de.po: Likewise.
28082 * po/hr.po: Likewise.
28083 * po/nl.pl: Likewise.
28084 * po/pl.po: Likewise.
28085 * po/vi.po: Likewise.
28086
370ca3d2
JM
280872012-07-03 Joseph Myers <joseph@codesourcery.com>
28088
95f5a9a8
JM
28089 * Makeconfig [!+link] (+link-before-libc): New variable.
28090 [!+link] (+link-after-libc): Likewise.
28091 [!+link] (+link-tests): Likewise.
28092 [!+link] (+link): Define in terms of $(+link-before-libc) and
28093 $(+link-after-libc).
28094 [!+link-static] (+link-static-before-libc): New variable.
28095 [!+link-static] (+link-static-after-libc): Likewise.
28096 [!+link-static] (+link-static-tests): Likewise.
28097 [!+link-static] (+link-static): Define in terms of
28098 $(+link-static-before-libc) and $(+link-static-after-libc).
28099 [build-shared] (link-libc-before-gnulib): New variable.
28100 [build-shared] (link-libc-tests): Likewise.
28101 [build-shared] (link-libc): Define in terms of
28102 $(link-libc-before-gnulib).
28103 [!build-shared] (link-libc-tests): New variable.
28104 (link-libc-static-tests): New variable.
28105 [!gnulib] (gnulib-arch): New variable.
28106 [!gnulib] (gnulib-tests): Likewise.
28107 [!gnulib] (static-gnulib-arch): Likewise.
28108 [!gnulib] (static-gnulib-tests): Likewise.
28109 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28110 Define with "=" instead of ":=".
28111 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28112 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28113 * Rules (binaries-all-notests): New variable.
28114 (binaries-all-tests): Likewise.
28115 (binaries-static-notests): Likewise.
28116 (binaries-static-tests): Likewise.
28117 (binaries-all): Define using $(binaries-all-notests) and
28118 $(binaries-all-tests).
28119 (binaries-static): Define using $(binaries-static-notests) and
28120 $(binaries-static-tests).
28121 (binaries-shared-tests): New variable.
28122 (binaries-shared-notests): Likewise.
28123 (binaries-shared): Remove variable.
28124 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28125 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28126 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28127 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28128 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28129 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28130 * elf/Makefile (sln-modules): New variable.
28131 (extra-objs): Add $(sln-modules:=.o).
28132 (ldconfig-modules): Add static-stubs.
28133 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28134 * elf/static-stubs.c: New file.
28135
7a845b2c
JM
28136 [BZ #14283]
28137 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28138 by 7 not 8 to examine high bit of fractional part. Use volatile
28139 variables when splitting into final array of floats if
28140 __FLT_EVAL_METHOD__ != 0.
28141 * math/libm-test.inc (cos_test): Add another test.
28142 (sin_test): Likewise.
28143 * sysdeps/i386/fpu/libm-test-ulps: Update.
28144
e2283f38
JM
28145 [BZ #14273]
28146 * math/libm-test.inc (cosh_test): Add more tests.
28147
370ca3d2
JM
28148 * version.h (RELEASE): Set to "development".
28149 (VERSION): Set to "2.16.90".
28150
ee9247c3
CD
281512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28152
28153 * NEWS: Update copyright. Remove last-updated date.
28154 Mention math library bug fixes and timezone data changes.
28155 * README: Mention GNU/Hurd, x32, and HPPA support status.
28156
4648c381
TS
281572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28158
28159 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28160
aac78a43
AJ
281612012-06-27 Andreas Jaeger <aj@suse.de>
28162
28163 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28164
ed3dbfad
AJ
281652012-06-25 Andreas Jaeger <aj@suse.de>
28166
28167 * sysdeps/s390/fpu/libm-test-ulps: Update.
28168
4d0ee855
AS
281692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28170 Thomas Schwinge <thomas@codesourcery.com>
28171
28172 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28173 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28175 fanotify_mark.
28176
af1bce34
TS
281772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28178
a9fa33ba
TS
28179 * sysdeps/mach/start.c: Remove file.
28180 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28181 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28182 * sysdeps/sh/init-first.c: Likewise.
28183
58f902b8
TS
28184 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28185 registers for frame unwinding purposes, add CFI directives.
28186 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28187 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28188 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28189 Likewise.
28190
1518f58b
TS
28191 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28192 __fortify_fail returning.
28193 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28194
db9b5059
TS
28195 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28196 sysdeps/sh/____longjmp_chk.S.
28197 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28198 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28199 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28200 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28201
967705fe
TS
28202 * sysdeps/sh/abort-instr.h: New file.
28203 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28204 process in case exit returns.
28205
a9def8c4
TS
28206 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28207 initialize the GOT register before use.
28208
2a649725
TS
28209 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28210 calculation of ARGC > 4.
28211
af1bce34
TS
28212 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28213 meaningful names to some local labels.
28214
d230f50a
KK
282152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28216 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28217
28218 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28219 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28220 (__arch_compare_and_exchange_val_16_acq): Likewise.
28221 (__arch_compare_and_exchange_val_32_acq): Likewise.
28222 (atomic_exchange_and_add): Fix gUSA sequence.
28223 (atomic_add): Likewise.
28224 (atomic_add_negative): Likewise.
28225 (atomic_add_zero): Likewise.
28226 (atomic_bit_test_set): Likewise.
28227
0479b305
AS
282282012-06-22 Andreas Schwab <schwab@redhat.com>
28229
28230 [BZ #13579]
28231 * include/link.h (struct link_map): Add l_free_initfini.
28232 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28233 l_initfini.
28234 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28235 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28236 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28237 set.
28238
0e3933b9
CD
282392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28240
28241 * configure.in: Use AC_LANG_SOURCE.
28242 * configure: Regenerate.
28243
4248b1b1
RM
282442012-06-22 Roland McGrath <roland@hack.frob.com>
28245
28246 * configure.in (libc_cv_localstatedir): New substituted variable.
28247 * configure: Regenerated.
28248 * config.make.in (localstatedir): New variable, substituted from
28249 libc_cv_localstatedir.
28250 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28251 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28252 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28253 * sysdeps/gnu/configure: Regenerated.
28254
006dd861
JL
282552012-06-21 Jeff Law <law@redhat.com>
28256
28257 [BZ #14277]
28258 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28259 free. Simplify list management for _LIBC case.
28260
79662d42
JM
282612012-06-21 Joseph Myers <joseph@codesourcery.com>
28262
b7abb4bf
JM
28263 [BZ #14273]
28264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28265 Clear sign bit of 64-bit integer value before comparing against
28266 overflow value.
28267
79662d42
JM
28268 * sysdeps/mach/configure: Regenerated.
28269
1f150908
L
282702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28271
28272 [BZ #14278]
28273 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28274
28363bbf
JL
282752012-06-21 Jeff Law <law@redhat.com>
28276
28277 [BZ #13882]
28278 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28279 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28280 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28281 * elf/dl-open.c (dl_open_worker): Likewise.
28282
09615db4
CD
282832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28284
28285 * scripts/list-sources.sh: Scan PORTS for translations.
28286 * po/libc.pot: Regenerated.
28287
2174c6dd
AJ
282882012-06-21 Andreas Jaeger <aj@suse.de>
28289
28290 [BZ #12194]
28291 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28292 warning.
28293 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28294 * bits/byteswap-16.h (__bswap_16): Likewise.
28295 * bits/byteswap.h (__bswap_constant_16): Likewise.
28296
3ee947b1
L
282972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28298
28299 [BZ #14117]
a2f34833
L
28300 * sysdeps/i386/fpu_control.h: Removed.
28301 * sysdeps/x86_64/fpu_control.h: Moved to ...
28302 * sysdeps/x86/fpu_control.h: Here.
28303
3ee947b1
L
28304 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28305 (_FPU_SETCW): Likewise.
28306
ed1825f8
L
283072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28308
25f1282a
L
28309 [BZ #14117]
28310 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28311 * sysdeps/x86/fpu/bits/mathinline.h: This.
28312 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28313
ed1825f8
L
28314 [BZ #14050]
28315 [BZ #14117]
28316 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28317 functions if __x86_64__ is defined.
28318
36d54b74
CLT
283192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28320
28321 * string/endian.h: Add !__ASSEMBLER__ condition for including
28322 conversion interfaces.
28323
10285c21
JM
283242012-06-15 Joseph Myers <joseph@codesourcery.com>
28325
28326 [BZ #14241]
28327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28328 of ABS(x) in calculating zero to negative powers other than odd
28329 integers.
28330 * math/libm-test.inc (pow_test): Add more tests.
28331
06c5abbd
AJ
283322012-06-15 Andreas Jaeger <aj@suse.de>
28333
28334 * manual/contrib.texi (Contributors): Update entry of Liubov
28335 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28336 Machado Filho.
28337
a3aeac40
CH
283382012-06-15 Cyril Hrubis <metan@ucw.cz>
28339
28340 * string/string.h: Add __wur to GNU version of strerror_r.
28341
49bdf4c1
L
283422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28343
28344 [BZ #14229]
28345 * string/Makefile (tests): Add tst-strtok_r.
28346 * string/tst-strtok_r.c: New file.
28347 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28348 RAX_LP/RDX_LP on SAVE_PTR.
28349
834f9b8d
RM
283502012-06-14 Roland McGrath <roland@hack.frob.com>
28351
28352 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28353
75fa1921
JM
283542012-06-14 Joseph Myers <joseph@codesourcery.com>
28355
28356 * libm_test.inc (csqrt_test): Allow more spurious underflow
28357 exceptions.
28358 (j0_test): Likewise.
28359 (j1_test): Likewise.
28360 (y0_test): Likewise.
28361 (y1_test): Likewise.
28362
771766df
CD
283632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28364
28365 * po/Makefile (libc.pot): Use UTF-8 charset.
28366
ceb9e56b
PP
283672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28368
28369 [BZ #14210]
28370 Suppress sign-conversion warning from FD_SET.
28371 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28372 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28373 not unsigned long int.
28374 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28375
ddb28975
L
283762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28377
28378 [BZ #14050]
28379 [BZ #14117]
28380 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28381 __extern_always_inline instead of __extern_inline.
28382 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28383 (__signbit): Likewise.
28384 (__signbitl): Support C++ namespace.
28385 (lrintf): New inline function.
28386 (lrint): Likewise.
28387 (llrintf): Likewise.
28388 (llrint): Likewise.
28389 (fmaxf): Likewise.
28390 (fmax): Likewise.
28391 (fminf): Likewise.
28392 (fmin): Likewise.
28393 (rint): Likewise.
28394 (rintf): Likewise.
28395 (ceil): Likewise.
28396 (ceilf): Likewise.
28397 (floor): Likewise.
28398 (floorf): Likewise.
28399 (nearbyint): Likewise.
28400 (nearbyintf): Likewise.
28401
d7b4fb26
TS
284022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28403
28404 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28405 non-default versions.
28406
eb55f5c2
RM
284072012-06-11 Roland McGrath <roland@hack.frob.com>
28408
28409 [BZ #14218]
28410 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28411
366af02c
TS
284122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28413
99ff6e5c
TS
28414 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28415 (FE_UPWARD, FE_DOWNWARD): Don't define.
28416 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28417 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28418
366af02c
TS
28419 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28420 reading it.
28421 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28422 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28423
793ea851
KK
284242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28425
28426 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28427 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28428 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28429 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28430
a728a38f
L
284312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28432
28433 [BZ #14117]
c08010c7
L
28434 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28435 * sysdeps/i386/fpu/Implies: New file.
28436 * sysdeps/x86_64/fpu/Implies: Likewise.
28437 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28438 * sysdeps/x86/fpu/bits/fenv.h: This.
28439
a728a38f
L
28440 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28441 __SSE_MATH__.
28442
6e230d11
SP
284432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28444
28445 [BZ #14134]
28446 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28447 character 0xffff that matches the last element of the
28448 conversion table.
28449
1b671feb
AZ
284502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28451
28452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28453 fmodl commit.
28454
6043738b
AZ
284552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28456
28457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28458 values higher than 25.6283.
28459
34ae0b32
AZ
284602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28461
28462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28463 subnormal exponent extraction and add some __builtin_expect.
28464 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28465 Fix for subnormal mantissa calculation.
28466
1214ec8f
MF
284672012-06-04 Mike Frysinger <vapier@gentoo.org>
28468
28469 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28470 cpu2 is -1 and errno is not ENOSYS.
28471
f3d1f93c
L
284722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28473
28474 [BZ #14117]
0e4a3cd7
L
28475 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28476 * sysdeps/x86/bits/string.h: This.
28477 * sysdeps/x86_64/bits/string.h: Removed.
28478
6704c645
L
28479 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28480 if not compiling for x86-64, but compiling for >= i486.
28481
48495318
L
28482 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28483 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28484
14adcbfc
L
28485 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28486 New macro from Linux kernel 3.4.0.
28487 (FP_XSTATE_MAGIC2): Likewise.
28488 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28489 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28490 (struct _fpx_sw_bytes): New struct.
28491 (struct _xsave_hdr): Likewise.
28492 (struct _ymmh_state): Likewise.
28493 (struct _xstate): Likewise.
28494
68e408ab
L
28495 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28496 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28497 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28498 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28499 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28500 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28501
f3d1f93c
L
28502 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28503 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28504 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28505 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28506 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28507 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28508
d9dc34cd
TMQMF
285092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28510
28511 [BZ #13743]
28512 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28513 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28514 (sysdep_headers): Include sys/platform/ppc.h.
28515 * sysdeps/powerpc/test-gettimebase.c: Test for
28516 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28517 * manual/Makefile (appendices): Include platform.texi.
28518 * manual/contrib.texi (Contributors): Update @node pointers.
28519 * manual/maint.texi (Maintenance): Likewise.
28520 (Platform): New node.
28521 * manual/platform.texi: New file. Document the new features.
28522
4af3879c
SP
285232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28524 Jakub Jelinek <jakub@redhat.com>
28525
28526 [BZ #14188]
28527 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28528 where __builtin_expect is unavailable.
28529
2fd6ff13
DM
285302012-06-03 David S. Miller <davem@davemloft.net>
28531
28532 * stdlib/longlong.h: Updated from GCC.
28533
173f7220
AS
285342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28535
28536 [BZ #14042]
28537 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28538 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28539 __mcount_internal.
28540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28541 (GLIBC_2.16): Likewise.
28542
f34a1c6f
L
285432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28544
28545 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28546
88a4576f
JM
285472012-06-01 Joseph Myers <joseph@codesourcery.com>
28548
ea32bcdd
JM
28549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28550 (default-abi): New variable.
28551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28552 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28553 variable.
28554 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28555 Likewise.
28556 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28557 Likewise.
28558 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28559 Likewise.
28560
88a4576f
JM
28561 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28562 definition. Document in comment.
28563
402fe938
DM
285642012-06-01 David S. Miller <davem@davemloft.net>
28565
28566 * stdlib/longlong.h: Updated from GCC.
28567
3553723f
L
285682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28569
28570 [BZ #14117]
3bd872c4
L
28571 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28572 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28573 sys/debugreg.h sys/io.h here.
28574 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28575 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28576 sys/io.h.
28577 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28578 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28579 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28580 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28581 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28582 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28583
3553723f
L
28584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28585 Define only if __x86_64__ is defined.
28586
4842e4fe
JM
285872012-06-01 Joseph Myers <joseph@codesourcery.com>
28588
c5bfe3d5
JM
28589 [BZ #14048]
28590 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28591 Use int64_t for variable i.
28592 * math/libm-test.inc (fmod_test): Add more tests.
28593
4842e4fe
JM
28594 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28595 z computation is not scheduled after fetestexcept.
28596 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28597 Use math_force_eval instead of asm to ensure calculation scheduled
28598 before exception test.
28599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28600 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28601
efb73488
AJ
286022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28603
28604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28605 computation is not scheduled after fetestexcept.
28606
29bcce7c
L
286072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28608
28609 [BZ #14117]
28610 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28611 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28612
73a68f94
AZ
286132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28614
28615 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28616 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28617
67b6df78
L
286182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28619
edf2933a 28620 [BZ #14117]
ebc64a18
L
28621 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28622 <bits/wordsize.h>.
28623 (__WCHAR_MIN): Support __WORDSIZE == 64.
28624 (__WCHAR_MAX): Likewise.
28625
edf2933a
L
28626 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28628
57c6cf40
L
28629 [BZ #14183]
28630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28631 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28632
67b6df78 28633 [BZ #14117]
8eb6281e
L
28634 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28635 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28636
aac639f4
L
28637 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28638 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28639
67b6df78
L
28640 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28641 Defined to 1 if __x86_64__ isn't defined.
28642 (_STAT_VER_LINUX_OLD): New.
28643 (st_atime): Remove duplicate.
28644 (st_mtime): Likewise.
28645 (st_ctime): Likewise.
28646
1c2cfe81
DM
286472012-05-31 David S. Miller <davem@davemloft.net>
28648
28649 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28650 entries.
28651
5be8418c
AS
286522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28653
e7725326
AS
28654 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28655 gen-libm-test.pl.
28656
5be8418c
AS
28657 [BZ #14132]
28658 * elf/dl-reloc.c: Include <_itoa.h>.
28659 (_dl_reloc_bad_type): Remove use of INTUSE.
28660 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28661 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28662 * stdio-common/psiginfo.c (psiginfo): Likewise.
28663 * stdio-common/psignal.c (psignal): Likewise.
28664 * string/strsignal.c (strsignal): Likewise.
28665 * include/signal.h (_sys_siglist): Declare hidden proto.
28666 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28667 INTVARDEF with libc_hidden_data_def.
28668 * stdio-common/itoa-udigits.c: Likewise.
28669 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28670 (_itoa_lower_digits_internal): Remove declaration.
28671 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28672 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28673 (_sys_sigabbrev_internal): Remove aliases.
28674 (_sys_siglist): Define hidden alias.
28675
507352f1
MT
286762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28677
28678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28679 bits/sysctl.h.
28680
42bbb1c3
L
286812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28682
28683 [BZ #14117]
6bd784b6
L
28684 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28685 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28686
8bca20f0
L
28687 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28688 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28689 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28690 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28692 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28693
f9e890a9
L
28694 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28695 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28696 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28697
471101a1
L
28698 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28699 with __addr.
28700 (insw): Likewise.
28701 (insl): Likewise.
28702 (outsb): Likewise.
28703 (outsw): Likewise.
28704 (outsl): Likewise.
28705
6451c862
L
28706 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28707 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28708 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28709
a254b8c9
L
28710 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28711 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28713 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28714 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28715 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28716
b8dfdd92
L
28717 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28718 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28719
578cd270
L
28720 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28721 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28722
de662f5f
L
28723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28726
25653439
L
28727 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28728 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28729 to ...
28730 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28731
6bad24a0
L
28732 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28733 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28734 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28735
42bbb1c3
L
28736 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28737 for x86-64.
28738 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28739
2d10d547
JM
287402012-05-31 Joseph Myers <joseph@codesourcery.com>
28741
28742 * math/math.h (M_El): Use two more decimal places.
28743 (M_LOG2El): Likewise.
28744 (M_LOG10El): Likewise.
28745 (M_LN2l): Likewise.
28746 (M_LN10l): Likewise.
28747 (M_PIl): Likewise.
28748 (M_PI_2l): Likewise.
28749 (M_PI_4l): Likewise.
28750 (M_1_PIl): Likewise.
28751 (M_2_PIl): Likewise.
28752 (M_2_SQRTPIl): Likewise.
28753 (M_SQRT2l): Likewise.
28754 (M_SQRT1_2l): Likewise.
28755
f230c29b
DM
287562012-05-31 David S. Miller <davem@davemloft.net>
28757
28758 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28759 values between float registers.
28760 * sysdeps/sparc/sparc64/memset.S: Likewise.
28761 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28762
fed806c3
MF
287632012-05-31 Mike Frysinger <vapier@gentoo.org>
28764
28765 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28766 -D_FORTIFY_SOURCE=1.
28767 (CPPFLAGS-tst-longjmp_chk.c): Define.
28768 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28769 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28770 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28771 CFLAGS-tst-wchar-h.c.
28772
30917259
MP
287732012-05-31 Marek Polacek <polacek@redhat.com>
28774
28775 [BZ #14132]
28776 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28777 __endmntent_internal): Remove declaration.
28778 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28779 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28780 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28781
1c58d5dc
DM
287822012-05-30 David S. Miller <davem@davemloft.net>
28783
28784 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28785 (___Q_simulate_exceptions): Use real FP ops rather than writing
28786 into the %fsr.
28787 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28788 Likewise.
28789
7dc00e0d
L
287902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28791
28792 [BZ #14117]
0bd53985
L
28793 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28794 * sysdeps/x86/bits/xtitypes.h: This.
28795
3a257e66
L
28796 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28797 * sysdeps/x86/bits/wordsize.h: This.
28798
62f62904
L
28799 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28800 * sysdeps/x86/bits/huge_vall.h: This.
28801
404fe9d9
L
28802 * sysdeps/i386/bits/select.h: Removed.
28803 * sysdeps/x86_64/bits/select.h: Renamed to ...
28804 * sysdeps/x86/bits/select.h: This.
28805
d48d0446
L
28806 * sysdeps/i386/bits/setjmp.h: Removed.
28807 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28808 * sysdeps/x86/bits/setjmp.h: This.
28809
7dc00e0d
L
28810 * sysdeps/i386/bits/mathdef.h: Removed.
28811 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28812 * sysdeps/x86/bits/mathdef.h: This.
28813
03277f8f
AS
288142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28815
28816 [BZ #14132]
28817 * include/sys/socket.h (__connect_internal)
28818 (__libc_sa_len_internal): Remove declaration.
28819 (__connect, __libc_sa_len): Declare hidden_proto.
28820 (SA_LEN): Remove use of INTUSE.
28821 * socket/connect.c: Add libc_hidden_def.
28822 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28823 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28824 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28825 alias.
28826 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28827 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28828 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28829 of adding _internal alias.
28830
13764867
L
288312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 [BZ #14117]
6bd97696
L
28834 * sysdeps/i386/bits/link.h: Removed.
28835 * sysdeps/i386/bits/linkmap.h: Likewise.
28836 * sysdeps/x86_64/bits/link.h: Renamed to ...
28837 * sysdeps/x86/bits/link.h: This.
28838 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28839 * sysdeps/x86/bits/linkmap.h: This.
28840
f726f0bb
L
28841 * sysdeps/i386/bits/endian.h: Removed.
28842 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28843 * sysdeps/x86/bits/endian.h: This.
28844
13764867
L
28845 * sysdeps/i386/bits/byteswap.h: Removed.
28846 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28847 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28848 * sysdeps/x86/bits/byteswap.h: This.
28849 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28850 * sysdeps/x86/bits/byteswap-16.h: This.
28851 * sysdeps/i386/Implies: Add x86.
28852 * sysdeps/x86_64/Implies: Likewise.
28853
ae251b0b
DM
288542012-05-30 David S. Miller <davem@davemloft.net>
28855
28856 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28857 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28858 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28859 (FP_TRAPPING_EXCEPTIONS): Define.
28860 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28861 (FP_TRAPPING_EXCEPTIONS): Define.
28862 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28863 subnormals only when inexact has been signalled or underflow
28864 exceptions are enabled.
28865 (_FP_PACK_CANONICAL): Likewise.
28866
d5c90867
L
288672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28868
28869 [BZ #14183]
28870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28871 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28872
63f1549e
RH
288732012-05-30 Richard Henderson <rth@twiddle.net>
28874
8d8f2279
RH
28875 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28876 with #ifndef NOT_IN_libc.
28877
63f1549e
RH
28878 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28879 marked to avoid plt entry.
28880
0ab0291b
L
288812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28882
28883 [BZ #14112]
28884 * Makeconfig (default-abi): New macro.
28885 (abi-includes): Likewise.
28886 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28887 $(abi-$(default-abi)-lib-soname) for soname if defined.
28888 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28889 abi-variants.
28890 * Makefile (installed-stubs): Likewise.
28891 * include/stubs-biarch.h: Removed.
28892 * scripts/lib-names.awk: Only handle one library at a time.
28893 * scripts/soversions.awk: Remove WORDSIZE support.
28894 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28895 entries.
28896 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28897 Removed.
28898 (syscall-list-default-condition): Likewise.
28899 (syscall-list-default-condition): Likewise.
28900 (syscall-list-includes): Likewise.
28901 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28902 syscall-list-* with abi-*. Handle undefined abi-variants.
28903 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28904 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28905 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28906 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28907 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28908 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28909 Removed.
28910 (syscall-list-32-options): Likewise.
28911 (syscall-list-32-condition): Likewise.
28912 (syscall-list-64-options): Likewise.
28913 (syscall-list-64-condition): Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28915 macro.
28916 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28917 Renamed to ...
28918 (abi-*): This.
28919 (abi-64-ld-soname): New macro.
28920 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28921 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28922 Renamed to ...
28923 (abi-*): This.
28924 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28925 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28926
4da0431d
JM
289272012-05-30 Joseph Myers <joseph@codesourcery.com>
28928
3a85279c
JM
28929 * sysdeps/unix/sysv/linux/kernel-features.h
28930 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28931 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28932 include <kernel-features.h>.
28933 [!__NR_ftruncate64]: Remove conditional code.
28934 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28935 [__NR_ftruncate64]: Make code unconditional.
28936 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28937 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28938 include <kernel-features.h>.
28939 [!__NR_ftruncate64]: Remove conditional code.
28940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28941 [__NR_ftruncate64]: Make code unconditional.
28942 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28944 include <kernel-features.h>.
28945 [!__NR_ftruncate64]: Remove conditional code.
28946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28947 [__NR_ftruncate64]: Make code unconditional.
28948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28950 include <kernel-features.h>.
28951 [!__NR_ftruncate64]: Remove conditional code.
28952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28953 [__NR_ftruncate64]: Make code unconditional.
28954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28955
4da0431d
JM
28956 * configure.in (libc_cv_fpie): Weaken to a compile test using
28957 LIBC_TRY_CC_OPTION.
28958 * configure: Regenerated.
28959
11ef492c
AK
289602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28961
28962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28966 Refreshed.
28967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28973 Refreshed.
28974
d66ef399
DM
289752012-05-27 David S. Miller <davem@davemloft.net>
28976
28977 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28978 (___Q_zero): New.
28979 (__Q_simulate_exceptions): Return void. Change to simulate
28980 exceptions by writing into the %fsr.
28981 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28982 (__Qp_handle_exceptions): Likewise.
28983 (numbers): Delete.
28984 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28985 __Qp_handle_exceptions.
28986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28987 __Qp_handle_exceptions.
28988 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28989 as unused and give dummy FP_RND_NEAREST initializer.
28990 (FP_INHIBIT_RESULTS): Define.
28991 (___Q_simulate_exceptions): Update declaration.
28992 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28993 formatting.
28994 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28995 as unused and give dummy FP_RND_NEAREST initializer.
28996 (__Qp_handle_exceptions): Update declaration.
28997 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28998 formatting.
28999
04fb54b5
TS
290002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29001
29002 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29003 the temporary FPU control word.
29004 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29005 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29006 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29007 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29008 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29009 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29010 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29011 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29012 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29013 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29014 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29015
3f99608f
KK
290162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29017
29018 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29019 fields.
29020
65a4de4e
CLT
290212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29022
29023 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29024 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29025 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29026 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29027 Likewise.
29028 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29029 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29030 Likewise.
29031
15749d40
UD
290322012-05-27 Ulrich Drepper <drepper@gmail.com>
29033
29034 * po/h.po: Update from translation team.
29035
25dbcb27
AS
290362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29037
3d3f8e55
AS
29038 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29039
25dbcb27
AS
29040 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29041 handling of denormals.
29042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29043 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29044 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29045 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29049 Likewise.
29050
7ad47a80 290512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29052
29053 [BZ #14152]
29054 * math/libm-test.inc (fma_test): Don't always expect underflow
29055 exception.
29056
9c6ea9fa
SP
290572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29058
29059 [BZ #12416]
29060 * elf/tst-execstack.c: Include stackinfo.h.
29061 (do_test): Adjust test case to ensure that pthread_getattr_np
29062 behaviour remains the same after marking stack executable.
29063
a8239222
JM
290642012-05-25 Joseph Myers <joseph@codesourcery.com>
29065
29066 * sysdeps/unix/sysv/linux/kernel-features.h
29067 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29068 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29069 kernel-features.h.
29070 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29071 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29072 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29073 kernel-features.h.
29074 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29075 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29076
918b5606
L
290772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29078
29079 * configure.in: Define the default includes to being none.
29080 * configure: Regenerated.
29081
3a097cc7
RM
290822012-05-25 Roland McGrath <roland@hack.frob.com>
29083
8422c9a5
RM
29084 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29085 * sysdeps/x86_64/setjmp.S: Likewise.
29086 * sysdeps/i386/bsd-setjmp.S: Likewise.
29087 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29088 * sysdeps/i386/setjmp.S: Likewise.
29089 * sysdeps/i386/__longjmp.S: Likewise.
29090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29091 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29092
3a097cc7
RM
29093 * include/stap-probe.h: New file.
29094 * configure.in: Handle --enable-systemtap.
29095 * configure: Regenerated.
29096 * config.h.in (USE_STAP_PROBE): New #undef.
29097 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29098 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29099 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29100
21708942
JM
291012012-05-25 Joseph Myers <joseph@codesourcery.com>
29102
29103 [BZ #13717]
29104 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29105 to 2.4.0 where earlier.
29106 * sysdeps/unix/sysv/linux/configure: Regenerated.
29107 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29108 <kernel-features.h>.
29109 [__ASSUME_32BITUIDS]: Make code unconditional.
29110 [!__ASSUME_32BITUIDS]: Remove conditional code.
29111 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29112 <kernel-features.h>.
29113 [__ASSUME_32BITUIDS]: Make code unconditional.
29114 [!__ASSUME_32BITUIDS]: Remove conditional code.
29115 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29116 [__ASSUME_32BITUIDS]: Make code unconditional.
29117 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29118 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29119 <kernel-features.h>.
29120 [__ASSUME_32BITUIDS]: Make code unconditional.
29121 [!__ASSUME_32BITUIDS]: Remove conditional code.
29122 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29123 <kernel-features.h>.
29124 [__ASSUME_32BITUIDS]: Make code unconditional.
29125 [!__ASSUME_32BITUIDS]: Remove conditional code.
29126 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29127 <kernel-features.h>.
29128 [__ASSUME_32BITUIDS]: Make code unconditional.
29129 [!__ASSUME_32BITUIDS]: Remove conditional code.
29130 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29131 <kernel-features.h>.
29132 [__ASSUME_32BITUIDS]: Make code unconditional.
29133 [!__ASSUME_32BITUIDS]: Remove conditional code.
29134 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29135 <kernel-features.h>.
29136 [__ASSUME_32BITUIDS]: Make code unconditional.
29137 [!__ASSUME_32BITUIDS]: Remove conditional code.
29138 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29139 <kernel-features.h>.
29140 [__ASSUME_32BITUIDS]: Make code unconditional.
29141 [!__ASSUME_32BITUIDS]: Remove conditional code.
29142 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29143 <kernel-features.h>.
29144 [__ASSUME_32BITUIDS]: Make code unconditional.
29145 [!__ASSUME_32BITUIDS]: Remove conditional code.
29146 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29147 <kernel-features.h>.
29148 [__ASSUME_32BITUIDS]: Make code unconditional.
29149 [!__ASSUME_32BITUIDS]: Remove conditional code.
29150 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29151 <kernel-features.h>.
29152 [__ASSUME_32BITUIDS]: Make code unconditional.
29153 [!__ASSUME_32BITUIDS]: Remove conditional code.
29154 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29155 <kernel-features.h>.
29156 [__ASSUME_32BITUIDS]: Make code unconditional.
29157 [!__ASSUME_32BITUIDS]: Remove conditional code.
29158 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29159 <kernel-features.h>.
29160 [__NR_setresgid] (__setresgid): Do not declare.
29161 [__ASSUME_32BITUIDS]: Make code unconditional.
29162 [!__ASSUME_32BITUIDS]: Remove conditional code.
29163 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29164 <kernel-features.h>.
29165 [__NR_setresuid] (__setresuid): Do not declare.
29166 [__ASSUME_32BITUIDS]: Make code unconditional.
29167 [!__ASSUME_32BITUIDS]: Remove conditional code.
29168 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29169 <kernel-features.h>.
29170 [__ASSUME_32BITUIDS]: Make code unconditional.
29171 [!__ASSUME_32BITUIDS]: Remove conditional code.
29172 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29173 <kernel-features.h>.
29174 [__ASSUME_32BITUIDS]: Make code unconditional.
29175 [!__ASSUME_32BITUIDS]: Remove conditional code.
29176 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29177 <kernel-features.h>.
29178 [__ASSUME_32BITUIDS]: Make code unconditional.
29179 [!__ASSUME_32BITUIDS]: Remove conditional code.
29180 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29181 <kernel-features.h>.
29182 [__ASSUME_32BITUIDS]: Make code unconditional.
29183 [!__ASSUME_32BITUIDS]: Remove conditional code.
29184 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29185 <kernel-features.h>.
29186 [__ASSUME_32BITUIDS]: Make code unconditional.
29187 [!__ASSUME_32BITUIDS]: Remove conditional code.
29188 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29189 <kernel-features.h>.
29190 [__ASSUME_32BITUIDS]: Make code unconditional.
29191 [!__ASSUME_32BITUIDS]: Remove conditional code.
29192 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29193 <kernel-features.h>.
29194 [__ASSUME_32BITUIDS]: Make code unconditional.
29195 [!__ASSUME_32BITUIDS]: Remove conditional code.
29196 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29197 <kernel-features.h>.
29198 [__ASSUME_32BITUIDS]: Make code unconditional.
29199 [!__ASSUME_32BITUIDS]: Remove conditional code.
29200 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29201 <kernel-features.h>.
29202 [__ASSUME_32BITUIDS]: Make code unconditional.
29203 [!__ASSUME_32BITUIDS]: Remove conditional code.
29204 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29205 <kernel-features.h>.
29206 [__ASSUME_32BITUIDS]: Make code unconditional.
29207 [!__ASSUME_32BITUIDS]: Remove conditional code.
29208 * sysdeps/unix/sysv/linux/kernel-features.h
29209 (__ASSUME_SETRESUID_SYSCALL): Remove.
29210 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29211 (__ASSUME_32BITUIDS): Likewise.
29212 (__ASSUME_LDT_WORKS): Likewise.
29213 (__ASSUME_O_DIRECTORY): Likewise.
29214 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29215 architecture but not kernel version.
29216 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29217 (__ASSUME_MMAP2_SYSCALL): Likewise.
29218 (__ASSUME_STAT64_SYSCALL): Likewise.
29219 (__ASSUME_IPC64): Likewise.
29220 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29221 <kernel-features.h>.
29222 [__ASSUME_32BITUIDS]: Make code unconditional.
29223 [!__ASSUME_32BITUIDS]: Remove conditional code.
29224 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29225 <kernel-features.h>.
29226 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29227 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29228 132096]: Remove conditional code.
29229 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29230 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29231 <kernel-features.h>.
29232 [__ASSUME_32BITUIDS]: Make code unconditional.
29233 [!__ASSUME_32BITUIDS]: Remove conditional code.
29234 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29235 <kernel-features.h>.
29236 [__ASSUME_32BITUIDS]: Make code unconditional.
29237 [!__ASSUME_32BITUIDS]: Remove conditional code.
29238 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29239 <kernel-features.h>.
29240 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29241 unconditional.
29242 (__setresgid): Do not declare.
29243 [__ASSUME_32BITUIDS]: Make code unconditional.
29244 [!__ASSUME_32BITUIDS]: Remove conditional code.
29245 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29246 <kernel-features.h>.
29247 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29248 unconditional.
29249 (__setresuid): Do not declare.
29250 [__ASSUME_32BITUIDS]: Make code unconditional.
29251 [!__ASSUME_32BITUIDS]: Remove conditional code.
29252 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29253 <kernel-features.h>.
29254 [__ASSUME_32BITUIDS]: Make code unconditional.
29255 [!__ASSUME_32BITUIDS]: Remove conditional code.
29256 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29257 <kernel-features.h>.
29258 [__ASSUME_32BITUIDS]: Make code unconditional.
29259 [!__ASSUME_32BITUIDS]: Remove conditional code.
29260
a386f1cc
RH
292612012-05-25 Richard Henderson <rth@twiddle.net>
29262
29263 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29264 dl_hwcap to ifunc resolver.
29265 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29266 elf_ifunc_invoke.
29267 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29268 dl_hwcap to ifunc resolver.
29269 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29270
b6550497
JM
292712012-05-24 Joseph Myers <joseph@codesourcery.com>
29272
29273 [BZ #14153]
29274 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29275 for |x| <= 2**-26, not 2**-57.
29276 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29277 exception.
29278
b0bc23a1
JL
292792012-05-24 Jeff Law <law@redhat.com>
29280
29281 * stdio-common/Makefile (tests): Add bug25.
29282 * stdio-common/bug25.c: New test.
29283
347c92e9
L
292842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29285
29286 [BZ #13576]
29287 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29288 multiple of MALLOC_ALIGNMENT in size.
29289 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29290
6bcc8b3f
JM
292912012-05-24 Joseph Myers <joseph@codesourcery.com>
29292
29293 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29294 Require >= 256.
29295 (FILENAME_MAX): Use macro-int-constant.
29296 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29297 (_IOFBF): Use macro-int-constant.
29298 (_IOLBF): Likewise.
29299 (_IONBF): Likewise.
29300 (SEEK_CUR): Likewise.
29301 (SEEK_END): Likewise.
29302 (SEEK_SET): Likewise.
29303 (TMP_MAX): Likewise.
29304 (EOF): Use macro-int-constant. Require < 0.
29305 (NULL): Use macro-constant. Require == 0.
29306 (stdin): Require type to be FILE *.
29307 (stdout): Likewise.
29308 (stderr): Likewise.
29309 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29310 macro-int-constant.
29311 (EXIT_SUCCESS): Likewise.
29312 (NULL): Use macro-constant. Require == 0.
29313 (RAND_MAX): Use macro-int-constant.
29314 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29315 [C99-based standards] (strtof): Require function.
29316 [C99-based standards] (strtold): Likewise.
29317 [C99-based standards] (strtoll): Likewise.
29318 [C99-based standards] (strtoull): Likewise.
29319 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29320 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29321 [ISO || ISO99 || ISO11] (math.h): Likewise.
29322 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29323 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29325
d18ea0c5
AS
293262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29327
29328 [BZ #14132]
56d25bb8
AS
29329 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29330 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29331 * intl/dgettext.c (DCGETTEXT): Likewise.
29332 * intl/gettext.c (DCGETTEXT): Likewise.
29333 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29334 * posix/regex_internal.h (gettext): Likewise.
29335 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29336 Remove declaration.
29337 * include/argz.h (__argz_count_internal)
29338 (__argz_stringify_internal): Remove declaration.
29339 (__argz_count, __argz_stringify): Declare hidden proto.
29340 * intl/dcgettext.c: Remove use of INTDEF.
29341 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29342 * string/argz-stringify.c: Likewise.
29343 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29344 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29345 Declare hidden proto.
d18ea0c5
AS
29346 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29347 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29348 Declare hidden proto.
29349 * include/stdio.h (__asprintf_internal): Don't declare.
29350 (__asprintf): Don't define as macro. Declare hidden proto.
29351 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29352 (__fsetlocking): Declare hidden proto.
29353 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29354 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29355 hidden proto.
29356 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29357 (_IO_setlinebuf): Remove use of INTUSE.
29358 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29359 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29360 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29361 Remove declaration.
29362 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29363 (_IO_do_flush): Remove use of INTUSE.
29364 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29365 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29366 (_IO_adjust_column, _IO_least_wmarker)
29367 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29368 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29369 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29370 (_IO_default_doallocate, _IO_wdefault_doallocate)
29371 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29372 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29373 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29374 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29375 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29376 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29377 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29378 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29379 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29380 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29381 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29382 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29383 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29384 proto.
29385 (_IO_flush_all_internal, _IO_adjust_column_internal)
29386 (_IO_default_uflow_internal, _IO_default_finish_internal)
29387 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29388 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29389 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29390 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29391 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29392 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29393 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29394 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29395 (_IO_file_close_internal, _IO_file_close_it_internal)
29396 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29397 (_IO_file_init_internal, _IO_file_attach_internal)
29398 (_IO_file_fopen_internal, _IO_file_read_internal)
29399 (_IO_file_sync_internal, _IO_file_seek_internal)
29400 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29401 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29402 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29403 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29404 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29405 (_IO_list_all_internal, _IO_link_in_internal)
29406 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29407 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29408 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29409 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29410 (_IO_do_write_internal, _IO_padn_internal)
29411 (_IO_getline_info_internal, _IO_getline_internal)
29412 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29413 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29414 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29415 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29416 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29417 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29418 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29419 with libc_hidden_ver, remove use of INTUSE.
29420 * libio/genops.c: Likewise.
29421 * libio/freopen.c: Likewise.
29422 * libio/freopen64.c: Likewise.
29423 * libio/iofclose.c: Likewise.
29424 * libio/iofdopen.c: Likewise.
29425 * libio/iofflush.c: Likewise.
29426 * libio/iofflush_u.c: Likewise.
29427 * libio/iofgets.c: Likewise.
29428 * libio/iofgets_u.c: Likewise.
29429 * libio/iofopen.c: Likewise.
29430 * libio/iofopncook.c: Likewise.
29431 * libio/iofread.c: Likewise.
29432 * libio/iofread_u.c: Likewise.
29433 * libio/ioftell.c: Likewise.
29434 * libio/iofwrite.c: Likewise.
29435 * libio/iogetline.c: Likewise.
29436 * libio/iogets.c: Likewise.
29437 * libio/iogetwline.c: Likewise.
29438 * libio/iopadn.c: Likewise.
29439 * libio/iopopen.c: Likewise.
29440 * libio/ioseekoff.c: Likewise.
29441 * libio/ioseekpos.c: Likewise.
29442 * libio/iosetbuffer.c: Likewise.
29443 * libio/iosetvbuf.c: Likewise.
29444 * libio/ioungetc.c: Likewise.
29445 * libio/ioungetwc.c: Likewise.
29446 * libio/iovdprintf.c: Likewise.
29447 * libio/iovsprintf.c: Likewise.
29448 * libio/iovsscanf.c: Likewise.
29449 * libio/memstream.c: Likewise.
29450 * libio/obprintf.c: Likewise.
29451 * libio/oldfileops.c: Likewise.
29452 * libio/oldiofclose.c: Likewise.
29453 * libio/oldiofdopen.c: Likewise.
29454 * libio/oldiofopen.c: Likewise.
29455 * libio/oldiopopen.c: Likewise.
29456 * libio/oldstdfiles.c: Likewise.
29457 * libio/putc.c: Likewise.
29458 * libio/setbuf.c: Likewise.
29459 * libio/setlinebuf.c: Likewise.
29460 * libio/stdfiles.c: Likewise.
29461 * libio/strops.c: Likewise.
29462 * libio/vasprintf.c: Likewise.
29463 * libio/vscanf.c: Likewise.
29464 * libio/vsnprintf.c: Likewise.
29465 * libio/vswprintf.c: Likewise.
29466 * libio/wfiledoalloc.c: Likewise.
29467 * libio/wfileops.c: Likewise.
29468 * libio/wgenops.c: Likewise.
29469 * libio/wmemstream.c: Likewise.
29470 * libio/wstrops.c: Likewise.
29471 * libio/__fpurge.c: Likewise.
29472 * libio/__fsetlocking.c: Likewise.
29473 * assert/assert.c: Likewise.
29474 * debug/fgets_chk.c: Likewise.
29475 * debug/fgets_u_chk.c: Likewise.
29476 * debug/fread_chk.c: Likewise.
29477 * debug/fread_u_chk.c: Likewise.
29478 * debug/gets_chk.c: Likewise.
29479 * debug/obprintf_chk.c: Likewise.
29480 * debug/vasprintf_chk.c: Likewise.
29481 * debug/vdprintf_chk.c: Likewise.
29482 * debug/vsnprintf_chk.c: Likewise.
29483 * debug/vsprintf_chk.c: Likewise.
29484 * malloc/mtrace.c: Likewise.
29485 * misc/error.c: Likewise.
29486 * misc/syslog.c: Likewise.
29487 * stdio-common/asprintf.c: Likewise.
29488 * stdio-common/fxprintf.c: Likewise.
29489 * stdio-common/getw.c: Likewise.
29490 * stdio-common/isoc99_fscanf.c: Likewise.
29491 * stdio-common/isoc99_scanf.c: Likewise.
29492 * stdio-common/isoc99_vfscanf.c: Likewise.
29493 * stdio-common/isoc99_vscanf.c: Likewise.
29494 * stdio-common/isoc99_vsscanf.c: Likewise.
29495 * stdio-common/printf-prs.c: Likewise.
29496 * stdio-common/printf_fp.c: Likewise.
29497 * stdio-common/printf_fphex.c: Likewise.
29498 * stdio-common/printf_size.c: Likewise.
29499 * stdio-common/putw.c: Likewise.
29500 * stdio-common/scanf.c: Likewise.
29501 * stdio-common/sprintf.c: Likewise.
29502 * stdio-common/tmpfile.c: Likewise.
29503 * stdio-common/vfprintf.c: Likewise.
29504 * stdio-common/vfscanf.c: Likewise.
29505 * stdlib/strfmon_l.c: Likewise.
29506 * sunrpc/openchild.c: Likewise.
29507 * sunrpc/xdr_stdio.c: Likewise.
29508 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29509 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29510
d6c33fda
RM
295112012-05-24 Roland McGrath <roland@hack.frob.com>
29512
c1487492
RM
29513 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29514
29515 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29516 in the third column, to generate for the shared library an IFUNC
29517 that uses _dl_vdso_vsym.
29518 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29519 * Makeconfig (object-suffixes-noshared): New variable.
29520
29521 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29522 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29523 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29524 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29525
d6c33fda
RM
29526 [BZ #14132]
29527 * include/sys/time.h (__gettimeofday): Remove macro.
29528 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29529 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29530 Remove INTDEF.
29531 (__gettimeofday): Add libc_hidden_def.
29532 (gettimeofday): Add libc_hidden_weak.
29533 * sysdeps/mach/gettimeofday.c: Likewise.
29534 * sysdeps/posix/gettimeofday.c: Likewise.
29535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29536 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29538 (__gettimeofday_internal): Remove strong_alias.
29539 (__gettimeofday): Add libc_hidden_def.
29540 (gettimeofday): Add libc_hidden_weak.
29541 * sysdeps/unix/syscalls.list (gettimeofday):
29542 Remove __gettimeofday_internal alias.
29543
b5a2bbe6
L
295442012-05-24 Daniel Jacobowitz <drow@false.org>
29545 H.J. Lu <hongjiu.lu@intel.com>
29546
29547 [BZ #12495]
29548 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29549 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29550 (largebin_index_32_big): New.
29551 (largebin_index): Use it for 16-byte alignment.
29552 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29553 correction with front_misalign.
29554
cfba4fda
L
295552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29556
7f907421
L
29557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29559 Likewise.
29560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29561 Likewise.
29562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29563 Likewise.
29564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29565 Likewise.
29566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29567 Likewise.
29568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29569 Likewise.
29570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29571 Likewise.
29572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29573 Likewise.
29574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29575 Likewise.
29576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29577 Likewise.
29578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29579 Likewise.
29580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29581 Likewise.
29582
cfba4fda
L
29583 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29584 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29585
80bad0cc
JM
295862012-05-24 Joseph Myers <joseph@codesourcery.com>
29587
7a25eb06
JM
29588 [BZ #10846]
29589 [BZ #14036]
29590 * math/libm-test.inc (exp_test): Add test from bug 14036.
29591 (pow_test): Add test from bug 10846.
29592
795405f9
JM
29593 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29594 and other flags.
29595 (special_function): Do not include flags in test name.
29596 (parse_args): Likewise.
29597 * sysdeps/i386/fpu/libm-test-ulps: Update.
29598 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29599 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29600 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29602
80bad0cc
JM
29603 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29604 exceptions.
29605 * math/libm-test.inc ("Philosophy"): Update comment about
29606 exception testing.
29607 (UNDERFLOW_EXCEPTION): New macro.
29608 (UNDERFLOW_EXCEPTION_OK): Likewise.
29609 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29610 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29611 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29612 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29613 (INVALID_EXCEPTION_OK): Update value.
29614 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29615 (OVERFLOW_EXCEPTION_OK): Likewise.
29616 (IGNORE_ZERO_INF_SIGN): Likewise.
29617 (test_exceptions): Handle underflow exceptions.
29618 (acos_test): Update for underflow exception expectations.
29619 (cexp_test): Likewise.
29620 (clog_test): Likewise.
29621 (clog10_test): Likewise.
29622 (csqrt_test): Likewise.
29623 (ctan_test): Likewise.
29624 (ctanh_test): Likewise.
29625 (exp_test): Likewise.
29626 (exp10_test): Likewise.
29627 (exp2_test): Likewise.
29628 (expm1_test): Likewise.
29629 (fma_test): Likewise.
29630 (j0_test): Likewise.
29631 (jn_test): Likewise.
29632 (nexttoward_test): Likewise.
29633 (pow_test): Likewise.
29634 (scalbn_test): Likewise.
29635 (scalbln_test): Likewise.
29636 (tan_test): Likewise.
29637 (y1_test): Likewise.
29638 * sysdeps/i386/fpu/libm-test-ulps: Update.
29639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29640
9e0e3d0b
DM
296412012-05-23 David S. Miller <davem@davemloft.net>
29642
29643 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29644 (__libc_sigaction): Remove unused local variables.
29645
ccd0a08f
L
296462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29647
29648 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29649
62bdf9a6
PE
296502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29651
f8591f80
PE
29652 mktime: avoid signed integer overflow
29653 * time/mktime.c (__mktime_internal): Do not mishandle the case
29654 where diff == INT_MIN.
29655
94c7d826
PE
29656 mktime: simplify computation of average
29657 * time/mktime.c (ranged_convert): Use new time_t_avg function
29658 instead of rolling our own (probably-slower) code.
29659
ce73d683
PE
29660 mktime: do not assume signed right shift propagates sign bit
29661 * time/mktime.c (isdst_differ): New static function.
29662 (__mktime_internal): No need to normalize tm_isdst now.
29663 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29664 tm_isdst values.
29665
72a22e59
PE
29666 mktime: merge another wrapv change from gnulib
29667 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29668 from some compilers.
29669
68605433
PE
29670 mktime: remove incorrect attempt at unusual arithmetics
29671 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29672 The code didn't really work on such machines anyway.
29673 (TYPE_MINIMUM): Assume two's complement.
29674 (twos_complement_arithmetic): Verify that long_int and time_t
29675 are two's complement (or unsigned, in the latter case).
29676
03cf7fe3
PE
29677 mktime: check signed shifts on long_int and time_t, too
29678 * time/mktime.c (SHR): Check that shifts work as desired
29679 on the types long_int and time_t too, as SHR is used on
29680 such types.
29681
f04dfbc2
PE
29682 mktime: do not assume 'long' is wide enough
29683 * time/mktime.c (verify): Move decl up.
29684 (long_int): New type.
29685 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29686 to remove assumption in the code that 'long' is wide enough to
29687 store year values. This assumption is not true on x32 and on
29688 some non-glibc platforms.
29689
62bdf9a6
PE
29690 mktime: merge wrapv change from gnulib
29691 * time/mktime.c (WRAPV): New macro.
29692 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29693 (guess_time_tm, __mktime_internal): Do not assume that signed
29694 integer overflow wraps around; modern compilers generate code
29695 where this assumption is no longer valid.
29696
5e292e4f
L
296972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29698
29699 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29700 Replace "jmp L(pseudo_end)" with "ret".
29701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29702 Likewise.
29703
8caf8c87
AJ
297042012-05-23 Andreas Jaeger <aj@suse.de>
29705
29706 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29707 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29708
1a09dc56
AJ
297092012-05-23 Andreas Jaeger <aj@suse.de>
29710 Maximilian Attems <max@stro.at>
29711
29712 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29713 New macros.
29714
1c87aba0
L
297152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29716
29717 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29718 code so that pseudo_end is just ret and the stack pointer is
29719 correct also for static library in error case.
29720
40e45bd5
JM
297212012-05-23 Joseph Myers <joseph@codesourcery.com>
29722
c2670533
JM
29723 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29724 move to syscalls.list.
29725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29729
40e45bd5
JM
29730 * manual/install.texi (Running make install): Do not mention Linux
29731 kernel version for which pt_chown is not needed.
29732 (Linux): Do not mention problems with nscd with 2.0 kernels.
29733 * INSTALL: Regenerated.
29734
be08eda5
AJ
297352012-05-23 Andreas Jaeger <aj@suse.de>
29736
29737 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29738 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29739 macro.
29740 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29741 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29742 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29743 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29744 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29745 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29746 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29750 * sysdeps/unix/sysv/linux/bits/in.h
29751 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29752
a6a056bb
RM
297532012-05-22 Roland McGrath <roland@hack.frob.com>
29754
29755 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29756 (PREPARE_VERSION): Just use assert instead, it will be elided
29757 under [NDEBUG] anyway.
29758
c9009328
L
297592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29760
29761 * sysdeps/unix/sysv/linux/Makefile: Include
29762 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29763 (sysdep_routines): Remove sysctl.
c9009328
L
29764 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29765 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29766 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29767 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29768 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29769
73338355
AJ
297702012-05-22 Andreas Jaeger <aj@suse.de>
29771
29772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29773 that pseudo_end is just ret and the stack pointer is correct also
29774 for static library in error case.
29775
d44638b0
PP
297762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29777
29778 [BZ #14122]
29779 * nss/nsswitch.c (defconfig_entries): New variable.
29780 (__nss_database_lookup): Don't leak defconfig entries.
29781 (nss_parse_service_list): Don't leak on error paths.
29782 (free_database_entries): New function.
29783 (free_defconfig): New function.
29784 (free_mem): Move common code to free_database_entries.
29785
31a39bd8
L
297862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29787
da0331a8
L
29788 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29789 Add arch_prctl.
29790 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29791
31a39bd8
L
29792 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29793 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29795 New macro.
29796 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29797 (INTERNAL_SYSCALL_TYPES): Likewise.
29798 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29799 (LOAD_REGS_TYPES_[1-6]): Likewise.
29800 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29801 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29802
45470df3
AZ
298032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29804
29805 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29806 copysignl for GLIBC_2_0.
29807 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29808 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29810 logbl for GLIBC_2_0.
29811 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29812 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29813
98a61bcb
L
298142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29815
a4f6e481
L
29816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29817 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29818
f63d5db6
L
29819 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29820 Use "neg %eax".
29821
98a61bcb
L
29822 * time/mktime.c: Update copyright years.
29823
95770f14
PE
298242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29825
6226efbd
PE
29826 mktime: merge comment-quoting-style change from gnulib
29827 * time/mktime.c: Quote 'like this' in comments.
29828 The GNU coding standards suggest that we no longer quote `like this',
29829 as "`" and "'" are typically rendered asymmetrically nowadays.
29830 The typical gnulib style is to quote 'like this' when quoting
29831 code, and "like this" when quoting English.
29832
b99e4f78
PE
29833 * time/mktime.c (compile-command): Add "-I.".
29834
643e01e6
PE
29835 mktime: merge mktime-internal.h change from gnulib
29836 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29837
2554247d
PE
29838 mktime: merge time_r change from gnulib
29839 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29840
826dd0ab
PE
29841 mktime: merge DEBUG change from gnulib
29842 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29843 case system <time.h> has a #define.
29844
bd83aabe
PE
29845 mktime: merge <sys/types.h> change from gnulib
29846 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29847 since <time.t> is now guaranteed to define time_t.
29848
95770f14
PE
29849 mktime: merge HAVE_CONFIG_H change from gnulib
29850 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29851
5e1a27a9
L
298522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29853
0e44a77e
L
29854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29855 Use "neg %eax".
29856
5e1a27a9
L
29857 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29858 __rlim_t cast.
29859 (struct rusage): Use anonymous union to pad each field to
29860 __syscall_slong_t.
29861
46259bec
DM
298622012-05-21 David S. Miller <davem@davemloft.net>
29863
29864 * Makefules (o-iterator): Remove .s cases.
29865 (compile-command.s): Delete.
29866 (COMPILE.s): Delete.
29867 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29868
59f0c22e
JM
298692012-05-21 Joseph Myers <joseph@codesourcery.com>
29870
29871 * configure.in (libc_cv_predef_stack_protector): Only consider
29872 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29873 * configure: Regenerated.
29874
20c07380
L
298752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29876
bbb3154b
L
29877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29878 New macro. Use R*LP on int and pointer.
29879 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29880 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29881 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29882 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29883
20c07380
L
29884 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29885 [__WORDSIZE_TIME64_COMPAT32] instead of
29886 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29887 (struct utmp): Likewise.
29888 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29889 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29890 Renamed to ...
29891 (__WORDSIZE_TIME64_COMPAT32): This.
29892 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29893 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29894 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29895 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29896 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29897 (__WORDSIZE_TIME64_COMPAT32): New macro.
29898
d8d1017e
AJ
298992012-05-21 Andreas Jaeger <aj@suse.de>
29900
29901 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29902 only if [SHARED]. Add prototype for __wcschr_ia32.
29903
6c7fb145
RM
299042012-05-21 Roland McGrath <roland@hack.frob.com>
29905
29906 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29907 of %rbp unmolested in the jmp_buf while mangling the low bits.
29908 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29909 unmolested high bits of %rbp while demangling the low bits.
29910 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29911
66274218
AJ
299122012-05-21 Andreas Jaeger <aj@suse.de>
29913
07c58f8f
AJ
29914 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29915 * sunrpc/svc_simple.c: Use it for registerrpc.
29916 * sunrpc/xcrypt.c: Use it for passwd2des.
29917
66274218
AJ
29918 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29919
61f65140
L
299202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29921
29922 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29923 Don't define if [__SYSCALL_WORDSIZE != 32].
29924 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29925 New macro.
29926
5fefb436
AJ
299272012-05-21 Bruno Haible <bruno@clisp.org>
29928 Andreas Jaeger <aj@suse.de>
29929
29930 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29931 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29932 inptr and inend for must_buffer_ch.
29933 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29934 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29935 * stdio-common/Makefile (tests): Remove bug15.
29936 (bug15-ENV): Remove macro.
29937 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29938 anymore.
29939
d8e272ab
AJ
299402012-05-19 Andreas Jaeger <aj@suse.de>
29941 Roland McGrath <roland@hack.frob.com>
29942
29943 * manual/contrib.texi: Completely rewritten. It contains now an
29944 alphabetical list of contributors and their contributions.
29945
4a56a162
RH
299462012-05-21 Richard Henderson <rth@twiddle.net>
29947
29948 * misc/getauxval.c (__getauxval): Use unsigned long int.
29949 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29950 (getauxval): Use unsigned long int.
29951
d024d23c
L
299522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29953
29954 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29955
cbc00a03
RM
299562012-05-21 Roland McGrath <roland@hack.frob.com>
29957
29958 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29959 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29960 __alignof__ (long double).
29961
478143fa
AZ
299622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29963
29964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29965
c7683a6d
RH
299662012-05-20 Richard Henderson <rth@twiddle.net>
29967
29968 * misc/getauxval.c: New file.
29969 * misc/sys/auxv.h: New file.
29970 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29971 (routines): Add getauxval.
29972 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29973 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29974 * elf/dl-sysdep.c (_dl_auxv): Remove.
29975 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29976 * elf/dl-support.c (_dl_auxv): New variable.
29977 (_dl_aux_init): Initialize it.
29978 * manual/startup.texi (Auxiliary Vector): New node.
29979 * sysdeps/generic/bits/hwcap.h: New file.
29980 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29981 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29982 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29983 * sysdeps/sparc/sysdep.h: ... here. Include it.
29984 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29987 Update.
c7683a6d
RH
29988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29996
a6f1845d
AZ
299972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29998
29999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30000
cbcbe830
DM
300012012-05-19 David S. Miller <davem@davemloft.net>
30002
30003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30004
e0b16cc2
JM
300052012-05-19 Joseph Myers <joseph@codesourcery.com>
30006
30007 [BZ #14123]
30008 * math/s_ccosh.c: Include <float.h>
30009 (__ccosh): Avoid internal overflow calculating sinh and cosh
30010 values before multiplying by sin and cos values.
30011 * math/s_ccoshf.c: Likewise.
30012 * math/s_ccoshl.c: Likewise.
30013 * math/s_csin.c: Likewise.
30014 * math/s_csinf.c: Likewise.
30015 * math/s_csinl.c: Likewise.
30016 * math/s_csinh.c: Likewise.
30017 * math/s_csinhf.c: Likewise.
30018 * math/s_csinhl.c: Likewise.
30019 * math/libm-test.inc (ccos_test): Add more tests.
30020 (ccosh_test): Likewise.
30021 (csin_test): Likewise.
30022 (csinh_test): Likewise.
30023 * sysdeps/i386/fpu/libm-test-ulps: Update.
30024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30025
6ad13e08
L
300262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30027
f66f0ce8
L
30028 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30029 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30030
6ad13e08
L
30031 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30032
b1d072a7
JM
300332012-05-19 Joseph Myers <joseph@codesourcery.com>
30034
30035 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30036 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30037 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30038 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30039 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30040 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30041 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30042 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30043 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30044 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30045 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30046 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30047 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30048 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30049 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30050 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30051 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30052 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30053 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30054 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30055 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30056 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30057 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30058 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30059 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30060 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30061 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30062 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30063 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30064 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30065 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30066
9eae47cb
AJ
300672012-05-18 Andreas Jaeger <aj@suse.de>
30068
30069 * csu/.gitignore: Delete.
30070
bb07f69f
L
300712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30072
30073 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30074 (timex): Use __syscall_slong_t.
30075
e6bdb741
AJ
300762012-05-18 Andreas Jaeger <aj@suse.de>
30077 Carlos O'Donell <carlos_odonell@mentor.com>
30078
30079 * manual/install.texi (Configuring and compiling): Update
30080 description about files modified in the source directory.
d6c33fda 30081 * INSTALL: Regenerated.
e6bdb741 30082
1b74487e
L
300832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30084
30085 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30086 value. Use "or" to set return value to -1.
30087 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30088 negate return value.
30089
a88b64b9
TMQMF
300902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30091
57f41c40
AS
30092 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30093 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30094 failure if the compiler has Graphite support disabled.
30095 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30096 Likewise.
57f41c40
AS
30097 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30098 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30099 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30100 Likewise.
30101
3707636e
L
301022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30103
610b8622
L
30104 * sysdeps/x86_64/x32/_itoa.h: New file.
30105
7cd195df
L
30106 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30107 getdents system call only if kernel and user dirents have the
30108 same d_ino and d_off.
30109
94b07d20
L
30110 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30111 LLONG_MAX != LONG_MAX.
30112 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30113 (_fitoa_word): Likewise.
30114
18298070
L
30115 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30116 years.
30117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30118 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30120
553c7ea4
L
30121 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30122 include <bits/wordsize.h>. Check __x86_64__ instead of
30123 __WORDSIZE.
30124 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30125 if __x86_64__ is defined. Use anonymous union on fpstate.
30126
3707636e
L
30127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30128 anonymous union.
30129
b53ef01a
AS
301302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30131
37fb1dc0
AS
30132 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30133 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30134 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30135 Refer to _rtld_local_ro instead of _rtld_global_ro.
30136 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30137 Likewise.
30138 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30139 Likewise.
30140 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30141 Likewise.
30142 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30143 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30144 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30145
b53ef01a
AS
30146 * sysdeps/powerpc/powerpc32/dl-machine.c
30147 (__elf_machine_runtime_setup) [PROF]: Don't reference
30148 _dl_prof_resolve.
30149
7a185db2
AJ
301502012-05-18 Andreas Jaeger <aj@suse.de>
30151
30152 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30153 function only available for GCCs before 3.4 since GCC 3.4
30154 introduced a builtin.
30155 (lrint): Likewise.
30156 (llrintf): Likewise.
30157 (llrint): Likewise.
30158 (fmaxf): Likewise.
30159 (fmax): Likewise.
30160 (fminf): Likewise.
30161 (fmin): Likewise.
30162 (rint): Likewise.
30163 (rintf): Likewise.
30164 (nearbyint): Likewise.
30165 (nearbyintf): Likewise.
30166 (ceil): Likewise.
30167 (ceilf): Likewise.
30168 (floor): Likewise.
30169 (floorf): Likewise.
30170
3e5aef87
L
301712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30172
428bd707
L
30173 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30174 on both fields and cast pointer to __syscall_ulong_t.
30175
3e5aef87
L
30176 * bits/types.h (__fsword_t): New type.
30177 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30178 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30180 (__FSWORD_T_TYPE): Likewise.
30181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30182 (__FSWORD_T_TYPE): Likewise.
30183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30184 (__FSWORD_T_TYPE): Likewise.
30185 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30186 (__FSWORD_T_TYPE): Likewise.
30187 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30188 __SWORD_TYPE with __fsword_t.
30189 (statfs64): Likewise.
30190
1ba7c3dc
DM
301912012-05-17 David S. Miller <davem@davemloft.net>
30192
30193 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30194
59910343
AJ
301952012-05-17 Andreas Jaeger <aj@suse.de>
30196
30197 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30198 warning.
30199
2e4c1e9e
L
302002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30201
30202 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30203
de7f5ce7
AJ
302042012-05-17 Andreas Jaeger <aj@suse.de>
30205
30206 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30207 when it is used.
30208
286abc3d
CM
302092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30210
30211 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30212
477cc68e
L
302132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30214
30215 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30216 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30217
1a0994f5
CD
302182012-05-17 Andreas Jaeger <aj@suse.de>
30219 Carlos O'Donell <carlos_odonell@mentor.com>
30220
30221 [BZ #14059]
30222 * sysdeps/x86_64/multiarch/init-arch.h
30223 (bit_YMM_Usable): Rename to...
30224 (bit_AVX_Usable): ... this.
30225 (bit_FMA4_Usable): New macro.
30226 (bit_XMM_state): New macro.
30227 (bit_YMM_state): New macro.
30228 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30229 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30230 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30231 (CPUID_OSXSAVE): New macro.
30232 (CPUID_AVX): New macro.
30233 (CPUID_FMA4): New macro.
30234 (index_YMM_Usable): Rename to...
30235 (index_AVX_Usable): ... this.
30236 (HAS_AVX): Use HAS_ARCH_FEATURE.
30237 (HAS_FMA4): Likewise.
30238 (HAS_YMM_USABLE): Remove.
30239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30240 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30241 are present.
30242 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30243 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30244 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30245 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30246 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30247
0af797de
CM
302482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30249
30250 * math/libm-test.c: Support platforms without multiple rounding modes.
30251 * math/bug-nextafter.c: Support platforms without FP exceptions.
30252 * math/bug-nexttoward.c: Likewise.
30253 * math/test-fenv.c: Likewise.
30254 * math/test-misc.c: Likewise.
30255 * stdlib/bug-getcontext.c: Likewise.
30256
e39745ff
AJ
302572012-05-17 Andreas Jaeger <aj@suse.de>
30258
30259 * manual/examples/search.c (critter_cmp): Change signature to
30260 avoid warnings.
30261 * manual/string.texi (Collation Functions): Likewise.
30262
48970aba
L
302632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30264
30265 * bits/types.h: Fold copyright years.
30266 * bits/typesizes.h: Likewise.
30267 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30269 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30271 * time/time.h: Likewise.
30272
bedee953
PP
302732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30274
30275 [BZ #208]
30276 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30277 in instead of returning them. Return void.
30278 (__libc_mallinfo): Accumulate over all arenas.
30279 (__malloc_stats): Adjust for change in int_mallinfo interface.
30280
61653dfb
RM
302812012-05-16 Roland McGrath <roland@hack.frob.com>
30282
30b99d79
RM
30283 [BZ #10375]
30284 * configure.in (NM): Add AC_CHECK_TOOL for it.
30285 (libc_extra_cflags): New substituted variable.
30286 Check for -fstack-protector being used implicitly.
30287 * configure: Regenerated.
30288 * config.make.in (config-extra-cflags): New variable,
30289 gets @libc_extra_cflags@.
30290 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30291
61653dfb
RM
30292 [BZ #10375]
30293 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30294 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30295 * configure: Regenerated.
30296 * config.make.in (CPPUNDEFS): New substituted variable.
30297 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30298 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30299 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30300
661768bb
L
303012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30302
30303 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30304 (mq_attr): Use __syscall_slong_t.
30305
d4261567
L
303062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30307
30308 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30309 Check __x86_64__ instead of __WORDSIZE.
30310 (_STAT_VER_LINUX): Likewise.
30311 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30312 __syscall_ulong_t and __syscall_slong_t.
30313 (stat64): Likewise.
30314
cf3ff365
L
303152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30316
30317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30318
76cf3e4d
L
303192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30320
30321 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30322
a637753a
L
303232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30324
30325 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30326 __syscall_ulong_t.
30327
d5e05119
L
30328 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30329 include <bits/wordsize.h>. Check __x86_64__ instead of
30330 __WORDSIZE.
30331 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30332 defined.
30333 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30334
f62ee380
L
30335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30336 include <bits/wordsize.h>. Check __x86_64__ instead of
30337 __WORDSIZE.
30338 (user_regs_struct): Use "__extension__ unsigned long long"
30339 instead of "unsigned long" if __x86_64__ is defined.
30340 (user): Likewise. Pad after pointer field if __ILP32__ is
30341 defined.
30342
4e124ced
JM
303432012-05-16 Joseph Myers <joseph@codesourcery.com>
30344
6a3951a0
JM
30345 * configure.in (makeinfo): Require version 4.5 or later. Allow
30346 versions 5 to 9.
30347 * configure: Regenerated.
30348 * manual/install.texi (texinfo): Increase version requirement to
30349 4.5 or later.
30350 * INSTALL: Regenerated.
30351
4e124ced
JM
30352 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30353
953ca31a
L
303542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30355
30356 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30357
617aca05
L
30358 * sysdeps/x86_64/x32/ffs.c: New file.
30359
5762f7ae
L
30360 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30361 __syscall_ulong_t.
30362 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30363 defined. Use __syscall_ulong_t.
30364 (shminfo): Use __syscall_ulong_t.
30365 (shm_info): Likewise.
30366
a26b6856
L
30367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30368 __syscall_ulong_t.
30369
cb2b9ef7
L
30370 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30371 <bits/wordsize.h>.
30372 (msgqnum_t): Use __syscall_ulong_t.
30373 (msglen_t): Likewise.
30374 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30375 __syscall_ulong_t.
30376
34683bb0
L
30377 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30378 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30379
84a68786
L
30380 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30381
48baa5f1
L
30382 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30383 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30384
180be88b
L
30385 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30386 __syscall_slong_t.
30387
5e90c8ad
L
30388 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30389 include <bits/wordsize.h>. Check __x86_64__ instead of
30390 __WORDSIZE.
30391
23dfb58b
L
30392 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30393 "unsigned long long int" if __x86_64__ is defined.
30394 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30395
ce5d54b0
L
30396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30397 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30398 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30399
13dc9eac
L
30400 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30401 <stdint.h>.
30402 (GET_PC): Cast to uintptr_t first.
30403 (GET_FRAME): Likewise.
30404 (GET_STACK): Likewise.
30405
a7895d15
L
30406 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30408 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30410 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30412 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30413 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30414 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30415 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30416 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30417 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30418 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30419 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30421 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30423 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30424 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30425 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30426 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30427 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30429 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30431 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30432 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30433 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30434 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30435
656416c9
AS
304362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30437
5bd66283
AS
30438 * Makerules (+depfiles): Also collect depfiles from .oS in
30439 $(extra-objs).
30440 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30441 .oS, $(libnldbl-routines)).
30442
656416c9
AS
30443 * Makerules (native-compile-mkdep-flags): Define.
30444 * sunrpc/Makefile (extra-objs): Add $(addprefix
30445 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30446 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30447 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30448 calling $(make-target-directory).
30449
a46f2169
L
304502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30451
30452 * bits/types.h (__snseconds_t): Removed.
30453 * time/time.h (struct timespec): Replace __snseconds_t with
30454 __syscall_slong_t.
30455 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30456 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30457 Likewise.
30458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30459 (__SNSECONDS_T_TYPE): Likewise.
30460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30461 (__SNSECONDS_T_TYPE): Likewise.
30462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30463 (__SNSECONDS_T_TYPE): Likewise.
30464
6af6528b
L
304652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30466
30467 * sysdeps/mach/hurd/bits/typesizes.h
30468 (__SYSCALL_SLONG_TYPE): New macro.
30469 (__SYSCALL_ULONG_TYPE): Likewise.
30470
de986b56
L
304712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30472
30473 * bits/types.h (__syscall_slong_t): New type.
30474 (__syscall_ulong_t): Likewise.
30475
30476 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30477 (__SYSCALL_ULONG_TYPE): Likewise.
30478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30479 (__SYSCALL_SLONG_TYPE): Likewise.
30480 (__SYSCALL_ULONG_TYPE): Likewise.
30481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30482 (__SYSCALL_SLONG_TYPE): Likewise.
30483 (__SYSCALL_ULONG_TYPE): Likewise.
30484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30485 (__SYSCALL_SLONG_TYPE): Likewise.
30486 (__SYSCALL_ULONG_TYPE): Likewise.
30487
85736dc7
L
304882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30489
30490 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30491 Add sigaltstack-offsets.sym.
30492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30493 <sigaltstack-offsets.h>.
30494 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30495 longjmp_msg pointer.
30496 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30497 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30498 signal stack.
30499 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30500
cc03b296
JM
305012012-05-15 Joseph Myers <joseph@codesourcery.com>
30502
a9538892
JM
30503 * elf/stackguard-macros.h: Remove file.
30504 * sysdeps/generic/stackguard-macros.h: New file.
30505 * sysdeps/i386/stackguard-macros.h: Likewise.
30506 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30507 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30508 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30509 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30510 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30511 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30512 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30513 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30514 <elf/stackguard-macros.h>.
30515
cc03b296
JM
30516 [BZ #14109]
30517 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30518 __aligned__ in attribute.
30519 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30520 (gregset_t): Likewise.
30521
93171016
L
305222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30523
30524 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30525 * sysdeps/x86_64/64/Implies-after: Here. New file.
30526 * sysdeps/x86_64/x32/Implies-after: New file.
30527
d86813a0
L
305282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30529
30530 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30531 and access return value for _dl_profile_fixup. Use R10_LP to
30532 load frame size.
30533
2953ec75
L
305342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30535
30536 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30537
3b550e9e
L
305382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30539
30540 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30541 * sysdeps/x86_64/x32/sysdep.h: New file.
30542
eda41706
L
305432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30544
30545 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30546 * sysdeps/x86_64/setjmp.S: Likewise.
30547
9ea01d93
AZ
305482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30549
30550 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30552 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30553 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30554 remove unused global constant.
30555
02a91938
CM
305562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30557
30558 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30559 include of <not-cancel.h>.
30560
6540185f
RM
305612012-05-15 Roland McGrath <roland@hack.frob.com>
30562
30563 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30564
509072a0
AJ
305652012-05-15 Jeff Law <law@redhat.com>
30566 Andreas Jaeger <aj@suse.de>
30567
30568 [BZ #13594]
30569 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30570 out from...
30571 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30572 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30573 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30574 code changing __hst_map_handle.map.
30575
ba75122d
RM
305762012-05-15 Roland McGrath <roland@hack.frob.com>
30577
30578 * configure.in (sysnames): Look for Implies-before and Implies-after
30579 files.
30580 * configure: Regenerated.
30581
890d8bd8
L
305822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30583
30584 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30585 8-byte data alignment with LP_SIZE alignment.
30586
f6ee6623
L
305872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30588
30589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30590 into R10_LP.
30591
ea2626f6
L
305922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30593
30594 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30595
085f715e
L
305962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30597
30598 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30599 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30600 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30601 Likewise.
30602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30603
be8498fc
L
306042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30605
30606 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30607 (stackinfo_sub_sp): Likewise.
30608
70bc83b9
L
306092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30610
30611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30612 RAX_LP.
30613
9bc0b730
L
306142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30615
30616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30617 into R*_LP.
30618
6d2850e7
L
306192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30620
30621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30622 sizes into R*_LP.
30623
3cb84561
L
306242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30625
30626 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30627
54e2ed81
L
306282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30629
30630 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30631 into R11_LP and load __x86_64_shared_cache_size_half into
30632 R8_LP.
30633
8a17f349
L
306342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30635
30636 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30637 R8_LP.
30638
777b1eea
AZ
306392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30640
30641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30642 logb for POWER7.
30643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30644 logbf for POWER7.
30645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30646 logbl for POWER7.
30647 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30648 powerpc32/power7/fpu/s_logb.c via #include.
30649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30650 powerpc32/power7/fpu/s_logbf.c via #include.
30651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30652 powerpc32/power7/fpu/s_logbl.c via #include.
30653
d20d4ac2
JM
306542012-05-15 Joseph Myers <joseph@codesourcery.com>
30655
30656 * README.libm: Remove file.
30657
6cdef1ab
L
306582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30659
30660 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30661 count for x32. Use R*_LP and omit operand-size suffix.
30662
0b254d8f
L
306632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30664
30665 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30666 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30667 * sysdeps/x86_64/x32/shlib-versions: New file.
30668
ceb809dc
RM
306692012-05-14 Roland McGrath <roland@hack.frob.com>
30670
30671 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30672 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30673 Use _dl_fatal_printf instead.
30674
37f1abd4
JM
306752012-05-14 Joseph Myers <joseph@codesourcery.com>
30676
30677 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30678 set if not set by the user. Do not allow for being unset.
30679 * sysdeps/unix/sysv/linux/configure: Regenerated.
30680
11de3a33
L
306812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30682
30683 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30684 the `q' suffix from lea and replace .quad with ASM_ADDR.
30685
e02f153a
L
306862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30687
30688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30689 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30690 instead of $17.
30691 (PTR_DEMANGLE): Likewise.
30692
520ae0fd
L
306932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30694
30695 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30696 (LP_OP): Likewise.
30697 (ASM_ADDR): Likewise.
30698 (RAX_LP): Likewise.
30699 (RBP_LP): Likewise.
30700 (RBX_LP): Likewise.
30701 (RCX_LP): Likewise.
30702 (RDI_LP): Likewise.
30703 (RSI_LP): Likewise.
30704 (RSP_LP): Likewise.
30705 (R8_LP): Likewise.
30706 (R9_LP): Likewise.
30707 (R10_LP): Likewise.
30708 (R10_LP): Likewise.
30709 (R11_LP): Likewise.
30710 (R12_LP): Likewise.
30711 (R13_LP): Likewise.
30712 (R14_LP): Likewise.
30713 (R15_LP): Likewise.
30714
b985be81
L
307152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30716
30717 * sysdeps/x86_64/x32/dl-machine.h: New file.
30718
6a4888ff
AJ
307192012-05-14 Andreas Jaeger <aj@suse.de>
30720
30721 * manual/Makefile (subdir): Remove export of subdir.
30722 (all): Remove target.
30723 (.PHONY): Remove all from list.
30724 (mkinstalldirs): Remove.
30725 (.PHONY): Remove installdirs from list.
30726 ($(inst_infodir)/libc.info): Use make-target-directory.
30727 (installdirs): Remove.
30728 (subdir_%): Remove.
30729 (glibc-targets): Remove.
30730 (lib): Remove.
30731 (stubs): Remove.
30732 ($(objpfx)stubs ../po/manual.pot): Remove.
30733 ($(objpfx)stamp%): Remove.
30734 (make-target-directory): Remove.
30735 (subdir_install): Remove.
30736 (routines): Remove.
30737 (aux): Remove.
30738 (sources): Remove.
30739 (objects): Remove.
30740 (headers): Remove.
30741
30742 [BZ #13750]
30743 * manual/.gitignore: Remove, it's not needed anymore.
30744 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30745 all files in it.
30746 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30747 directory.
30748 (texis): Renamed to $(objpfx)texis.
30749 (texis-path): New, contains path to generated files.
30750 (chapters.%): Use texis-path for complete path, add extra argument
30751 libc-texinfo.sh.
30752 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30753 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30754 (summary,texi, stamp-summary): Use complete path of
30755 files. Generate files in build dir.
30756 (dir-add.texi): Build in build dir.
30757 (libm-err.texi,stamp-libm-err): Likewise.
30758 (version.texi, stamp-version): Likewise.
30759 (.%c.texi): Likewise.
30760 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30761 (mostlyclean): Remove target.
30762 (realclean): Remove target.
30763 (generated): Add new variable with contents from mostlyclean and
30764 realclean, remove entries duplicated in common-mostlyclean, add
30765 stamp-libm-err and stamp-version.
30766 (generated-dirs): Add libc directory.
30767 ($(inst_infodir)/libc.info): Install files from build dir.
30768
30769 * manual/install.texi (Configuring and compiling): Adjust since
30770 the info files are not part of the tar ball anymore.
30771
7ac77294
AJ
307722012-05-14 Andreas Jaeger <aj@suse.de>
30773
30774 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30775 variable.
30776
ffb7875d
JM
307772012-05-14 Joseph Myers <joseph@codesourcery.com>
30778
30779 [BZ #13717]
30780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30781 to 2.2.0 where earlier.
30782 * sysdeps/unix/sysv/linux/configure: Regenerated.
30783 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30784 Remove conditional code.
30785 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30786 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30787 Remove conditional code.
30788 [!__NR_lchown]: Likewise.
30789 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30790 [__NR_lchown]: Likewise.
30791 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30792 comment referencing __ASSUME_LCHOWN_SYSCALL.
30793 * sysdeps/unix/sysv/linux/i386/sigaction.c
30794 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30795 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30796 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30797 Remove conditional code.
30798 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30799 (__protocol_available): Remove #if 0 code.
30800 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30801 conditional code.
30802 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30803 * sysdeps/unix/sysv/linux/kernel-features.h
30804 (__ASSUME_GETCWD_SYSCALL): Don't define.
30805 (__ASSUME_REALTIME_SIGNALS): Likewise.
30806 (__ASSUME_PREAD_SYSCALL): Likewise.
30807 (__ASSUME_PWRITE_SYSCALL): Likewise.
30808 (__ASSUME_POLL_SYSCALL): Likewise.
30809 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30810 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30811 non-SPARC.
30812 (__ASSUME_SIOCGIFNAME): Don't define.
30813 (__ASSUME_MSG_NOSIGNAL): Likewise.
30814 (__ASSUME_SENDFILE): Define unconditionally.
30815 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30816 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30817 conditional code.
30818 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30819 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30820 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30821 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30822 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30823 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30824 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30826 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30829 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30832 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30835 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30838 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30839 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30841 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30844 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30847 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30848 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30849 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30850 Remove conditional code.
30851 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30852 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30853 Remove conditional code.
30854 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30855 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30856 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30857 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30858 Remove conditional code.
30859 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30860 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30861 Remove conditional code.
30862 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30863 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30864 Remove conditional code.
30865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30866 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30867 Remove conditional code.
30868 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30869 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30870 Remove conditional code.
30871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30872 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30873 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30875 * sysdeps/unix/sysv/linux/sigaction.c
30876 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30877 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30878 * sysdeps/unix/sysv/linux/sigpending.c
30879 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30880 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30881 * sysdeps/unix/sysv/linux/sigprocmask.c
30882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30884 * sysdeps/unix/sysv/linux/sigsuspend.c
30885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30887 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30888 (__libc_missing_rt_sigs): Remove.
30889 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30890 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30891 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30892 Remove conditional code.
30893 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30894 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30895 return 1.
30896 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30897 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30898 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30899 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30900
1bfb7291
AJ
309012012-05-14 Andreas Jaeger <aj@suse.de>
30902
caae5a81
AJ
30903 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30904 it's not used in glibc.
30905 (__coshm1): Likewise.
30906 (__acosh1p): Likewise.
30907 (__sgn): Likewise.
30908
1bfb7291
AJ
30909 * manual/string.texi (Copying and Concatenation): Add missing
30910 variable in concat example.
30911 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30912
c044d724
L
309132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30914
144c5467 30915 [BZ #14103]
c044d724
L
30916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30917 __builtin_clzl with __builtin_clzll.
30918
2523c62b
L
309192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30920
30921 [BZ #14104]
30922 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30923 libc_freeres_ptr.
30924
d7bb4c42
LD
309252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30926
30927 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30928 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30929 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30930 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30931
9dc4e1fb
MF
309322012-05-14 Mike Frysinger <vapier@gentoo.org>
30933
30934 * NEWS: Update ia64 info.
30935
c7df0112
AS
309362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30937
30938 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30939 used as bcopy.
30940
dc70356c
TS
309412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30942
30943 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30944 * sysdeps/unix/syscalls.list (dup3): Likewise.
30945 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30946 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30947
9fb1a21f
L
309482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30949
30950 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30951 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30952
4822a2a5
L
309532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30954
30955 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30956 thread pointer.
30957 (TLS_IE): Use mov/add instead of movq/addq to load thread
30958 pointer.
30959 (TLS_GD_PREFIX): New.
30960 (TLS_GD): Use it.
30961
842b81d6
DM
309622012-05-11 David S. Miller <davem@davemloft.net>
30963
30964 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30965 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30966 (_FPU_SETCW): Likewise.
30967
1cf463cd
L
309682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30969
30970 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30971 is 32-byte aligned.
30972
60cc4a18
AS
309732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30974
30975 [BZ #11837]
30976 * iconvdata/gb18030.c: Update tables.
30977 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30978 characters specially.
30979 (BODY for TO_LOOP): Add encoding of missing ranges.
30980
febb44a4
TS
309812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30982
30983 [BZ #13673]
30984 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30985 * sysdeps/mach/hurd/dup3.c: Likewise.
30986 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30987 * sysdeps/powerpc/memmove.c:: Likewise.
30988
0a10fb9e
L
309892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30990
30991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30992 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30993
df8a552f
L
309942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30995
30996 * elf/elf.h (R_X86_64_RELATIVE64): New.
30997 (R_X86_64_NUM): Updated.
30998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30999 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31000 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31001 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31002 tst-quad1pie tst-quad2pie
31003 (modules-names): Add tst-quadmod1 tst-quadmod2.
31004 ($(objpfx)tst-quad1): New dependency.
31005 ($(objpfx)tst-quad2): Likewise.
31006 ($(objpfx)tst-quad1pie): Likewise.
31007 ($(objpfx)tst-quad2pie): Likewise.
31008 * sysdeps/x86_64/tst-quad1.c: New file.
31009 * sysdeps/x86_64/tst-quad1pie.c: New file.
31010 * sysdeps/x86_64/tst-quad2.c: Likewise.
31011 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31012 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31013 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31014 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31015 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31016
f34d6f84
ST
310172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31018
f42d41d1
ST
31019 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31020 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31021 * streams/stropts.h (t_scalar_t): Define type.
31022
3c3571fc
ST
31023 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31024 (_PATH_PRESERVE): Set to "/var/lib".
31025 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31026
61f06bd3
ST
31027 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31028 instead of int.
31029
918d4d71
ST
31030 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31031 if __dir_mkfile succeeded.
31032
f34d6f84
ST
31033 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31034 checking for _hurd_dtablesize. Unlock it right after having
31035 finished _hurd_dtable allocation.
31036
10589b4a
TS
310372012-05-10 Thomas Schwinge <thomas@schwinge.name>
31038
674cdbc7
TS
31039 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31040 * sysdeps/mach/hurd/configure: Regenerated.
31041 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31042 special-casing to...
31043 * sysdeps/gnu/configure.in: ... this new file.
31044 * sysdeps/unix/sysv/linux/configure: Regenerated.
31045 * sysdeps/gnu/configure: New generated file.
31046
8e41b99f
TS
31047 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31048 for Linux: use nsec instead of usec, as well as:
31049 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31050 members of type struct timespec.
31051 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31052 New macros.
31053 (struct stat64): Likewise.
31054 (_STATBUF_ST_NSEC): New macro.
31055 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31056
10589b4a
TS
31057 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31058 __strtoul_internal rather than strtoul.
31059
63643c85
PT
310602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31061
31062 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31063 and reject them.
31064
3faebe6a
ST
310652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31066
31067 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31068 which preserves existing values.
31069 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31070
c6474b07
PT
310712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31072
31073 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31074 TIMEOUT values. Return EINVAL for NFDS values either negative or
31075 greater than FD_SETSIZE.
31076
1043890b
ST
310772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31078
31079 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31080 allocated, call __vm_protect to finish enabling the existing space, and
31081 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31082 allocate the remainder.
31083
37ed8b9b
PT
310842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31085
31086 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31087 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31088
db653660
ST
310892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31090
37ed8b9b
PT
31091 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31092 sysdeps/mach/hurd/readlink.c.
b29d4053 31093
db653660
ST
31094 * posix/tst-sysconf.c (posix_options): Only use
31095 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31096 _POSIX_SYNCHRONIZED_IO when they are defined
31097 * sysdeps/mach/hurd/bits/posix_opt.h:
31098 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31099 (_XOPEN_REALTIME): Undefine macro.
31100 (_XOPEN_REALTIME_THREADS): Undefine macro.
31101 (_XOPEN_SHM): Undefine macro.
31102 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31103 macro to -1.
31104 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31105 macro to -1.
31106 (_POSIX_ASYNC_IO): Undefine macro.
31107 (_POSIX_PRIORITIZED_IO): Undefine macro.
31108 (_POSIX_SPIN_LOCKS): Define macro to -1.
31109
ee16e894
ST
31110 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31111 SA_NODEFER, SA_RESETHAND.
31112 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31113 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31114 F_DUPFD_CLOEXEC.
31115
6103ae3b
TS
311162012-05-10 Thomas Schwinge <thomas@schwinge.name>
31117
31118 * elf/Makefile (pldd-modules): Define unconditionally.
31119
80b4e5f3
TS
311202012-05-10 Thomas Schwinge <thomas@schwinge.name>
31121
31122 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31123
edadcbd6
ST
311242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31125
31126 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31127 Return ENOENT when name is empty.
31128 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31129
80694780
TS
311302012-05-10 Thomas Schwinge <thomas@schwinge.name>
31131
1792c087
TS
31132 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31133
80694780
TS
31134 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31135
6b645f0d
ST
311362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31137
80694780
TS
31138 Fix mlock in all cases except non-readable pages.
31139 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31140 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31141
6b645f0d
ST
31142 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31143 (__mkdir): When path is `/', just fail with EEXIST.
31144 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31145
e468f8a3
TS
311462012-05-10 Thomas Schwinge <thomas@schwinge.name>
31147
31148 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31149 <sys/uio.h> (for writev).
31150 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31151 and <sys/param.h> (for MIN).
31152
a4186cff
PT
311532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31154
31155 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31156 REQUESTED_TIME. Properly set the remaining time and return EINTR
31157 if interrupted.
31158
510bbf14
TS
311592012-05-10 Thomas Schwinge <thomas@schwinge.name>
31160
31161 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31162 Depend on against $(link-rpcuserlibs).
31163
5d5722e8
ST
311642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31165
a4186cff
PT
31166 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31167 (__libc_stack_end): Do not use attribute_relro.
31168 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31169 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31170 to libthread-provided value.
a4186cff
PT
31171 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31172 attribute_relro.
5d5722e8 31173
37233df9
TS
311742012-05-10 Thomas Schwinge <thomas@schwinge.name>
31175
be971a2b
TS
31176 [BZ #3748]
31177 * bits/libc-lock.h (__libc_once_get): New macro.
31178 * sysdeps/mach/bits/libc-lock.h: Likewise.
31179 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31181 instead of using implementation details.
31182
37233df9
TS
31183 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31184 * libio/freopen.c: Likewise.
31185 * libio/freopen64.c: Likewise.
31186 * misc/syslog.c: Likewise.
31187 * nscd/connections.c: Likewise.
31188 * nscd/netgroupcache.c: Likewise.
31189 * sysdeps/posix/getcwd.c: Likewise.
31190
38de94a5
RM
311912012-05-10 Roland McGrath <roland@hack.frob.com>
31192
31193 * math/w_ilogbf.c: Add #include <limits.h>.
31194
67530489
ST
311952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31196
a4186cff 31197 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31198 path instead of returning without unlocking.
31199
67530489
ST
31200 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31201 immediate-write ioctls.
31202 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31203
5aa3a74a
TS
312042012-05-10 Thomas Schwinge <thomas@schwinge.name>
31205
18bad2ae
TS
31206 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31207 __builtin_frame_address instead of making assumptions about the
31208 location of the return address relative to DATA. Force early load of
31209 the return address.
31210 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31211 __builtin_frame_address.
31212
5aa3a74a
TS
31213 dup3 for GNU Hurd.
31214 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31215 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31216 implement dup3 and do some further code clean-ups.
31217 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31218 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31219
ecd0de9a
ST
312202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31221
cd9fa985
ST
31222 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31223
a4186cff
PT
31224 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31225 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31226 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31227 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31228 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31229 d->port.lock.
802ca5a5 31230
a4186cff
PT
31231 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31232 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31233 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31234
bcf55240
TS
312352012-05-10 Thomas Schwinge <thomas@schwinge.name>
31236
6960eb42
TS
31237 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31238 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31239 definitions.
31240
eb43375f
TS
31241 accept4 for GNU Hurd.
31242 * include/sys/socket.h (__libc_accept4): New prototype.
31243 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31244 to implement __libc_accept4.
31245 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31246 __libc_accept4.
31247 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31248
bcf55240
TS
31249 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31250 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31251 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31252 signal-defines.sym.
31253
6178c55b
ST
312542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31255
a4186cff 31256 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31257
6f080c2f
TS
312582012-05-10 Thomas Schwinge <thomas@schwinge.name>
31259
31260 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31261 assertion on O_CLOEXEC flag.
31262 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31263 * hurd/intern-fd.c: Likewise.
31264 * hurd/port2fd.c: Likewise.
31265
bcfe3a54
ST
312662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31267
31268 [BZ #3906]
31269 * bits/in.h (IPV6_PKTINFO): Define new macro.
31270 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31271
89c9aa49
AZ
312722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31273
31274 [BZ #13954]
31275 [BZ #13955]
31276 [BZ #13956]
31277 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31279 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31280 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31282 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31283 * math/libm-test.inc (logb_test) : Additional logb tests.
31284
021db4be
AJ
312852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31286 Andreas Jaeger <aj@suse.de>
31287
31288 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31289 * configure: Regenerated.
31290 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31291 * config.make.in (link-obsolete-rpc): New substituted variable.
31292 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31293 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31294 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31295 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31296 so that libc.a contains the symbols.
31297 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31298 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31299 * sunrpc/auth_none.c: Likewise.
31300 * sunrpc/auth_unix.c: Likewise.
31301 * sunrpc/authdes_prot.c: Likewise.
31302 * sunrpc/authuxprot.c: Likewise.
31303 * sunrpc/clnt_gen.c: Likewise.
31304 * sunrpc/clnt_perr.c: Likewise.
31305 * sunrpc/clnt_raw.c: Likewise.
31306 * sunrpc/clnt_simp.c: Likewise.
31307 * sunrpc/clnt_tcp.c: Likewise.
31308 * sunrpc/clnt_udp.c: Likewise.
31309 * sunrpc/clnt_unix.c: Likewise.
31310 * sunrpc/des_crypt.c: Likewise.
31311 * sunrpc/des_soft.c: Likewise.
31312 * sunrpc/get_myaddr.c: Likewise.
31313 * sunrpc/key_call.c: Likewise.
31314 * sunrpc/key_prot.c: Likewise.
31315 * sunrpc/netname.c: Likewise.
31316 * sunrpc/pm_getmaps.c: Likewise.
31317 * sunrpc/pm_getport.c: Likewise.
31318 * sunrpc/pmap_clnt.c: Likewise.
31319 * sunrpc/pmap_prot.c: Likewise.
31320 * sunrpc/pmap_prot2.c: Likewise.
31321 * sunrpc/pmap_rmt.c: Likewise.
31322 * sunrpc/publickey.c: Likewise.
31323 * sunrpc/rpc_cmsg.c: Likewise.
31324 * sunrpc/rpc_common.c: Likewise.
31325 * sunrpc/rpc_dtable.c: Likewise.
31326 * sunrpc/rpc_prot.c: Likewise.
31327 * sunrpc/rpc_thread.c: Likewise.
31328 * sunrpc/rtime.c: Likewise.
31329 * sunrpc/svc.c: Likewise.
31330 * sunrpc/svc_auth.c: Likewise.
31331 * sunrpc/svc_raw.c: Likewise.
31332 * sunrpc/svc_run.c: Likewise.
31333 * sunrpc/svc_tcp.c: Likewise.
31334 * sunrpc/svc_udp.c: Likewise.
31335 * sunrpc/svc_unix.c: Likewise.
31336 * sunrpc/svcauth_des.c: Likewise.
31337 * sunrpc/xcrypt.c: Likewise.
31338 * sunrpc/xdr.c: Likewise.
31339 * sunrpc/xdr_array.c: Likewise.
31340 * sunrpc/xdr_float.c: Likewise.
31341 * sunrpc/xdr_intXX_t.c: Likewise.
31342 * sunrpc/xdr_mem.c: Likewise.
31343 * sunrpc/xdr_rec.c: Likewise.
31344 * sunrpc/xdr_ref.c: Likewise.
31345 * sunrpc/xdr_sizeof.c: Likewise.
31346 * sunrpc/xdr_stdio.c: Likewise.
31347
b5c086a2
RM
313482012-05-10 Roland McGrath <roland@hack.frob.com>
31349
31350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31351 change. Update copyright years.
31352
6d74dd09
JM
313532012-05-10 Joseph Myers <joseph@codesourcery.com>
31354
31355 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31356
28e72501
MK
313572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31358 Joseph Myers <joseph@codesourcery.com>
31359 Paul Pluzhnikov <ppluzhnikov@google.com>
31360
31361 [BZ #14012]
31362 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31363 requiring rpcgen.
31364 [cross-compiling] (extra-libs): Likewise.
31365 [cross-compiling] (extra-libs-others): Likewise.
31366 [cross-compiling] (librpcsvc-routines): Likewise.
31367 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31368 [cross-compiling] (omit-deps): Likewise.
31369 (sunrpc-CPPFLAGS): New variable.
31370 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31371 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31372 (cross-rpcgen-objs): New variable.
31373 (extra-objs): Append $(cross-rpcgen-objs).
31374 ($(cross-rpcgen-objs)): New rule.
31375 ($(objpfx)cross-rpcgen): Likewise.
31376 (rpcgen-cmd): Define to use $(built-program-file). Expand
31377 comment.
31378 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31379 ($(objpfx)x%.stmp): Likewise.
31380 * sunrpc/proto.h [IS_IN_build] (_): Define.
31381 [IS_IN_build] (_libc_intl_domainname): Likewise.
31382
c8c59454
L
313832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31384
31385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31386 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31387 and R_X86_64_TPOFF64.
31388
6f27cd16
JM
313892012-05-10 Joseph Myers <joseph@codesourcery.com>
31390
31391 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31392 sysdeps/unix/sysv/syscalls.list.
31393 (stime): Likewise.
31394 (utime): Likewise.
31395 * sysdeps/unix/sysv/syscalls.list: Remove file.
31396
02467e1c
PE
313972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31398
31399 [BZ #3440]
31400 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31401 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31402 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31403 (__LC_IDENTIFICATION): Make these macros useful in #if
31404 expressions, as required by C99.
31405
da392631
AS
314062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31407
31408 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31409 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31410 after this.
31411
8115f29b
L
314122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31413
31414 * stdlib/longlong.h: Updated from GCC.
31415
bdd74070
AJ
314162012-05-09 Andreas Jaeger <aj@suse.de>
31417
edfe0dbe
AJ
31418 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31419 default is first entry.
31420 (run_mode): Set type.
31421 (main): Remove informal message about syslog.
31422 (options): Fix typo.
31423
bcfe3a54
ST
31424 [BZ #14053]
31425 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31426 to asm.
bcfe3a54
ST
31427 (lrint): Likewise.
31428 (llrintf): Likewise.
31429 (llrint): Likewise.
31430 (rint): Likewise.
31431 (rintf): Likewise.
31432 (nearbyint): Likewise.
31433 (nearbyintf): Likewise.
bdd74070 31434
91d8d69e
AJ
314352012-05-09 Andreas Jaeger <aj@suse.de>
31436 Pedro Alves <palves@redhat.com>
31437
31438 * nscd/nscd.c (run_mode): Use enum.
31439 (main): Cleanup coding style issue.
31440
bb90b80b
AJ
314412012-05-09 Alexandre Oliva <aoliva@redhat.com>
31442 Andreas Jaeger <aj@suse.de>
31443
bcfe3a54
ST
31444 * nscd/nscd.c (go_background): Replaced with...
31445 (run_mode): ... this.
bb90b80b 31446 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31447 (options): Add -F --foreground.
31448 (main): Implement it.
31449 (parse_opt): Parse it.
bb90b80b 31450
1a4b75a1
AJ
314512012-05-09 Andreas Jaeger <aj@suse.de>
31452
31453 [BZ #14083]
31454 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31455 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31456 -Wconversion warning.
31457 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31458 Likewise.
31459
b1cc2472
JM
314602012-05-09 Joseph Myers <joseph@codesourcery.com>
31461
31462 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31463 == 0.
31464 (LC_ALL): Use macro-int-constant.
31465 (LC_COLLATE): Likewise.
31466 (LC_CTYPE): Likewise.
31467 (LC_MESSAGES): Likewise.
31468 (LC_MONETARY): Likewise.
31469 (LC_NUMERIC): Likewise.
31470 (LC_TIME): Likewise.
31471 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31472 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31474 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31475 Specify type.
31476 [C99-based standards] (float_t): Expect type.
31477 [C99-based standards] (double_t): Expect type.
31478 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31479 type.
31480 [C99-based standards] (HUGE_VALL): Likewise.
31481 [C99-based standards] (INFINITY): Likewise.
31482 [C99-based standards] (NAN): Likewise.
31483 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31484 [C99-based standards] (FP_NAN): Likewise.
31485 [C99-based standards] (FP_NORMAL): Likewise.
31486 [C99-based standards] (FP_SUBNORMAL): Likewise.
31487 [C99-based standards] (FP_ZERO): Likewise.
31488 [C99-based standards] (FP_FAST_FMA): Use
31489 optional-macro-int-constant. Specify type. Require == 1.
31490 [C99-based standards] (FP_FAST_FMAF): Likewise.
31491 [C99-based standards] (FP_FAST_FMAL): Likewise.
31492 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31493 [C99-based standards] (FP_ILOGBNAN): Likewise.
31494 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31495 Specify type.
31496 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31497 [C99-based standards] (math_errhandling): Specify type.
31498 [ISO99 || ISO11] (signgam): Do not allow.
31499 [non-C99-based standards] (copysignf): Do not allow.
31500 [non-C99-based standards] (exp2f): Likewise.
31501 [non-C99-based standards] (log2f): Likewise.
31502 [non-C99-based standards] (modff): Allow.
31503 [non-C99-based standards] (erff): Do not allow.
31504 [non-C99-based standards] (erfcf): Likewise.
31505 [non-C99-based standards] (gammaf): Likewise.
31506 [non-C99-based standards] (hypotf): Likewise.
31507 [non-C99-based standards] (j0f): Likewise.
31508 [non-C99-based standards] (j1f): Likewise.
31509 [non-C99-based standards] (jnf): Likewise.
31510 [non-C99-based standards] (lgammaf): Likewise.
31511 [non-C99-based standards] (tgammaf): Likewise.
31512 [non-C99-based standards] (y0f): Likewise.
31513 [non-C99-based standards] (y1f): Likewise.
31514 [non-C99-based standards] (ynf): Likewise.
31515 [non-C99-based standards] (isnanf): Likewise.
31516 [non-C99-based standards] (acoshf): Likewise.
31517 [non-C99-based standards] (asinhf): Likewise.
31518 [non-C99-based standards] (atanhf): Likewise.
31519 [non-C99-based standards] (cbrtf): Likewise.
31520 [non-C99-based standards] (expm1f): Likewise.
31521 [non-C99-based standards] (ilogbf): Likewise.
31522 [non-C99-based standards] (log1pf): Likewise.
31523 [non-C99-based standards] (logbf): Likewise.
31524 [non-C99-based standards] (nextafterf): Likewise.
31525 [non-C99-based standards] (remainderf): Likewise.
31526 [non-C99-based standards] (rintf): Likewise.
31527 [non-C99-based standards] (scalbf): Likewise.
31528 [non-C99-based standards] (copysignl): Likewise.
31529 [non-C99-based standards] (exp2l): Likewise.
31530 [non-C99-based standards] (log2l): Likewise.
31531 [non-C99-based standards] (modfl): Allow.
31532 [non-C99-based standards] (erfl): Do not allow.
31533 [non-C99-based standards] (erfcl): Likewise.
31534 [non-C99-based standards] (gammal): Likewise.
31535 [non-C99-based standards] (hypotl): Likewise.
31536 [non-C99-based standards] (j0l): Likewise.
31537 [non-C99-based standards] (j1l): Likewise.
31538 [non-C99-based standards] (jnl): Likewise.
31539 [non-C99-based standards] (lgammal): Likewise.
31540 [non-C99-based standards] (tgammal): Likewise.
31541 [non-C99-based standards] (y0l): Likewise.
31542 [non-C99-based standards] (y1l): Likewise.
31543 [non-C99-based standards] (ynl): Likewise.
31544 [non-C99-based standards] (isnanl): Likewise.
31545 [non-C99-based standards] (acoshl): Likewise.
31546 [non-C99-based standards] (asinhl): Likewise.
31547 [non-C99-based standards] (atanhl): Likewise.
31548 [non-C99-based standards] (cbrtl): Likewise.
31549 [non-C99-based standards] (expm1l): Likewise.
31550 [non-C99-based standards] (ilogbl): Likewise.
31551 [non-C99-based standards] (log1pl): Likewise.
31552 [non-C99-based standards] (logbl): Likewise.
31553 [non-C99-based standards] (nextafterl): Likewise.
31554 [non-C99-based standards] (remainderl): Likewise.
31555 [non-C99-based standards] (rintl): Likewise.
31556 [non-C99-based standards] (scalbl): Likewise.
31557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31558 [non-C99-based standards] (FP_*): Do not allow.
31559 [C99-based standards] (FP_*): Change to
31560 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31561 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31562 allow.
31563 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31564 (SIG_ERR): Likewise.
31565 [X/Open-based standards] (SIG_HOLD): Likewise.
31566 (SIG_IGN): Likewise.
31567 (SIGABRT): Use macro-int-constant. Specify type. Require
31568 positive value.
31569 (SIGFPE): Likewise.
31570 (SIGILL): Likewise.
31571 (SIGINT): Likewise.
31572 (SIGSEGV): Likewise.
31573 (SIGTER): Likewise.
31574 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31575 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31576 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31577 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31578 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31579 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31580 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31581 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31582 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31583 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31584 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31585 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31586 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31587 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31588 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31589 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31590 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31591 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31592 [X/Open-based standards] (SIGTRAP): Likewise.
31593 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31594 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31595 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31596 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31597 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31598 allow.
31599
b9f1922d
IW
316002012-05-08 Ian Wienand <ianw@vmware.com>
31601
31602 [BZ #14080]
31603 * time/tzset.c (__tzset_parse_tz): Update default rules for
31604 daylight time changes in the Energy Policy Act of 2005.
31605
1db86e88
AJ
316062012-05-09 Andreas Jaeger <aj@suse.de>
31607
31608 [BZ #13983]
31609 * elf/ldconfig.c (parse_conf): Change string to make clear that
31610 ldconfig only issued a warning if ld.so.conf does not exist.
31611
dee4a4e3
DM
316122012-05-08 David S. Miller <davem@davemloft.net>
31613
ee0db190
DM
31614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31615 movxtod instead of popping the value on the stack.
31616
dee4a4e3
DM
31617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31618
6a43ec98
CD
316192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31620
31621 * config.h.in: Add HAVE_ARM_PCS_VFP.
31622
05c2c961
RMG
316232012-05-08 Roland Mc Grath <roland@hack.frob.com>
31624
bcfe3a54
ST
31625 [BZ #13979]
31626 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31627 checking but the checks are disabled for any reason.
05c2c961 31628
4b30f61a
L
316292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31630
31631 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31632 and ELF64_R_TYPE with ELFW(R_TYPE).
31633
eee2bc67
JM
316342012-05-08 Joseph Myers <joseph@codesourcery.com>
31635
7ea5391a
JM
31636 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31637 (ulimit): Likewise.
31638
eee2bc67
JM
31639 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31640 (settimeofday): Likewise.
31641
abb66a67
MF
316422012-05-08 Mike Frysinger <vapier@gentoo.org>
31643
31644 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31645 a struct th_u2 inside the union, and move tu_block/tu_code into
31646 a new th_u3 union of tu_block/tu_code inside of that. Move
31647 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31648 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31649 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31650 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31651 (th_stuff): Change to th_u1.tu_stuff.
31652 (th_data): Define.
31653 (th_msg): Change to th_u1.th_u2.tu_data.
31654
7f18b530
DM
316552012-05-07 David S. Miller <davem@davemloft.net>
31656
05760585
DM
31657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31658
7f18b530
DM
31659 [BZ #14074]
31660 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31661 (SETUP_PIC_REG): Use it.
31662 (SETUP_PIC_REG_LEAF): Use it.
31663
495fd99f
JM
316642012-05-07 Joseph Myers <joseph@codesourcery.com>
31665
31666 [BZ #13885]
31667 [BZ #13923]
31668 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31669 USE_AS_EXPM1L.
31670 (EXPL_FINITE): Likewise.
31671 (FLDLOG): Likewise.
31672 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31673 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31674 e_expl.S.
31675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31676 USE_AS_EXPM1L.
31677 (EXPL_FINITE): Likewise.
31678 (FLDLOG): Likewise.
31679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31680 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31681 e_expl.S.
31682 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31683 test of -max_value argument for long double.
31684 * sysdeps/i386/fpu/libm-test-ulps: Update.
31685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31686
6693d694
DM
316872012-05-06 David S. Miller <davem@davemloft.net>
31688
31689 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31690 quad soft-float symbols whose references which are compiler
31691 generated.
31692 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31693
6c23e11c
JM
316942012-05-06 Joseph Myers <joseph@codesourcery.com>
31695
d8b82cad
JM
31696 [BZ #13884]
31697 [BZ #13914]
31698 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31699 USE_AS_EXP10L.
31700 (EXPL_FINITE): Likewise.
31701 (FLDLOG): Likewise.
31702 (c0): Likewise.
31703 (c1): Likewise.
31704 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31705 Adjust comments for base varying.
31706 (__expl_finite): Change alias to EXPL_FINITE.
31707 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31708 e_expl.S.
31709 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31710 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31711 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31712 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31713 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31714 USE_AS_EXP10L.
31715 (EXPL_FINITE): Likewise.
31716 (FLDLOG): Likewise.
31717 (c0): Likewise.
31718 (c1): Likewise.
31719 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31720 Adjust comments for base varying.
31721 (__expl_finite): Change alias to EXPL_FINITE.
31722 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31723 tests for bugs.
31724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31725
6c23e11c
JM
31726 [BZ #14064]
31727 * math/libm-test.inc (check_float_internal): Correct ulp
31728 calculation for subnormal expected results.
31729
29ba805c
AJ
317302012-05-06 Andreas Jaeger <aj@suse.de>
31731
31732 * Makeconfig (+math-flags): New, set to -frounding-math.
31733 (+cflags): Add +math-flags so that all of glibc gets compiled with
31734 it.
31735
31736 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31737
7b17aeda
JM
317382012-05-05 Joseph Myers <joseph@codesourcery.com>
31739
5779f134
JM
31740 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31741 Disable one test.
31742
41498f4d
JM
31743 [BZ #13787]
31744 [BZ #13922]
31745 [BZ #14036]
31746 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31747 (__ieee754_expl): Allow for and saturate large arguments.
31748 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31749 (u_threshold): Likewise.
31750 (__exp): Call __ieee754_exp before checking for overflow and
31751 underflow.
31752 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31753 (u_threshold): Likewise.
31754 (__expf): Call __ieee754_expf before checking for overflow and
31755 underflow.
31756 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31757 (u_threshold): Likewise.
31758 (__expl): Call __ieee754_expl before checking for overflow and
31759 underflow.
31760 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31761 (__ieee754_expl): Allow for and saturate large arguments.
31762 * math/libm-test.inc (exp_test): Add another test. Do not allow
31763 missing overflow exception on overflow.
31764 (expm1_test): Do not allow missing overflow exception on overflow.
31765
6698b8bf
JM
31766 * sysdeps/i386/fpu/e_expl.c: Move to ...
31767 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31768 rather than using inline asm.
31769 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31770 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31771 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31772
7b17aeda
JM
31773 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31774 (nice): Likewise.
31775 (poll): Likewise.
31776 (signal): Likewise.
31777 (time): Likewise.
31778 (times): Likewise.
31779
f7c85819
JM
317802012-05-04 Joseph Myers <joseph@codesourcery.com>
31781
31782 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31783 sysdeps/unix/common/syscalls.list.
31784 (fchmod): Likewise.
31785 (fchown): Likewise.
31786 (ftruncate): Likewise.
31787 (getrusage): Likewise.
31788 (gettimeofday): Likewise.
31789 (setpgid): Likewise.
31790 (setregid): Likewise.
31791 (setreuid): Likewise.
31792 (sigaction): Likewise.
31793 (truncate): Likewise.
31794 (vhangup): Likewise.
31795 * sysdeps/unix/common/syscalls.list: Remove file.
31796 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31797 * sysdeps/unix/sysv/linux/Implies: Likewise.
31798
336270d0
L
317992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31800
31801 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31803 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31804 Moved to ...
31805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31806 Here.
31807 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31808 to ...
31809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31810 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31811 to ...
31812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31813 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31814 to ...
31815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31816 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31817 to ...
31818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31819 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31820 to ...
31821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31822 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31823 to ...
31824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31825 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31826 to ...
31827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31828 Here.
31829 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31830 to ...
31831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31832 Here.
31833 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31834 to ...
31835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31836 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31837 Moved to ...
31838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31839 Here.
31840 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31841 to ...
31842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31843
d128e450
JM
318442012-05-04 Joseph Myers <joseph@codesourcery.com>
31845
fa8ee516
JM
31846 * sysdeps/unix/common/bits/dirent.h: Remove file.
31847 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31848
d128e450
JM
31849 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31850 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31851 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31852 * sysdeps/unix/bsd/isatty.c: Likewise.
31853 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31854 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31855 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31856
ff8faaf0 318572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31858
62881be4 31859 [BZ #13563]
31dc8730
AZ
31860 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31861 long double comparison inaccuracies.
31862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31864
6fef930c
AS
318652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31866
31867 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31869
8f203e6c
JM
318702012-05-04 Joseph Myers <joseph@codesourcery.com>
31871
31872 [BZ #14049]
31873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31874 nonzero digits before rounding a hex value.
31875 * stdlib/tst-strtod.c (tests): Add another test.
31876
5197d9c2
AK
318772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31878
31879 * sysdeps/s390/fpu/libm-test-ulps: Update.
31880
f0c1dedf
AJ
318812012-05-03 Andreas Jaeger <aj@suse.de>
31882
31883 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31884 does not get optimized out.
31885 (malloc_opt_barrier): New.
31886
a65ef2ae 318872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31888 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31889
2b942cb7 31890 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31891 intermediate file deletion.
2b942cb7 31892 (generated): Add .symlist files.
a65ef2ae 31893
54b71e02
JM
318942012-05-03 Joseph Myers <joseph@codesourcery.com>
31895
31896 [BZ #13775]
31897 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31898 Redirect under this condition.
31899 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31900 [__USE_GNU] (__dprintf_chk): Not under this condition.
31901 [__USE_GNU] (__vdprintf_chk): Likewise.
31902 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31903 under this condition.
31904 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31905 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31906 [__USE_XOPEN2K8] (vdprintf): Likewise.
31907 [__USE_GNU] (__dprintf_chk): Not under this condition.
31908 [__USE_GNU] (__vdprintf_chk): Likewise.
31909 [__USE_GNU] (dprintf): Likewise.
31910 [__USE_GNU] (vdprintf): Likewise.
31911
d3dfcc41
RM
319122012-05-03 Roland McGrath <roland@hack.frob.com>
31913
31914 * elf/Makefile (common-generated): Set this instead of generated for
31915 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31916 $(all-built-dso)-derived lists.
31917
7ac30cc5
AJ
319182012-05-03 Andreas Jaeger <aj@suse.de>
31919
0c51e550
AJ
31920 * sysdeps/i386/fpu/libm-test-ulps: Update.
31921
7ac30cc5
AJ
31922 * FAQ: Removed.
31923 * FAQ.in: Likewise.
31924 * scripts/gen-FAQ.pl: Likewise.
31925 * manual/install.texi (Installation): Point to online location of
31926 FAQ.
31927 * Makefile (files-for-dist): Remove FAQ.
31928 (FAQ): Remove.
31929
d4c2917f
AM
319302012-05-02 Allan McRae <allan@archlinux.org>
31931
31932 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31933 (LDFLAGS-reldepmod5.so): Likewise.
31934 (LDFLAGS-reldep6mod1.so): Likewise.
31935 (LDFLAGS-reldep6mod4.so): Likewise.
31936 (LDFLAGS-reldep8mod3.so): Likewise.
31937 (LDFLAGS-unload4mod1.so): Likewise.
31938 (LDFLAGS-unload4mod2.so): Likewise.
31939 (LDFLAGS-tst-initorder): Likewise.
31940 (LDFLAGS-tst-initordera2.so): Likewise.
31941 (LDFLAGS-tst-initordera3.so): Likewise.
31942 (LDFLAGS-tst-initordera4.so): Likewise.
31943 (LDFLAGS-tst-initorderb2.so): Likewise.
31944 (LDFLAGS-noload): Likewise.
31945 (LDFLAGS-next): Likewise.
31946 (LDFLAGS-order2mod1.so): Likewise.
31947 (LDFLAGS-order2mod2.so): Likewise.
31948 (LDFLAGS-tst-initorder2): Likewise.
31949 (LDFLAGS-tst-initorder2a.so): Likewise.
31950 (LDFLAGS-tst-initorder2b.so): Likewise.
31951 (LDFLAGS-tst-initorder2c.so): Likewise.
31952 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31953
d77f993f
DM
319542012-05-02 David S. Miller <davem@davemloft.net>
31955
31956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31957
171a70b4
PP
319582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31959
31960 [BZ #14055]
31961 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31962
0be196ad
AJ
319632012-05-02 Andreas Jaeger <aj@suse.de>
31964
31965 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31966 since we manipulate rounding mode.
31967 (CPPFLAGS-test-idouble.c): Likewise.
31968 (CPPFLAGS-test-ifloat.c): Likewise.
31969 (CFLAGS-test-ldouble.c): Likewise.
31970 (CFLAGS-test-double.c): Likewise.
31971 (CFLAGS-test-float.c): Likewise.
31972 (CFLAGS-test-misc.c): Likewise.
31973 (CFLAGS-test-test-fenv.c): Likewise.
31974
4f9d04aa
AZ
319752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31976
2b942cb7
RM
31977 [BZ #2550]
31978 [BZ #2570]
31979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31980 comparisons to determine direction to adjust input.
4f9d04aa 31981
82a79e7d
RM
319822012-05-01 Roland McGrath <roland@hack.frob.com>
31983
f5a01ca9
RM
31984 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31985 output to the target.
31986
90fe4186
RM
31987 * scripts/localplt.awk: New file.
31988 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31989 (check-localplt-CFLAGS): Variable removed.
31990 ($(all-built-dso:=.jmprel)): New static pattern rule.
31991 (generated): Add those targets.
31992 (localplt-built-dso): New variable.
31993 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31994
31995 * elf/check-localplt.c: File removed.
31996
82397ed6
RM
31997 * scripts/check-execstack.awk: New file.
31998 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31999 (check-execstack-CFLAGS): Variable removed.
32000 ($(objpfx)check-execstack.h): Target removed.
32001 ($(objpfx)execstack-default): New target.
32002 (generated): Add that instead of check-execstack.h.
32003 ($(all-built-dso:=.phdr)): New static pattern rule.
32004 (generated): Add those targets.
32005 * elf/check-execstack.c: File removed.
32006
82a79e7d
RM
32007 * scripts/check-textrel.awk: New file.
32008 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32009 (check-textrel-CFLAGS): Variable removed.
32010 (all-built-dso): Use := to define.o
32011 ($(all-built-dso:=.dyn)): New static pattern rule.
32012 (generated): Add those targets.
32013 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32014 * config.make.in (READELF): New substituted variable.
32015 * elf/check-textrel.c: File removed.
32016
62fde54f 320172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32018
615605c9
JM
32019 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32020 allow.
32021 * conform/data/ctype.h-data [C99-based standards] (isblank):
32022 Expect function.
32023 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32024 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32026 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32027 Specify type. Require positive value.
32028 (EILSEQ): Likewise.
32029 (ERANGE): Likewise.
32030 [ISO || POSIX] (EILSEQ): Do not expect.
32031 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32032 Specify type. Require positive value.
32033 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32034 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32035 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32036 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32037 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32038 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32039 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32040 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32041 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32042 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32043 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32044 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32045 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32046 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32047 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32048 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32049 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32050 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32051 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32052 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32053 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32054 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32055 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32056 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32057 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32058 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32059 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32060 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32061 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32062 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32063 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32064 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32065 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32066 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32067 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32068 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32069 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32070 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32071 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32072 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32073 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32074 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32075 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32076 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32077 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32078 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32079 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32080 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32081 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32082 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32083 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32084 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32085 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32086 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32087 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32088 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32089 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32090 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32091 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32092 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32093 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32094 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32095 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32096 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32097 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32098 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32099 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32100 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32101 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32102 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32103 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32104 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32105 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32106 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32107 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32108 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32109 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32110 Require >= 2.
32111 (FLT_ROUNDS): Expect as macro, not constant.
32112 (FLT_MANT_DIG): Use macro-int-constant.
32113 (DBL_MANT_DIG): Likewise.
32114 (LDBL_MANT_DIG): Likewise.
32115 (FLT_DIG): Likewise.
32116 (DBL_DIG): Likewise.
32117 (LDBL_DIG): Likewise.
32118 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32119 (DBL_MIN_EXP): Likewise.
32120 (LDBL_MIN_EXP): Likewise.
32121 (FLT_MAX_EXP): Use macro-int-constant.
32122 (DBL_MAX_EXP): Likewise.
32123 (LDBL_MAX_EXP): Likewise.
32124 (FLT_MAX_10_EXP): Likewise.
32125 (DBL_MAX_10_EXP): Likewise.
32126 (LDBL_MAX_10_EXP): Likewise.
32127 (FLT_MAX): Use macro-constant.
32128 (DBL_MAX): Likewise.
32129 (LDBL_MAX): Likewise.
32130 (FLT_EPSILON): Use macro-constant. Give upper bound.
32131 (DBL_EPSILON): Likewise.
32132 (LDBL_EPSILON): Likewise.
32133 (FLT_MIN): Likewise.
32134 (DBL_MIN): Likewise.
32135 (LDBL_MIN): Likewise.
32136 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32137 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32138 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32139 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32140 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32141 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32142 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32143 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32144 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32145 [ISO11] (FLT_TRUE_MIN): Likewise.
32146 [ISO11] (LDBL_TRUE_MIN): Likewise.
32147 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32148 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32149 (SCHAR_MIN): Use macro-int-constant. Specify type.
32150 (SCHAR_MAX): Likewise.
32151 (UCHAR_MAX): Likewise.
32152 (CHAR_MIN): Likewise.
32153 (CHAR_MAX): Likewise.
32154 (MB_LEN_MAX): Use macro-int-constant.
32155 (SHRT_MIN): Use macro-int-constant. Specify type.
32156 (SHRT_MAX): Likewise.
32157 (USHRT_MAX): Likewise.
32158 (INT_MAX): Likewise.
32159 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32160 bound negative.
32161 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32162 bound with "U".
32163 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32164 bound with "L".
32165 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32166 bound negative. Suffix upper bound with "L".
32167 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32168 bound with "UL".
32169 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32170 Specify type.
32171 [C99-based standards] (LLONG_MAX): Likewise.
32172 [C99-based standards] (ULLONG_MAX): Likewise.
32173 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32174 == 0.
32175 [ISO11] (max_align_t): Require type.
32176 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32177
c9140a62
JM
32178 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32179 from $CFLAGS, without defining away __attribute__ calls.
32180 (checknamespace): Use $CFLAGS_namespace.
32181
9af0bf29
JM
32182 * conform/conformtest.pl (@keywords): Only include C99 keywords
32183 for standards based on C99 or C11.
32184
343222a2
JM
32185 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32186 Disable tests.
32187 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32188 UNIX98]: Likewise.
32189
661f8cf0
JM
32190 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32191 usability of symbols in #if.
32192
ee74b9cb
JM
32193 * conform/conformtest.pl: If macro or constant types start
32194 "promoted:", expect the symbol to be of the following type
32195 promoted by the integer promotions.
62fde54f 32196
aafc49b3
JM
32197 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32198 in one place. Also handle "macro-constant".
32199
fefdf574
JM
32200 * conform/conformtest.pl: Only accept expected macro values with
32201 "==". Parse all "macro" lines in one place.
32202 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32203
f2d922fe
JM
32204 * conform/conformtest.pl: Handle braced types on "constant" lines
32205 instead of handling "typed-constant".
32206 * conform/data/signal.h-data: Use "constant" instead of
32207 "typed-constant".
32208
d22956c9
JM
32209 * conform/conformtest.pl: Handle "optional-" at start of lines in
32210 one place rather than duplicating several cases. Handle each
32211 format of "macro" line with initial "optional-".
32212
028e2e38
JM
32213 * conform/conformtest.pl: Only accept expected constant or
32214 optional-constant values with "==". Parse all "constant" lines in
32215 one place. Parse all "optional-constant" lines in one place.
32216 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32217 * conform/data/fmtmsg.h-data: Likewise.
32218 * conform/data/netinet/in.h-data: Likewise.
32219 * conform/data/tar.h-data: Likewise.
32220 * conform/data/limits.h-data: Use "==" form on "constant" and
32221 "optional-constant" lines.
32222
1b8f2850
JM
32223 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32224 Use -std=c99 for XOPEN2K.
32225 (@knownproblems): Remove.
32226 (newtoken): Don't check %isknown.
32227
a05a144b
JM
32228 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32229 Do not expect macro.
32230 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32231 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32232 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32233 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32234 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32235 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32236 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32237 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32238 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32239 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32240 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32241 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32242 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32243 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32244 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32245 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32246 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32247 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32248 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32249 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32250 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32251 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32252 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32253 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32254 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32255 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32256 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32257 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32258 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32259 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32260 [XPG3] (acosh): Likewise.
32261 [XPG3] (asinh): Likewise.
32262 [XPG3] (atanh): Likewise.
32263 [XPG3] (cbrt): Likewise.
32264 [XPG3] (expm1): Likewise.
32265 [XPG3] (ilogb): Likewise.
32266 [XPG3] (log1p): Likewise.
32267 [XPG3] (logb): Likewise.
32268 [XPG3] (nextafter): Likewise.
32269 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32270 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32271 [XPG3] (remainder): Likewise.
32272 [XPG3] (rint): Likewise.
32273 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32274 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32275 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32276 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32277 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32278 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32279 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32280 [UNIX98 || XOPEN2K] (scalb): Expect.
32281 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32282 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32283 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32284 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32285 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32286 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32287 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32288 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32289 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32290 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32291 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32292 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32293 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32294 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32295 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32296 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32297 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32298 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32299 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32300 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32301 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32302 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32303 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32304 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32305 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32306 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32307 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32308 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32309 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32310 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32311 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32312 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32313 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32314 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32315 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32316 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32317 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32318 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32319 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32320 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32321 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32322 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32323 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32324 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32325 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32326 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32327 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32328 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32329 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32330 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32331 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32332 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32333 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32334 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32335 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32336 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32337 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32338 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32339 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32340 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32341 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32342 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32343 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32344 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32345 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32346 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32347 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32348 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32349 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32350 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32351 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32352 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32353 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32354 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32355 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32356 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32357 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32358 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32359 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32360 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32361 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32362 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32363 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32364 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32365 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32366 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32367 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32368 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32369 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32370 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32371 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32372 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32373 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32374 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32375 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32376 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32377 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32378 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32379 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32380 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32381 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32382 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32383 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32384 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32385 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32386 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32387 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32388 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32389 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32390 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32391 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32392 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32393 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32394 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32395 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32396 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32397 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32398 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32399 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32400 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32401 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32402 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32403 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32404 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32405 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32406 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32407 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32408 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32409 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32410 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32411 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32412 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32413 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32414 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32415 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32416 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32417 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32418
73c5ebe3
JM
32419 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32420 _XOPEN_SOURCE_EXTENDED for XPG4.
32421
39c33b6c
JM
32422 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32423
62fde54f
JM
32424 * Makeconfig (localtime): Remove variable.
32425 (inst_localtime-file): Likewise.
32426
0741d64c
AS
324272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32428
32429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32430 Update.
32431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32432 Update.
32433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32434 Update.
32435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32436 Update.
32437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32438 Update.
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32440 Update.
32441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32442 Update.
32443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32444 Update.
32445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32446 Update.
32447
7cb029ee
JM
324482012-05-01 Joseph Myers <joseph@codesourcery.com>
32449
32450 [BZ #2550]
32451 [BZ #2570]
32452 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32453 comparisons to determine direction to adjust input.
32454 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32455 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32456 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32457 Likewise.
32458 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32459 Likewise.
32460 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32461 Likewise.
32462 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32463 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32464 Likewise.
32465 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32466 Likewise.
32467 * math/libm-test.inc (nexttoward_test): Add more tests.
32468
412bd966
AS
324692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32470
32471 [BZ #14040]
32472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32473 in version GLIBC_2.1, not GLIBC_2.0.
32474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32475 Likewise.
32476
9568c0c2
JM
324772012-04-30 Joseph Myers <joseph@codesourcery.com>
32478
adfbc8ac
JM
32479 [BZ #13942]
32480 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32481 (1 - x) * (1 + x).
32482 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32483 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32484 * math/libm-test.inc (acos_test): Add more tests.
32485 (asin_test): Likewise.
32486 * sysdeps/i386/fpu/libm-test-ulps: Update.
32487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32488
5ba3cc69
JM
32489 [BZ #14034]
32490 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32491 of square root.
32492 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32493 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32494 * math/libm-test.inc (acos_test_tonearest): New function.
32495 (acos_test_towardzero): Likewise.
32496 (acos_test_downward): Likewise.
32497 (acos_test_upward): Likewise.
32498 (asin_test_tonearest): Likewise.
32499 (asin_test_towardzero): Likewise.
32500 (asin_test_downward): Likewise.
32501 (asin_test_upward): Likewise.
32502 (main): Call the new functions.
32503 * sysdeps/i386/fpu/libm-test-ulps: Update.
32504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32505
9568c0c2
JM
32506 [BZ #13884]
32507 [BZ #13924]
32508 * math/e_exp10.c: Include <float.h>.
32509 (__ieee754_exp10): Handle underflow here rather than multiplying
32510 large negative argument by M_LN10.
32511 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32512 of __ieee754_expf.
32513 * math/e_exp10l.c: Include <float.h>.
32514 (__ieee754_exp10l): Handle underflow here rather than multiplying
32515 large negative argument by M_LN10l.
32516 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32517 spurious overflow exception on underflow.
32518
5ac3ea17
MP
325192012-04-29 Marek Polacek <polacek@redhat.com>
32520
32521 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32522 (__fortify_function): New macro.
32523 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32524 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32525 __extern_always_inline.
32526 * libio/bits/stdio2.h: Likewise.
32527 * libio/bits/stdio.h: Likewise.
32528 * string/string.h: Likewise.
32529 * string/bits/string3.h: Likewise.
32530 * include/stdio.h: Likewise.
32531 * stdlib/bits/stdlib.h: Likewise.
32532 * stdlib/stdlib.h: Likewise.
32533 * rt/bits/mqueue2.h: Likewise.
32534 * rt/mqueue.h: Likewise.
32535 * posix/bits/unistd.h: Likewise.
32536 * posix/unistd.h: Likewise.
32537 * io/bits/poll2.h: Likewise.
32538 * io/bits/fcntl2.h: Likewise.
32539 * io/fcntl.h: Likewise.
32540 * io/sys/poll.h: Likewise.
32541 * misc/bits/syslog.h: Likewise.
32542 * misc/bits/syslog-ldbl.h: Likewise.
32543 * misc/sys/syslog.h: Likewise.
32544 * socket/bits/socket2.h: Likewise.
32545 * socket/sys/socket.h: Likewise.
32546 * debug/tst-chk1.c: Likewise.
32547 * wcsmbs/bits/wchar2.h: Likewise.
32548 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32549 * wcsmbs/wchar.h: Likewise.
32550
ecf0ebfb
AJ
325512012-04-29 Andreas Jaeger <aj@suse.de>
32552
32553 * Makerules (tests): Remove enable-check-abi protection.
32554 (check-abi-warn): Remove.
32555 (check-abi-%): Remove check-abi-warn usage.
32556
32557 * configure.in: Remove check-abi configure option.
32558 * configure: Regenerated.
32559 * config.make.in (enable-check-abi): Remove.
32560
6d5c57fa
AS
325612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32562
24c5d07e 32563 [BZ #14033]
ded5180a
AS
32564 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32565 double functions to double *_finite functions.
32566
7e0d315d
AS
32567 [BZ #13941]
32568 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32569 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32570 LDBL_MIN_EXP.
32571 * stdio-common/Makefile (tests): Add tst-sprintf3.
32572 * stdio-common/tst-sprintf3.c: New file.
32573
6d5c57fa
AS
32574 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32575 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32576
0749ff8b
JM
325772012-04-28 Joseph Myers <joseph@codesourcery.com>
32578
32579 * conform/conformtest.pl: Remove duplicate typed-constant
32580 handling.
32581
8dbd5d7b
DM
325822012-04-28 David S. Miller <davem@davemloft.net>
32583
32584 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32585 (check-abi-%): Remove AWK script prerequisite and explicit
32586 abilist directory.
32587 (check-abi): Rewrite to just diff the symlist with the abilist.
32588 (config-tls, config-abi-config): Delete, no longer used.
32589 (update-abi-%): Remove AWK script and explicit abilist directory.
32590 (update-abi): Rewrite to simply compare and conditionally copy the
32591 symlist and the sysdep abilist file. Remove update-abi-config
32592 checks.
32593 * abilist/ld.abilist: Remove.
32594 * abilist/libBrokenLocale.abilist: Remove.
32595 * abilist/libanl.abilist: Remove.
32596 * abilist/libcrypt.abilist: Remove.
32597 * abilist/libdl.abilist: Remove.
32598 * abilist/librt.abilist: Remove.
32599 * abilist/libthread_db.abilist: Remove.
32600 * abilist/libutil.abilist: Remove.
32601 * scripts/extract-abilist.awk: Remove.
32602 * scripts/merge-abilist.awk: Remove.
32603 * sysdeps/generic/libcidn.abilist: New file.
32604 * sysdeps/generic/libnss_compat.abilist: New file.
32605 * sysdeps/generic/libnss_db.abilist: New file.
32606 * sysdeps/generic/libnss_dns.abilist: New file.
32607 * sysdeps/generic/libnss_files.abilist: New file.
32608 * sysdeps/generic/libnss_hesiod.abilist: New file.
32609 * sysdeps/generic/libnss_nis.abilist: New file.
32610 * sysdeps/generic/libnss_nisplus.abilist: New file.
32611 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32612 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32613 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32614 file.
32615 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32616 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32617 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32618 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32619 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32620 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32621 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32622 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32623 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32624 file.
32625 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32626 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32627 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32628 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32629 file.
32630 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32631 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32632 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32633 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32634 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32635 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32636 file.
32637 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32638 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32639 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32640 file.
32641 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32643 New file.
32644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32645 New file.
32646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32647 New file.
32648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32649 New file.
32650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32651 New file.
32652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32653 New file.
32654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32655 New file.
32656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32657 New file.
32658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32659 New file.
32660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32661 New file.
32662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32663 New file.
32664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32665 New file.
32666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32667 New file.
32668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32669 file.
32670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32671 New file.
32672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32673 New file.
32674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32675 file.
32676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32677 New file.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32679 New file.
32680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32681 file.
32682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32683 New file.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32685 New file.
32686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32687 New file.
32688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32689 New file.
32690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32691 New file.
32692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32693 New file.
32694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32696 file.
32697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32698 New file.
32699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32700 file.
32701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32702 file.
32703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32704 file.
32705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32706 file.
32707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32708 file.
32709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32710 New file.
32711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32712 file.
32713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32714 file.
32715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32716 New file.
32717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32718 file.
32719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32721 file.
32722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32723 New file.
32724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32725 file.
32726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32727 file.
32728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32729 file.
32730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32731 file.
32732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32733 file.
32734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32735 New file.
32736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32737 file.
32738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32739 file.
32740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32741 New file.
32742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32743 file.
32744 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32745 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32746 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32747 file.
32748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32749 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32750 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32751 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32752 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32753 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32754 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32755 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32756 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32757 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32760 file.
32761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32762 New file.
32763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32764 file.
32765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32766 file.
32767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32768 file.
32769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32770 file.
32771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32772 file.
32773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32774 New file.
32775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32776 New file.
32777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32778 file.
32779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32780 New file.
32781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32782 file.
32783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32785 file.
32786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32787 New file.
32788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32789 file.
32790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32791 file.
32792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32793 file.
32794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32795 file.
32796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32797 file.
32798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32799 New file.
32800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32801 New file.
32802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32803 file.
32804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32805 New file.
32806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32807 file.
32808
41d73a1b
JM
328092012-04-28 Joseph Myers <joseph@codesourcery.com>
32810
32811 * conform/conformtest.pl: Fix typo in handling typed-constant from
32812 allow-header.
32813
28aeeda4
JM
328142012-04-27 Joseph Myers <joseph@codesourcery.com>
32815
adae8f5e
JM
32816 * README: Cut down references to pre-2.6 Linux kernels and
32817 Linuxthreads. Update lists of configurations in libc and ports
32818 and sort alphabetically. Say "or newer" with Linux kernel version
32819 requirements.
32820
28aeeda4
JM
32821 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32822
a462cb63
RA
328232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32824
32825 [BZ #887]
32826 * math/libm-test.inc (logb_test_downward): New test to expose
32827 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32828 rounding mode.
32829
6ad3493e
JM
328302012-04-27 Joseph Myers <joseph@codesourcery.com>
32831
32832 [BZ #14027]
32833 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32834 to be done.
32835 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32836 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32837
2ce4f015
JM
328382012-04-26 Joseph Myers <joseph@codesourcery.com>
32839
5aeb141a
JM
32840 * sysdeps/unix/i386/brk.S: Remove file.
32841 * sysdeps/unix/i386/dl-brk.S: Likewise.
32842 * sysdeps/unix/i386/pipe.S: Likewise.
32843 * sysdeps/unix/i386/sigreturn.S: Likewise.
32844 * sysdeps/unix/i386/syscall.S: Likewise.
32845 * sysdeps/unix/i386/vfork.S: Likewise.
32846 * sysdeps/unix/i386/wait.S: Likewise.
32847
7143acae
JM
32848 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32849 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32850
2ce4f015
JM
32851 * configure.in (arm*-none*): Do not allow without
32852 --enable-hacker-mode.
32853 (netbsd*): Remove case setting base_os.
32854 (386bsd*): Likewise.
32855 (freebsd*): Likewise.
32856 (bsdi*): Likewise.
32857 (osf*): Likewise.
32858 (sunos*): Likewise.
32859 (ultrix*): Likewise.
32860 (newsos*): Likewise.
32861 (dynix*): Likewise.
32862 (*bsd*): Likewise.
32863 (sysv*): Likewise.
32864 (isc*): Likewise.
32865 (esix*): Likewise.
32866 (sco*): Likewise.
32867 (minix*): Likewise.
32868 (irix4*): Likewise.
32869 (irix6*): Likewise.
32870 (solaris[2-9]*): Likewise.
32871 (none): Likewise.
32872 * configure: Regenerated.
32873
0ac229c8
AZ
328742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32875
32876 [BZ #11521]
32877 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32878 overflow or cancellation in calculating denominator.
32879 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32880 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32881 down expression to avoid unexpected rounding in newer GCCs.
32882 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32883
33f244f4
DM
328842012-04-26 David S. Miller <davem@davemloft.net>
32885
32886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32887 long-double compat symbols.
32888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32901
cfa1f3e8
DM
329022012-04-25 David S. Miller <davem@davemloft.net>
32903
32904 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32905 HWCAP_* values only after the memory barriers have been defined.
32906 (atomic_full_barrier): Define.
32907 (atomic_read_barrier): Define.
32908 (atomic_write_barrier): Define.
32909
6e236b92
SP
329102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32911
32912 * shlib-versions: Add libgcc_s version information.
32913 * sysdeps/generic/libgcc_s.h: Remove.
32914 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32915 libgcc_s.h.
32916 * sysdeps/gnu/unwind-resume.c: Likewise.
32917 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32918
aab39a09
DM
329192012-04-25 David S. Miller <davem@davemloft.net>
32920
32921 * sysdeps/unix/sparc/brk.S: Delete.
32922 * sysdeps/unix/sparc/dl-brk.S: Delete.
32923 * sysdeps/unix/sparc/pipe.S: Delete.
32924 * sysdeps/unix/sparc/sysdep.S: Delete.
32925 * sysdeps/unix/sparc/sysdep.h: Delete.
32926 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32927 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32928 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32930 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32931 (JUMPTARGET): Remove.
32932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32933 sysdeps/unix/sparc/sysdep.h
32934 (ENTRY, END): Remove.
32935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32936
a3cc4f48
JM
329372012-04-25 Joseph Myers <joseph@codesourcery.com>
32938
2ed8cda2
JM
32939 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32940 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32941 -DIS_IN_build.
32942
35d76d59
JM
32943 * timezone/README: Update upstream location and email address for
32944 tzcode and tzdata.
32945 * timezone/zdump.c: Update from tzcode 2012b.
32946 * timezone/zic.c: Likewise.
32947
a3cc4f48
JM
32948 * configure.in (libc_cv_as_needed): Remove test.
32949 * configure: Regenerated.
32950 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32951 conditional definition.
32952 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32953 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32954 * config.make.in (have-as-needed): Remove variable.
32955
ceab42c3
SP
329562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32957 Paul Pluzhnikov <ppluzhnikov@google.com>
32958
32959 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32960 strings correctly.
32961
3ce2865f
CLT
329622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32963
32964 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32965 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32966 * sysdeps/sh/strlen.S: Likewise.
32967
f37e0d68
JM
329682012-04-24 Joseph Myers <joseph@codesourcery.com>
32969
ae186e9a
JM
32970 * sysdeps/unix/fork.S: Remove file.
32971 * sysdeps/unix/i386/fork.S: Likewise.
32972 * sysdeps/unix/sparc/fork.S: Likewise.
32973
b96914af
JM
32974 * sysdeps/unix/system.c: Remove file.
32975 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32976
f37e0d68
JM
32977 * sysdeps/unix/getegid.S: Remove file.
32978 * sysdeps/unix/geteuid.S: Likewise.
32979
87ef29ca
RM
329802012-04-24 Roland McGrath <roland@hack.frob.com>
32981
83bcd236
RM
32982 * scripts/check-localplt.awk: New file.
32983 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32984 of diff.
32985 * scripts/data/localplt-generic.data: Add a comment.
32986
87ef29ca
RM
32987 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32988 NODE when __dir_mkfile failed.
32989 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32990 Reported by Ludovic Courtès <ludo@gnu.org>.
32991
e5a6e567
AJ
329922012-04-24 Andreas Jaeger <aj@suse.de>
32993
32994 * Makerules (common-clean): Also remove gen-as-const-headers
32995 files.
32996
c1820385
JM
329972012-04-24 Joseph Myers <joseph@codesourcery.com>
32998
32999 * Makerules (native-compile): Do not change working directory for
33000 build. Use $(OUTPUT_OPTION) in command.
33001 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33002
94e02fc4
AZ
330032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33004
33005 [BZ #13886]
33006 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33007 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33008 * math/libm-test.inc (floor_test): Add more tests.
33009 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33010
3a533ca3
JM
330112012-04-24 Joseph Myers <joseph@codesourcery.com>
33012
940ab4b3
JM
33013 * sysdeps/unix/getdents.c: Remove file.
33014 * sysdeps/unix/sysv/getdents.c: Likewise.
33015 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33016
90e037bd
JM
33017 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33018 sysdeps/unix/mman/syscalls.list.
33019 (mmap): Likewise.
33020 (mprotect): Likewise.
33021 (msync): Likewise.
33022 (munmap): Likewise.
33023 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33024 * sysdeps/unix/mman/syscalls.list: Remove.
33025 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33026
3a533ca3
JM
33027 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33028 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33029 * configure: Regenerated.
33030 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33031 $(libgcc_s_suffix).
33032 * config.make.in (libgcc_s_suffix): Remove variable.
33033
1ad743de
JM
330342012-04-23 Joseph Myers <joseph@codesourcery.com>
33035
4ad451e2
JM
33036 * sysdeps/unix/sysv/gethostname.c: Move to ...
33037 * sysdeps/posix/gethostname.c: ... here.
33038
5e37ce39
JM
33039 * sysdeps/unix/execve.S: Remove file.
33040
1ad743de
JM
33041 * sysdeps/unix/_exit.S: Remove file.
33042
4e681b5b
AJ
330432012-04-23 Andreas Jaeger <aj@suse.de>
33044
33045 [BZ #13739]
33046 * manual/Makefile: Remove make dist support, there's no
33047 need for a stand-alone documentation tar ball.
33048 (TEXI2DVI): Define always, it's not in Makeconfig.
33049 (dist): Removed.
33050 (tar-it): Removed.
33051 (edition): Removed.
33052 (glibc-doc-$(edition).tar): Removed
33053 (%.Z): Removed.
33054 (%.gz): Removed.
33055 (%.uu): Removed.
33056 (ETAGS): Remove, it's in Makeconfig.
33057 (move-if-change): Remove, it's in Makeconfig.
33058
38686a03 330592012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33060
33061 [BZ #13970]
33062 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33063 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33064 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33065 (strtod_l, strtof_l, strtold_l): Remove __wur.
33066 It is not necessarily an error to ignore strtol's return value.
33067 One can reliably look at the stored endptr to decide whether
33068 the number had valid syntax.
33069
7c0616fa
AJ
330702012-04-21 Andreas Jaeger <aj@suse.de>
33071
803cb6b7 33072 [BZ #13739]
7c0616fa
AJ
33073 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33074
b0fe253f
JM
330752012-04-21 Joseph Myers <joseph@codesourcery.com>
33076
33077 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33078 * sysdeps/unix/sysv/Versions: Remove file.
33079
8280f22d
MT
330802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33081
33082 [BZ #13927]
33083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33084
75ce411f 330852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33086
33087 [BZ #7064]
33088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33089 version from __vm86.
33090
097d59fa
JM
330912012-04-20 Joseph Myers <joseph@codesourcery.com>
33092
a90f3bcb
JM
33093 * sysdeps/unix/common/lxstat.c: Remove file.
33094 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33095
edc7ea78
JM
33096 * sysdeps/unix/sysv/Makefile: Remove file.
33097
cb78c221
JM
33098 * sysdeps/unix/sysv/direct.h: Remove file.
33099
efa6a45f
JM
33100 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33101 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33102 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33103 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33104 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33105 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33106 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33107
9c9f2d0c
JM
33108 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33109
4541c83b
JM
33110 * sysdeps/unix/xmknod.c: Remove file.
33111 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33112
f5d153a0
JM
33113 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33114
aa746595
JM
33115 * sysdeps/unix/sysv/i386/time.S: Remove file.
33116
cce5905e
JM
33117 * sysdeps/unix/fxstat.c: Remove file.
33118 * sysdeps/unix/xstat.c: Likewise.
33119 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33120
37fa3841
JM
33121 * sysdeps/unix/sysv/sigaction.c: Remove file.
33122
ff1962a3
JM
33123 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33124 (sysdep_headers): Remove variable.
33125 [termio.h not in sysdep_headers] (generated): Likewise.
33126 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33127 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33128 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33129 * sysdeps/unix/sysv/tcflow.c: Likewise.
33130 * sysdeps/unix/sysv/tcflush.c: Likewise.
33131 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33132 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33133 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33134 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33135 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33136
e7740d31
JM
33137 * sysdeps/unix/siglist.c: Remove file.
33138
ee06f18b
JM
33139 * sysdeps/unix/getppid.S: Remove file.
33140
097d59fa
JM
33141 * sysdeps/unix/mkdir.c: Remove file.
33142 * sysdeps/unix/rmdir.c: Likewise.
33143
ff3d51ec
AS
331442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33145
33146 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33147 ERR_MAX value.
33148 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33149 errlist-compat value.
33150
50f81fd7
DM
331512012-04-18 David S. Miller <davem@davemloft.net>
33152
33153 * sysdeps/generic/memcopy.h (reg_char): Delete.
33154 * debug/strcat_chk.c: Use char, not reg_char.
33155 * debug/strcpy_chk.c: Likewise.
33156 * debug/strncat_chk.c: Likewise.
33157 * debug/strncpy_chk.c: Likewise.
33158 * string/memchr.c: Likewise.
33159 * string/memrchr.c: Likewise.
33160 * string/rawmemchr.c: Likewise.
33161 * string/strcat.c: Likewise.
33162 * string/strchr.c: Likewise.
33163 * string/strchrnul.c: Likewise.
33164 * string/strcmp.c: Likewise.
33165 * string/strcpy.c: Likewise.
33166 * string/strncat.c: Likewise.
33167 * string/strncmp.c: Likewise.
33168 * string/strncpy.c: Likewise.
33169
8ff41c46
WS
331702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33171
33172 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33173 __builtin_memcopy is called when src and dest ranges are known to not
33174 overlap.
33175
6b652f46
WS
331762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33177
33178 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33179 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33180 fwd_align_merge macro call.
33181 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33182 bwd_align_merge macro call.
33183 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33184
b282631e
WS
331852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33186
33187 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33188 bwd_align_merge macros.
33189 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33190 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33191 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33192
95aa737c
DM
331932012-04-18 David S. Miller <davem@davemloft.net>
33194
33195 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33196
7a99a614
AJ
331972012-04-18 Andreas Jaeger <aj@suse.de>
33198
33199 [BZ# 6794]
33200 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33201 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33202 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33203
33204 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33205 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33206 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33207
33208 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33209 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33210 Adjust for changed ldbl-128 files.
33211
33212 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33213 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33214 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33215
e5270c23
DM
332162012-04-17 David S. Miller <davem@davemloft.net>
33217
33218 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33219
fb5e92c9
AS
332202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33221
33222 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33223 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33224 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33225 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33226 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33227 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33228
76da7265
AZ
332292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33230
33231 [BZ #6794]
33232 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33233 * math/libm-test.inc: Add ilogb errno and exception tests.
33234 * math/w_ilogb.c: New file: ilogb wrapper.
33235 * math/w_ilogbf.c: New file: ilogbf wrapper.
33236 * math/w_ilogbl.c: New file: ilogbl wrapper.
33237 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33238 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33239 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33240 exception being thrown with 0.0 as argument.
33241 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33242 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33243 exception being thrown with 0.0 as argument.
33244 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33245 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33246 exception being thrown with 0.0 as argument.
33247 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33248 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33249 exception being thrown with 0.0 as argument.
33250 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33251 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33252 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33253 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33255 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33256 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33257 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33258 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33259
0396e69d
PB
332602012-04-17 Petr Baudis <pasky@ucw.cz>
33261
33262 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33263 with altivec.
33264
750b5926
MP
332652012-04-16 Marek Polacek <polacek@redhat.com>
33266
33267 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33268
751728a1
MP
332692012-04-16 Marek Polacek <polacek@redhat.com>
33270
33271 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33272 operands of fdivp instruction.
33273
34a27407
L
332742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33275
33276 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33277 * elf/tst-auditmod3b.c: Likewise.
33278 * elf/tst-auditmod4b.c: Likewise.
33279 * elf/tst-auditmod5b.c: Likewise.
33280 * elf/tst-auditmod6b.c: Likewise.
33281 * elf/tst-auditmod6c.c: Likewise.
33282 * elf/tst-auditmod7b.c: Likewise.
33283 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33284 * sysdeps/x86_64/preconfigure.in: Likewise.
33285 * sysdeps/x86_64/preconfigure: Regenerated.
33286
7e73e17d
L
332872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33288
33289 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33290 __ILP32__.
33291
c7a6ab72
AB
332922012-04-13 Antoine Balestrat <merkil33@gmail.com>
33293
33294 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33295 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33296
a9e8e0e0
CL
332972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33298
33299 [BZ #13973]
33300 * locale/iso-639.def: Fix gl language name. Spotted by
33301 Yaron Shahrabani.
33302
ec98af7d
RM
333032012-04-12 Roland McGrath <roland@hack.frob.com>
33304
33305 [BZ #2074]
33306 * libio/libio.h (__io_write_fn): Update comment.
33307
247c3ede
PB
333082012-04-12 Petr Baudis <pasky@ucw.cz>
33309
33310 [BZ #2074]
33311 * stdio.texi (Hook Functions): The user provided writer function
33312 is not allowed to return -1.
33313
55939d6d
DM
333142012-04-11 David S. Miller <davem@davemloft.net>
33315
33316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33317
90020f5a
MF
333182012-04-11 Mike Frysinger <vapier@gentoo.org>
33319
33320 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33321 Add a leading slash to rtkaio.
33322
288f9098
JM
333232012-04-11 Jim Meyering <meyering@redhat.com>
33324
90020f5a
MF
33325 [BZ #11959]
33326 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33327 It is not necessarily an error to ignore fwrite's return
33328 value. One can reliably use ferror to test for errors after
33329 the fact.
288f9098 33330
4be2b570
L
333312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33332
33333 * bits/types.h (__snseconds_t): New type.
33334 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33335
33336 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33338 (__SNSECONDS_T_TYPE): Likewise.
33339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33340 (__SNSECONDS_T_TYPE): Likewise.
33341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33342 (__SNSECONDS_T_TYPE): Likewise.
33343
288f9098 333442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33345
33346 [BZ #2636]
33347 * manual/time.texi (Processor Time): Return type of times is
33348 elapsed real time since an arbitrary point in the past.
33349 (CPU Time): Move CLK_TCK from here...
33350 (Processor Time): ...to here. Correct description.
33351 * manual/conf.texi (Constants for Sysconf): Correct description of
33352 _SC_CLK_TCK.
33353
d7dd4413
DM
333542012-04-10 David S. Miller <davem@davemloft.net>
33355
33356 [BZ #13967]
33357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33358 where the is a gap between DT_REL(A) and DT_JMPREL.
33359
b46068fc
L
333602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33361
33362 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33363 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33364 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33365
73d65cc3
SP
333662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33367
33368 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33369 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33370 (dl_main): Handle --inhibit-cache.
33371 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33372 _dl_inhibit_cache.
33373 * elf/dl-load.c (_dl_map_object): Use it.
33374 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33375
bcc8d661
JM
333762012-04-09 Joseph Myers <joseph@codesourcery.com>
33377
8f9a2fae
JM
33378 [BZ #13872]
33379 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33380 (__ieee754_powl): Saturate large exponents rather than testing for
33381 overflow of y*log2(x).
33382 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33383 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33384 exceptions.
33385
bcc8d661
JM
33386 [BZ #11521]
33387 * math/s_ctan.c: Include <float.h>.
33388 (__ctan): Avoid internal overflow or cancellation in calculating
33389 denominator.
33390 * math/s_ctanf.c: Likewise.
33391 * math/s_ctanl.c: Likewise.
33392 * math/s_ctanh.c: Likewise.
33393 * math/s_ctanhf.c: Likewise.
33394 * math/s_ctanhl.c: Likewise.
33395 * math/libm-test.inc (ctan_test): Add more tests.
33396 (ctanh_test): Likewise.
33397 * sysdeps/i386/fpu/libm-test-ulps: Update.
33398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33399
823fbbb4
AJ
334002012-04-09 Andreas Jaeger <aj@suse.de>
33401
03879793
AJ
33402 [BZ #6894]
33403 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33404 is an optional BSD extension.
33405
823fbbb4
AJ
33406 [BZ #10254]
33407 * manual/stdio.texi (Opening Streams): Document additional fopen
33408 parameters.
33409
8de131cb
RM
334102012-04-09 Roland McGrath <roland@hack.frob.com>
33411
33412 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33413 %eax without telling the compiler.
33414
c0ed9d7d
CD
334152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33416
33417 [BZ # 13963]
33418 * manual/install.texi: Use sourceware.org.
33419
c483f6b4
JM
334202012-04-09 Joseph Myers <joseph@codesourcery.com>
33421
d7dd9453
JM
33422 [BZ #13873]
33423 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33424 (__ieee754_pow): Generate overflow and underflow using huge*huge
33425 and tiny*tiny rather than just returning constant infinity or zero
33426 for large exponents.
33427 * math/libm-test.inc (pow_test): Require overflow exceptions for
33428 applicable cases of large exponents.
33429
c483f6b4
JM
33430 [BZ #706]
33431 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33432 (__ieee754_pow): Use iterative multiplication algorithm only for
33433 integer exponents with absolute value below 1024. Check for odd
33434 integer exponents when using algorithm for real exponents.
33435 * math/libm-test.inc (pow_test): Add more tests.
33436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33437
d2de7579
JM
334382012-04-08 Joseph Myers <joseph@codesourcery.com>
33439
33440 [BZ #13705]
33441 * math/libm-test.inc (exp_test): Do not allow overflow exception
33442 on underflow test.
33443
f77f1232
AJ
334442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33445
33446 [BZ #13705]
33447 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33448 instead of __kernel_standard_f.
33449
3884932b
MF
334502012-04-08 Mike Frysinger <vapier@gentoo.org>
33451
33452 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33453 * sysdeps/x86_64/memset_chk.S: Likewise.
33454
54472e9c
AJ
334552012-04-08 Andreas Jaeger <aj@suse.de>
33456
6ab0fbfc
AJ
33457 [BZ #10153]
33458 * manual/startup.texi (Environment Access): Describe return value
33459 for putenv and setenv.
33460
61efba8c
AJ
33461 [BZ #6895]
33462 * manual/filesys.texi (Directory Entries): Add description for
33463 DT_LNK.
33464
95c3f29a
AJ
33465 [BZ #6890]
33466 * manual/filesys.texi (Directory Entries): Clarify that it's file
33467 system not operating system in the description of DT_UNKNOWN.
33468
54472e9c
AJ
33469 [BZ #6578]
33470 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33471
624254b1
SC
334722012-04-08 Stephen Compall <s11@member.fsf.org>
33473
33474 [BZ #6649]
33475 * manual/llio.texi (Opening and Closing Files): Add cross
33476 reference to explain mode argument.
33477
1e4920e0
MF
334782012-04-07 Mike Frysinger <vapier@gentoo.org>
33479
33480 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33481 * sysdeps/x86_64/memset_chk.S: Likewise.
33482
5ed848f3
DM
334832012-04-07 David S. Miller <davem@davemloft.net>
33484
33485 * elf/elf.h (R_SPARC_WDISP10): Define.
33486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33487 R_SPARC_SIZE32.
33488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33489 R_SPARC_SIZE64 and R_SPARC_H34.
33490
96154cd8
CD
334912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33492
33493 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33494 conditions and remove no longer applicable assertion.
33495
9904dc47
L
334962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33497
33498 * bits/byteswap.h: Include <features.h>.
33499 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33500 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33501
f8887d0a
L
335022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33503
33504 * bits/byteswap.h (__bswap_16): Removed.
33505 Include <bits/byteswap-16.h> to get __bswap_16.
33506 * sysdeps/i386/bits/byteswap.h: Likewise.
33507 * sysdeps/s390/bits/byteswap.h: Likewise.
33508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33509 * bits/byteswap-16.h: New file.
33510 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33511 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33512 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33513 * string/Makefile (headers): Add bits/byteswap-16.h.
33514
62470f60
PP
335152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33516
33517 [BZ #13895]
33518 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33519 extra indirection.
33520 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33521 * nss/tst-nss-static.c: New.
33522
4dad7bab
RM
335232012-04-06 Robert Millan <rmh@gnu.org>
33524
33525 [BZ #6486]
33526 * manual/llio.texi (File Position Primitive): lseek
33527 refers to WHENCE when it really means OFFSET.
33528
e9142a17
AJ
335292012-04-06 Andreas Jaeger <aj@suse.de>
33530
2c040eff
AJ
33531 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33532 strncmp declarations.
33533
e9142a17
AJ
33534 * abilist/libc.abilist: Add __poll and __ppoll.
33535
ff9f1c5f
DM
335362012-04-05 David S. Miller <davem@davemloft.net>
33537
dcd2ae90
DM
33538 * scripts/check-local-headers.sh: Accept a host triplet in the
33539 path matched by the exclude regexp.
33540
993eb054
DM
33541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33542 definition.
33543 * sysdeps/powerpc/powerpc32/dl-machine.h
33544 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33545 * sysdeps/s390/s390-32/dl-machine.h
33546 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33547 * sysdeps/sparc/sparc32/dl-machine.h
33548 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33549 * sysdeps/sparc/sparc64/dl-machine.h
33550 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33551
ff9f1c5f
DM
33552 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33553 lazy binding.
48e2e132 33554 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33555 undefined symbol errors.
33556
48e2e132 33557 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33558 DT_NEEDED entries.
33559
e80d6f94
MM
335602012-04-05 Michael Matz <matz@suse.de>
33561
33562 [BZ #13592]
33563 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33564
349fa79f
AJ
335652012-04-05 Andreas Jaeger <aj@suse.de>
33566
33567 [BZ #13908]
33568 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33569 comment.
33570
f402708f
KK
335712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33572
33573 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33574 which ROUND is no valid rounding mode.
33575
2ecccfc9
KK
335762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33577
33578 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33579 read again.
33580 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33581
8a53f50f
KK
335822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33583
33584 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33585 an exception using FPU order intentionally.
33586
335872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33588
33589 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33590 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33591 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33592 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33593
d653abb7
SJ
335942012-04-05 Simon Josefsson <simon@josefsson.org>
33595
33596 [BZ #12340]
33597 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33598 EINVAL when BUFLEN is too smal.
33599
c3b1bf7d
TS
336002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33601
33602 [BZ #13553]
33603 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33604 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33605
b1aa60f3
AJ
336062012-04-03 Andreas Jaeger <aj@suse.de>
33607
c3b1bf7d 33608 [BZ #13938]
67f60a26
AJ
33609 * manual/setjmp.texi (System V contexts): Fix sentence.
33610
b1aa60f3
AJ
33611 [BZ #13926]
33612 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33613 New macro for this case.
33614 [!__GNUC__] (__bswap_64): New inline function for this case.
33615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33616 * bits/byteswap.h: Likewise.
33617 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33618 ull, guard with __GLIBC_HAVE_LONG_LONG.
33619
33620 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33621 __GLIBC_HAVE_LONG_LONG.
33622
33623 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33624 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33625
39c59c35
TMQMF
336262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33627
33628 [BZ #13691]
33629 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33630 inptr and inend, rather than using last_ch.
33631
135ffda8
DM
336322012-04-02 David S. Miller <davem@davemloft.net>
33633
33634 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33635 * stdio-common/printf-parse.h (read_int): Change return type to
33636 'int', return -1 on INT_MAX overflow.
33637 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33638 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33639 overflows INT_MAX. Check for overflow of in-format-string precision
33640 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33641 SIZE_MAX not INT_MAX for integer overflow test.
33642 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33643 skip the construct in the format string but do not record anything.
33644 * stdio-common/bug22.c: Adjust to test both width/prevision
33645 INT_MAX overflow as well as total length INT_MAX overflow. Check
33646 explicitly for proper errno values.
33647
228c019e
TS
336482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33649
302cadd3
TS
33650 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33651 CHAR_MAX.
33652 * string/test-strcmp.c [! WIDE]: Likewise.
33653 * time/tst-mktime2.c: Likewise for INT_MAX.
33654 * string/test-string.h: #include <sys/param.h> for MIN.
33655
228c019e
TS
33656 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33657 * sysdeps/i386/init-first.c (init): Likewise.
33658 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33659 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33660 * sysdeps/sh/init-first.c (init): Likewise.
33661
cfa633f5
UD
336622012-04-01 Ulrich Drepper <drepper@gmail.com>
33663
33664 * po/ru.po: Update from translation team.
d1635ef8 33665 * po/vi.po: Likewise.
cfa633f5 33666
6cd0a5ea
SP
336672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33668
33669 * resolv/nss_dns/dns-host.c: Merge copyright years.
33670
4b43400f
LD
336712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33672
33673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33674 Optimize memcpy with prefetch if
33675 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33676 src, dst pointers have unequal 16 byte alignments.
33677
48c41d04
SP
336782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33679
33680 [BZ #13928]
33681 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33682 from a CNAME entry and return the minimum ttl for the query.
33683 (gaih_getanswer_slice): Likewise.
33684
b8dc394d
JL
336852012-03-30 Jeff Law <law@redhat.com>
33686
33687 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33688 due to long keys.
33689 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33690 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33691
2f5a5ed0
JL
33692 * resolv/nss_dns/dns-host.c: Update copyright year.
33693
1d39e359
UD
336942012-03-30 Ulrich Drepper <drepper@gmail.com>
33695
c030f70c 33696 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33697 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33698
1d39e359
UD
33699 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33700 comments for sendmmsg.
33701
337022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33703
33704 [BZ #13691]
33705 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33706 with only 1 character between 0x0041 and 0x01b0.
33707 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33708 * wcsmbs/tst-mbsnrtowcs.c: New file.
33709
20fde227
DM
337102012-03-29 David S. Miller <davem@davemloft.net>
33711
33712 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33713 small copies by hand.
33714
984a4237
JL
337152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33716
33717 [BZ #13761]
57f41c40
AS
33718 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33719 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33720 group memberships.
984a4237 33721
18c9d62b
DM
337222012-03-28 David S. Miller <davem@davemloft.net>
33723
88d85d4f
DM
33724 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33725 that branches into memcpy.
33726 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33727 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33729 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33731 bits.
33732 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33733 implementation too.
33734 * sysdeps/sparc/mempcpy.S: New file.
33735
e5aa83e1
DM
33736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33737 the IFUNC routine in the libc case.
33738 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33739
88570753
DM
33740 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33741 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33742 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33743 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33744 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33745 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33746 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33747 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33748
249d7567
DM
33749 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33750 loop to 256 bytes instead of 64 bytes and fix test signedness.
33751
18c9d62b
DM
33752 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33753 * sysdeps/sparc/sparc32/Makefile: rather than here...
33754 * sysdeps/sparc/sparc64/Makefile: and here.
33755
05f3d1f6
UD
337562012-03-28 Ulrich Drepper <drepper@gmail.com>
33757
33758 * malloc/mallocbug.c: Avoid warnings about unused variables.
33759
86ae07a8
JL
337602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33761
33762 [BZ #13760]
33763 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33764 in the right place. Discard and retry query if response is
33765 larger than input buffer size.
33766
41bf21a1
JM
337672012-03-28 Joseph Myers <joseph@codesourcery.com>
33768
d6270972
JM
33769 [BZ #369]
33770 [BZ #2678]
33771 [BZ #3866]
33772 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33773 x for large integer exponent.
33774 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33775 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33776 sign of result as needed afterwards.
33777 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33778 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33779 result for underflowing pow the same as for overflow.
33780 (__kernel_standard_l): Handle powl overflow and underflow here
33781 rather than calling __kernel_standard.
33782 * math/libm-test.inc (pow_test): Add more tests.
33783
414fca03 33784 [BZ #3868]
41bf21a1
JM
33785 [BZ #13879]
33786 [BZ #13910]
33787 [BZ #13911]
33788 [BZ #13912]
33789 [BZ #13913]
33790 [BZ #13915]
33791 [BZ #13916]
33792 [BZ #13917]
33793 [BZ #13918]
33794 [BZ #13919]
33795 [BZ #13920]
33796 [BZ #13921]
33797 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33798 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33799 (__kernel_standard_l): New function.
33800 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33801 __kernel_standard.
33802 * math/w_acosl.c (__acosl): Likewise.
33803 * math/w_asinl.c (__asinl): Likewise.
33804 * math/w_atan2l.c (__atan2l): Likewise.
33805 * math/w_atanhl.c (__atanhl): Likewise.
33806 * math/w_coshl.c (__coshl): Likewise.
33807 * math/w_exp10l.c (__exp10l): Likewise.
33808 * math/w_exp2l.c (__exp2l): Likewise.
33809 * math/w_fmodl.c (__fmodl): Likewise.
33810 * math/w_hypotl.c (__hypotl): Likewise.
33811 * math/w_j0l.c (__j0l, __y0l): Likewise.
33812 * math/w_j1l.c (__j1l, __y1l): Likewise.
33813 * math/w_jnl.c (__jnl, __ynl): Likewise.
33814 * math/w_lgammal.c (__lgammal): Likewise.
33815 * math/w_log10l.c (__log10l): Likewise.
33816 * math/w_log2l.c (__log2l): Likewise.
33817 * math/w_logl.c (__logl): Likewise.
33818 * math/w_powl.c (__powl): Likewise.
33819 * math/w_remainderl.c (__remainderl): Likewise.
33820 * math/w_scalbl.c (sysv_scalbl): Likewise.
33821 * math/w_sinhl.c (__sinhl): Likewise.
33822 * math/w_sqrtl.c (__sqrtl): Likewise.
33823 * math/w_tgammal.c (__tgammal): Likewise.
33824 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33825 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33826 * math/libm-test.inc (acos_test): Add more tests.
33827 (acosh_test): Likewise.
33828 (asin_test): Likewise.
33829 (atanh_test): Likewise.
33830 (exp_test): Likewise.
33831 (exp10_test): Likewise.
33832 (exp2_test): Likewise.
33833 (expm1_test): Likewise.
33834 (lgamma_test): Likewise.
33835 (log_test): Likewise.
33836 (log10_test): Likewise.
33837 (log1p_test): Likewise.
33838 (log2_test): Likewise.
33839 (pow_test): Do not allow some spurious overflow exceptions.
33840 (sqrt_test): Add more tests.
33841 (tgamma_test): Likewise.
33842 (y0_test): Likewise.
33843 (y1_test): Likewise.
33844 (yn_test): Likewise.
33845
dd62fda6
AB
338462012-03-27 Anton Blanchard <anton@samba.org>
33847
33848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33849 MAP_HUGETLB.
33850 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33851 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33852 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33853
1e3cdfda
AJ
338542012-03-27 David S. Miller <davem@davemloft.net>
33855
b855ab85
DM
33856 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33857
1e3cdfda
AJ
33858 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33859 have-as-vis3 check.
33860
338612012-03-27 Andreas Jaeger <aj@suse.de>
33862
33863 * sysdeps/x86_64/elf/configure.in: Moved to ...
33864 * sysdeps/x86_64/configure.in: ... here.
33865 * sysdeps/x86_64/elf/start.S: Moved to ...
33866 * sysdeps/x86_64/start.S: ... here.
33867 * sysdeps/x86_64/elf/configure: Delete.
33868
33869 * sysdeps/x86_64/configure.in: Merge contents from
33870 sysdeps/i386/configure.in (without i686 check).
33871
33872 * sysdeps/i386/elf/Versions: Merge into ...
33873 * sysdeps/i386/Versions: ... this.
33874 * sysdeps/i386/elf/Versions: Delete file.
33875 * sysdeps/i386/elf/start.S: Moved to ...
33876 * sysdeps/i386/start.S: ...here.
33877 * sysdeps/i386/elf/configure.in: Merge into...
33878 * sysdeps/i386/configure.in: ...here.
33879 * sysdeps/i386/elf/configure.in: Delete file.
33880 * sysdeps/i386/elf/configure: Delete file.
33881
33882 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33883 * debug/backtracesyms.c: ... here.
33884 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33885 * debug/backtracesymsfd.c: ... here.
33886 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33887 * sysdeps/generic/ifunc-sel.h: ... here.
33888
33889 * sysdeps/unix/i386/start.c: Delete file.
33890 * sysdeps/unix/sparc/start.c: Delete file.
33891 * sysdeps/unix/start.c: Delete file.
33892
33893 * sysdeps/sh/elf/configure.in: Moved to ...
33894 * sysdeps/sh/configure.in: ... here.
33895 * sysdeps/sh/elf/start.S: Moved to ...
33896 * sysdeps/sh/start.S: ... here.
33897 * sysdeps/sh/elf/configure: Delete file.
33898
33899 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33900 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33901 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33902 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33903 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33904 * sysdeps/powerpc/powerpc64/start.S: here.
33905 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33906 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33907 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33908 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33909 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33910
33911 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33912 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33913 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33914 * sysdeps/powerpc/powerpc32/start.S: ... here.
33915 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33916 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33917 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33918
33919 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33920 * sysdeps/powerpc/ifunc-sel.h: ... here.
33921 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33922 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33923
33924 * sysdeps/sparc/elf/configure.in: Moved to ...
33925 * sysdeps/sparc/configure.in: ... here.
33926 * sysdeps/sparc/elf/configure: Delete file.
33927 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33928 * sysdeps/sparc/sparc32/start.S: ... here.
33929 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33930 * sysdeps/sparc/sparc64/start.S: ... here.
33931 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33932 * sysdeps/sparc/sparc32/Makefile: ... this.
33933 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33934 * sysdeps/sparc/sparc64/Makefile: ... this.
33935
33936 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33937 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33938 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33939 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33940 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33941 * sysdeps/s390/s390-32/setjmp.S: ... here.
33942 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33943 * sysdeps/s390/s390-32/configure.in: ... here.
33944 * sysdeps/s390/s390-32/elf/configure: Delete file.
33945 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33946 * sysdeps/s390/s390-32/start.S: ... here.
33947
33948 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33949 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33950 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33951 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33952 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33953 * sysdeps/s390/s390-64/setjmp.S: ... here.
33954 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33955 * sysdeps/s390/s390-64/configure.in: ... here
33956 * sysdeps/s390/s390-64/elf/configure: Delete file.
33957 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33958 * sysdeps/s390/s390-64/start.S: ... here.
33959 * sysdeps/s390/s390-64/elf/configure: Delete.
33960
33961 * configure.in: Remove support for elf directories in sysdeps.
33962
33963 * configure: Regenerated.
33964 * sysdeps/i386/configure: Regenerated.
33965 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33966 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33967 * sysdeps/s390/s390-32/configure: Regenerated.
33968 * sysdeps/s390/s390-64/configure: Regenerated.
33969 * sysdeps/sh/configure: Regenerated.
33970 * sysdeps/sparc/configure: Regenerated.
33971 * sysdeps/x86_64/configure: Regenerated.
33972
a3f61311
AS
339732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33974
c876e002
AS
33975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33976
a3f61311
AS
33977 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33978 denormal result into account.
33979
ac4c54f0
RM
339802012-03-25 Roland McGrath <roland@hack.frob.com>
33981
33982 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33983 Reported by Allan McRae <allan@archlinux.org>.
33984
6a9b9c02
JL
339852012-03-23 Jeff Law <law@redhat.com>
33986
33987 * nss/getnssent.c (__nss_getent): Fix typo.
33988
4c42a0c1
DM
339892012-03-23 David S. Miller <davem@davemloft.net>
33990
33991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33992
1532c7ac
L
339932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33994
33995 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33996 to pad to uint64_t for each field.
33997 (dl_tls_index): Replace unsigned long with uint64_t.
33998
3ff42526
PP
339992012-03-23 Daniel Jacobowitz <dmj@google.com>
34000 Paul Pluzhnikov <ppluzhnikov@google.com>
34001
34002 [BZ #6528]
34003 * grp/Makefile (otherlibs): Don't set it.
34004 * inet/Makefile (otherlibs): Likewise.
34005 * login/Makefile (otherlibs): Likewise.
34006 * nscd/Makefile (otherlibs): Likewise.
34007 * posix/Makefile (otherlibs): Likewise.
34008 * pwd/Makefile (otherlibs): Likewise.
34009 * rt/Makefile (otherlibs): Likewise.
34010 * sunrpc/Makefile (otherlibs): Likewise.
34011 * nss/Makefile (otherlibs): Likewise.
34012 Add libnss_files to routines and static-only-routines.
34013 ($(objpfx)getent): Remove rule.
34014 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34015 static-only-routines.
34016
7c69cd14
JM
340172012-03-22 Joseph Myers <joseph@codesourcery.com>
34018
34019 [BZ #13892]
34020 * math/s_cexp.c: Include <float.h>.
34021 (__cexp): Handle exp result overflowing not necessarily
34022 overflowing both real and imaginary parts of result.
34023 * math/s_cexpf.c: Likewise.
34024 * math/s_cexpl.c: Likewise.
34025 * math/libm-test.inc (cexp_test): Add more tests.
34026 * sysdeps/i386/fpu/libm-test-ulps: Update.
34027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34028
81b035fe
L
340292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34030
34031 * include/link.h (ELFW): New macro.
34032 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34033 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34034
1da7940c
L
340352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34036
34037 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34038 with uint64_t.
34039
b749dbb9
L
340402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34041
34042 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34043 declaration.
34044 (struct La_x32_retval): Likewise.
34045
2ff87f3f
L
340462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34047
34048 * sysdeps/x86_64/preconfigure.in: New file.
34049 * sysdeps/x86_64/preconfigure: New generated file.
34050
c0df8e69
JM
340512012-03-22 Joseph Myers <joseph@codesourcery.com>
34052
48e44791
JM
34053 [BZ #13824]
34054 * math/e_exp2l.c: Include <float.h>.
34055 (__ieee754_exp2l): Handle overflow and underflow cases
34056 separately. Only pass fractional part of argument to
34057 __ieee754_expl.
34058 * math/libm-test.inc (exp2_test): Add more tests.
34059
c0df8e69
JM
34060 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34061 negating x to take absolute value.
34062 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34063 Likewise.
34064 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34065 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34066 Likewise.
34067 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34068 computing low part if x was negated.
34069 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34070
c8e43ba7
L
340712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34072
34073 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34074 la_x32_gnu_pltexit.
34075 (pltexit): Cast int_retval to ptrdiff_t.
34076 * elf/tst-auditmod3b.c: Likewise.
34077 * elf/tst-auditmod4b.c: Likewise.
34078 * elf/tst-auditmod5b.c: Likewise.
34079 * elf/tst-auditmod6b.c: Likewise.
34080 * elf/tst-auditmod6c.c: Likewise.
34081 * elf/tst-auditmod7b.c: Likewise.
34082
34083 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34084 and x32_gnu_pltexit.
34085
34086 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34087 __ELF_NATIVE_CLASS.
34088 (La_x32_regs): New macro.
34089 (La_x32_retval): Likewise.
34090 (la_x32_gnu_pltenter): New function prototype.
34091 (la_x32_gnu_pltexit): Likewise.
34092
7998fa78
AS
340932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34094
dcb33988
AS
34095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34096 exponent.
34097
233fc563
AS
34098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34099
7998fa78
AS
34100 * configure.in (libc_cv_cc_nofma): Check for option to disable
34101 generation of FMA instructions.
34102 * configure: Regenerate.
34103 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34104 * sysdeps/ieee754/dbl-64/Makefile: New file.
34105 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34106 Remove brandred-fma4.
34107 (CFLAGS-brandred-fma4.c): Remove.
34108 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34109 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34110 define.
34111 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34112 define.
34113
8e95c99a
L
341142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34115
34116 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34117 LLONG_MAX != LONG_MAX.
34118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34119 (_fitoa_word): Likewise.
34120 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34121 LLONG_MAX != LONG_MAX.
34122 * stdio-common/_itowa.h: Include <_itoa.h>.
34123 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34124 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34125 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34126 only if not defined.
34127 (_ITOA_WORD_TYPE): Likewise.
34128 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34129 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34130
6f4db457
DM
341312012-03-21 David S. Miller <davem@davemloft.net>
34132
34133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34134
7785fe5a
L
341352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34136
34137 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34138 of x86_64 when setting libc_cv_slibdir, libdir and
34139 libc_cv_localedir.
34140 * sysdeps/unix/sysv/linux/configure: Regenerated.
34141
4535cd55
JM
341422012-03-21 Joseph Myers <joseph@codesourcery.com>
34143
34144 * manual/lang.texi (Old Varargs): Remove section.
34145 (How Variadic): Update menu.
34146 (va_start): Do not mention varargs.h.
34147
17228132
TS
341482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34149 Joseph Myers <joseph@codesourcery.com>
34150
34151 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34152 link test.
34153 * configure: Regenerated.
34154
8149f976
TS
341552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34156
05f3d1f6
UD
34157 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34158 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34159 conformtest.pl
8149f976 34160
1a4ac776
JM
341612012-03-21 Joseph Myers <joseph@codesourcery.com>
34162
be22ce65
JM
34163 * NOTES: Remove.
34164 * Makefile (files-for-dist): Remove NOTES.
34165 (NOTES): Remove rule.
34166 * README: Don't refer to NOTES.
34167 * manual/creature.texi: Don't include macros.texi.
34168 * manual/intro.texi (creature.texi): Remove comment referring to
34169 NOTES.
34170
40b601fb
JM
34171 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34172 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34173 * configure: Regenerated.
34174 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34175 LIBC_TRY_CC_OPTION.
34176 (libc_cv_as_i686): Likewise.
34177 (libc_cv_cc_avx): Likewise.
34178 (libc_cv_cc_sse2avx): Likewise.
34179 (libc_cv_cc_fma4): Likewise.
34180 (libc_cv_cc_novzeroupper): Likewise.
34181 * sysdeps/i386/configure: Regenerated.
34182
1a4ac776
JM
34183 [BZ #13883]
34184 * sysdeps/i386/fpu/s_cexp.S: Remove.
34185 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34186 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34187 * math/libm-test.inc (cexp_test): Add more tests.
34188 * sysdeps/i386/fpu/libm-test-ulps: Update.
34189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34190
a458e7fe
AM
341912012-03-21 Allan McRae <allan@archlinux.org>
34192
34193 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34194
0cb7efc5
JM
341952012-03-21 Joseph Myers <joseph@codesourcery.com>
34196
34197 [BZ #13871]
34198 * math/w_exp2.c: Do not include <float.h>.
34199 (o_threshold, u_threshold): Remove.
34200 (__exp2): Calculate result before checking finiteness and calling
34201 __kernel_standard.
34202 * math/w_exp2f.c: Likewise.
34203 * math/w_exp2l.c: Likewise.
34204 * math/libm-test.inc (exp2_test): Require overflow exception for
34205 1e6 input.
2460d3aa
JM
34206
34207 [BZ #3866]
34208 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34209 range of signed 64-bit integers before using fistpll. Remove
34210 checks for whether integers fit in mantissa bits.
34211 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34212 the range of signed 32-bit integers before using fistpl. Remove
34213 checks for whether integers fit in mantissa bits.
34214 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34215 (__ieee754_powl): Test for y outside the range of signed 64-bit
34216 integers before using fistpll. Reduce 64-bit values to 63-bit
34217 ones as needed.
34218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34219 divide-by-zero is raised for zero to large negative powers.
34220 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34221 (__ieee754_powl): Test for y outside the range of signed 64-bit
34222 integers before using fistpll. Reduce 64-bit values to 63-bit
34223 ones as needed.
34224 * math/libm-test.inc (pow_test): Add more tests.
34225
eb96ffb0
L
342262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34227
34228 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34229 <stdio-common/_itoa.h>.
34230 * debug/segfault.c: Likewise.
34231 * elf/dl-cache.c: Likewise.
34232 * elf/dl-minimal.c: Likewise.
34233 * elf/dl-misc.c: Likewise.
34234 * elf/dl-sysdep.c: Likewise.
34235 * elf/dl-version.c: Likewise.
34236 * elf/rtld.c: Likewise.
34237 * hurd/hurdsock.c: Likewise.
34238 * hurd/lookup-retry.c: Likewise.
34239 * malloc/malloc.c: Likewise.
34240 * malloc/mtrace.c: Likewise.
34241 * nscd/nscd_getgr_r.c: Likewise.
34242 * nscd/nscd_getpw_r.c: Likewise.
34243 * nscd/nscd_getserv_r.c: Likewise.
34244 * posix/getopt_init.c: Likewise.
34245 * posix/wordexp.c: Likewise.
34246 * stdio-common/_itoa.c: Likewise.
34247 * stdio-common/printf_fphex.c: Likewise.
34248 * stdio-common/vfprintf.c: Likewise.
34249 * string/_strerror.c: Likewise.
34250 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34251 * sysdeps/i386/i686/hp-timing.h: Likewise.
34252 * sysdeps/mach/_strerror.c: Likewise.
34253 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34254 * sysdeps/mach/hurd/sethostid.c: Likewise.
34255 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34256 * sysdeps/mach/xpg-strerror.c: Likewise.
34257 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34258 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34259 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34260 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34261 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34262 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34263 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34264 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34265 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34266 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34267 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34268 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34269 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34270 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34271 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34272 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34273 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34274 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34275 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34276 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34277 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34278
34279 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34280
34281 * stdio-common/_itoa.h: Moved to ...
34282 * sysdeps/generic/_itoa.h: Here.
34283
34284 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34285
34286 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34287 instead of "_itoa.h" and "_itowa.h".
34288 * stdio-common/vfprintf.: Likewise.
34289
d1af992d
L
342902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34291
34292 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34293 <bits/wordsize.h>.
34294 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34295 (__signbit): Likwise.
34296 (llrintf): Likwise.
34297 (llrint): Likwise.
34298
114883e0
L
342992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34300
34301 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34302 __WORDSIZE != 64.
34303
c135cc1b
JM
343042012-03-20 Joseph Myers <joseph@codesourcery.com>
34305
34306 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34307 OVERFLOW_EXCEPTION_OK.
34308 * math/libm-test.inc ("Philosophy"): Update comment about
34309 exception testing.
34310 (OVERFLOW_EXCEPTION): Define.
34311 (OVERFLOW_EXCEPTION_OK): Likewise.
34312 (INVALID_EXCEPTION_OK): Renumber.
34313 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34314 (IGNORE_ZERO_INF_SIGN): Likewise.
34315 (test_exceptions): Handle FE_OVERFLOW.
34316 (exp10_test): Expect overflow exceptions.
34317 (exp2_test): Likewise.
34318 (expm1_test): Likewise.
34319 (nextafter_test): Likewise.
34320 (pow_test): Likewise.
34321 (scalbn_test): Likewise.
34322 (scalbln_test): Likewise.
34323
95443d88
L
343242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34325
34326 * sysdeps/x86_64/bits/atomic.h
34327 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34328 64bit integer.
34329 (atomic_exchange_acq): Likewise.
34330 (__arch_exchange_and_add_body): Likewise.
34331 (__arch_add_body): Likewise.
34332 (atomic_add_negative): Likewise.
34333 (atomic_add_zero): Likewise.
34334
490df6c4
L
343352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34336
c2722551 34337 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34338 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34339
5e52b189
L
343402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34341
34342 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34343 Check __x86_64__ instead of __WORDSIZE.
34344
a9879d4c
L
343452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34346
34347 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34348
5df98260
DM
343492012-03-19 David S. Miller <davem@davemloft.net>
34350
e1497744
DM
34351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34352
5df98260
DM
34353 * sysdeps/sparc/fpu/fenv_private.h: New file.
34354 * sysdeps/sparc/fpu/math_private.h: Use it.
34355 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34356 Remove.
57f41c40 34357 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34358 (libc_feholdexcept_setroundl): Remove.
34359 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34360 Remove.
34361 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34362 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34363
b4c35121
L
343642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34365
34366 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34367 int64_t instead of long int.
34368 (INSERT_WORDS64): Likwise.
34369
56965fd7
L
343702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34371
34372 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34373 _Unwind_GetCFA return to _Unwind_Ptr first.
34374
83d1aec8
JM
343752012-03-19 Joseph Myers <joseph@codesourcery.com>
34376
1897ad44
JM
34377 [BZ #13629]
34378 * math/s_clog.c: Include <float.h>.
34379 (__clog): Scale large or subnormal inputs.
34380 * math/s_clogf.c: Likewise.
34381 * math/s_clogl.c: Likewise.
34382 * math/s_clog10.c: Include <float.h>.
34383 (M_LOG10_2): Define.
34384 (__clog10): Scale large or subnormal inputs.
34385 * math/s_clog10f.c: Likewise.
34386 * math/s_clog10l.c: Likewise.
34387 * math/libm-test.inc (clog_test): Add more tests.
34388 (clog10_test): Likewise.
34389 * sysdeps/i386/fpu/libm-test-ulps: Update.
34390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34391
7726d6a9
JM
34392 [BZ #11451]
34393 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34394 x and y.
34395 * math/libm-test.inc (atan2_test): Add another test.
34396
83d1aec8
JM
34397 * Makerules (common-objdir-compile): Remove.
34398 * sysdeps/unix/Makefile (config-generated): Do not add
34399 $(unix-generated) to variable.
34400 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34401 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34402 Remove rule.
34403 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34404 Likewise.
34405 [generic bits/local_lim.h] (before-compile): Do not append to
34406 variable.
34407 [generic bits/local_lim.h] (common-generated): Likewise.
34408 [generic sys/param.h] (before-compile): Do not append to variable.
34409 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34410 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34411 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34412 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34413 include.
34414 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34415 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34416 [generic sys/param.h] ($(addprefix
34417 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34418 [generic sys/param.h] (common-generated): Do not append to
34419 variable.
34420 [generic sys/param.h] (sysdep_headers): Likewise.
34421 [generic bits/errno.h] (before-compile): Do not append to
34422 variable.
34423 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34424 rule.
34425 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34426 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34427 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34428 [generic bits/errno.h] (common-generated): Do not append to
34429 variable.
34430 [generic bits/ioctls.h] (before-compile): Do not append to
34431 variable.
34432 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34433 rule.
34434 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34435 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34436 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34437 rule.
34438 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34439 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34440 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34441 [generic bits/ioctls.h] (common-generated): Do not append to
34442 variable.
34443 [generic sys/syscall.h] (syscall.h): Remove variable.
34444 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34445 rule.
34446 [generic sys/syscall.h] (before-compile): Do not append to
34447 variable.
34448 [generic sys/syscall.h] (common-generated): Likewise.
34449 * sysdeps/unix/errnos-tmpl.c: Remove file.
34450 * sysdeps/unix/errnos.awk: Likewise.
34451 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34452 * sysdeps/unix/ioctls.awk: Likewise.
34453 * sysdeps/unix/mk-local_lim.c: Likewise.
34454 * sysdeps/unix/snarf-ioctls: Likewise.
34455
4851a949
RH
344562012-03-19 Richard Henderson <rth@twiddle.net>
34457
bd37f2ee
RH
34458 * sysdeps/i386/fpu/fenv_private.h: New file.
34459 * sysdeps/i386/fpu/math_private.h: Use it.
34460 (math_opt_barrier, math_force_eval): Remove.
34461 (libc_feholdexcept_setround_53bit): Remove.
34462 (libc_feupdateenv_53bit): Remove.
34463 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34464 (math_opt_barrier, math_force_eval): Remove.
34465 (libc_feholdexcept): Remove.
34466 (libc_feholdexcept_setround): Remove.
34467 (libc_fetestexcept, libc_fesetenv): Remove.
34468 (libc_feupdateenv_test): Remove.
34469 (libc_feupdateenv, libc_feholdsetround): Remove.
34470 (libc_feresetround): Remove.
34471
d0adc922
RH
34472 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34473 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34474
0fe0f1f8
RH
34475 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34476 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34477 (libc_feupdateenv_testl): New.
34478 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34479 (libc_feupdateenv_testf): New.
34480 (libc_feupdateenv): Use libc_feupdateenv_test.
34481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34482 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34483
eb92c487
RH
34484 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34485 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34486 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34487 (libc_feresetround_noex): New.
34488 (libc_feresetround_noexf): New.
34489 (libc_feresetround_noexl): New.
34490 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34491 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34492 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34493 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34494 SET_RESTORE_ROUND.
34495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34496 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34497 (__cos): Likewise.
34498 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34499 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34500 SET_RESTORE_ROUND_NOEX.
34501 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34502 SET_RESTORE_ROUND_NOEXF.
34503 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34504 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34505 (libc_feholdsetroundf): New.
34506 (libc_feresetround, libc_feresetroundf): New.
34507
7d2e8012
RH
34508 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34509 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34510 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34511
b4dabbb4
RH
34512 * sysdeps/generic/math_private.h: Include <fenv.h>.
34513 (default_libc_feholdexcept): New.
34514 (default_libc_feholdexcept_setround): New.
34515 (default_libc_fesetenv, default_libc_feupdateenv): New.
34516 (libc_feholdexcept): Only define if undefined.
34517 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34518 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34519 (libc_feholdexcept_setroundl): Likewise.
34520 (libc_feholdexcept_setround_53bit): Likewise.
34521 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34522 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34523 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34524 (libc_feupdateenv_53bit): Likewise.
34525 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34526 (libc_feholdexcept): Convert from macro to inline function.
34527 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34528 (libc_fesetenv, libc_feupdateenv): Likewise.
34529
4851a949
RH
34530 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34531 not previously defined.
34532 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34533 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34534 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34535 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34536 * sysdeps/ieee754/flt-32/math_private.h: New file.
34537 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34538 math_private.h below SET_FLOAT_WORD.
34539 (__isnan, __isinf_ns, __finite): Remove.
34540 (__isnanf, __isinf_nsf, __finitef): Remove.
34541
e79d442e
AS
345422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34543
34544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34545
90b80344
DM
345462012-03-17 David S. Miller <davem@davemloft.net>
34547
34548 [BZ #6471]
34549 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34550 for 2.16.
34551
edc21804
DM
345522012-03-16 David S. Miller <davem@davemloft.net>
34553
77e927af
DM
34554 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34555 warnings.
34556
374976dd
DM
34557 [BZ #6471]
34558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34559 properly.
34560 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34561 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34562 sysdep_routines when subdir is sysvipc.
34563 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34564 __getshmlba helper.
34565
edc21804
DM
34566 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34567
473c3ef3
L
345682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34569
34570 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34571 [__LP64__].
34572
eb0f39b6
L
345732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34574
34575 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34576 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34577 (__lround): Renamed to ...
34578 (__llround): This. Replace long int with long long int.
34579 Define lround functions as aliases of llround functions.
34580 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34581
6b6cd74b
L
345822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34583
34584 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34585 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34586 adresses to uintptr_t. Replace "long int" and "unsigned long
34587 int" with "greg_t" on va_arg.
34588
f1a77b01
L
345892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34590
34591 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34592 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34593
34594 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34595 Move e_machine check before EI_CLASS check. Handle x32
34596 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34597 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34598 SKIP_EM_IA_64 and include
34599 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34600
34601 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34602 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34603 (add_system_dir): New macro.
34604
34605 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34606 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34607
11b90b9f
JM
346082012-03-16 Joseph Myers <joseph@codesourcery.com>
34609
c36e1d23
JM
34610 [BZ #2551]
34611 [BZ #2552]
34612 [BZ #2553]
34613 [BZ #2554]
34614 [BZ #2562]
34615 [BZ #2563]
34616 [BZ #2565]
34617 [BZ #2566]
34618 [BZ #2576]
34619 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34620 (y0): Likewise.
34621 * math/w_j0f.c (j0f): Likewise.
34622 (y0f): Likewise.
34623 * math/w_j0l.c (__j0l): Likewise.
34624 (__y0l): Likewise.
34625 * math/w_j1.c (j1): Likewise.
34626 (y1): Likewise.
34627 * math/w_j1f.c (j1f): Likewise.
34628 (y1f): Likewise.
34629 * math/w_j1l.c (__j1l): Likewise.
34630 (__y1l): Likewise.
34631 * math/w_jn.c (jn): Likewise.
34632 (yn): Likewise.
34633 * math/w_jnf.c (jnf): Likewise.
34634 (ynf): Likewise.
34635 * math/w_jnl.c (__jnl): Likewise.
34636 (__ynl): Likewise.
34637 * math/libm-test.inc (j0_test): Add more tests.
34638 (j1_test): Likewise.
34639 (jn_test): Likewise. Add trailing semicolon to existing test.
34640 (y0_test): Likewise.
34641 (y1_test): Likewise.
34642 * sysdeps/i386/fpu/libm-test-ulps: Update.
34643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34644
11b90b9f
JM
34645 [BZ #13851]
34646 [BZ #13854]
34647 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34648 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34649 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34651 (__tanl): Set errno for infinite argument.
34652 * sysdeps/i386/fpu/mptan.c: Remove.
34653 * sysdeps/i386/fpu/s_tan.S: Likewise.
34654 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34655 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34656 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34657 * math/libm-test.inc (tan_test): Add more tests and enable more
34658 tests for double and long double.
34659 * sysdeps/i386/fpu/libm-test-ulps: Update.
34660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34661
6a1bd2a1
JK
346622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34663
34664 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34665 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34666
10a803e0
RM
346672012-03-16 Roland McGrath <roland@hack.frob.com>
34668
34669 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34670 * configure.in: Use it for both main tree and add-ons.
34671 * configure: Regenerated.
34672
f196c7f7
L
346732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34674
34675 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34676
8848d99d
JM
346772012-03-16 Joseph Myers <joseph@codesourcery.com>
34678
96cbe7f4
JM
34679 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34680 in comment.
34681
8848d99d
JM
34682 [BZ #13851]
34683 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34684 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34685 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34686 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34687 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34688 infinite argument.
34689 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34691 != 0 for prec == 2.
34692 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34693 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34694 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34695 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34696 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34697 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34698 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34699 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34700 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34701 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34702 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34703 * math/libm-test.inc (cos_test): Add more tests and enable more
34704 tests for long double.
34705 (sin_test): Likewise.
34706 (sincos_test): Likewise.
34707 * sysdeps/i386/fpu/libm-test-ulps: Update.
34708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34709
dd7f4703
DM
347102012-03-16 David S. Miller <davem@davemloft.net>
34711
34712 * sysdeps/sparc/fpu/math_private.h: New file.
34713
006f1daa
DM
347142012-03-15 David S. Miller <davem@davemloft.net>
34715
c0c83bc8
DM
34716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34717 file.
e6a62e18 34718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34720 file.
e6a62e18
DM
34721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34727 sysdep routines.
34728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34729
88cb87d9
DM
34730 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34731 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34732
006f1daa 34733 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34735 sparc-ifunc.h
006f1daa 34736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34738 Likewise.
34739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34740 Likewise.
006f1daa
DM
34741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34745 Likewise.
006f1daa
DM
34746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34751 Likewise.
34752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34753 Likewise.
006f1daa
DM
34754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34778
11e0098e
AS
347792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34780
34781 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34782 scaling.
34783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34784
e85b09d0
AJ
347852012-03-15 Andreas Jaeger <aj@suse.de>
34786
34787 [BZ #13852]
34788 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34789 ieee754/flt-32 implementation for sin, cos and sincos.
34790 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34791 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34792 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34793 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34794 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34795 ieee754/flt-32 implementation for tan.
34796
34797 * math/libm-test.inc (cos_test): Enable some large input tests for
34798 float as well
34799 (sin_test): Likewise.
34800 (sincos_test): Likewise.
34801 (tan_test): Add tests for large input.
34802
34803 * sysdeps/i386/fpu/libm-test-ulps: Update.
34804
81c64153
AJ
348052012-03-15 Andreas Jaeger <aj@suse.de>
34806
34807 [BZ #13658]
34808 * math/libm-test.inc (cos_test): Add more test cases.
34809 (sin_test): Likewise.
34810 (sincos_test): Likewise.
34811
7bbfa5c6
AJ
348122012-03-15 Andreas Jaeger <aj@suse.de>
34813
34814 [BZ #13837]
34815 * math/libm-test.inc (cos_test): Add a test case for large input
34816 value.
34817 (sin_test): Likewise.
34818 (sincos_test): Likewise.
34819
57f41c40
AS
348202012-03-15 Andreas Jaeger <aj@suse.de>
34821 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34822
34823 [BZ #13658]
0671f479 34824 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34825 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34826 * sysdeps/i386/fpu/branred.c: Likewise.
34827 * sysdeps/i386/fpu/dosincos.c: Likewise.
34828 * sysdeps/i386/fpu/mpa.c: Likewise.
34829 * sysdeps/i386/fpu/s_cos.S: Likewise.
34830 * sysdeps/i386/fpu/s_sin.S: Likewise.
34831 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34832 * sysdeps/i386/fpu/sincos32.c: Likewise.
34833
34834 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34835 Define.
34836 (libc_feupdateenv_53bit): Define.
34837 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34838 Define.
34839 (libc_feupdateenv_53bit): Define.
34840
34841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34842 53 bit (without extend i386 double precision).
34843
34844 * math/libm-test.inc (sincos_test): Add tests for large input.
34845 (sin): Likewise.
34846 (cos): Likewise.
34847
34848 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34849
9cad04ea
AS
348502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34851
34852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34853
f7062b9a
DM
348542012-03-15 David S. Miller <davem@davemloft.net>
34855
34856 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34857 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34858 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34859 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34872 file.
f7062b9a 34873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34875 file.
f7062b9a 34876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34878 file.
f7062b9a 34879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34881 file.
f7062b9a
DM
34882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34884 fmin/fmax sysdep routines.
34885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34886
7bd951ff
DM
348872012-03-14 David S. Miller <davem@davemloft.net>
34888
559398ab
DM
34889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34893 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34894 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34909 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34910 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34913 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34918 routines.
34919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34920 file.
559398ab 34921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34923 file.
559398ab 34924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34926 file.
559398ab 34927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34929 file.
559398ab 34930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34932 file.
559398ab 34933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34935 file.
34936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34937 file.
34938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34939 file.
34940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34941 file.
34942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34943 New file.
34944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34945 file.
34946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34947 file.
559398ab 34948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34950 file.
559398ab 34951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34953 file.
559398ab 34954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34956 file.
559398ab 34957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34959 VIS3 routines.
559398ab
DM
34960
34961 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34962 New file.
34963
5a1c1e32
DM
34964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34965
eae47a36
DM
34966 * sysdeps/sparc/configure.in: New file.
34967 * sysdeps/sparc/configure: Generate.
34968 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34969 * configure: Regenerate.
34970 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34971 * config.make.in (have-as-vis3): New.
34972 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34973 available use -Av9d instead of -Av9a.
34974 * sysdeps/sparc/sparc64/Makefile: Likewise.
34975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34977 New file.
34978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34979 file.
34980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34981 New file.
34982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34983 file.
eae47a36
DM
34984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34989
c0c83bc8
DM
34990 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34991 fzeros/fnegs to load 0x80000000 into a float register instead of
34992 using the stack.
7bd951ff
DM
34993 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34994
bd951ccb
JM
349952012-03-14 Joseph Myers <joseph@codesourcery.com>
34996
34997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34998 bits/syscall.h.
34999 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35000 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35001 ($(inst_includedir)/bits/syscall.h): Remove rule.
35002 ($(objpfx)bits/syscall.d): Include instead of
35003 $(objpfx)syscall-list.d.
35004 (generated): Change syscall-list.h and syscall-list.d to
35005 bits/syscall.h and bits/syscall.d.
35006
bb4e6db2
RM
350072012-03-14 Roland McGrath <roland@hack.frob.com>
35008
35009 [BZ #13846]
35010 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35011
aa4a2ae1
JM
350122012-03-14 Joseph Myers <joseph@codesourcery.com>
35013
e456826d
JM
35014 [BZ #13841]
35015 * math/s_csqrt.c: Include <float.h>.
35016 (__csqrt): Scale large or subnormal inputs.
35017 * math/s_csqrtf.c: Likewise.
35018 * math/s_csqrtl.c: Likewise.
35019 * math/libm-test.inc (csqrt_test): Add more tests.
35020 * sysdeps/i386/fpu/libm-test-ulps: Update.
35021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35022
aa4a2ae1
JM
35023 [BZ #13840]
35024 * math/libm-test.inc (hypot_test): Add more tests.
35025
7c10fd35
DM
350262012-03-13 David S. Miller <davem@davemloft.net>
35027
35028 [BZ #13840]
35029 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35030 double-precision for the calculation instead of scaling.
35031
f453b98b
JM
350322012-03-13 Joseph Myers <joseph@codesourcery.com>
35033
35034 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35035 manipulate bits before adding and subtracting TWO52[sx].
35036 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35038 Likewise.
35039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35040
09a3453f
DM
350412012-03-13 David S. Miller <davem@davemloft.net>
35042
8e59da90
DM
35043 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35044 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35046 rtld-global-offsets.h
35047 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35048
2a8ab7f2
DM
35049 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35050 large parameters.
35051
10f62770
DM
35052 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35053
5f0bdb18
DM
35054 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35055 'err' in the ifdef scope in which it is actually used.
35056
09a3453f
DM
35057 * nss/nss_db/db-init.c: Include string.h
35058
b4b2eb5e
DM
350592012-03-12 David S. Miller <davem@davemloft.net>
35060
98bb2f1c
DM
35061 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35062 masking out of the most significant byte of random value used.
35063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35064 Fix coding style in previous change.
35065
b4b2eb5e
DM
35066 * sysdeps/unix/sysv/linux/kernel-features.h
35067 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35068 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35069 expression.
35070 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35071 later.
35072
6e226b09
DM
350732012-03-11 David S. Miller <davem@davemloft.net>
35074
a1bcbd40
DM
35075 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35076 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35078 for 'resultvar' otherwise things get truncated on 64-bit.
35079
cb9d6174
DM
35080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35081 Fix masking out of the most significant byte of random value used.
35082
6e226b09
DM
35083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35084
058c132d
AS
350852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35086
35087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35088
2d2cd515
DM
350892012-03-09 David S. Miller <davem@davemloft.net>
35090
35091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35092 variables with appropriate CPP guards.
57f41c40
AS
35093 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35094 from the frame pointer, not the stack pointer. Correct layout
35095 comments. Fix test on resulting framesize and the management of
35096 the outregs buffer for pltexit. Preserve floating point return
35097 values across _dl_call_pltexit call.
2d2cd515
DM
35098 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35099 framesize and the management of the outregs buffer for pltexit.
35100 Preserve floating point return values across _dl_call_pltexit
35101 call.
57f41c40
AS
35102 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35103 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35104 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35105 (print_exit): Fix format string for return register value.
35106
9a07f9d0
JM
351072012-03-10 Joseph Myers <joseph@codesourcery.com>
35108
35109 * sunrpc/Makefile (others): Add rpcgen.
35110 ($(objpfx)rpcgen): Remove special build rule and dependency on
35111 libc.
35112 * sunrpc/rpcgen.c: New file.
35113
547b5e30
PE
351142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35115
c524201a
PE
35116 [BZ #13673]
35117 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35118 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35119 * sysdeps/i386/crti.S: Likewise.
35120 * sysdeps/i386/crtn.S: Likewise.
35121 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35122 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35123 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35124 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35125 * sysdeps/sh/crti.S: Likewise.
35126 * sysdeps/sh/crtn.S: Likewise.
35127 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35128
7b6235f2
PE
35129 [BZ #13673]
35130 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35131 with URL.
35132 * locale/programs/locfile-kw.gperf: Likewise.
35133 * locale/programs/charmap-kw.h: Regenerated.
35134 * locale/programs/locfile-kw.h: Likewise.
35135
547b5e30
PE
35136 [BZ #13673]
35137 * intl/plural.y: Replace FSF snail mail address with URL.
35138 * intl/plural.c: Regenerated.
35139
5f0a5dae
RH
351402012-03-09 Richard Henderson <rth@twiddle.net>
35141
35142 * include/math_private.h: Remove file.
35143 * math/math_private.h: Move file ...
35144 * sysdeps/generic/math_private.h: ... here.
35145
b8c03620
RH
35146 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35147 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35148 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35149
4e234f5d 35150 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35151 and <math_private.h>.
35152 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35153 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35154 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35155 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35156 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35157 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35158 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35160 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35161 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35163 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35164 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35165 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35166 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35167 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35170 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35171 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35174 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35175 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35176 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35177 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35178 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35179 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35182 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35184 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35185 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35186 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35187 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35188 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35189 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35190 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35191 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35192 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35193 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35195 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35196 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35197 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35198 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35199 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35200 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35201 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35202 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35203 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35204 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35205 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35206 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35207 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35208 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35209 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35210 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35211 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35212 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35213 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35214 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35215 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35216 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35217 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35218 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35219 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35220 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35221 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35222 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35223 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35226 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35228 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35230 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35231 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35232 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35233 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35234 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35235 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35236 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35239 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35240 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35241 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35242 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35243 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35244 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35245 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35246 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35247 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35248 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35249 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35250 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35251 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35252 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35253 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35254 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35255 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35256 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35257 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35258 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35259 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35260 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35261 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35262 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35263 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35264 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35265 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35266 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35268 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35269 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35270 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35271 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35272 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35273 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35274 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35275 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35276 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35277 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35278 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35279 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35280 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35281 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35282 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35283 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35284 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35285 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35286 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35287 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35288 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35289 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35290 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35291 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35293 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35294 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35295 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35296 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35297 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35298 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35299 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35300 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35301 * sysdeps/ieee754/k_standard.c: Likewise.
35302 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35303 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35304 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35305 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35306 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35307 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35308 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35309 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35310 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35311 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35312 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35313 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35314 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35315 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35316 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35317 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35318 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35319 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35320 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35321 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35322 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35323 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35324 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35325 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35326 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35327 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35328 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35329 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35330 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35331 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35332 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35333 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35334 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35335 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35336 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35337 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35338 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35339 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35340 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35341 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35342 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35343 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35344 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35345 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35346 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35347 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35348 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35349 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35350 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35351 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35352 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35353 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35354 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35355 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35356 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35357 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35358 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35359 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35360 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35361 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35362 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35363 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35364 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35368 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35369 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35370 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35372 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35374 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35375 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35376 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35378 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35379 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35380 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35381 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35382 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35383 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35384 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35385 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35387 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35388 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35389 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35390 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35392 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35393 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35394 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35395 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35396 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35397 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35398 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35399 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35400 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35401 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35402 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35403 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35404 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35405 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35406 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35408 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35409 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35410 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35411 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35412 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35413 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35414 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35416 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35417 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35418 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35419 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35420 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35421 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35422 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35423 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35424 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35425 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35426 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35427 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35428 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35429 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35430 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35431 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35432 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35433 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35434 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35435 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35436 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35437 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35438 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35439 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35442 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35443 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35445 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35446 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35448 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35449 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35450 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35451 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35452 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35454 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35455 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35460 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35462 * sysdeps/ieee754/s_lib_version.c: Likewise.
35463 * sysdeps/ieee754/s_matherr.c: Likewise.
35464 * sysdeps/ieee754/s_signgam.c: Likewise.
35465 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35466 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35467 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35468 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35469 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35470 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35471 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35472 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35473 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35474 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35475 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35476 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35477 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35478 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35479 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35480 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35481 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35482 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35483 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35486
1991fa03
JM
354872012-03-09 Joseph Myers <joseph@codesourcery.com>
35488
35489 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35490 * sunrpc/rpc_main.c: Likewise.
35491 * sunrpc/rpc_svcout.c: Likewise.
35492
60d6f5a6
DM
354932012-03-09 David S. Miller <davem@davemloft.net>
35494
35495 * include/math_private.h: New file.
35496
4962050e
JM
354972012-03-09 Joseph Myers <joseph@codesourcery.com>
35498
02a6f887
JM
35499 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35500 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35501 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35502 from <bits/socket_type.h>.
35503 (enum __socket_type): Don't define here.
35504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35506 bits/socket_type.h.
35507
c6e013c1
JM
35508 [BZ #13566]
35509 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35510 checking __USE_GNU.
35511
4962050e
JM
35512 * Makerules ($(inst_includedir)/%.h): New rule.
35513 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35514 (install-others): Remove variable setting.
35515 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35516
38842f45
RH
355172012-03-08 Richard Henderson <rth@twiddle.net>
35518
67bb6da6
RH
35519 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35520 from macro to inline function; merge with the
35521 !__LIBC_INTERNAL_MATH_INLINES version.
35522 (__ieee754_sqrtf): Likewise.
35523
15194b4b
RH
35524 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35525 to inline function.
35526 (__rintf, __floor, __floorf): Likewise.
35527
64e21ede
RH
35528 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35529 macro to inline function.
35530 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35531
38842f45
RH
35532 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35533 not <math/math_private.h>.
35534
c64bf5fe
DM
355352012-03-08 David S. Miller <davem@davemloft.net>
35536
35537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35538 copyright year.
35539 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35540
82d86f28
TS
355412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35542
35543 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35544 normalization.
35545 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35546 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35547
aea5d727
UD
355482012-03-08 Ulrich Drepper <drepper@gmail.com>
35549
35550 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35551 be defined individually, they must be defined as a block. Define
35552 S for printing a string instead of hidint the different by using a
35553 macro for adding the 'l'.
35554 * stdio-common/tst-fphex-wide.c: Adjust.
35555
70bca0a3
MP
355562012-03-07 Marek Polacek <polacek@redhat.com>
35557
35558 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35559
65b81130
MP
355602012-03-08 Marek Polacek <polacek@redhat.com>
35561
35562 [BZ #13806]
35563 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35564 * stdio-common/tst-fphex.c: Define a few macros to make the
35565 test reusable. Use them.
35566 * stdio-common/tst-fphex-wide.c: New file.
35567
07037eeb
JM
355682012-03-08 Joseph Myers <joseph@codesourcery.com>
35569
a7a93d50
JM
35570 [BZ #6911]
35571 * manual/macros.texi (gnusystems): New macro.
35572 (nongnusystems): Likewise.
35573 (gnulinuxhurdsystems): Likewise.
35574 (gnuhurdsystems): Likewise..
35575 (gnulinuxsystems): Likewise.
35576 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35577 variants of the GNU system, not "GNU system".
35578 * manual/conf.texi: Likewise.
35579 * manual/errno.texi: Likewise. Update example of errno macro
35580 expansion.
35581 * manual/filesys.texi: Likewise.
35582 (getumask): Document as specific to GNU/Hurd.
35583 * manual/install.texi: Likewise. Reword some references to
35584 GNU/Linux.
35585 * manual/intro.texi: Likewise.
35586 * manual/io.texi: Likewise.
35587 (File Name Portability): Detail which constraints are inapplicable
35588 to all GNU systems and which are only inapplicable to GNU/Hurd.
35589 * manual/job.texi: Likewise.
35590 * manual/llio.texi: Likewise.
35591 (O_NOCTTY): Document as present on GNU/Linux.
35592 * manual/maint.texi: Likewise.
35593 * manual/memory.texi: Likewise.
35594 * manual/pattern.texi: Likewise.
35595 * manual/pipe.texi: Likewise.
35596 * manual/process.texi: Likewise.
35597 * manual/resource.texi: Likewise.
35598 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35599 child on GNU/Hurd.
35600 * manual/setjmp.texi: Likewise.
35601 * manual/signal.texi: Likewise.
35602 * manual/startup.texi: Likewise.
35603 * manual/stdio.texi: Likewise.
35604 * manual/terminal.texi: Likewise.
35605 (ONLCR): Document as POSIX.
35606 (OXTABS): Document availability on GNU/Linux as XTABS.
35607 (ONOEOT): Document availability separately from other bits.
35608 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35609 * manual/time.texi: Likewise.
35610 * manual/users.texi: Likewise.
35611 * INSTALL: Regenerated.
35612 * sysdeps/gnu/errlist.c: Regenerated.
35613
07037eeb
JM
35614 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35615 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35616 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35617 puts.
35618 * configure: Regenerated.
35619
d1d3431a
JM
356202012-03-07 Joseph Myers <joseph@codesourcery.com>
35621
af6a1e37
JM
35622 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35623 default includes instead of AC_HEADER_CHECK.
35624 * sysdeps/i386/configure: Regenerated.
35625
d1d3431a
JM
35626 [BZ #10716]
35627 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35628 * math/s_cacoshf.c (__cacoshf): Likewise.
35629 * math/s_cacoshl.c (__cacoshl): Likewise.
35630 * math/s_casinh.c (__casinh): Set signs of result from argument.
35631 * math/s_casinhf.c (__casinhf): Likewise.
35632 * math/s_casinhl.c (__casinhl): Likewise.
35633 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35634 (casinh_test): Add more tests.
35635 * sysdeps/i386/fpu/libm-test-ulps: Update.
35636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35637
482ff4da
UD
356382012-03-07 Ulrich Drepper <drepper@gmail.com>
35639
872fda05
UD
35640 * po/zh_TW.po: Update from translation team.
35641
a4300c7a
UD
35642 * login/Makefile (distribute): Remove variable.
35643 * catgets/Makefile: Likewise.
35644 * mach/Makefile: Likewise.
35645 * malloc/Makefile: Likewise.
35646 * misc/Makefile: Likewise.
35647 * iconv/Makefile: Likewise.
35648 * nscd/Makefile: Likewise.
35649 * hurd/Makefile: Likewise.
35650 * manual/Makefile: Likewise.
35651 * locale/Makefile: Likewise.
35652 * intl/Makefile: Likewise.
35653 * conform/Makefile: Likewise.
35654 * nss/Makefile: Likewise.
35655 * time/Makefile: Likewise.
35656 * soft-fp/Makefile: Likewise.
35657 * dirent/Makefile: Likewise.
35658 * gmon/Makefile: Likewise.
35659 * po/Makefile: Likewise.
35660 * rt/Makefile: Likewise.
35661 * socket/Makefile: Likewise.
35662 * math/Makefile: Likewise.
35663 * signal/Makefile: Likewise.
35664 * debug/Makefile: Likewise.
35665 * elf/Makefile: Likewise.
35666 * timezone/Makefile: Likewise.
35667 * stdlib/Makefile: Likewise.
35668 * iconvdata/Makefile: Likewise.
35669 * sunrpc/Makefile: Likewise.
35670 * io/Makefile: Likewise.
35671 * argp/Makefile: Likewise.
35672 * inet/Makefile: Likewise.
35673 * hesiod/Makefile: Likewise.
35674 * grp/Makefile: Likewise.
35675 * csu/Makefile: Likewise.
35676 * wctype/Makefile: Likewise.
35677 * crypt/Makefile: Likewise.
35678 * libio/Makefile: Likewise.
35679 * string/Makefile: Likewise.
35680 * nis/Makefile: Likewise.
35681 * resolv/Makefile: Likewise.
35682 * stdio-common/Makefile: Likewise.
35683 * wcsmbs/Makefile: Likewise.
35684 * dlfcn/Makefile: Likewise.
35685 * posix/Makefile: Likewise.
35686
3b7c4e74 35687 [BZ #6959]
482ff4da
UD
35688 * timezone/Makefile: Don't install timezone files, just the programs
35689 and scripts.
35690
f72ed77d
UD
356912012-03-06 Ulrich Drepper <drepper@gmail.com>
35692
a000466f
UD
35693 * nss/databases.def: Add missing gshadow entry.
35694
f72ed77d
UD
35695 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35696
a53b7a4e
MP
356972012-03-06 Marek Polacek <polacek@redhat.com>
35698
35699 [BZ #13726]
35700 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35701 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35702 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35703 * stdio-common/tst-long-dbl-fphex.c: New file.
35704
e9258400
DM
357052012-03-06 David S. Miller <davem@davemloft.net>
35706
35707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35708 (set_obp_int): New function.
35709 (get_obp_int): New function.
35710 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35711 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35712 Avoid unused variable warnings on 'val' and use builtin_expect.
35713 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35714 __builtin_expect.
e9258400
DM
35715 (INLINE_CLONE_SYSCALL): Likewise.
35716
3bd2c723
DM
357172012-03-05 David S. Miller <davem@davemloft.net>
35718
35719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35720
bbb78d03
AS
357212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35722
884c5db4
AS
35723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35724
bbb78d03
AS
35725 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35726 only for |x| >= 40.
35727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35728
1c9f702a 357292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35730
35731 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35732 Replace gettimeofday with __vdso_gettimeofday.
35733
7be16f82
RM
35734 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35735 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35736 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35737
35738 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35739 time with __vdso_time.
35740
ed58a00f
JM
357412012-03-05 Joseph Myers <joseph@codesourcery.com>
35742
35743 * manual/lang.texi (size_t): Note types to which size_t may be
35744 equivalent with the GNU C Library, but do not describe when
35745 differences between them are significant.
35746
30ee4ced
AJ
357472012-03-05 Andreas Jaeger <aj@suse.de>
35748
35749 * sysdeps/i386/fpu/libm-test-ulps: Update.
35750
b7cd39e8
JM
357512012-03-05 Joseph Myers <joseph@codesourcery.com>
35752
35753 [BZ #3976]
35754 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35755 (__ieee754_pow): Save and restore rounding mode and use
35756 round-to-nearest for main computations.
35757 * math/libm-test.inc (pow_test_tonearest): New function.
35758 (pow_test_towardzero): Likewise.
35759 (pow_test_downward): Likewise.
35760 (pow_test_upward): Likewise.
35761 (main): Call the new functions.
35762 * sysdeps/i386/fpu/libm-test-ulps: Update.
35763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35764
35765 [BZ #3976]
35766 * math/libm-test.inc (cosh_test_tonearest): New function.
35767 (cosh_test_towardzero): Likewise.
35768 (cosh_test_downward): Likewise.
35769 (cosh_test_upward): Likewise.
35770 (sinh_test_tonearest): Likewise.
35771 (sinh_test_towardzero): Likewise.
35772 (sinh_test_downward): Likewise.
35773 (sinh_test_upward): Likewise.
35774 (main): Call the new functions.
35775 * sysdeps/i386/fpu/libm-test-ulps: Update.
35776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35777
6c6a98c9
TV
357782012-03-05 Tom de Vries <tom@codesourcery.com>
35779
35780 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35781 default stack guard is set in last bytes.
35782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35783
21bb2d2e 357842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35785
21bb2d2e 35786 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35787
21bb2d2e
AJ
35788 [BZ #13656]
35789 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35790 possibly allocate from heap instead of stack.
35791 * stdio-common/bug-vfprintf-nargs.c: New file.
35792 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35793
c6922934
AS
357942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35795
35796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35797
bc957d53
MP
357982012-03-03 Marek Polacek <polacek@redhat.com>
35799
35800 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35801 * math/math_private.h: Likewise.
35802 * stdlib/tst-strtod.c: Likewise.
35803 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35804 * sysdeps/x86_64/bits/atomic.h: Likewise.
35805
6358490d
DM
358062012-03-02 David S. Miller <davem@davemloft.net>
35807
35808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35812 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35813 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35814 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35815 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35816
01ae168d
RM
358172012-03-02 Roland McGrath <roland@hack.frob.com>
35818
d9a17c07
RM
35819 [BZ #13792]
35820 * manual/examples/README: New file, says the example source files
35821 can be used under GPL>=2.
35822 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35823 line containing just "*/".
35824 * manual/examples/add.c: Add copyright header (GPL>=2).
35825 * manual/examples/argp-ex1.c: Likewise.
35826 * manual/examples/argp-ex2.c: Likewise.
35827 * manual/examples/argp-ex3.c: Likewise.
35828 * manual/examples/argp-ex4.c: Likewise.
35829 * manual/examples/atexit.c: Likewise.
35830 * manual/examples/db.c: Likewise.
35831 * manual/examples/dir.c: Likewise.
35832 * manual/examples/dir2.c: Likewise.
35833 * manual/examples/execinfo.c: Likewise.
35834 * manual/examples/filecli.c: Likewise.
35835 * manual/examples/filesrv.c: Likewise.
35836 * manual/examples/fmtmsgexpl.c: Likewise.
35837 * manual/examples/genpass.c: Likewise.
35838 * manual/examples/inetcli.c: Likewise.
35839 * manual/examples/inetsrv.c: Likewise.
35840 * manual/examples/isockad.c: Likewise.
35841 * manual/examples/longopt.c: Likewise.
35842 * manual/examples/memopen.c: Likewise.
35843 * manual/examples/memstrm.c: Likewise.
35844 * manual/examples/mkfsock.c: Likewise.
35845 * manual/examples/mkisock.c: Likewise.
35846 * manual/examples/mygetpass.c: Likewise.
35847 * manual/examples/pipe.c: Likewise.
35848 * manual/examples/popen.c: Likewise.
35849 * manual/examples/rprintf.c: Likewise.
35850 * manual/examples/search.c: Likewise.
35851 * manual/examples/select.c: Likewise.
35852 * manual/examples/setjmp.c: Likewise.
35853 * manual/examples/sigh1.c: Likewise.
35854 * manual/examples/sigusr.c: Likewise.
35855 * manual/examples/stpcpy.c: Likewise.
35856 * manual/examples/strdupa.c: Likewise.
35857 * manual/examples/strftim.c: Likewise.
35858 * manual/examples/strncat.c: Likewise.
35859 * manual/examples/subopt.c: Likewise.
35860 * manual/examples/swapcontext.c: Likewise.
35861 * manual/examples/termios.c: Likewise.
35862 * manual/examples/testopt.c: Likewise.
35863 * manual/examples/testpass.c: Likewise.
35864 * manual/examples/timeval_subtract.c: Likewise.
35865
01ae168d
RM
35866 [BZ #13792]
35867 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35868 function to ...
35869 * manual/timeval_subtract.c.texi: ... here, new file.
35870
49efa33d
DM
358712012-03-02 David S. Miller <davem@davemloft.net>
35872
35873 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35874
28afd92d
JM
358752012-03-02 Joseph Myers <joseph@codesourcery.com>
35876
804360ed
JM
35877 [BZ #3976]
35878 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35879 (__sin): Save and restore rounding mode and use round-to-nearest
35880 for all computations.
35881 (__cos): Save and restore rounding mode and use round-to-nearest
35882 for all computations.
35883 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35884 <fenv.h>.
35885 (tan): Save and restore rounding mode and use round-to-nearest for
35886 all computations.
35887 * math/libm-test.inc (cos_test_tonearest): New function.
35888 (cos_test_towardzero): Likewise.
35889 (cos_test_downward): Likewise.
35890 (cos_test_upward): Likewise.
35891 (sin_test_tonearest): Likewise.
35892 (sin_test_towardzero): Likewise.
35893 (sin_test_downward): Likewise.
35894 (sin_test_upward): Likewise.
35895 (tan_test_tonearest): Likewise.
35896 (tan_test_towardzero): Likewise.
35897 (tan_test_downward): Likewise.
35898 (tan_test_upward): Likewise.
35899 (main): Call the new functions.
35900 * sysdeps/i386/fpu/libm-test-ulps: Update.
35901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35902
a6d06d7b
JM
35903 [BZ #10135]
35904 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35905 small n, then large n, before computing and testing k+n.
35906 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35908 Likewise.
35909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35910 Likewise.
35911 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35912 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35913 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35914 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35915 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35916 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35917 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35918 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35919 * math/libm-test.inc (scalbn_test): Add more tests.
35920 (scalbln_test): Likewise.
35921
07e12bb3
JM
35922 * manual/filesys.texi (mode_t): Describe constraints on size and
35923 signedness, not exact equivalence to a particular type.
35924 (ino_t): Likewise.
35925 (ino64_t): Likewise.
35926 (dev_t): Likewise.
35927 (nlink_t): Likewise.
35928 (blkcnt_t): Likewise.
35929 (blkcnt64_t): Likewise.
35930 * manual/llio.texi (off_t): Likewise.
35931
28afd92d
JM
35932 [BZ #3976]
35933 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35934 (__ieee754_exp): Save and restore rounding mode and use
35935 round-to-nearest for all computations.
35936 * math/libm-test.inc (exp_test_tonearest): New function.
35937 (exp_test_towardzero): Likewise.
35938 (exp_test_downward): Likewise.
35939 (exp_test_upward): Likewise.
35940 (main): Call the new functions.
35941 * sysdeps/i386/fpu/libm-test-ulps: Update.
35942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35943
b1eeb65d
CD
359442012-03-01 Chris Demetriou <cgd@google.com>
35945
35946 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35947 have predictable order.
35948
53362a4b
DM
359492012-03-01 David S. Miller <davem@davemloft.net>
35950
3c969083
DM
35951 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35952
759707de
DM
35953 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35954 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35955 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35956 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35957
dfdb8ff2
DM
35958 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35959 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35960 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35962 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35963 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35964 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35965 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35966 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35967
ead89f96
DM
35968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35969
7f66bd07
DM
35970 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35971 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35972 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35973
53362a4b
DM
35974 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35975 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35976 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35977 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35978 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35980 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35981 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35982 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35983 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35984 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35985 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35987 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35988 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35989 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35990 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35991 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35992 * sysdeps/sparc/elf/configure: Regenerated.
35993
7b1902cb
JM
359942012-03-01 Joseph Myers <joseph@codesourcery.com>
35995
bec039bc
JM
35996 * configure.in (AS, LD): Require binutils 2.20 or later.
35997 * configure: Regenerated.
35998 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35999 as required minimum version.
36000 * INSTALL: Regenerated.
36001
7b1902cb
JM
36002 [BZ #2541]
36003 [BZ #4108]
36004 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36005 before squaring exponent.
36006 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36007 bottom long double and 27 bits of top long double before squaring
36008 exponent.
36009 * math/libm-test.inc (erfc_test): Add more tests.
36010 * sysdeps/i386/fpu/libm-test-ulps: Update.
36011 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36013
f775c276
KT
360142012-03-01 Kai Tietz <ktietz@redhat.com>
36015
36016 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36017 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36018 containing bit-fields.
36019 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36020 * soft-fp/single.h (_FP_UNION_S): Likewise.
36021 * soft-fp/double.h (_FP_UNION_D): Likewise.
36022
5b8a4d4a
JM
360232012-02-29 Joseph Myers <joseph@codesourcery.com>
36024
0bab47b6
JM
36025 [BZ #13786]
36026 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36027 not include ../strcmp.S.
36028 [USE_AS_STRNCASECMP_L]: Likewise.
36029 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36030 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36031 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36032 (__strncasecmp_l_ia32): Define as alias to
36033 __strncasecmp_l_nonascii.
36034
0fcad3e2
JM
36035 [BZ #5794]
36036 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36037 * sysdeps/i386/fpu/libm-test-ulps: Update.
36038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36039
5b8a4d4a
JM
36040 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36042
8fdceb2e
JL
360432012-02-29 Jeff Law <law@redhat.com>
36044
36045 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36046 out of bounds read.
36047
1f393a11
MP
360482012-02-29 Marek Polacek <polacek@redhat.com>
36049
36050 [BZ #13706]
36051 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36052 * elf/Makefile: Add rules to run tst-unused-dep.out.
36053
8847f037
DM
360542012-02-28 David S. Miller <davem@davemloft.net>
36055
36056 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36057 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36059 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36060 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36061 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36062
169d7f11
JM
360632012-02-29 Joseph Myers <joseph@codesourcery.com>
36064
36065 * math/libm-test.inc (llround_test): Move one test from
36066 lround_test. Use TEST_f_L in moved test.
36067 (lround_test): Move misplaced test to llround_test. Add testcase
36068 from bug 2561.
36069
39adf059
UD
360702012-02-28 Ulrich Drepper <drepper@gmail.com>
36071
36072 * sysdeps/x86_64/fpu/e_expf.S: New file.
36073 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36074
71b5d1c5
SB
360752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36076
36077 [BZ #13637]
36078 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36079 of remain_len that may cause incomplete multi-byte character and
36080 false match.
36081 * posix/bug-regex33.c: New file.
36082 * posix/Makefile (tests): Add bug-regex33.
36083
1f77f049
JM
360842012-02-28 Joseph Myers <joseph@codesourcery.com>
36085
36086 * manual/macros.texi: New file.
36087 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36088 * manual/libc.texinfo: Include macros.texi.
36089 * manual/creatute.texi: Likewise.
36090 * manual/install.texi: Likewise.
36091 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36092 @glibcadj{} in references to the GNU C Library.
36093 * manual/charset.texi: Likewise.
36094 * manual/conf.texi: Likewise.
36095 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36096 when not using those macros.
36097 * manual/creature.texi: Likewise.
36098 * manual/crypt.texi: Likewise.
36099 * manual/errno.texi: Likewise.
36100 * manual/filesys.texi: Likewise.
36101 * manual/header.texi: Likewise.
36102 * manual/install.texi: Likewise.
36103 * manual/intro.texi: Likewise.
36104 * manual/io.texi: Likewise.
36105 * manual/job.texi: Likewise.
36106 * manual/lang.texi: Likewise.
36107 * manual/libc.texiinfo: Likewise.
36108 * manual/llio.texi: Likewise.
36109 * manual/locale.texi: Likewise.
36110 * manual/maint.texi: Likewise.
36111 * manual/math.texi: Likewise.
36112 * manual/memory.texi: Likewise.
36113 * manual/message.texi: Likewise.
36114 * manual/nss.texi: Likewise.
36115 * manual/pattern.texi: Likewise.
36116 * manual/process.texi: Likewise.
36117 * manual/resource.texi: Likewise.
36118 * manual/search.texi: Likewise.
36119 * manual/setjmp.texi: Likewise.
36120 * manual/signal.texi: Likewise.
36121 * manual/socket.texi: Likewise.
36122 * manual/startup.texi: Likewise.
36123 * manual/stdio.texi: Likewise.
36124 * manual/string.texi: Likewise.
36125 * manual/sysinfo.texi: Likewise.
36126 * manual/syslog.texi: Likewise.
36127 * manual/terminal.texi: Likewise.
36128 * manual/time.texi: Likewise.
36129 * manual/users.texi: Likewise.
36130 * INSTALL: Regenerated.
36131 * NOTES: Regenerated.
d40c5d54 36132 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36133
450bf206
AS
361342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36135
36136 * include/dirent.h: Include <dirstream.h> before
36137 <dirent/dirent.h>.
36138
741a235b
DM
361392012-02-28 David S. Miller <davem@davemloft.net>
36140
36141 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36142 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36143 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36144 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36145
d6b5aa58
DM
361462012-02-27 David S. Miller <davem@davemloft.net>
36147
1aff59a3
DM
36148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36150 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36151 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36152
d6b5aa58
DM
36153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36154 frame pointer instead of stack pointer relative arg slot.
36155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36156 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36157 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36158
433f48bf
CD
361592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36160
36161 [BZ #3992]
36162 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36163
d674b76d
DM
361642012-02-27 David S. Miller <davem@davemloft.net>
36165
36166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36170 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36171 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36172 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36173 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36174
0e7727f7
JM
361752012-02-27 Joseph Myers <joseph@codesourcery.com>
36176
36177 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36178 later. Allow versions 5-9.
43be4ca2 36179 * configure: Regenerated.
0e7727f7
JM
36180 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36181 required minimum version and 4.6 as recommended version. Do not
36182 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36183 * INSTALL: Regenerated.
0e7727f7 36184
a78bc654
DM
361852012-02-27 David S. Miller <davem@davemloft.net>
36186
428d5830
DM
36187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36191 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36192 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36193 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36194 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36195
a78bc654
DM
36196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36197 manipulate bits before adding and subtracting TWO112[sx].
36198 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36199
4579f81c
RM
362002012-02-27 Roland McGrath <roland@hack.frob.com>
36201
36c8acb4
RM
36202 [BZ #13775]
36203 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36204 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36205 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36206 being in POSIX, because they are in 1003.1-2008.
36207
84ad622b
RM
36208 * rt/tst-aio.c: Include <fcntl.h>.
36209 * rt/tst-aio7.c: Likewise.
36210 * rt/tst-aio64.c: Likewise.
36211
4579f81c
RM
36212 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36213
abd923db
JM
362142012-02-27 Joseph Myers <joseph@codesourcery.com>
36215
36216 * manual/install.texi (--with-headers): Describe headers as
36217 interface headers, not private headers.
36218 (Specific advice for GNU/Linux systems): Describe use of headers
36219 from "make headers_install", not private headers from older
36220 kernels.
43be4ca2 36221 * INSTALL: Regenerated.
abd923db
JM
36222 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36223 Change to 2.6.19.
36224 * sysdeps/unix/sysv/linux/configure: Regenerated.
36225
6664049b
JM
36226 * manual/llio.texi (fclean): Remove documentation.
36227
bb8b6697
JM
36228 * manual/Makefile (libc-texi-generated): New variable. Include
36229 version.texi.
36230 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36231 $(libc-texi-generated), not duplicated list of files.
36232 (version.texi, stamp-version): New rules.
36233 (realclean): Remove $(libc-texi-generated), not individual files
36234 from that list. Do not remove dir-add.texinfo.
36235 * manual/libc.texinfo: Comment out uses of edition numbers and
36236 references to printed manual. Remove last-updated dates.
36237 (EDITION): Comment out.
36238 (ISBN): Likewise.
36239 (VERSION, UPDATED): Remove.
36240 (version.texi): Include.
36241
12e5c3b9
AS
362422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36243
36244 * sysdeps/posix/spawni.c: Include <signal.h>.
36245 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36246 * sysdeps/pthread/aio_fsync.c: Likewise.
36247
4efeffc1 362482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36249
ba63ba08
UD
36250 * conform/Makefile (tests): Run only when not cross-compiling and
36251 when fast-check is not defined.
36252
d94a4670
UD
36253 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36254 * conform/data/limits.h-data: Fixes for POSIX2008.
36255 * conform/run-conformtest.sh: Run all tests.
36256 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36257 headers.
36258 * include/bits/dlfcn.h: Likewise.
36259 * include/langinfo.h: Likewise.
36260 * include/monetary.h: Likewise.
36261 * include/sys/poll.h: Likewise.
36262
36263 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36264 for __USE_GNU.
36265 * posix/spawn.h: Define __need_sigset_t.
36266 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36267 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36268 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36269 to get sigevent_t only.
36270 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36271 only for __USE_GNU.
36272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36273 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36274 process_vm_writev only for __USE_GNU.
36275 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36276
36277 * conform/Makefile: For now ignore errors from run-conformtest.
36278 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36279 POSIX to avoid namespace pollution. Don't prepend headers.
36280 * conform/data/aio.h-data: Fixes for POSIX testing.
36281 * conform/data/fcntl.h-data: Likewise.
36282 * conform/data/glob.h-data: Likewise.
36283 * conform/data/grp.h-data: Likewise.
36284 * conform/data/pthread.h-data: Likewise.
36285 * conform/data/pwd.h-data: Likewise.
36286 * conform/data/signal.h-data: Likewise.
36287 * conform/data/spawn.h-data: Likewise.
36288 * conform/data/stdio.h-data: Likewise.
36289 * conform/data/stdlib.h-data: Likewise.
36290 * conform/data/stropts.h-data: Likewise.
36291 * conform/data/sys/mman.h-data: Likewise.
36292 * conform/data/sys/stat.h-data: Likewise.
36293 * conform/data/sys/types.h-data: Likewise.
36294 * conform/data/sys/wait.h-data: Likewise.
36295 * conform/data/time.h-data: Likewise.
36296 * conform/data/unistd.h-data: Likewise.
36297 * conform/data/utime.h-data: Likewise.
36298
36299 * io/sys/stat.h: fchmod was always in POSIX.
36300 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36301 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36302 * rt/aio.h: Define __need_timespec before including <time.h>.
36303 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36304 struct. Add forward declaration of pthread_attr_t and use it in
36305 sigevent.
36306 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36308 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36309 always remove CLK_TCK definition.
36310
c20105c3
AS
363112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36312
36313 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36314
7a270350
UD
363152012-02-25 Ulrich Drepper <drepper@gmail.com>
36316
31341567
UD
36317 * conform/run-conformtest.sh: New file.
36318 * conform/Makefile: Run run-conformtest for tests.
36319 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36320 support.
36321
36322 * conform/data/uchar.h-data: New file.
36323 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36324 * conform/data/arpa/inet.h-data: Likewise.
36325 * conform/data/assert.h-data: Likewise.
36326 * conform/data/complex.h-data: Likewise.
36327 * conform/data/cpio.h-data: Likewise.
36328 * conform/data/ctype.h-data: Likewise.
36329 * conform/data/dirent.h-data: Likewise.
36330 * conform/data/dlfcn.h-data: Likewise.
36331 * conform/data/errno.h-data: Likewise.
36332 * conform/data/fcntl.h-data: Likewise.
36333 * conform/data/float.h-data: Likewise.
36334 * conform/data/fmtmsg.h-data: Likewise.
36335 * conform/data/fnmatch.h-data: Likewise.
36336 * conform/data/ftw.h-data: Likewise.
36337 * conform/data/glob.h-data: Likewise.
36338 * conform/data/grp.h-data: Likewise.
36339 * conform/data/iconv.h-data: Likewise.
36340 * conform/data/inttypes.h-data: Likewise.
36341 * conform/data/langinfo.h-data: Likewise.
36342 * conform/data/libgen.h-data: Likewise.
36343 * conform/data/limits.h-data: Likewise.
36344 * conform/data/locale.h-data: Likewise.
36345 * conform/data/math.h-data: Likewise.
36346 * conform/data/monetary.h-data: Likewise.
36347 * conform/data/mqueue.h-data: Likewise.
36348 * conform/data/ndbm.h-data: Likewise.
36349 * conform/data/net/if.h-data: Likewise.
36350 * conform/data/netdb.h-data: Likewise.
36351 * conform/data/netinet/in.h-data: Likewise.
36352 * conform/data/nl_types.h-data: Likewise.
36353 * conform/data/poll.h-data: Likewise.
36354 * conform/data/pthread.h-data: Likewise.
36355 * conform/data/pwd.h-data: Likewise.
36356 * conform/data/regex.h-data: Likewise.
36357 * conform/data/sched.h-data: Likewise.
36358 * conform/data/search.h-data: Likewise.
36359 * conform/data/semaphore.h-data: Likewise.
36360 * conform/data/setjmp.h-data: Likewise.
36361 * conform/data/signal.h-data: Likewise.
36362 * conform/data/spawn.h-data: Likewise.
36363 * conform/data/stdarg.h-data: Likewise.
36364 * conform/data/stdio.h-data: Likewise.
36365 * conform/data/stdlib.h-data: Likewise.
36366 * conform/data/string.h-data: Likewise.
36367 * conform/data/strings.h-data: Likewise.
36368 * conform/data/stropts.h-data: Likewise.
36369 * conform/data/sys/ipc.h-data: Likewise.
36370 * conform/data/sys/mman.h-data: Likewise.
36371 * conform/data/sys/msg.h-data: Likewise.
36372 * conform/data/sys/resource.h-data: Likewise.
36373 * conform/data/sys/select.h-data: Likewise.
36374 * conform/data/sys/sem.h-data: Likewise.
36375 * conform/data/sys/shm.h-data: Likewise.
36376 * conform/data/sys/socket.h-data: Likewise.
36377 * conform/data/sys/stat.h-data: Likewise.
36378 * conform/data/sys/statvfs.h-data: Likewise.
36379 * conform/data/sys/time.h-data: Likewise.
36380 * conform/data/sys/timeb.h-data: Likewise.
36381 * conform/data/sys/times.h-data: Likewise.
36382 * conform/data/sys/types.h-data: Likewise.
36383 * conform/data/sys/uio.h-data: Likewise.
36384 * conform/data/sys/un.h-data: Likewise.
36385 * conform/data/sys/utsname.h-data: Likewise.
36386 * conform/data/sys/wait.h-data: Likewise.
36387 * conform/data/syslog.h-data: Likewise.
36388 * conform/data/tar.h-data: Likewise.
36389 * conform/data/termios.h-data: Likewise.
36390 * conform/data/utime.h-data: Likewise.
36391 * conform/data/utmpx.h-data: Likewise.
36392 * conform/data/varargs.h-data: Likewise.
36393 * conform/data/wchar.h-data: Likewise.
36394 * conform/data/wctype.h-data: Likewise.
36395 * conform/data/wordexp.h-data: Likewise.
36396
36397 * include/stropts.h: New file.
36398 * include/uchar.h: New file.
36399 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36400 * include/assert.h: Likewise.
36401 * include/ctype.h: Likewise.
36402 * include/dirent.h: Likewise.
36403 * include/dlfcn.h: Likewise.
36404 * include/fcntl.h: Likewise.
36405 * include/fnmatch.h: Likewise.
36406 * include/glob.h: Likewise.
36407 * include/grp.h: Likewise.
36408 * include/libio.h: Likewise.
36409 * include/locale.h: Likewise.
36410 * include/math.h: Likewise.
36411 * include/net/if.h: Likewise.
36412 * include/netdb.h: Likewise.
36413 * include/netinet/in.h: Likewise.
36414 * include/pthread.h: Likewise.
36415 * include/pwd.h: Likewise.
36416 * include/regex.h: Likewise.
36417 * include/sched.h: Likewise.
36418 * include/search.h: Likewise.
36419 * include/setjmp.h: Likewise.
36420 * include/signal.h: Likewise.
36421 * include/stdio.h: Likewise.
36422 * include/stdlib.h: Likewise.
36423 * include/string.h: Likewise.
36424 * include/sys/cdefs.h: Likewise.
36425 * include/sys/mman.h: Likewise.
36426 * include/sys/msg.h: Likewise.
36427 * include/sys/resource.h: Likewise.
36428 * include/sys/select.h: Likewise.
36429 * include/sys/socket.h: Likewise.
36430 * include/sys/stat.h: Likewise.
36431 * include/sys/statvfs.h: Likewise.
36432 * include/sys/time.h: Likewise.
36433 * include/sys/times.h: Likewise.
36434 * include/sys/uio.h: Likewise.
36435 * include/sys/utsname.h: Likewise.
36436 * include/sys/wait.h: Likewise.
36437 * include/termios.h: Likewise.
36438 * include/time.h: Likewise.
36439 * include/ulimit.h: Likewise.
36440 * include/unistd.h: Likewise.
36441 * include/utime.h: Likewise.
36442 * include/wchar.h: Likewise.
36443 * include/wctype.h: Likewise.
36444 * include/wordexp.h: Likewise.
36445
36446 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36447
7a270350
UD
36448 * time/time.h: TIME_UTC must be a macro.
36449 Make timespec_get available for ISO C11 only as well.
36450
7724defc
UD
364512012-02-24 Ulrich Drepper <drepper@gmail.com>
36452
36453 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36454 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36455
6b1d1d46
JM
364562012-02-24 Joseph Myers <joseph@codesourcery.com>
36457
36458 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36459
0f8bbd69
JM
364602012-02-24 Joseph Myers <joseph@codesourcery.com>
36461
36462 * manual/texinfo.tex: Update to version 2012-01-19.16.
36463
66ab80bc
JM
364642012-02-24 Joseph Myers <joseph@codesourcery.com>
36465
36466 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36467
74981cc5
RM
364682012-02-24 Roland McGrath <roland@hack.frob.com>
36469
ee968201
RM
36470 [BZ #13738]
36471 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36472 * manual/fdl-1.3.texi: New file.
36473 * manual/fdl-1.1.texi: File removed.
36474
74981cc5
RM
36475 [BZ #13738]
36476 * manual/libc.texinfo (FDL_VERSION): New @set.
36477 Use it for mention of FDL in cover text.
36478 (Documentation License): Use it in @include file name.
36479
7bb764bc
JM
364802012-02-22 Joseph Myers <joseph@codesourcery.com>
36481 Roland McGrath <roland@hack.frob.com>
36482
36483 [BZ #5461]
57f41c40
AS
36484 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36485 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36486 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36487 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36488 name.
36489 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36490
6cbeae47
JM
364912012-02-22 Joseph Myers <joseph@codesourcery.com>
36492
36493 [BZ #2547]
36494 [BZ #11365]
36495 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36496 manipulate bits before adding and subtracting TWO23[sx].
36497 * math/libm-test.inc (nearbyint_test): Add more tests.
36498
fe45ce09
JM
364992012-02-22 Joseph Myers <joseph@codesourcery.com>
36500
36501 [BZ #2548]
36502 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36503 bits before adding and subtracting TWO23[sx].
36504 * math/libm-test.inc (rint_test): Add more tests.
36505 (rint_test_tonearest): Likewise.
36506 (rint_test_towardzero): Likewise.
36507 (rint_test_downward): Likewise.
36508 (rint_test_upward: Likewise.
36509
ff3b3d82
JM
365102012-02-22 Joseph Myers <joseph@codesourcery.com>
36511
36512 [BZ #10110]
36513 * include/stdc-predef.h: New file. Extracted from features.h.
36514 * include/features.h: Include stdc-predef.h.
36515 * Makefile (headers): Add stdc-predef.h.
36516 * CONFORMANCE (Compiler limitations): Update.
36517
ef0aab35
JM
365182012-02-22 Joseph Myers <joseph@codesourcery.com>
36519
36520 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36521
58639409
DM
365222012-02-21 David S. Miller <davem@davemloft.net>
36523
36524 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36525 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36526
c0e70b25
DM
365272012-02-20 David S. Miller <davem@davemloft.net>
36528
36529 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36530 using a normal save/restore sequence, rather than allocating a
36531 dummy stack frame just to store a frame pointer and restore.
36532 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36533
fb06851d
JM
365342012-02-21 Joseph Myers <joseph@codesourcery.com>
36535
36536 * manual/install.texi: Fix stray word in line-wrapped comment.
36537
7a8b71c3
DM
365382012-02-20 David S. Miller <davem@davemloft.net>
36539
d510c123
DM
36540 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36541 both binutils and gcc support GOTDATA.
36542
0722d7c2
DM
36543 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36544 "rd %pc" in the PIC register setup sequences.
36545
3d2b3019
DM
36546 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36547 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36548 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36549 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36550 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36552 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36553 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36554 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36555 (SYSCALL_ERROR_HANDLER): Likewise.
36556 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36557 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36559 (SYSCALL_ERROR_HANDLER): Likewise.
36560
c80098a9
DM
36561 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36562 (HAVE_GCC_GOTDATA): New.
36563 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36564 relocation support in both binutils and gcc.
36565 * sysdeps/sparc/elf/configure: Regenerate.
36566
3a2545a0
DM
36567 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36568 * sysdeps/sparc/sparc32/elf/configure: Delete.
36569 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36570 * sysdeps/sparc/sparc64/elf/configure: Delete.
36571 * sysdeps/sparc/elf/configure.in: New file.
36572 * sysdeps/sparc/elf/configure: Generate.
36573
7a8b71c3
DM
36574 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36575 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36576 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36577 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36578 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36579
f1e86fca
JM
365802012-02-21 Joseph Myers <joseph@codesourcery.com>
36581
36582 * manual/install.texi: Do not mention specific glibc version
36583 numbers.
36584 * manual/libc.texinfo (VERSION, UPDATED): Update.
36585 (@copying): Use @copyright{} and range of years.
36586
0e7dfaef
JM
365872012-02-21 Joseph Myers <joseph@codesourcery.com>
36588
36589 [BZ #13695]
36590 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36591 [crti.S not in sysdirs] (generated): Do not append.
36592 [crti.S not in sysdirs] (omit-deps): Likewise.
36593 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36594 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36595 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36596 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36597 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36598 Likewise.
36599 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36600 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36601 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36602 * csu/defs.awk: Remove file.
36603 * sysdeps/generic/initfini.c: Likewise.
36604 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36605 variable.
36606 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36607 Likewise.
36608
599af3ca
JM
366092012-02-20 Joseph Myers <joseph@codesourcery.com>
36610
36611 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36612 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36613 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36614 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36615 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36616 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36617 <bits/epoll.h>.
36618 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36619 (__EPOLL_PACKED): Define to empty if not defined by
36620 <bits/epoll.h>.
36621 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36623 bits/epoll.h.
36624
0e499750
JM
366252012-02-20 Joseph Myers <joseph@codesourcery.com>
36626
36627 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36628 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36629 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36630 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36631 <bits/timerfd.h>.
36632 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36634 bits/timerfd.h.
36635
5ad91f6e
JM
366362012-02-20 Joseph Myers <joseph@codesourcery.com>
36637
36638 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36639 in C locale.
36640 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36641 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36642 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36644
06b99b02
AJ
366452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36646
36647 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36648 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36649
7638c0fd
AS
366502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36651
36652 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36653 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36654 defined.
36655 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36656 Likewise.
36657 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36658 entry for 2.16.
36659
92221550
AJ
366602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36661
36662 * math/w_acos.c: Use non-signaling floating-point comparisons.
36663 * math/w_acosf.c: Likewise.
36664 * math/w_acosh.c: Likewise.
36665 * math/w_acoshf.c: Likewise.
36666 * math/w_acoshl.c: Likewise.
36667 * math/w_acosl.c: Likewise.
36668 * math/w_asin.c: Likewise.
36669 * math/w_asinf.c: Likewise.
36670 * math/w_asinl.c: Likewise.
36671 * math/w_atanh.c: Likewise.
36672 * math/w_atanhf.c: Likewise.
36673 * math/w_atanhl.c: Likewise.
36674 * math/w_exp2.c: Likewise.
36675 * math/w_exp2f.c: Likewise.
36676 * math/w_exp2l.c: Likewise.
36677 * math/w_j0.c: Likewise.
36678 * math/w_j0f.c: Likewise.
36679 * math/w_j0l.c: Likewise.
36680 * math/w_j1.c: Likewise.
36681 * math/w_j1f.c: Likewise.
36682 * math/w_j1l.c: Likewise.
36683 * math/w_jn.c: Likewise.
36684 * math/w_jnf.c: Likewise.
36685 * math/w_log.c: Likewise.
36686 * math/w_log10.c: Likewise.
36687 * math/w_log10f.c: Likewise.
36688 * math/w_log10l.c: Likewise.
36689 * math/w_log2.c: Likewise.
36690 * math/w_log2f.c: Likewise.
36691 * math/w_log2l.c: Likewise.
36692 * math/w_logf.c: Likewise.
36693 * math/w_logl.c: Likewise.
36694 * math/w_sqrt.c: Likewise.
36695 * math/w_sqrtf.c: Likewise.
36696 * math/w_sqrtl.c: Likewise.
36697 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36698 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36699 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36700 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36701 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36702
ebaf36eb
JM
367032012-02-19 Joseph Myers <joseph@codesourcery.com>
36704
36705 [BZ #9739]
36706 * manual/string.texi (strnlen): Use correct parameter name in
36707 equivalent expression.
36708
71c254a6
JM
367092012-02-19 Joseph Myers <joseph@codesourcery.com>
36710
36711 [BZ #11174]
36712 * manual/users.texi (seteuid): Consistently use neweuid for
36713 argument name.
36714
16d2c631
JM
367152012-02-19 Joseph Myers <joseph@codesourcery.com>
36716
36717 [BZ #13704]
36718 * manual/nss.texi (Services in the NSS configuration): Correct
36719 list of services in example configuration file.
36720
cd837b09
NB
367212012-02-19 Nick Bowler <nbowler@draconx.ca>
36722
36723 [BZ #11322]
36724 * manual/arith.texi: Remove statements about negative zero
36725 behaving identically to zero.
36726
02c4bbad
JM
367272012-02-18 Joseph Myers <joseph@codesourcery.com>
36728
36729 [BZ #5993]
36730 * manual/install.texi: Do not document upgrading from libc5.
36731
366842e7
JM
367322012-02-18 Joseph Myers <joseph@codesourcery.com>
36733
36734 [BZ #4596]
36735 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36736
dd54084d
DM
367372012-02-18 David S. Miller <davem@davemloft.net>
36738
36739 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36740 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36741 %o7 across the call.
36742 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36743 instead.
36744 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36745 SETUP_PIC_REG_LEAF.
36746 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36747 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36748 * sysdeps/sparc/crtn.S: Likewise.
36749
2bcc53a3
UD
367502012-02-17 Ulrich Drepper <drepper@gmail.com>
36751
36752 * aout/Makefile: Remove.
36753
09c093b5
RK
367542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36755
36756 [BZ #13058]
36757 * manual/examples/argp-ex1.c (main): Format definition in GNU
36758 style.
36759 * manual/examples/argp-ex2.c (main): Likewise.
36760 * manual/examples/argp-ex3.c (main): Likewise.
36761 * manual/examples/argp-ex4.c (main): Likewise.
36762 * manual/examples/longopt.c (main): Use new-style prototype
36763 definition.
36764 * manual/examples/strncat.c (main): Specify return type and use
36765 (void) for arguments.
36766 * manual/examples/subopt.c (main): Use char **argv argument.
36767
2ee633a2
JM
367682012-02-17 Joseph Myers <joseph@codesourcery.com>
36769
36770 [BZ #5077]
36771 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36772 rounding modes.
36773
0520adde
FB
367742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36775
36776 [BZ #6907]
36777 * manual/string.texi (strchr): Change when strchrnul is
36778 recommended.
36779
3f4081cd
DGM
367802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36781
36782 [BZ #174]
36783 * manual/locale.texi (setlocale): Document LOCPATH.
36784
d1b10e78
JM
367852012-02-17 Joseph Myers <joseph@codesourcery.com>
36786
36787 [BZ #10210]
36788 * manual/process.texi (execle): Move @dots{} before last argument.
36789
79c6869c
PB
367902012-02-17 Paul Bolle <pebolle@tiscali.nl>
36791
36792 [BZ #12047]
36793 * manual/charset.texi (Generic Charset Conversion): Fix typo
36794 (LC_TYPE -> LC_CTYPE).
36795
cc6e48bc
NB
367962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36797
36798 [BZ #5805]
36799 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36800 (scalbnf): Likewise.
36801 (scalbnl): Likewise.
36802 (scalbln): Likewise.
36803 (scalblnf): Likewise.
36804 (scalblnl): Likewise.
36805 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36806 (vwarnx): Likewise.
36807 (verr): Likewise.
36808 (verrx): Likewise.
36809 * manual/filesys.texi (telldir): Use braces around return type.
36810 * manual/llio.texi (mmap): Add space after comma.
36811 (mmap64): Likewise.
36812 * manual/math.texi (jn): Use @var{} on parameter names.
36813 (jnf): Likewise.
36814 (jnl): Likewise.
36815 (yn): Likewise.
36816 (ynf): Likewise.
36817 (ynl): Likewise.
36818 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36819 line.
36820 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36821 "...".
36822 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36823 (sched_get_priority_max): Likewise.
36824 * manual/signal.texi (sigvec): Add space after comma.
36825 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36826 names.
36827 (if_indextoname): Likewise.
36828 (if_freenameindex): Likewise.
36829 (sendto): Use ',' instead of '.' in prototype.
36830 * manual/startup.texi (syscall): Use @dots{} instead of literal
36831 "...".
36832 * manual/stdio.texi (__fpending): Separate initial words of
36833 paragraph from @deftypefun line.
36834 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36835 "...".
36836 (vsyslog): Use @var{} on parameter names.
36837 * manual/terminal.texi (stty): Use @var{} on parameter names.
36838 * manual/users.texi (getutmp): Use @var{} on parameter names.
36839 (getutmpx): Likewise.
36840
5b23062f
JM
368412012-02-17 Joseph Myers <joseph@codesourcery.com>
36842
36843 [BZ #6884]
36844 * manual/stdio.texi (fopen): Fix typos in description of
36845 ",ccs=STRING".
36846
8dee4833
AJ
368472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36848
36849 [BZ #4026]
36850 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36851 get clock_id definition.
36852
9078ce93
TS
368532012-02-17 Thomas Schwinge <thomas@schwinge.name>
36854
36855 [BZ #4822]
36856 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36857 (madvise): Cast every argument to void on its own.
36858
3835c55f
JM
368592012-02-17 Joseph Myers <joseph@codesourcery.com>
36860
36861 [BZ #9902]
36862 * manual/startup.texi (Exit Status): Fix typo.
36863
35c47e37
JM
368642012-02-17 Joseph Myers <joseph@codesourcery.com>
36865
36866 [BZ #10140]
36867 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36868 * manual/examples/argp-ex2.c: Likewise.
36869 * manual/examples/argp-ex3.c: Likewise.
36870
e3b69ca7
RH
368712012-02-16 Richard Henderson <rth@redhat.com>
36872
36873 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36874 * sysdeps/s390/s390-32/initfini.c: Remove.
36875 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36876 * sysdeps/s390/s390-64/initfini.c: Remove.
36877
df83af67
KK
368782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36879
36880 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36881 compiler output for sysdeps/generic/initfini.c.
36882 * sysdeps/sh/elf/initfini.c: Remove file.
36883
f63f3380
DM
368842012-02-16 David S. Miller <davem@davemloft.net>
36885
fb59b3a4
DM
36886 [BZ #11494]
36887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36888
f63f3380
DM
36889 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36890 * sysdeps/sparc/crti.S: New file.
36891 * sysdeps/sparc/crtn.S: New file.
36892 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36893 * sysdeps/sparc/sparc64/Makefile: Likewise.
36894
df6a4a4a
MF
368952012-02-15 Mike Frysinger <vapier@gentoo.org>
36896
6dd8f3dc 36897 [BZ #3335]
df6a4a4a
MF
36898 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36899
1cac7236
RM
369002012-02-15 Roland McGrath <roland@hack.frob.com>
36901
d2c736f8
RM
36902 [BZ #4822]
36903 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36904
1cac7236
RM
36905 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36906 (write, read, close): Likewise.
36907 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36908
8e475601
JM
369092012-02-15 Joseph Myers <joseph@codesourcery.com>
36910
36911 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36912 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36913 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36914 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36915 <bits/signalfd.h>.
36916 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36918 bits/signalfd.h.
36919
ed656b40
MP
369202012-02-14 Marek Polacek <polacek@redhat.com>
36921
36922 * sysdeps/x86_64/crti.S: New file.
36923 * sysdeps/x86_64/crtn.S: New file.
36924 * sysdeps/x86_64/elf/initfini.c: Remove file.
36925
2a979d3a
JM
369262012-02-13 Joseph Myers <joseph@codesourcery.com>
36927
36928 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36929 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36930 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36931 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36932 <bits/inotify.h>.
36933 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36935 bits/inotify.h.
36936
2a418ac3
JM
369372012-02-13 Joseph Myers <joseph@codesourcery.com>
36938
36939 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36940 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36941 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36942 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36943 <bits/eventfd.h>.
36944 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36946 bits/eventfd.h.
36947
fb779be7
TS
369482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36949
e19e83c5
RM
36950 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36951 __feraiseexcept instead of feraiseexcept.
7c35ffed 36952
fb779be7
TS
36953 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36954 nanosleep invocations.
36955 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36956 strings, and add error checking for a nanosleep invocations.
36957
59ba27a6
PE
369582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36959
36960 Replace FSF snail mail address with URLs, as per GNU coding standards.
36961 Most of the snail mail addresses were wrong anyway, and omitting
36962 them makes the source code easier to maintain. Almost all of the
36963 changes are to license notices and to locale LC_IDENTIFICATION
36964 addresses, except for this one:
36965 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36966 not its snail mail address.
36967
57b957eb
RH
369682012-02-09 Richard Henderson <rth@twiddle.net>
36969
af850b1c
RH
36970 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36971 of kernel-features.h.
36972
57b957eb
RH
36973 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36974
6b73181a
MP
369752012-02-08 Marek Polacek <polacek@redhat.com>
36976
36977 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36978 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36979 * sysdeps/gnu/_G_config.h: Likewise.
36980 * sysdeps/generic/_G_config.h: Likewise.
36981
26ecc33a
AS
369822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36983
6c6dbc63
AS
36984 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36985 tests.
36986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36987
e216c012
AS
36988 * sysdeps/powerpc/powerpc32/crti.S: New file.
36989 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36990 * sysdeps/powerpc/powerpc64/crti.S: New file.
36991 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36992
26ecc33a
AS
36993 * Makeconfig (have-initfini): Don't set.
36994 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36995 * configure.in (nopic_initfini): Don't substitute.
36996 * config.h.in (HAVE_INITFINI): Don't #undef.
36997 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36998 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36999
3add8e13
JM
370002012-02-08 Joseph Myers <joseph@codesourcery.com>
37001
37002 Support crti.S and crtn.S provided directly by architectures.
37003 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37004 [crti.S in sysdirs] (omit-deps): Likewise.
37005 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37006 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37007 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37008 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37009 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37010 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37011 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37012 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37013 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37014 compiler output for sysdeps/generic/initfini.c.
37015 * sysdeps/i386/elf/Makefile: Remove file.
37016 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37017
a22f12b4
MP
370182012-02-07 Marek Polacek <polacek@redhat.com>
37019
37020 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37021 * sysdeps/gnu/_G_config.h: Likewise.
37022 * sysdeps/mach/hurd/_G_config.h: Likewise.
37023
148cf100
MP
370242012-02-07 Marek Polacek <polacek@redhat.com>
37025
37026 * math/Makefile (tests): Add tst-CMPLX2.
37027 * math/tst-CMPLX2.c: New file.
37028
cfdc0dd7
AS
370292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37030
84ba42c4
AS
37031 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37032
cfdc0dd7
AS
37033 * math/libm-test.inc (jn_test): Add missing L suffix.
37034
622c86f4
MP
370352012-02-06 Marek Polacek <polacek@redhat.com>
37036
37037 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37038 * sysdeps/i386/fpu/e_powf.S: Likewise.
37039 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37040 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37041 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37042 * sysdeps/i386/fpu/e_pow.S: Likewise.
37043 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37044 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37045 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37046 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37047 * sysdeps/i386/fpu/e_log2.S: Likewise.
37048 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37049 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37050 * sysdeps/i386/fpu/e_powl.S: Likewise.
37051 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37052 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37053 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37054 * sysdeps/i386/fpu/e_logl.S: Likewise.
37055 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37056 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37057 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37058 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37059 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37060 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37061 * sysdeps/i386/fpu/e_log.S: Likewise.
37062 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37063 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37064 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37065 * sysdeps/i386/fpu/e_logf.S: Likewise.
37066 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37067 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37068 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37069 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37070 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37071 * sysdeps/i386/fpu/e_log10.S: Likewise.
37072 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37073 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37074 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37075 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37076 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37077 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37078 * sysdeps/i386/asm-syntax.h: Likewise.
37079 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37080 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37081 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37082 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37083 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37084 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37085 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37086 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37087 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37088 * sysdeps/powerpc/sysdep.h: Likewise.
37089 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37090 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37091
d4a54ac6
JM
370922012-02-06 Joseph Myers <joseph@codesourcery.com>
37093
37094 [BZ #411]
37095 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37096
314054ea
JM
370972012-02-06 Joseph Myers <joseph@codesourcery.com>
37098
37099 * sysdeps/i386/sysdep.h: Include <features.h>.
37100 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37101 version.
37102
d8e0ca50
JM
371032012-02-05 Joseph Myers <joseph@codesourcery.com>
37104
37105 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37106 Define.
37107 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37108 LOAD_PIC_REG_STR.
37109
b1da7dd9
JM
371102012-02-03 Joseph Myers <joseph@codesourcery.com>
37111
37112 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37113 (SETUP_PIC_REG): Use GET_PC_THUNK.
37114 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37115 macro.
37116
9a1d9254
JM
371172012-02-03 Joseph Myers <joseph@codesourcery.com>
37118
37119 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37120 for non-PIC compilation.
37121 (SETUP_PIC_REG): Add .p2align directive.
37122 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37123 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37124 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37125 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37126 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37127 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37128 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37129 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37130 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37131 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37132 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37133 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37134 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37135 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37136 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37137 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37138 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37139 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37140 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37141 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37142 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37143 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37144 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37145 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37146 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37148 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37149 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37150 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37151 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37152 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37153 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37154 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37155 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37156 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37157 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37158 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37159 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37160 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37161 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37162 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37163
65dc3b75
JM
371642012-02-03 Joseph Myers <joseph@codesourcery.com>
37165
37166 * math/tst-CMPLX.c: Include <stdio.h>.
37167
d55bf177
JM
371682012-01-31 Joseph Myers <joseph@codesourcery.com>
37169
37170 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37171 float.
37172 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37173 * sysdeps/sparc/bits/mathdef.h: Likewise.
37174
69db4f8f
MP
371752012-01-31 Marek Polacek <polacek@redhat.com>
37176
37177 * libio/libio.h: Don't define _PARAMS.
37178 * locale/programs/config.h: Don't define PARAMS.
37179 * stdlib/strtol_l.c: Likewise.
37180 (__strtol_l): Remove PARAMS from the prototype.
37181
41b81892
UD
371822012-01-31 Ulrich Drepper <drepper@gmail.com>
37183
3b49edc0
UD
37184 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37185 names. Just use the correct names. Remove unnecessary wrapper
37186 functions.
37187 * malloc/arena.c: Likewise.
37188 * malloc/hooks.c: Likewise.
37189
41b81892
UD
37190 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37191 ARENA_TEST says not to. Simplify test for creation of a new arena.
37192 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37193
27a25b6e
UD
371942012-01-30 Ulrich Drepper <drepper@gmail.com>
37195
37196 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37197 into tail calls.
37198 (update_get_addr): New function.
37199 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37200 GET_ADDR_MODULE parameter.
37201
c8a89e7d
JM
372022012-01-30 Joseph Myers <joseph@codesourcery.com>
37203
37204 * crypt/cert.c: Remove __STDC__ conditionals.
37205 * crypt/crypt-entry.c: Likewise.
37206 * crypt/crypt_util.c: Likewise.
37207 * libio/filedoalloc.c: Likewise.
37208 * libio/fileops.c: Likewise.
37209 * libio/genops.c: Likewise.
37210 * libio/iofclose.c: Likewise.
37211 * libio/iofdopen.c: Likewise.
37212 * libio/iofopen.c: Likewise.
37213 * libio/iofopen64.c: Likewise.
37214 * libio/iogetdelim.c: Likewise.
37215 * libio/iopopen.c: Likewise.
37216 * libio/obprintf.c: Likewise.
37217 * libio/oldfileops.c: Likewise.
37218 * libio/oldiofclose.c: Likewise.
37219 * libio/oldiofdopen.c: Likewise.
37220 * libio/oldiofopen.c: Likewise.
37221 * libio/oldiopopen.c: Likewise.
37222 * libio/wfiledoalloc.c: Likewise.
37223 * libio/wgenops.c: Likewise.
37224 * locale/programs/xmalloc.c: Likewise.
37225 * misc/syslog.c: Likewise.
37226 * stdio-common/xbug.c: Likewise.
37227 * string/memchr.c: Likewise.
37228 * string/memcmp.c: Likewise.
37229 * string/memrchr.c: Likewise.
37230 * string/rawmemchr.c: Likewise.
37231 * sysdeps/posix/getcwd.c: Likewise.
37232 * time/strftime_l.c: Likewise.
37233
3b100462
JM
372342012-01-30 Joseph Myers <joseph@codesourcery.com>
37235
37236 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37237 * config.make.in (config-cflags-sse2avx): Define.
37238 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37239 Fix typo.
37240
607998af
CM
372412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37242
37243 * scripts/config.guess: Update from upstream config git repository.
37244 * scripts/config.sub: Likewise.
37245
3601428f
CM
372462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37247
3ac8b282
CM
37248 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37249 (EM_NUM): Update.
37250 (R_TILEPRO_*, R_TILEGX_*): New macros.
37251
e034841e
CM
37252 * scripts/firstversions.awk: Fix bug in version range handling.
37253
540d7568
CM
37254 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37255
3601428f
CM
37256 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37257
463de862
CM
37258 * include/sys/epoll.h: New file.
37259 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37260 libc_hidden_def.
37261
73139a76
UD
372622012-01-28 Ulrich Drepper <drepper@gmail.com>
37263
96bc5b45
UD
37264 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37265 Avoid unnecessary __WORDSIZE == 64 test.
37266 (fmaxf): Use VEX format if possible.
37267 (fmax): Likewise.
37268 (fminf): Likewise.
37269 (fmin): Likewise.
37270
56f6f6a2
UD
37271 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37272 * math/math_private.h: Remove libc_fegetround* and
37273 libc_fesetround*.
37274 * sysdeps/i386/configure.in: Check for -msse2avx.
37275 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37276 also if SSE2AVX is defined.
37277 Remove libc_fegetround* and libc_fesetround*.
37278 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37279 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37280 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37281 of HAS_YMM_USABLE.
37282 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37283 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37284 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37285 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37286 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37287
73139a76
UD
37288 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37289
d73f93a4
AZ
372902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37291
37292 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37293 size is not set.
37294 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37295
6ee65ed6
UD
372962012-01-27 Ulrich Drepper <drepper@gmail.com>
37297
37298 [BZ #13618]
37299 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37300 relocation.
37301 * Makeconfig (libm): Define.
37302 * elf/Makefile: Add rules to build and run tst-relsort1.
37303 * elf/tst-relsort1.c: New file.
37304 * elf/tst-relsort1mod1.c: New file.
37305 * elf/tst-relsort1mod2.c: New file.
37306
8db21882
JM
373072012-01-27 Joseph Myers <joseph@codesourcery.com>
37308
37309 * math/s_ldexp.c: Remove __STDC__ conditionals.
37310 * math/s_ldexpf.c: Likewise.
37311 * math/s_ldexpl.c: Likewise.
37312 * math/s_nextafter.c: Likewise.
37313 * math/s_nexttowardf.c: Likewise.
37314 * math/s_significand.c: Likewise.
37315 * math/s_significandf.c: Likewise.
37316 * math/s_significandl.c: Likewise.
37317 * math/w_jnl.c: Likewise.
37318 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37319 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37320 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37321 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37322 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37323 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37324 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37329 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37330 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37331 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37332 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37333 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37334 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37335 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37336 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37337 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37338 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37339 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37340 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37341 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37342 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37343 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37344 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37345 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37346 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37347 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37348 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37349 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37350 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37351 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37352 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37353 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37354 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37355 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37356 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37357 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37358 * sysdeps/ieee754/k_standard.c: Likewise.
37359 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37363 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37364 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37366 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37368 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37371 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37376 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37378 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37391 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37393 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37394 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37397 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37398 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37399 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37404 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37406 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37407 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37408 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37409 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37410 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37411 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37412 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37413 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37414 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37415 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37416 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37417 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37418 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37419 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37420 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37421 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37422 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37423 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37424 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37425 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37426 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37427 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37428 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37429 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37430 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37431 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37432 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37433 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37434 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37435 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37436 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37437 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37438 * sysdeps/ieee754/s_matherr.c: Likewise.
37439 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37440 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37441 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37442 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37443
965a54a4
JM
374442012-01-26 Joseph Myers <joseph@codesourcery.com>
37445
37446 * crypt/md5.h: Remove __STDC__ conditionals.
37447 * libio/libioP.h: Likewise.
37448 * locale/programs/config.h: Likewise.
37449 * sysdeps/generic/sysdep.h: Likewise.
37450 * sysdeps/i386/asm-syntax.h: Likewise.
37451 * sysdeps/s390/asm-syntax.h: Likewise.
37452 * sysdeps/unix/sysdep.h: Likewise.
37453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37455
7071ad79
JM
374562012-01-26 Joseph Myers <joseph@codesourcery.com>
37457
37458 * libio/libio.h: Remove __STDC__ conditionals.
37459 * malloc/obstack.h: Likewise.
37460 * math/complex.h: Likewise.
37461 * math/math.h: Likewise.
37462 * sysdeps/generic/_G_config.h: Likewise.
37463 * sysdeps/gnu/_G_config.h: Likewise.
37464 * sysdeps/mach/hurd/_G_config.h: Likewise.
37465 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37466 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37467 * sysdeps/sparc/bits/mathdef.h: Likewise.
37468
afc5ed09
UD
374692012-01-26 Ulrich Drepper <drepper@gmail.com>
37470
37471 [BZ #13583]
37472 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37473 Clean up HAS_* macros.
afc5ed09 37474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37475 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37476 possible.
37477 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37478 HAS_AVX.
37479 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37480 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37481 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37482 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37483 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37484
bdb6de1d
JM
374852012-01-25 Joseph Myers <joseph@codesourcery.com>
37486
37487 * elf/tst-unique3.cc (gets): Remove declaration.
37488 * elf/tst-unique3lib.cc (gets): Likewise.
37489 * elf/tst-unique3lib2.cc (gets): Likewise.
37490 * elf/tst-unique4.cc (gets): Likewise.
37491
b15549e6
UD
374922012-01-24 Ulrich Drepper <drepper@gmail.com>
37493
37494 * include/stdio.h: Add C++ protection. Add gets declarations and
37495 definitions.
37496 * debug/tst-chk1.c: Don't declare gets here.
37497 * stdio-common/tst-gets.c: Likewise.
37498
a037381f
JM
374992012-01-24 Joseph Myers <joseph@codesourcery.com>
37500
37501 * posix/glob: Remove directory.
37502
f1d4aa75
JM
375032012-01-24 Joseph Myers <joseph@codesourcery.com>
37504
37505 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37506
81c0c964
PT
375072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37508
37509 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37510 of the non-standard EPFNOSUPPORT.
37511
0ea698ae
ST
375122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37513
37514 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37515 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37516 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37517
d220b117
UD
375182012-01-21 Ulrich Drepper <drepper@gmail.com>
37519
37520 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37521
3e1aa84e
UD
375222012-01-20 Ulrich Drepper <drepper@gmail.com>
37523
37524 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37525 transient errors.
37526 * nscd/grpcache.c (cache_addgr): Likewise.
37527 * nscd/hstcache.c (cache_addhst): Likewise.
37528 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37529 * nscd/pwdcache.c (cache_addpw): Likewise.
37530 * nscd/servicescache.c (cache_addserv): Likewise.
37531
400aa020
UD
375322012-01-16 Ulrich Drepper <drepper@gmail.com>
37533
d77e7869
UD
37534 * malloc/malloc.c: Various cleanups.
37535 * malloc/hooks.c: Likewise.
37536
400aa020
UD
37537 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37538 * stdlib/bug-fmtmsg1.c: New file.
37539
37540 * stdlib/fmtmsg.c (init): Add missing unlock.
37541 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37542
e0a309cf
MP
375432012-01-12 Marek Polacek <polacek@redhat.com>
37544
37545 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37546 and _GNU_SOURCE.
37547
929d11c7
WS
375482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37549
37550 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37551 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37552 macro to ensure uniqueness of label name.
37553 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37554 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37555
41d0e869
UD
375562012-01-11 Ulrich Drepper <drepper@gmail.com>
37557
0cc5ed3b
UD
37558 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37559
41d0e869
UD
37560 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37561 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37562 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37564
a47a831a
UD
375652012-01-10 Ulrich Drepper <drepper@gmail.com>
37566
daa891c0
UD
37567 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37568
37569 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37570 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37571 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37572
e58ef0f2
UD
37573 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37574
a47a831a 37575 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37576 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37577 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37578 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37579
37580 * math/bits/math-finite.h: Add ldexp support.
37581
a0bfc9c7
MP
375822012-01-10 Marek Polacek <polacek@redhat.com>
37583
37584 * locale/programs/localedef.h (show_archive_content): Add noreturn
37585 attribute.
37586
d6e97a1d
UD
375872012-01-09 Ulrich Drepper <drepper@gmail.com>
37588
37589 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37590
d5835c26
UD
375912012-01-08 Ulrich Drepper <drepper@gmail.com>
37592
e5f484c6
UD
37593 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37594
d5835c26
UD
37595 * io/Makefile (headers): Add bits/poll2.h.
37596
d1f741e9
WS
375972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37598
37599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37600 typo #include statement.
37601
ec09c1c4
UD
376022012-01-08 Ulrich Drepper <drepper@gmail.com>
37603
37604 * include/sys/cdefs.h: Define __attribute_alloc_size.
37605 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37606 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37607 * elf/pldd.c: Likewise.
37608 * iconv/iconv_charmap.c: Likewise.
37609 * iconv/iconvconfig.c: Likewise.
37610 * iconv/strtab.c: Likewise.
37611 * locale/programs/locale.c: Likewise.
37612 * locale/programs/localedef.h: Likewise.
37613 * locale/programs/simple-hash.c: Likewise.
37614 * nscd/nscd.h: Likewise.
37615 * nss/makedb.c: Likewise.
37616 * sysdeps/generic/ldconfig.h: Likewise.
37617 * locale/programs/localedef.c: Remove xmalloc prototype.
37618 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37619
20b38e03
PP
376202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37621
37622 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37623 appropriate.
37624
a0da5fe1
UD
376252012-01-08 Ulrich Drepper <drepper@gmail.com>
37626
1d5a644a 37627 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37628 * math/tst-CMPLX.c: New file.
1d5a644a 37629
8784a6db
UD
37630 * math/complex.h (CMPLXL): Fix typo.
37631
d9a216c0
UD
37632 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37633 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37634 GLIBC_2.16.
37635 * debug/tst-chk1.c: Add poll and ppoll tests.
37636 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37637 * include/sys/poll.h: Add hidden proto for ppoll.
37638 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37639 * sysdeps/mach/hurd/ppoll.c: Likewise.
37640 * io/ppoll.c: Likewise.
37641 * debug/poll_chk.c: New file.
37642 * debug/ppoll_chk.c: New file.
37643 * include/bits/poll2.h: New file.
37644 * io/bits/poll2.h: New file.
37645
ac097f5c
UD
37646 [BZ #1350]
37647 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37648
2119dcfa
UD
37649 * configure.in: static is always set to yes. Remove.
37650 * config.make.in: Don't set build-static.
37651 * Makeconfig: Remove use of build-static.
37652 * dlfcn/Makefile: Likewise.
37653 * elf/Makefile: Likewise.
37654 * math/Makefile: Likewise.
37655 * misc/Makefile: Likewise.
37656 * nptl/Makefile: Likewise.
37657 * sysdeps/mach/hurd/Makefile: Likewise.
37658
121766a9
UD
37659 * configure.in: PWD_P is not used anymore.
37660 * config.make.in: Remove PWD_P entry.
37661
51a1d39c 37662 * configure.in: Remove last remnants of RANLIB.
8720d066 37663 No need to check for signed size_t anymore.
215f4bdc
UD
37664 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37665 and IA-64.
3857022a 37666 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37667 * aclocal.m4: Likewise.
37668
d3ed7225
UD
37669 * wcsmbs/mbrtoc16.c: Implement using towc function.
37670 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37671 * wcsmbs/wcsmbsload.c: Likewise.
37672 * iconv/gconv_simple.c: Likewise.
37673 * iconv/gconv_int.h: Likewise.
37674 * iconv/gconv_builtin.h: Likewise.
37675 * iconv/iconv_prog.c: Remove CHAR16 handling.
37676
37677 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37678
37679 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37680
a0da5fe1
UD
37681 * configure.in: Remove --with-elf and --enable-bounded options.
37682 Dont set base_machine for ia64. More non-ELF conditions removed.
37683 Remove testing and setting of leading underscore information.
37684 * config.make.in (build-bounded): Set to no.
37685 * config.h.in: Remove NO_UNDERSCORES entry.
37686 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37687 them.
37688 * csu/start.c: Remove !NO_UNDERSCORE code.
37689 * locale/localeinfo.h: Likewise.
37690 * sysdeps/generic/machine-gmon.h: Likewise.
37691 * sysdeps/generic/sysdep.h: Likewise.
37692 * sysdeps/i386/sysdep.h: Likewise.
37693 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37694 * sysdeps/mach/sysdep.h: Likewise.
37695 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37696 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37697 * sysdeps/sh/sysdep.h: Likewise.
37698 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37699 * sysdeps/unix/i386/sysdep.S: Likewise.
37700 * sysdeps/unix/sparc/start.c: Likewise.
37701 * sysdeps/unix/sparc/sysdep.S: Likewise.
37702 * sysdeps/unix/sparc/sysdep.h: Likewise.
37703 * sysdeps/unix/start.c: Likewise.
37704 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37705 * sysdeps/x86_64/sysdep.h: Likewise.
37706
df78418a
UD
377072012-01-07 Ulrich Drepper <drepper@gmail.com>
37708
a784e502
UD
37709 [BZ #13553]
37710 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37711 for non-gcc.
37712 * argp/argp-fmtstream.h: Use const instead __const.
37713 * argp/argp.h: Likewise.
37714 * assert/assert.h: Likewise.
37715 * bits/fenv.h: Likewise.
37716 * bits/sched.h: Likewise.
37717 * bits/sigset.h: Likewise.
37718 * bits/sigthread.h: Likewise.
37719 * catgets/nl_types.h: Likewise.
37720 * conform/data/pthread.h-data: Likewise.
37721 * crypt/crypt-private.h: Likewise.
37722 * crypt/crypt.h: Likewise.
37723 * crypt/crypt_util.c: Likewise.
37724 * ctype/ctype.h: Likewise.
37725 * debug/execinfo.h: Likewise.
37726 * debug/mbsnrtowcs_chk.c: Likewise.
37727 * debug/mbsrtowcs_chk.c: Likewise.
37728 * debug/wcsnrtombs_chk.c: Likewise.
37729 * debug/wcsrtombs_chk.c: Likewise.
37730 * debug/wcstombs_chk.c: Likewise.
37731 * dirent/dirent.h: Likewise.
37732 * dlfcn/dlfcn.h: Likewise.
37733 * elf/neededtest4.c: Likewise.
37734 * grp/grp.h: Likewise.
37735 * gshadow/gshadow.h: Likewise.
37736 * iconv/gconv.h: Likewise.
37737 * iconv/gconv_int.h: Likewise.
37738 * iconv/gconv_simple.c: Likewise.
37739 * iconv/iconv.h: Likewise.
37740 * iconv/loop.c: Likewise.
37741 * iconv/skeleton.c: Likewise.
37742 * include/aio.h: Likewise.
37743 * include/aliases.h: Likewise.
37744 * include/argz.h: Likewise.
37745 * include/arpa/inet.h: Likewise.
37746 * include/assert.h: Likewise.
37747 * include/dirent.h: Likewise.
37748 * include/dlfcn.h: Likewise.
37749 * include/execinfo.h: Likewise.
37750 * include/fcntl.h: Likewise.
37751 * include/fenv.h: Likewise.
37752 * include/glob.h: Likewise.
37753 * include/grp.h: Likewise.
37754 * include/libintl.h: Likewise.
37755 * include/mntent.h: Likewise.
37756 * include/netdb.h: Likewise.
37757 * include/pwd.h: Likewise.
37758 * include/rpc/netdb.h: Likewise.
37759 * include/sched.h: Likewise.
37760 * include/search.h: Likewise.
37761 * include/shadow.h: Likewise.
37762 * include/signal.h: Likewise.
37763 * include/stdio.h: Likewise.
37764 * include/stdlib.h: Likewise.
37765 * include/string.h: Likewise.
37766 * include/sys/socket.h: Likewise.
37767 * include/sys/stat.h: Likewise.
37768 * include/sys/statfs.h: Likewise.
37769 * include/sys/statvfs.h: Likewise.
37770 * include/sys/syslog.h: Likewise.
37771 * include/sys/time.h: Likewise.
37772 * include/sys/uio.h: Likewise.
37773 * include/time.h: Likewise.
37774 * include/unistd.h: Likewise.
37775 * include/utmp.h: Likewise.
37776 * include/wchar.h: Likewise.
37777 * include/wctype.h: Likewise.
37778 * inet/aliases.h: Likewise.
37779 * inet/arpa/inet.h: Likewise.
37780 * inet/netinet/ether.h: Likewise.
37781 * inet/netinet/in.h: Likewise.
37782 * intl/libintl.h: Likewise.
37783 * io/bits/fcntl2.h: Likewise.
37784 * io/fcntl.h: Likewise.
37785 * io/ftw.h: Likewise.
37786 * io/sys/poll.h: Likewise.
37787 * io/sys/stat.h: Likewise.
37788 * io/sys/statfs.h: Likewise.
37789 * io/sys/statvfs.h: Likewise.
37790 * io/utime.h: Likewise.
37791 * libio/bits/stdio.h: Likewise.
37792 * libio/bits/stdio2.h: Likewise.
37793 * libio/libio.h: Likewise.
37794 * libio/libioP.h: Likewise.
37795 * libio/stdio.h: Likewise.
37796 * locale/lc-ctype.c: Likewise.
37797 * locale/locale.h: Likewise.
37798 * login/utmp.h: Likewise.
37799 * malloc/arena.c: Likewise.
37800 * malloc/malloc.c: Likewise.
37801 * malloc/malloc.h: Likewise.
37802 * malloc/mcheck.c: Likewise.
37803 * malloc/mtrace.c: Likewise.
37804 * math/bits/mathcalls.h: Likewise.
37805 * math/fenv.h: Likewise.
37806 * math/math_private.h: Likewise.
37807 * misc/bits/error.h: Likewise.
37808 * misc/bits/syslog.h: Likewise.
37809 * misc/err.h: Likewise.
37810 * misc/error.h: Likewise.
37811 * misc/fstab.h: Likewise.
37812 * misc/mntent.h: Likewise.
37813 * misc/regexp.h: Likewise.
37814 * misc/search.h: Likewise.
37815 * misc/sgtty.h: Likewise.
37816 * misc/sys/mman.h: Likewise.
37817 * misc/sys/syslog.h: Likewise.
37818 * misc/sys/uio.h: Likewise.
37819 * misc/sys/xattr.h: Likewise.
37820 * misc/ttyent.h: Likewise.
37821 * nis/rpcsvc/ypclnt.h: Likewise.
37822 * nss/nss.h: Likewise.
37823 * posix/bits/unistd.h: Likewise.
37824 * posix/fnmatch.h: Likewise.
37825 * posix/glob.h: Likewise.
37826 * posix/sched.h: Likewise.
37827 * posix/spawn.h: Likewise.
37828 * posix/sys/wait.h: Likewise.
37829 * posix/unistd.h: Likewise.
37830 * posix/wordexp.h: Likewise.
37831 * pwd/pwd.h: Likewise.
37832 * resolv/netdb.h: Likewise.
37833 * resource/sys/resource.h: Likewise.
37834 * rt/aio.h: Likewise.
37835 * rt/bits/mqueue2.h: Likewise.
37836 * rt/mqueue.h: Likewise.
37837 * shadow/shadow.h: Likewise.
37838 * signal/signal.h: Likewise.
37839 * socket/send.c: Likewise.
37840 * socket/sendto.c: Likewise.
37841 * socket/sys/socket.h: Likewise.
37842 * stdio-common/printf.h: Likewise.
37843 * stdlib/bits/stdlib.h: Likewise.
37844 * stdlib/fmtmsg.h: Likewise.
37845 * stdlib/monetary.h: Likewise.
37846 * stdlib/stdlib.h: Likewise.
37847 * stdlib/ucontext.h: Likewise.
37848 * streams/stropts.h: Likewise.
37849 * string/argz.h: Likewise.
37850 * string/bits/string2.h: Likewise.
37851 * string/string.h: Likewise.
37852 * string/strings.h: Likewise.
37853 * sunrpc/rpc/auth.h: Likewise.
37854 * sunrpc/rpc/auth_des.h: Likewise.
37855 * sunrpc/rpc/clnt.h: Likewise.
37856 * sunrpc/rpc/netdb.h: Likewise.
37857 * sunrpc/rpc/pmap_clnt.h: Likewise.
37858 * sunrpc/rpc/xdr.h: Likewise.
37859 * sysdeps/generic/inttypes.h: Likewise.
37860 * sysdeps/generic/net/if.h: Likewise.
37861 * sysdeps/generic/sys/swap.h: Likewise.
37862 * sysdeps/gnu/net/if.h: Likewise.
37863 * sysdeps/gnu/utmpx.h: Likewise.
37864 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37865 * sysdeps/i386/i486/bits/string.h: Likewise.
37866 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37867 * sysdeps/s390/bits/string.h: Likewise.
37868 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37869 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37870 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37871 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37872 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37873 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37874 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37875 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37876 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37877 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37878 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37879 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37880 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37881 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37882 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37883 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37884 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37886 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37887 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37888 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37889 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37890 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37891 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37892 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37893 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37894 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37895 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37896 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37897 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37898 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37899 * sysvipc/sys/ipc.h: Likewise.
37900 * sysvipc/sys/msg.h: Likewise.
37901 * sysvipc/sys/sem.h: Likewise.
37902 * sysvipc/sys/shm.h: Likewise.
37903 * termios/termios.h: Likewise.
37904 * time/sys/time.h: Likewise.
37905 * time/time.h: Likewise.
37906 * wcsmbs/bits/wchar2.h: Likewise.
37907 * wcsmbs/uchar.h: Likewise.
37908 * wcsmbs/wchar.h: Likewise.
37909 * wctype/wctype.h: Likewise.
37910
0269750c
UD
37911 [BZ #13551]
37912 * Makeconfig: Remove all but ELF support including AIX support.
37913 * Makerules: Likewise.
37914 * config.h.in: Likewise.
37915 * config.make.in: Likewise.
37916 * configure: Likewise.
37917 * configure.in: Likewise.
37918 * csu/Makefile: Likewise.
37919 * csu/version.c: Likewise.
37920 * debug/Makefile: Likewise.
37921 * dlfcn/Makefile: Likewise.
37922 * elf/Makefile: Likewise.
37923 * extra-lib.mk: Likewise.
37924 * iconv/Makefile: Likewise.
37925 * include/libc-symbols.h: Likewise.
37926 * include/shlib-compat.h: Likewise.
37927 * resolv/Makefile: Likewise.
37928 * resolv/res_libc.c: Likewise.
37929 * rt/Makefile: Likewise.
37930 * sysdeps/i386/asm-syntax.h: Likewise.
37931 * sysdeps/i386/sysdep.h: Likewise.
37932 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37933 * sysdeps/mach/sysdep.h: Likewise.
37934 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37935 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37936 * sysdeps/s390/asm-syntax.h: Likewise.
37937 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37939 * sysdeps/sh/sysdep.h: Likewise.
37940 * sysdeps/unix/sparc/sysdep.h: Likewise.
37941 * sysdeps/wordsize-32/divdi3.c: Likewise.
37942 * sysdeps/x86_64/sysdep.h: Likewise.
37943
00bbd29b
UD
37944 * argp/Versions: Remove _argp_unlock_xxx.
37945
37946 [BZ #13559]
37947 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37948 * abilist/libBrokenLocale.abilist: Likewise.
37949 * abilist/libanl.abilist: Likewise.
37950 * abilist/libc.abilist: Likewise.
37951 * abilist/libcrypt.abilist: Likewise.
37952 * abilist/libdl.abilist: Likewise.
37953 * abilist/libm.abilist: Likewise.
37954 * abilist/libnsl.abilist: Likewise.
37955 * abilist/libpthread.abilist: Likewise.
37956 * abilist/libresolv.abilist: Likewise.
37957 * abilist/librt.abilist: Likewise.
37958 * abilist/libthread_db.abilist: Likewise.
37959 * abilist/libutil.abilist: Likewise.
37960 * abilist/libnss_db.abilist: New file.
37961
37962 * scripts/abilist.awk: Add support for indirect functions.
37963
a2693a0e
UD
37964 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37965
3f05895f
UD
37966 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37967
ecb6fb48
UD
37968 * shlib-versions: Remove entries for ports architectures.
37969
664f8cb9
UD
37970 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37971 files in ports.
37972 * elf/stackguard-macros.h: Remove support for IA-64.
37973 * elf/tst-auditmod1.c: Likewise.
37974 * sysdeps/generic/ldsodefs.h: Likewise.
37975
7ae81d88
UD
37976 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37977 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37978 configure files.
37979
bdeba135
UD
37980 [BZ #13552]
37981 * configure.in: Remove --enable-omitfp support.
37982 * FAQ.in: Adjust.
37983 * config.make.in: Likewise.
37984 * Makeconfig: Likewise.
37985 * manual/install.texi: Likewise.
37986
d75a0a62
UD
37987 In case anyone cares, the IA-64 architecture could move to ports.
37988 * sysdeps/ia64/*: Removed.
37989 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37990 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37991
dcc9756b
UD
37992 [BZ #13555]
37993 * configure.in: Remove entries for unsupported architectures.
37994
d3761ebc 37995 [BZ #13533]
9954432e
UD
37996 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37997 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37998 routines.
37999 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38000 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38001 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38002 fall back to using wcrtomb.
38003 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38004 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38005 renaming.
38006 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38007 * wcsmbs/tst-c16c32-1.c: New file.
38008
38009 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38010 local variable.
38011
c3a87236
UD
38012 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38013
28926a1b
UD
38014 * elf/tst-unique3.cc: Add explicit declaration of gets.
38015 * elf/tst-unique3lib.cc: Likewise.
38016 * elf/tst-unique3lib2.cc: Likewise.
38017 * elf/tst-unique4.cc: Likewise.
38018
df78418a
UD
38019 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38020
8ecd6b2a
JM
380212012-01-06 Joseph Myers <joseph@codesourcery.com>
38022
38023 [BZ #13566]
38024 * assert/assert.h (static_assert): Don't define for C++.
38025 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38026 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38027
9f115170
UD
380282012-01-03 Ulrich Drepper <drepper@gmail.com>
38029
5e0d0300
UD
38030 * iconv/loop.c (single loop): Fix assertion in storing of
38031 remaining bytes.
38032
9f115170
UD
38033 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38034
81fb02b0
UD
380352012-01-01 Ulrich Drepper <drepper@gmail.com>
38036
38037 * posix/getconf.c: Update copyright year.
38038 * nss/getent.c: Likewise.
a316c1f6 38039 * nss/makedb.c: Likewise.
81fb02b0
UD
38040 * iconv/iconvconfig.c: Likewise.
38041 * iconv/iconv_prog.c: Likewise.
38042 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38043 * elf/pldd.c: Likewise.
38044 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38045 * catgets/gencat.c: Likewise.
38046 * csu/version.c: Likewise.
38047 * elf/ldd.bash.in: Likewise.
38048 * elf/sprof.c (print_version): Likewise.
38049 * locale/programs/locale.c: Likewise.
38050 * locale/programs/localedef.c: Likewise.
a316c1f6 38051 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38052 * nscd/nscd.c (print_version): Likewise.
38053 * debug/xtrace.sh: Likewise.
38054 * malloc/memusage.sh: Likewise.
38055 * malloc/mtrace.pl: Likewise.
38056 * debug/catchsegv.sh: Likewise.
38057
2ba92745
JJ
380582011-12-30 Jakub Jelinek <jakub@redhat.com>
38059
38060 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38061 pure attribute.
38062
dadebdae
UD
380632011-12-24 Ulrich Drepper <drepper@gmail.com>
38064
d3761ebc 38065 [BZ #13533]
db6af3eb
UD
38066 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38067 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38068 transformations.
38069 * iconv/gconv_int.h: Likewise.
38070 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38071 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38072 from libc for GLIBC_2.16.
38073 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38074 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38075 * wcsmbs/uchar.h: Really define mbstate_t.
38076 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38077 * wcsmbs/c16rtomb.c: New file.
38078 * wcsmbs/mbrtoc16.c: New file.
38079 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38080 for C/POSIX locale.
38081 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38082 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38083
dadebdae
UD
38084 * wcsmbs/wchar.h: Add missing __restrict.
38085
67371b56
UD
380862011-12-23 Ulrich Drepper <drepper@gmail.com>
38087
74033a25
UD
38088 [BZ #13532]
38089 * time/Makefile (routines): Add timespec_get.
38090 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38091 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38092 timespec for ISO C11.
38093 * time/timespec_get.c: New file.
38094 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38095 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38096
380d7e87
UD
38097 [BZ #13531]
38098 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38099 * stdlib/stdlib.h: Declare aligned_alloc.
38100 * Versions.def: Add GLIBC_2.16 for libc.
38101 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38102
4e9e7a35
UD
38103 [BZ 13527]
38104 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38105 ISO C11.
38106
380d7e87 38107 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38108 code.
38109
03a71829
UD
38110 [BZ #13528]
38111 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38112
839e283e
UD
38113 [BZ #13529]
38114 * assert/assert.h (static_assert): Define.
38115
ce5294e2 38116 * version.h: Update for 2.16 development version.
90fa7312 38117
8d44e150 38118 [BZ #13526]
d7809905
UD
38119 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38120 _ISOC11_SOURCE.
38121
c0da14cd
UD
38122 * version.h (RELEASE): Bump for 2.15 release.
38123 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38124
530a3249
MP
38125 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38126 Patch by Marek Polacek <mpolacek@redhat.com>.
38127
67371b56
UD
38128 * bits/byteswap.h: Protect long long constants with __extension__.
38129 * sysdeps/i386/bits/byteswap.h: Likewise.
38130 * sysdeps/ia64/bits/byteswap.h: Likewise.
38131 * sysdeps/s390/bits/byteswap.h: Likewise.
38132 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38133
15db4de1
LD
381342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38135
38136 [BZ #13540]
bbe315ea
LD
38137 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38138 destination buffer.
15db4de1
LD
38139 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38140
2b2596b1
MP
381412011-12-23 Marek Polacek <polacek@redhat.com>
38142
38143 * elf/dl-addr.c (determine_info): Add inline keyword.
38144 * elf/tst-auditmod4b.c (check_avx): Likewise.
38145 * elf/tst-auditmod6b.c (check_avx): Likewise.
38146 * elf/tst-auditmod6c.c (check_avx): Likewise.
38147 * elf/tst-auditmod7b.c (check_avx): Likewise.
38148
70c6c246
UD
381492011-12-23 Ulrich Drepper <drepper@gmail.com>
38150
38151 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38152 !__SSE_MATH__.
38153
c044cf14
LD
381542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38155
15db4de1 38156 [BZ #13540]
c044cf14
LD
38157 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38158 processing for last bytes.
38159
6b13d9d9
BH
381602011-08-06 Bruno Haible <bruno@clisp.org>
38161
d455f537
BH
38162 [BZ #13061]
38163 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38164 U+0385, not to U+1FEE.
38165
6b13d9d9
BH
38166 [BZ #13062]
38167 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38168 entry for U+00A5 U+0301.
38169
db910efd
UD
381702011-12-22 Ulrich Drepper <drepper@gmail.com>
38171
27deeafc
UD
38172 [BZ #13166]
38173 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38174 buffer for the output is too small.
38175
aed9d171
UD
38176 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38177 optimization.
38178
db910efd
UD
38179 [BZ #13185]
38180 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38181 SSE flags if possible.
38182
2bd779ae
LD
381832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38184
e7f9dac3 38185 [BZ #13540]
2bd779ae
LD
38186 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38187 processing for last bytes.
38188
154bfc16
JM
381892011-12-22 Joseph Myers <joseph@codesourcery.com>
38190
38191 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38192 (syscall-list-default-options, syscall-list-default-condition)
38193 (syscall-list-includes): Define.
38194 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38195 list of ABIs and options and #if conditions for each ABI. Do not
38196 handle common syscalls between ABIs specially.
38197 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38198 Remove.
38199 (syscall-list-variants, syscall-list-32bit-options)
38200 (syscall-list-32bit-condition, syscall-list-64bit-options)
38201 (syscall-list-64bit-condition): Define.
38202 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38203 (syscall-list-variants, syscall-list-32bit-options)
38204 (syscall-list-32bit-condition, syscall-list-64bit-options)
38205 (syscall-list-64bit-condition): Define.
38206 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38207 Remove.
38208 (syscall-list-variants, syscall-list-32bit-options)
38209 (syscall-list-32bit-condition, syscall-list-64bit-options)
38210 (syscall-list-64bit-condition): Define.
38211 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38212 Remove.
38213 (syscall-list-variants, syscall-list-32bit-options)
38214 (syscall-list-32bit-condition, syscall-list-64bit-options)
38215 (syscall-list-64bit-condition): Define.
38216
21eaf3a5
UD
382172011-12-22 Ulrich Drepper <drepper@gmail.com>
38218
16c6f992
UD
38219 * locale/iso-639.def: Add brx entry.
38220
41043168
UD
38221 [BZ #13328]
38222 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38223 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38224
21eaf3a5
UD
38225 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38226 __feraiseexcept_renamed.
38227
e3a851a2
UD
382282011-12-21 Ulrich Drepper <drepper@gmail.com>
38229
4920765e
UD
38230 [BZ #13538]
38231 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38232 EPOLLET with unsigned values.
38233 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38234 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38235
e3a851a2
UD
38236 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38237 to large cancellation.
38238 * math/s_cacoshf.c: Likewise.
38239 * math/s_cacoshl.c: Likewise.
38240
b27e24b8
RK
382412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38242
38243 [BZ #13305]
aebefeee 38244 [BZ #12786]
b27e24b8
RK
38245 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38246 * math/s_cacoshf.c: Likewise.
38247 * math/s_cacoshl.c: Likewise.
38248
ee190f67
UD
382492011-12-21 Ulrich Drepper <drepper@gmail.com>
38250
38251 [BZ #13439]
38252 * iconv/gconv.h: Define __GCONV_SWAP.
38253 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38254 * iconvdata/utf-16.c: Likewise.
38255 * iconvdata/utf-32.c: Likewise.
38256
707f25df
AS
382572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38258
38259 [BZ #13524]
38260 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38261 numerator after shifting it by one limb.
38262
d2daaa1e
RÁE
382632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38264
38265 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38266 under [__USE_EXTERN_INLINES].
38267
a4647e72
UD
382682011-12-17 Ulrich Drepper <drepper@gmail.com>
38269
38270 [BZ #13446]
38271 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38272
f0b264f1
AZ
382732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38274
38275 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38276 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38277 optimized code.
38278 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38279 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38280 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38281 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38282 for strncasecmp/strncasecmp_l compilation.
38283 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38284 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38285
8ef4f244
MP
382862011-12-08 Marek Polacek <mpolacek@redhat.com>
38287
38288 [BZ #13484]
38289 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38290 of __asm__.
38291
97ac2654
UD
382922011-12-17 Ulrich Drepper <drepper@gmail.com>
38293
38294 [BZ #13506]
38295 * time/tzfile.c (__tzfile_read): Check values from file header.
38296
91d2a845
WS
382972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38298
38299 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38300 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38301 * powerpc/powerpc32/dl-start.S: Likewise.
38302 * powerpc/powerpc32/elf/start.S: Likewise.
38303 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38304 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38305 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38306 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38307 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38308 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38309 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38310 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38311 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38312 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38313 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38314 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38315 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38316 * powerpc/powerpc32/memset.S: Likewise.
38317 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38318 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38319 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38320 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38321 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38322 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38323 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38324 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38325 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38326 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38327 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38328 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38329 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38330
a1267ba1
AZ
383312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38332
38333 * math/libm-test.inc: Added more nearbyint tests.
38334 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38335 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38337 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38338
ad8ac1bd
RL
383392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38340
38341 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38342 FD_CLOEXEC.
38343
1d3e4b61
UD
383442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38345
38346 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38347 Add wcscpy-ssse3 wcscpy-c.
38348 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38349 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38350 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38351 * sysdeps/x86_64/wcschr.S: New file.
38352 * sysdeps/x86_64/wcsrchr.S: New file.
38353 * string/test-strcmp.c: Remove checking of wcscmp function for
38354 wrong alignments.
38355 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38356 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38357 wcsrchr-sse2 wcsrchr-c.
38358 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38359 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38360 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38361 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38362 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38363 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38364 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38365 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38366 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38367 * wcsmbc/wcschr.c (WCSCHR): New macro.
38368
5b330a2d
UD
383692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38370
38371 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38372 * wcsmbs/test-wcsrchr.c: New file.
38373 * string/test-strrchr.c: Add wcsrchr support.
38374 (WIDE): New macro.
38375 * wcsmbs/test-wcscpy.c: New file.
38376 * string/test-strcpy.c: Add wcscpy support.
38377 (WIDE): New macro.
26428b7c 38378
f039c043
UD
383792011-12-10 Ulrich Drepper <drepper@gmail.com>
38380
38381 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38382 the inner loop.
38383
850fb039
AS
383842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38385
38386 [BZ #13472]
38387 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38388
4efbd5cb
UD
383892011-12-04 Ulrich Drepper <drepper@gmail.com>
38390
52ff5dd0 38391 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38392 Minor optimizations.
52ff5dd0 38393
4efbd5cb
UD
38394 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38395 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38396 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38397
8a426e12
UD
383982011-12-03 Ulrich Drepper <drepper@gmail.com>
38399
aff2453d
UD
38400 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38401 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38402 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38403 for gcc to avoid warnings.
38404 * inet/Makefile (tests): Add tst-checks.
38405 * inet/tst-checks.c: New file.
38406
38407 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38408 warning.
38409
38410 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38411 __wmemcmp_sse2.
38412
38413 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38414 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38415
8a426e12
UD
38416 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38417
9bea3473
UD
384182011-12-02 Ulrich Drepper <drepper@gmail.com>
38419
3a965496
UD
38420 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38421 problem.
38422
9bea3473
UD
38423 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38424
f101631b
UD
384252011-11-29 Joseph Myers <joseph@codesourcery.com>
38426
38427 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38428 conditional on GCC version.
38429 (__arch_compare_and_exchange_val_8_acq)
38430 (__arch_compare_and_exchange_val_16_acq)
38431 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38432 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38433 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38434
a98275aa
UD
384352011-12-02 Joseph Myers <joseph@codesourcery.com>
38436
38437 * sysdeps/sh/backtrace.c: New file.
38438
d4cc29a2
AS
384392011-12-02 Andreas Schwab <schwab@redhat.com>
38440
38441 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38442 parenthesis.
38443
6257af2d
AS
384442011-12-01 Andreas Schwab <schwab@redhat.com>
38445
38446 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38447 falling back to utime.
38448
b5f44c1a
AS
384492011-11-30 Andreas Schwab <schwab@redhat.com>
38450
38451 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38452 expectations for float.
38453
f3a6cc0a
AS
384542011-11-29 Andreas Schwab <schwab@redhat.com>
38455
38456 * locale/weight.h (findidx): Add parameter len.
38457 * locale/weightwc.h (findidx): Likewise.
38458 * posix/fnmatch_loop.c (FCT): Adjust caller.
38459 * posix/regcomp.c (build_equiv_class): Likewise.
38460 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38461 * posix/regexec.c (check_node_accept_bytes): Likewise.
38462 * string/strcoll_l.c (STRCOLL): Likewise.
38463 * string/strxfrm_l.c (STRXFRM): Likewise.
38464
9d65ea3a
UD
384652011-11-17 Ulrich Drepper <drepper@gmail.com>
38466
38467 * Makefile.in: Remove CVSOPT handling.
38468 * configure.in: Remove use of AC_REVISION.
38469 * iconvdata/Makefile (distribute): No need to filter out CVS.
38470 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38471 handling.
38472
5583a086
AS
384732011-11-16 Andreas Schwab <schwab@redhat.com>
38474
38475 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38476 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38477 [USE_AS_STRNCASECMP_L]: Likewise.
38478 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38479 NO_TLS_DIRECT_SEG_REFS.
38480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38481 Fix argument offsets for non-PIC.
38482 [USE_AS_STRNCASECMP_L]: Likewise.
38483 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38484 NO_TLS_DIRECT_SEG_REFS.
38485
d62a8200
UD
384862011-11-15 Ulrich Drepper <drepper@gmail.com>
38487
9d65ea3a 38488 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38489 O_CLOEXEC.
38490 * locale/loadlocale.c (_nl_load_locale): Likewise.
38491
09f93bd3
AS
384922011-11-15 Andreas Schwab <schwab@redhat.com>
38493
446514f9
AS
38494 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38495 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38496 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38497 (SYSCALL_GETTIME): Set errno on error.
38498
09f93bd3
AS
38499 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38500 count references to noai6ai_cached.
38501
312be3f9
UD
385022011-11-15 Ulrich Drepper <drepper@gmail.com>
38503
38504 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38505
38506 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38507 FD_CLOEXEC for /proc/self/maps.
38508
38509 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38510 FD_CLOEXEC for /proc/meminfo.
38511
38512 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38513 gai.conf.
38514
38515 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38516 FD_CLOEXEC for given file.
38517
38518 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38519
38520 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38521 FD_CLOEXEC for /etc/hosts.
38522 (_gethtent): Likewise.
38523
38524 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38525
38526 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38527 cancellation and set FD_CLOEXEC for /etc/netgroup.
38528
38529 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38530 reading /etc/publickey.
38531
38532 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38533 allow cancellation when reading /etc/group.
38534
38535 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38536 cancellation.
38537 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38538
38539 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38540 when using data file.
38541
38542 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38543
38544 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38545 (write_nis_obj): Use "c" and "e" in fopen.
38546
38547 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38548
38549 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38550
38551 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38552
38553 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38554
38555 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38556 locale.alias.
38557
38558 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38559
38560 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38561
38562 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38563
38564 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38565 file parsing and set FD_CLOEXEC.
38566
82af0fa8
UD
385672011-11-14 Ulrich Drepper <drepper@gmail.com>
38568
38569 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38570
a5fb313c
AS
385712011-11-14 Andreas Schwab <schwab@redhat.com>
38572
38573 * malloc/arena.c (arena_get2): Don't call reused_arena when
38574 _int_new_arena failed.
38575
6abf3465
UD
385762011-11-14 Ulrich Drepper <drepper@gmail.com>
38577
38578 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38579 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38580 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38581 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38582 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38583 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38584 to compile strcasecmp and strncasecmp.
38585 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38586 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38587
38588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38589
76e3966e
UD
385902011-11-13 Ulrich Drepper <drepper@gmail.com>
38591
38592 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38593 locale-defines.sym to gen-as-const-headers.
38594 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38595 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38597 to compile strcasecmp and strncasecmp.
38598 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38599 strcasecmp_l and strncasecmp_l.
38600 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38601 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38602 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38603 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38604 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38605 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38606 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38607 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38608 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38609 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38610 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38611
ab26144e
UD
386122011-11-12 Ulrich Drepper <drepper@gmail.com>
38613
7edb22ef
UD
38614 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38615 result of SYSDEP_GETTIME_CPU to retval.
38616 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38617 parameter list to macro. Remove trailing semicolon. Adjust users.
38618
9694fc44
UD
38619 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38620 variable.
38621
8ad89ef8
UD
38622 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38623 mantissa words.
38624 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38625
0c822ef9
UD
38626 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38627 from unused variable.
38628
874e0564
UD
38629 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38630 DWARF definitions.
38631 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38632 for assembling.
38633
3a2edc79
UD
38634 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38635 over namespaces.
38636
f3c2577f
UD
38637 * sunrpc/rpc_prot.c (rejected): Fix case value.
38638
294ce126
UD
38639 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38640 unsigned long long int to avoid warnings in shift.
38641
5e2b63c6
UD
38642 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38643 of use of trans.
38644 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38645 variable tmp.
38646
e7f4b08e
UD
38647 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38648 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38649 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38650
ab26144e
UD
38651 * nis/nis_table.c (nis_list): Use variable of correct type for
38652 result of __follow_path call.
38653
8a6d5255
AZ
386542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38655
38656 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38657 of math functions ceil, trunc, floor, round, and sqrt, when
38658 avaliable on the platform.
38659 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38660 name clash.
38661 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38662 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38663 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38664
aaddc98c
MP
386652011-10-30 Marek Polacek <mpolacek@redhat.com>
38666
38667 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38668 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38669
95b7042b
RM
386702011-11-11 Roland McGrath <roland@hack.frob.com>
38671
38672 * include/unistd.h: Fix __readlink return type.
38673 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38674
57769839
UD
386752011-11-11 Ulrich Drepper <drepper@gmail.com>
38676
38677 * stdlib/ucontext.h: Undo last change for makecontext.
38678
edc5984d
AS
386792011-11-11 Andreas Schwab <schwab@redhat.com>
38680
98591e58
AS
38681 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38682
edc5984d
AS
38683 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38684 * setjmp/setjmp.h: Mark functions as non-leaf.
38685 * setjmp/bits/setjmp2.h: Likewise.
38686 * stdlib/ucontext.h: Likewise.
38687
77cdc054
AS
386882011-11-10 Andreas Schwab <schwab@redhat.com>
38689
38690 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38691 (reused_arena): Don't check arena limit.
38692 (arena_get2): Atomically check arena limit.
38693
fe72eebd
UD
386942011-11-08 Ulrich Drepper <drepper@gmail.com>
38695
5f078c32
UD
38696 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38697 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38698
fe72eebd
UD
38699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38700 instructions.
38701
ae1bc2fa
AS
387022011-11-07 Andreas Schwab <schwab@redhat.com>
38703
7583a88d
AS
38704 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38705 handler when locking.
38706
ae1bc2fa
AS
38707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38708 Fix size of allocated buffer.
38709
10fb0bfa
AS
387102011-11-04 Andreas Schwab <schwab@redhat.com>
38711
998832a4
AS
38712 [BZ #10103]
38713 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38714 declarations for long double functions.
38715 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38716
10fb0bfa
AS
38717 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38718
3d7ba52b
AS
387192011-11-03 Andreas Schwab <schwab@redhat.com>
38720
a9ae54a1
AS
38721 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38722 installed.
38723
3d7ba52b
AS
38724 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38725 is disabled.
38726
bc8db248
ST
387272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38728
38729 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38730
45b96dd6
AS
387312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38732
647776f6
AS
38733 * include/alloca.h (stackinfo_alloca_round): Define.
38734 (extend_alloca): Use it.
38735 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38736 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38737 here.
38738
d91a8b93
AS
38739 * scripts/check-local-headers.sh: Ignore libaudit.h.
38740
45b96dd6
AS
38741 * nscd/Makefile (extra-objs): Make recursively expanded.
38742
432d41ce
UD
387432011-11-01 Ulrich Drepper <drepper@gmail.com>
38744
34372fc6
UD
38745 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38746 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38747
fadb59f8
UD
38748 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38749 * posix/tst-rfc3484-2.c: Likewise.
38750 * posix/tst-rfc3484-3.c: Likewise.
38751
78239589
UD
38752 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38753 process_vm_writev.
38754 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38755 process_vm_writev.
38756 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38757 process_vm_writev from libc using GLIBC_2.15 version.
38758
432d41ce
UD
38759 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38760
02f9c6cf
PP
387612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38762
38763 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38764 stack usage.
38765
3a2c0242
UD
387662011-10-31 Ulrich Drepper <drepper@gmail.com>
38767
f4ec4833
UD
38768 [BZ #13367]
38769 * nss/getent.c (initgroups_keys): Show error message in case no group
38770 names are given.
38771
3a2c0242
UD
38772 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38773 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38774 __bump_nl_timestamp.
38775 * nscd/connections (nscd_init): When host database is served open
38776 netlink socket and request notification about configuration changes.
38777 (main_loop_poll): Track netlink file descriptor and bump timestamp
38778 in case data becomes available.
38779 (main_loop_epoll): Likewise.
38780 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38781 (database_pers_head): Add extra_data fileds.
38782 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38783 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38784 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38785 Adjust caller.
38786 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38787 in6ai data, call __free_in6ai.
38788 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38789 Add -DHAVE_NETLINK.
38790 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38791 interface information. Reuse previous data if netlink timestamp
38792 is not changed.
38793 (__bump_nl_timestamp): New function.
38794 (__free_in6ai): New function.
38795
636064eb
UD
387962011-10-30 Ulrich Drepper <drepper@gmail.com>
38797
38798 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38799 close_not_cancel_no_status here.
38800 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38801
9beb2334
UD
388022011-10-29 Ulrich Drepper <drepper@gmail.com>
38803
6ef76f3b
UD
38804 [BZ #13276]
38805 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38806 return value.
38807
0ffc4f3e 38808 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38809 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38810 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38811
cb95113e
UD
388122011-07-03 Andreas Jaeger <aj@suse.de>
38813
38814 [BZ #10709]
38815 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38816 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38817 * math/libm-test.inc (sin_test): Add test case.
38818
a1b560ff
UD
388192011-10-29 Ulrich Drepper <drepper@gmail.com>
38820
c9aaface
UD
38821 [BZ #13337]
38822 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38823 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38824
d272e7f1
UD
38825 * elf/chroot_canon.c (chroot_canon): Cleanups.
38826
1bc33071
UD
38827 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38828
1760874d
TJ
38829 [BZ #13335]
38830 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38831 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38832
51d91b18
UD
38833 * string/test-strchr.c: Make usable for strchrnul testing.
38834 * string/test-strchrnul.c: New file.
38835 * string/Makefile (strop-tests): Add strchrnul.
38836
a1b560ff 38837 * po/it.po: Update from translation team.
b611fb81 38838 * po/es.po: Likewise.
a1b560ff 38839
a5b81e1f
UD
388402011-10-28 Ulrich Drepper <drepper@gmail.com>
38841
fd52bc6d
UD
38842 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38843 the three constants needed as parameters. Drop the others.
38844 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38845 __m128i_strloadu_tolower.
52e4b9eb
UD
38846 Create and initialize variable zero and use it in all the places
38847 where _mm_setzero_si128 was used.
fd52bc6d 38848
a5b81e1f
UD
38849 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38850 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38851 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38852 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38853 anymore.
38854 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38855 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38856 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38857 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38858 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38859 __mpranred, __mptan.
38860 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38861 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38862 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38863 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38864 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38865 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38866 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38867 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38868 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38869
b4343346
AS
388702011-10-28 Andreas Schwab <schwab@redhat.com>
38871
0c92d8a8
AS
38872 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38873 redefine if SHARED.
38874 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38875
b4343346
AS
38876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38877 wide char related routines to wcsmbs subdir.
38878
3871f58f
AS
388792011-10-27 Andreas Schwab <schwab@redhat.com>
38880
38881 [BZ #13344]
38882 * misc/sys/cdefs.h (__THROWNL): Define.
38883 * posix/unistd.h: Use __THREADNL instead of __THREAD
38884 for memory synchronization functions.
38885
94d44d9f
RM
388862011-10-26 Roland McGrath <roland@hack.frob.com>
38887
21b64b15 38888 [BZ #13349]
94d44d9f
RM
38889 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38890 doesn't exist.
38891 * manual/stdio.texi (Obstack Streams): Node removed.
38892
f6ce9294
AS
388932011-10-26 Andreas Schwab <schwab@redhat.com>
38894
80479147
AS
38895 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38896 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38897 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38898
f6ce9294
AS
38899 * math/math_private.h (math_force_eval): Allow non-addressable
38900 arguments.
38901 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38902
618280a1
UD
389032011-10-25 Ulrich Drepper <drepper@gmail.com>
38904
e0016b11
UD
38905 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38906 file is not needed.
38907
38908 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38909 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38910 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38911 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38912 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38913 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38914 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38915 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38916 Add AVX variants.
38917 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38918 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38919 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38920 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38921 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38922 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38923 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38924 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38925 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38926 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38927 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38928 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38929 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38930 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38931 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38932 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38933 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38934 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38935 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38936
38937 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38938 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38939
618280a1
UD
38940 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38941 place. Use VEX encoding when compiling for AVX.
38942
37822576
AS
389432011-10-25 Andreas Schwab <schwab@redhat.com>
38944
1f1e1947
AS
38945 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38946 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38947
37822576
AS
38948 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38949
31ea014d
UD
389502011-10-25 Ulrich Drepper <drepper@gmail.com>
38951
d7826aa1 38952 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38953 useless if() expression.
d7826aa1
UD
38954 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38955 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38956 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38957 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38958 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38959 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38960 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38961 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38962 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38964 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38965 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38966 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38967 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38968 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38969 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38970 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38971 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38972 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38973
31ea014d
UD
38974 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38975
16437fec
AS
389762011-10-25 Andreas Schwab <schwab@redhat.com>
38977
38978 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38979 condition.
38980 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38981
31d3cc00
UD
389822011-10-25 Ulrich Drepper <drepper@gmail.com>
38983
38984 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38985 .text section. Avoid duplicate constants.
38986 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38987 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38988 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38990 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38996 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38998 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38999 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39001 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39003 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39009 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39010 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39011 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39012 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39013 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39014 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39015 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39016 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39017 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39018 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39019 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39020 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39021 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39022 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39023 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39024 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39025 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39026 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39027 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39028 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39029 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39030 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39031
58985aa9
UD
390322011-10-24 Ulrich Drepper <drepper@gmail.com>
39033
202c9deb
UD
39034 * sysdeps/x86_64/dla.h: Move to ...
39035 * sysdeps/x86_64/fpu/dla.h: ...here.
39036 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39037 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39038
af968f62
UD
39039 * config.make.in: Add have-mfma4 entry.
39040 * configure.in: Substitute libc_cv_cc_fma4.
39041 * math/Makefile (dbl-only-routines): Add sincostab.
39042 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39043 Use __sincostab not sincos.
39044 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39045 name is a macro.
39046 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39047 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39048 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39050 using __copysign.
39051 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39052 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39053 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39054 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39055 and __inv.
39056 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39057 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39058 __copysign.
39059 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39060 define aliases when function name is a macro.
39061 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39062 sysdeps/ieee754/dbl-64/sincos.tbl.
39063 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39064 fma4-enabled routines.
39065 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39066 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39067 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39068 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39069 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39070 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39071 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39072 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39073 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39074 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39075 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39076 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39077 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39078 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39079 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39080 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39081 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39082 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39083 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39084 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39085 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39086 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39087 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39088 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39089 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39090 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39091 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39092 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39093 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39094 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39095
58985aa9
UD
39096 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39097 rename.
39098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39106
a201fbcf
AS
391072011-10-24 Andreas Schwab <schwab@redhat.com>
39108
39109 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39110
fc2ee42a
LD
391112011-10-23 Ulrich Drepper <drepper@gmail.com>
39112
bb3129bd
UD
39113 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39114
0275fff8
UD
39115 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39116 prediction.
39117 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39118
2fa2ae85
UD
39119 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39120 Remove unused variable magic_bits.
39121 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39122
fc2ee42a
LD
39123 * string/strnlen.c: Define and use STRNLEN macro.
39124 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39125 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39126 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39127 * wcsmbs/wcslen.c: Define and use WCSLEN.
39128 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39129 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39130 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39131 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39132 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39133 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39134 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39135
ce7dd29f
LD
391362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39137
39138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39139 strnlen-sse2-no-bsf.
39140 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39141 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39142 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39143 Add strnlen support.
39144 (USE_AS_STRNLEN): New macro.
39145 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39146 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39147 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39148 * sysdeps/x86_64/wcslen.S: New file.
39149
979c70a3
MZ
391502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39151
39152 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39153 XMM-moves are used for copying on small sizes.
39154
2d09f82f
LD
391552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39156
39157 * wcsmbs/Makefile (strop-tests): Add wcschr.
39158 * wcsmbs/test-wcschr.c: New file.
39159 * string/test-strchr.c: Update.
39160 Add wcschr support.
39161 (WIDE): New macro.
39162
619fccca
LD
391632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39164
2d09f82f 39165 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39166 * wcsmbs/test-wcslen.c: New file.
39167 * string/test-strlen.c: Update.
39168 Add wcslen support.
39169 (WIDE): New macro.
39170
09f699ea
UD
391712011-10-23 Ulrich Drepper <drepper@gmail.com>
39172
39173 * po/it.po: Update from translation team.
39174
95584d3b
LD
391752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39176
39177 * sysdeps/x86_64/wcscmp.S: Update.
39178 Fix wrong comparison semantics.
39179 wcscmp shall use signed comparison not unsigned.
39180 Don't use substraction to avoid overflow bug.
39181 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39182 * wcsmbc/wcscmp.c: Likewise.
39183 * string/test-strcmp.c: Likewise.
39184 Add new tests to check cases with negative values.
39185
c8b3296b
UD
391862011-10-23 Ulrich Drepper <drepper@gmail.com>
39187
39188 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39189 * sysdeps/x86_64/dla.h: ...here. New file.
39190 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39195 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39197 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39198 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39199
246ad57a
AS
392002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39201
39202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39203 __ynl_finite aliases.
39204
a1a87169
UD
392052011-10-22 Ulrich Drepper <drepper@gmail.com>
39206
0d355eb7
UD
39207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39208
a1a87169
UD
39209 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39210 define DLA_FMA.
39211 [DLA_FMA] (EMULV): Use DLA_FMA.
39212 [DLA_FMA] (MUL12): Use EMULV.
39213 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39214 that are not needed.
39215 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39220 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39222
ee2aafe0
AS
392232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39224
39225 * math/s_nan.c: Undef __nan.
39226 * math/s_nanf.c: Undef __nanf.
39227 * math/s_nanl.c: Undef __nanl.
39228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39229 "math_private.h".
39230
bc62c2fb
UD
392312011-10-22 Ulrich Drepper <drepper@gmail.com>
39232
77425c63
UD
39233 * math/s_catan.c: Add branch predictions.
39234 * math/s_catanf.c: Likewise.
39235 * math/s_catanh.c: Likewise.
39236 * math/s_catanhf.c: Likewise.
39237 * math/s_catanhl.c: Likewise.
39238 * math/s_catanl.c: Likewise.
39239 * math/s_cexp.c: Likewise.
39240 * math/s_cexpf.c: Likewise.
39241 * math/s_cexpl.c: Likewise.
39242 * math/s_clog.c: Likewise.
39243 * math/s_clog10.c: Likewise.
39244 * math/s_clog10f.c: Likewise.
39245 * math/s_clog10l.c: Likewise.
39246 * math/s_clogf.c: Likewise.
39247 * math/s_clogl.c: Likewise.
39248 * math/s_csqrt.c: Likewise.
39249 * math/s_csqrtf.c: Likewise.
39250 * math/s_csqrtl.c: Likewise.
39251 * math/s_ctanf.c: Likewise.
39252 * math/s_ctanh.c: Likewise.
39253 * math/s_ctanhf.c: Likewise.
39254 * math/s_ctanhl.c: Likewise.
39255 * math/s_ctanl.c: Likewise.
39256
bc62c2fb
UD
39257 * math/math_private.h: Define __nan, __nanf, __nanl.
39258 * math/s_cacosh.c: Include <math_private.h>.
39259 * math/s_cacoshl.c: Likewise.
39260 * math/s_casinh.c: Likewise.
39261 * math/s_casinhf.c: Likewise.
39262 * math/s_casinhl.c: Likewise.
39263 * math/s_ccos.c: Rely entire on ccosh.
39264 * math/s_ccosf.c: Rely entire on ccoshf.
39265 * math/s_ccosl.c: Rely entirely on ccoshl.
39266 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39267 Remove tests for FE_INVALID.
39268 * math/s_ccoshf.c: Likewise.
39269 * math/s_ccoshl.c: Likewise.
39270 * math/s_csin.c: Likewise.
39271 * math/s_csinf.c: Likewise.
39272 * math/s_csinh.c Likewise.
39273 * math/s_csinhf.c: Likewise.
39274 * math/s_csinhl.c: Likewise.
39275 * math/s_csinl.c: Likewise.
39276 * math/s_ctan.c: Likewise.
39277 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39278 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39279 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39280
8ec250a4
UD
392812011-10-21 Ulrich Drepper <drepper@gmail.com>
39282
c196fed8
UD
39283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39284 compilation problems.
39285
8ec250a4
UD
39286 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39287 __builtin_expect.
39288
8d4f46c6
UD
392892011-10-20 Ulrich Drepper <drepper@gmail.com>
39290
ed72b654
UD
39291 * sysdeps/i386/configure.in: Test for -mfma4 option.
39292 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39293 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39294 COMMON_CPUID_INDEX_80000001.
39295 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39296 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39297 use it if FMA3 is not supported.
39298 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39299
8d4f46c6
UD
39300 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39301 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39302
d45c60c2
AS
393032011-10-20 Andreas Schwab <schwab@redhat.com>
39304
39305 [BZ #12892]
39306 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39307 it would create a cycle with a link time dependency.
39308
d9a4d2ab
UD
393092011-10-19 Ulrich Drepper <drepper@gmail.com>
39310
855d1560
UD
39311 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39312 instruction.
39313 * string/Makefile (strop-tests): Add rawmemchr.
39314 * string/test-rawmemchr.c: New file.
39315
d9a4d2ab
UD
39316 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39317 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39318 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39319 when compiling str{,n}casecmp and when AVX is available. Hook up
39320 new optimized code in initializers.
39321
8f3b1ffe
AS
393222011-10-19 Andreas Schwab <schwab@redhat.com>
39323
39324 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39325 __feraiseexcept instead of feraiseexcept.
39326
d38f1dba
UD
393272011-10-18 Ulrich Drepper <drepper@gmail.com>
39328
d9a8d0ab
UD
39329 * math/math_private.h: Define defaults for libc_fetestexcept and
39330 libc_feupdateenv.
39331 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39332 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39333 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39334 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39335 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39336 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39337 libc_fetestexcept and libc_feupdateenv.
39338
4855e3dd
UD
39339 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39340 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39341 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39342 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39343 libc_feholdexcept_setround.
39344
581d30e3
UD
39345 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39346 Add s_nearbyint-c and s_nearbyintf-c.
39347 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39348 nearbyintf inlines.
39349 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39350 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39351 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39352 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39353
d38f1dba
UD
39354 * math/math_private.h: Define defaults for libc_fegetround,
39355 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39356 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39357 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39358 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39359 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39360 standard functions.
39361 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39362 Remove comments and hacks for old compiler versions.
39363 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39364 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39365 libc_feholdexceptl.
39366
caa6c9d8
AS
393672011-10-18 Andreas Schwab <schwab@redhat.com>
39368
39369 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39370 (__feraiseexcept_renamed): Add __NTH.
39371 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39372 namespace violations.
39373
97c066e6
UD
393742011-10-17 Ulrich Drepper <drepper@gmail.com>
39375
99ce7b04
UD
39376 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39377
1004d182
UD
39378 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39379
228a984d
UD
39380 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39381 recently added interfaces.
39382 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39383
c8553a6a
UD
39384 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39385 about macro parameter expansion.
39386
ed22dcf6
UD
39387 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39388 __NO_MATH_INLINES is defined. Cleanups.
39389
39390 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39391 and __floorf is target has SSE4.1.
39392 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39393 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39394 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39395 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39396
b171c137
UD
39397 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39398 name.
39399 (floorf): Likewise.
39400
97c066e6
UD
39401 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39402
629f62ef
AS
394032011-10-17 Andreas Schwab <schwab@redhat.com>
39404
49a43d80
AS
39405 * misc/sys/cdefs.h: Fix last change.
39406
629f62ef
AS
39407 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39408 database lookup.
39409
e453f6cd
UD
394102011-10-16 Ulrich Drepper <drepper@gmail.com>
39411
aa78043a
UD
39412 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39413
ad0f5cad
UD
39414 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39415 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39420 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39421 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39422 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39423 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39424 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39425 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39426 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39427 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39428 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39429 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39430 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39431 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39432 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39433 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39434 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39435 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39436
39437 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39438 ceil, ceilf, floor, floorf.
39439
39440 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39441 Perform IRELATIVE relocations last.
39442
e453f6cd
UD
39443 * elf/do-rel.h: Add another parameter nrelative, replacing the
39444 local variable with the same name. Change name of the function
39445 to end in Rel or Rela (uppercase).
39446 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39447 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39448 elf_dynamic_do_##reloc function.
39449
fd5bdc09
UD
394502011-10-15 Ulrich Drepper <drepper@gmail.com>
39451
79b195b5
UD
39452 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39453 is sufficient, at least on modern CPUs.
39454
d4a28569
UD
39455 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39456
b61099b5
UD
39457 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39458 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39459
bcf01e6d
UD
39460 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39461 __expl_finite.
39462 * math/bits/math-finite.h: Add entries for exp.
39463 * math/e_expl.c: Add __*_finite alias.
39464 * sysdeps/i386/fpu/e_exp.S: Likewise.
39465 * sysdeps/i386/fpu/e_expf.S: Likewise.
39466 * sysdeps/i386/fpu/e_expl.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39468 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39469 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39470 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39472 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39473 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39474
ba1a0d59
UD
39475 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39476 is sufficient, at least on modern CPUs.
39477
fd5bdc09
UD
39478 * ctype/ctype-info.c (__ctype_init): Define.
39479 * include/ctype.h (__ctype_init): Declare.
39480 (__ctype_b_loc): The variable is always initialized.
39481 (__ctype_toupper_loc): Likewise.
39482 (__ctype_tolower_loc): Likewise.
39483 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39484 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39485
7872cfb0
AS
394862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39487
b468825a
AS
39488 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39489
7872cfb0
AS
39490 * configure.in: Also look in $cxxmachine/include for C++ system
39491 headers.
39492
be13f7bf
LD
394932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39494
39495 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39496 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39497 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39498 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39499 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39500 (USE_AS_WMEMCMP): New macro.
39501 Fixing indents.
39502 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39503 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39504 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39505 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39507 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39508 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39509 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39510 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39511 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39512 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39513 (USE_AS_WMEMCMP): New macro.
39514 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39515 * sysdeps/string/test-memcmp.c: Update.
39516 Fix simple_wmemcmp.
39517 Add new tests.
39518 * wcsmbs/wmemcmp.c: Update.
39519 (WMEMCMP): New macro.
39520 Fix overflow bug.
39521
556a2007
AJ
395222011-10-12 Andreas Jaeger <aj@suse.de>
39523
39524 [BZ #13268]
39525 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39526
538faaa7
UD
395272011-10-15 Ulrich Drepper <drepper@gmail.com>
39528
ab6737ff
UD
39529 * libio/iofwide.c (do_length): Avoid warning.
39530
538faaa7
UD
39531 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39532
396a21b1
UD
395332011-10-14 Ulrich Drepper <drepper@gmail.com>
39534
cdf2901f
UD
39535 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39536
38ad40ce
UD
39537 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39538 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39539 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39540 * sysdeps/i386/i686/fpu/e_log.S: New file.
39541 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39542 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39543
396a21b1
UD
39544 * ctype/ctype.h: Add support for inlined isXXX functions when
39545 compiling C++ code.
39546
6b1f68c9
AS
395472011-10-14 Andreas Schwab <schwab@redhat.com>
39548
349290c0
AS
39549 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39550
6b1f68c9
AS
39551 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39552
f2282d42
RM
395532011-10-13 Roland McGrath <roland@hack.frob.com>
39554
39555 [BZ #13291]
39556 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39557
5298ffa8
AS
395582011-10-13 Andreas Schwab <schwab@redhat.com>
39559
714fad23
AS
39560 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39561 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39562 feraiseexcept.
39563
81dcc7fb
AS
39564 * sysdeps/x86_64/memrchr.S: Check for zero size.
39565
5298ffa8
AS
39566 * string/stratcliff.c: Add memrchr tests.
39567
951fbcec
LD
395682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39569
39570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39571 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39572 rawmemchr-sse2 rawmemchr-sse2-bsf.
39573 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39574 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39575 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39576 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39577 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39578 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39579 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39580 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39581 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39582 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39583 * string/memrchr.c (MEMRCHR): New macro.
39584
0ac5ae23
UD
395852011-10-12 Ulrich Drepper <drepper@gmail.com>
39586
39587 Add integration with gcc's -ffinite-math-only and optimize wrapper
39588 functions in libm.
39589 * Versions.def: Define GLIBC_2.15 version for libm.
39590 * math/Makefile (headers): Add bits/math-finite.h.
39591 * math/bits/math-finite.h: New file.
39592 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39593 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39594 * math/e_acoshl.c: Add __*_finite alias.
39595 * math/e_acosl.c: Likewise.
39596 * math/e_asinl.c: Likewise.
39597 * math/e_atan2l.c: Likewise.
39598 * math/e_atanhl.c: Likewise.
39599 * math/e_coshl.c: Likewise.
39600 * math/e_exp10.c: Likewise.
39601 * math/e_exp10f.c: Likewise.
39602 * math/e_exp10l.c: Likewise.
39603 * math/e_exp2l.c: Likewise.
39604 * math/e_fmodl.c: Likewise.
39605 * math/e_gammal_r.c: Likewise.
39606 * math/e_hypotl.c: Likewise.
39607 * math/e_j0l.c: Likewise.
39608 * math/e_j1l.c: Likewise.
39609 * math/e_jnl.c: Likewise.
39610 * math/e_lgammal_r.c: Likewise.
39611 * math/e_log10l.c: Likewise.
39612 * math/e_log2l.c: Likewise.
39613 * math/e_logl.c: Likewise.
39614 * math/e_powl.c: Likewise.
39615 * math/e_sinhl.c: Likewise.
39616 * math/e_sqrtl.c: Likewise.
39617 * math/e_scalb.c: Completely rewritten and optimized.
39618 * math/e_scalbf.c: Likewise.
39619 * math/e_scalbl.c: Likewise.
39620 * math/w_acos.c: Likewise.
39621 * math/w_acosf.c: Likewise.
39622 * math/w_acosl.c: Likewise.
39623 * math/w_acosh.c: Likewise.
39624 * math/w_acoshf.c: Likewise.
39625 * math/w_acoshl.c: Likewise.
39626 * math/w_asin.c: Likewise.
39627 * math/w_asinf.c: Likewise.
39628 * math/w_asinl.c: Likewise.
39629 * math/w_atan2.c: Likewise.
39630 * math/w_atan2f.c: Likewise.
39631 * math/w_atan2l.c: Likewise.
39632 * math/w_atanh.c: Likewise.
39633 * math/w_atanhf.c: Likewise.
39634 * math/w_atanhl.c: Likewise.
39635 * math/w_exp10.c: Likewise.
39636 * math/w_exp10f.c: Likewise.
39637 * math/w_exp10l.c: Likewise.
39638 * math/w_fmod.c: Likewise.
39639 * math/w_fmodf.c: Likewise.
39640 * math/w_fmodl.c: Likewise.
39641 * math/w_j0.c: Likewise.
39642 * math/w_j0f.c: Likewise.
39643 * math/w_j0l.c: Likewise.
39644 * math/w_j1.c: Likewise.
39645 * math/w_j1f.c: Likewise.
39646 * math/w_j1l.c: Likewise.
39647 * math/w_jn.c: Likewise.
39648 * math/w_jnf.c: Likewise.
39649 * math/w_log.c: Likewise.
39650 * math/w_logf.c: Likewise.
39651 * math/w_logl.c: Likewise.
39652 * math/w_log10.c: Likewise.
39653 * math/w_log10f.c: Likewise.
39654 * math/w_log10l.c: Likewise.
39655 * math/w_log2.c: Likewise.
39656 * math/w_log2f.c: Likewise.
39657 * math/w_log2l.c: Likewise.
39658 * math/w_pow.c: Likewise.
39659 * math/w_powf.c: Likewise.
39660 * math/w_powl.c: Likewise.
39661 * math/w_remainder.c: Likewise.
39662 * math/w_remainderf.c: Likewise.
39663 * math/w_remainderl.c: Likewise.
39664 * math/w_scalb.c: Likewise.
39665 * math/w_scalbf.c: Likewise.
39666 * math/w_scalbl.c: Likewise.
39667 * math/w_sqrt.c: Likewise.
39668 * math/w_sqrtf.c: Likewise.
39669 * math/w_sqrtl.c: Likewise.
39670 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39671 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39672 used.
39673 * math/math_private.h: Declare __kernel_standard_f.
39674 * math/w_cosh.c: Remove cruft and optimize a bit.
39675 * math/w_coshf.c: Likewise.
39676 * math/w_coshl.c: Likewise.
39677 * math/w_exp2.c: Likewise.
39678 * math/w_exp2f.c: Likewise.
39679 * math/w_exp2l.c: Likewise.
39680 * math/w_hypot.c: Likewise.
39681 * math/w_hypotf.c: Likewise.
39682 * math/w_hypotl.c: Likewise.
39683 * math/w_lgamma.c: Likewise.
39684 * math/w_lgamma_r.c: Likewise.
39685 * math/w_lgammaf.c: Likewise.
39686 * math/w_lgammaf_r.c: Likewise.
39687 * math/w_lgammal.c: Likewise.
39688 * math/w_lgammal_r.c: Likewise.
39689 * math/w_sinh.c: Likewise.
39690 * math/w_sinhf.c: Likewise.
39691 * math/w_sinhl.c: Likewise.
39692 * math/w_tgamma.c: Likewise.
39693 * math/w_tgammaf.c: Likewise.
39694 * math/w_tgammal.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39696 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39697 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39698 Minor optimizations. Pretty printing. Remove cruft.
39699 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39700 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39701 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39702 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39703 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39704 * sysdeps/i386/fpu/e_asin.S: Likewise.
39705 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39706 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39707 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39708 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39709 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39710 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39711 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39712 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39713 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39714 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39715 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39716 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39717 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39718 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39719 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39720 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39721 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39722 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39723 * sysdeps/i386/fpu/e_log.S: Likewise.
39724 * sysdeps/i386/fpu/e_log10.S: Likewise.
39725 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39726 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39727 * sysdeps/i386/fpu/e_log2.S: Likewise.
39728 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39729 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39730 * sysdeps/i386/fpu/e_logf.S: Likewise.
39731 * sysdeps/i386/fpu/e_logl.S: Likewise.
39732 * sysdeps/i386/fpu/e_pow.S: Likewise.
39733 * sysdeps/i386/fpu/e_powf.S: Likewise.
39734 * sysdeps/i386/fpu/e_powl.S: Likewise.
39735 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39736 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39737 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39738 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39739 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39740 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39741 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39742 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39743 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39750 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39751 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39752 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39753 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39754 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39755 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39757 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39758 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39759 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39760 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39761 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39762 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39764 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39765 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39766 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39767 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39768 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39769 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39770 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39771 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39772 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39773 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39774 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39775 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39776 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39777 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39778 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39779 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39780 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39781 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39782 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39783 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39784 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39785 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39786 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39787 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39789 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39790 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39792 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39793 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39794 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39796 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39797 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39798 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39799 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39800 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39801 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39802 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39811 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39824 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39825 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39827 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39829 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39830 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39832 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39835 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39836 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39837 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39838 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39839 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39840 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39841 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39842 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39843 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39844 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39845 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39846 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39847 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39848 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39849 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39850 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39851 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39852 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39853 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39854 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39855 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39856 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39857 (__isnanf): Likewise.
39858 (__isinf_ns): Likewise.
39859 (__isinf_nsf): Likewise.
39860 (__finite): Likewise.
39861 (__finitef): Likewise.
39862 (__ieee754_sqrt): Define as macro.
39863 (__ieee754_sqrtf): Define as macro.
39864 (__ieee754_sqrtl): Define as macro.
39865 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39866 inlined copy.
39867 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39868 __FINITE_MATH_ONLY__ consistent.
39869 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39870
12cc2fcd
AS
398712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39872
a843a204
AS
39873 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39874 of rawmemchr.
39875
12cc2fcd
AS
39876 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39877
c853acd5
UD
398782011-10-09 Ulrich Drepper <drepper@gmail.com>
39879
39880 * po/ja.po: Update from translation team.
39881
c658d255
RM
398822011-10-08 Roland McGrath <roland@hack.frob.com>
39883
110946e4
RM
39884 * locale/programs/locarchive.c (prepare_address_space): New function.
39885 (create_archive, enlarge_archive, open_archive): Use it.
39886
50604220
RM
39887 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39888 inside [SHARED], where it is used.
39889
c658d255
RM
39890 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39891
39892 * nss/getent.c (netgroup_keys): Remove unused variable.
39893 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39894
6a621eb7
UD
398952011-10-08 Ulrich Drepper <drepper@gmail.com>
39896
7edb55ce
UD
39897 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39898 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39900 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39901 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39902 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39903 * math/Makefile (libm-calls): Add s_isinf_ns.
39904 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39905 * math/multc3.c: Likewise.
39906 * math/s_casin.c: Likewise.
39907 * math/s_casinf.c: Likewise.
39908 * math/s_casinl.c: Likewise.
39909 * math/s_ccos.c: Likewise.
39910 * math/s_ccosf.c: Likewise.
39911 * math/s_ccosl.c: Likewise.
39912 * math/s_ctan.c: Likewise.
39913 * math/s_ctanf.c: Likewise.
39914 * math/s_ctanh.c: Likewise.
39915 * math/s_ctanhf.c: Likewise.
39916 * math/s_ctanhl.c: Likewise.
39917 * math/s_ctanl.c: Likewise.
39918 * math/w_fmod.c: Likewise.
39919 * math/w_fmodf.c: Likewise.
39920 * math/w_fmodl.c: Likewise.
39921 * math/w_remainder.c: Likewise.
39922 * math/w_remainderf.c: Likewise.
39923 * math/w_remainderl.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39925 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39926 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39928 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39929 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39930 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39931 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39932
187da0ae
UD
39933 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39934 of the number.
39935 * stdio-common/printf_fphex.c: Likewise.
39936 * stdio-common/printf_size.c: Likewise.
39937
9277c064
UD
39938 * math/e_exp10.c: Include math_private.h using <...> not "...".
39939 * math/e_exp10f.c: Likewise.
39940 * math/e_exp10l.c: Likewise.
39941 * math/e_exp2l.c: Likewise.
39942 * math/e_j0l.c: Likewise.
39943 * math/e_j1l.c: Likewise.
39944 * math/e_jnl.c: Likewise.
39945 * math/e_lgammal_r.c: Likewise.
39946 * math/e_rem_pio2l.c: Likewise.
39947 * math/e_scalb.c: Likewise.
39948 * math/e_scalbf.c: Likewise.
39949 * math/e_scalbl.c: Likewise.
39950 * math/k_cosl.c: Likewise.
39951 * math/k_sinl.c: Likewise.
39952 * math/k_tanl.c: Likewise.
39953 * math/s_cacoshf.c: Likewise.
39954 * math/s_catan.c: Likewise.
39955 * math/s_catanf.c: Likewise.
39956 * math/s_catanh.c: Likewise.
39957 * math/s_catanhf.c: Likewise.
39958 * math/s_catanhl.c: Likewise.
39959 * math/s_catanl.c: Likewise.
39960 * math/s_ccosh.c: Likewise.
39961 * math/s_ccoshf.c: Likewise.
39962 * math/s_ccoshl.c: Likewise.
39963 * math/s_cexp.c: Likewise.
39964 * math/s_cexpf.c: Likewise.
39965 * math/s_cexpl.c: Likewise.
39966 * math/s_clog.c: Likewise.
39967 * math/s_clog10.c: Likewise.
39968 * math/s_clog10f.c: Likewise.
39969 * math/s_clog10l.c: Likewise.
39970 * math/s_clogf.c: Likewise.
39971 * math/s_clogl.c: Likewise.
39972 * math/s_csin.c: Likewise.
39973 * math/s_csinf.c: Likewise.
39974 * math/s_csinh.c: Likewise.
39975 * math/s_csinhf.c: Likewise.
39976 * math/s_csinhl.c: Likewise.
39977 * math/s_csinl.c: Likewise.
39978 * math/s_csqrt.c: Likewise.
39979 * math/s_csqrtf.c: Likewise.
39980 * math/s_csqrtl.c: Likewise.
39981 * math/s_ctan.c: Likewise.
39982 * math/s_ctanf.c: Likewise.
39983 * math/s_ctanh.c: Likewise.
39984 * math/s_ctanhf.c: Likewise.
39985 * math/s_ctanhl.c: Likewise.
39986 * math/s_ctanl.c: Likewise.
39987 * math/s_ldexp.c: Likewise.
39988 * math/s_ldexpf.c: Likewise.
39989 * math/s_ldexpl.c: Likewise.
39990 * math/s_significand.c: Likewise.
39991 * math/s_significandf.c: Likewise.
39992 * math/s_significandl.c: Likewise.
39993 * math/w_acos.c: Likewise.
39994 * math/w_acosf.c: Likewise.
39995 * math/w_acosh.c: Likewise.
39996 * math/w_acoshf.c: Likewise.
39997 * math/w_acoshl.c: Likewise.
39998 * math/w_acosl.c: Likewise.
39999 * math/w_asin.c: Likewise.
40000 * math/w_asinf.c: Likewise.
40001 * math/w_asinl.c: Likewise.
40002 * math/w_atan2.c: Likewise.
40003 * math/w_atan2f.c: Likewise.
40004 * math/w_atan2l.c: Likewise.
40005 * math/w_atanh.c: Likewise.
40006 * math/w_atanhf.c: Likewise.
40007 * math/w_atanhl.c: Likewise.
40008 * math/w_cosh.c: Likewise.
40009 * math/w_coshf.c: Likewise.
40010 * math/w_coshl.c: Likewise.
40011 * math/w_dremf.c: Likewise.
40012 * math/w_exp10.c: Likewise.
40013 * math/w_exp10f.c: Likewise.
40014 * math/w_exp10l.c: Likewise.
40015 * math/w_exp2.c: Likewise.
40016 * math/w_exp2f.c: Likewise.
40017 * math/w_fmod.c: Likewise.
40018 * math/w_fmodf.c: Likewise.
40019 * math/w_fmodl.c: Likewise.
40020 * math/w_hypot.c: Likewise.
40021 * math/w_hypotf.c: Likewise.
40022 * math/w_hypotl.c: Likewise.
40023 * math/w_j0.c: Likewise.
40024 * math/w_j0f.c: Likewise.
40025 * math/w_j0l.c: Likewise.
40026 * math/w_j1.c: Likewise.
40027 * math/w_j1f.c: Likewise.
40028 * math/w_j1l.c: Likewise.
40029 * math/w_jn.c: Likewise.
40030 * math/w_jnf.c: Likewise.
40031 * math/w_jnl.c: Likewise.
40032 * math/w_lgamma.c: Likewise.
40033 * math/w_lgamma_r.c: Likewise.
40034 * math/w_lgammaf.c: Likewise.
40035 * math/w_lgammaf_r.c: Likewise.
40036 * math/w_lgammal.c: Likewise.
40037 * math/w_lgammal_r.c: Likewise.
40038 * math/w_log.c: Likewise.
40039 * math/w_log10.c: Likewise.
40040 * math/w_log10f.c: Likewise.
40041 * math/w_log10l.c: Likewise.
40042 * math/w_log2.c: Likewise.
40043 * math/w_log2f.c: Likewise.
40044 * math/w_log2l.c: Likewise.
40045 * math/w_logf.c: Likewise.
40046 * math/w_logl.c: Likewise.
40047 * math/w_pow.c: Likewise.
40048 * math/w_powf.c: Likewise.
40049 * math/w_powl.c: Likewise.
40050 * math/w_remainder.c: Likewise.
40051 * math/w_remainderf.c: Likewise.
40052 * math/w_remainderl.c: Likewise.
40053 * math/w_scalb.c: Likewise.
40054 * math/w_scalbf.c: Likewise.
40055 * math/w_scalbl.c: Likewise.
40056 * math/w_sinh.c: Likewise.
40057 * math/w_sinhf.c: Likewise.
40058 * math/w_sinhl.c: Likewise.
40059 * math/w_sqrt.c: Likewise.
40060 * math/w_sqrtf.c: Likewise.
40061 * math/w_sqrtl.c: Likewise.
40062 * math/w_tgamma.c: Likewise.
40063 * math/w_tgammaf.c: Likewise.
40064 * math/w_tgammal.c: Likewise.
40065
6a621eb7
UD
40066 * po/ja.po: Update from translation team.
40067
bf582445
AJ
400682011-09-29 Andreas Jaeger <aj@suse.de>
40069
f9efbf3a
AJ
40070 [BZ #13179]
40071 * sunrpc/netname.c (netname2host): Fix logic.
40072
bf582445
AJ
40073 [BZ #6779]
40074 [BZ #6783]
40075 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40076 correctly.
40077 * math/w_remainder.c (__remainder): Likewise.
40078 * math/w_remainderf.c (__remainderf): Likewise.
40079 * math/libm-test.inc (remainder_test): Add test cases.
40080
48693bea
AK
400812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40082
40083 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40084 sdiv_qrnnd.
40085
42622229
LD
400862011-10-07 Ulrich Drepper <drepper@gmail.com>
40087
40088 * string/test-memcmp.c: Avoid unncessary #defines.
40089 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40090
093ecf92
LD
400912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40092
40093 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40094 Use new sse2 version for core i3 - i7 as it's faster
40095 than sse42 version.
40096 (bit_Prefer_PMINUB_for_stringop): New.
40097 * sysdeps/x86_64/rawmemchr.S: Update.
40098 Replace with faster SSE2 version.
40099 * sysdeps/x86_64/memrchr.S: New file.
40100 * sysdeps/x86_64/memchr.S: Update.
40101 Replace with faster SSE2 version.
40102
fde56e5c
MP
401032011-09-12 Marek Polacek <mpolacek@redhat.com>
40104
40105 * elf/dl-load.c (lose): Add cast to avoid warning.
40106
21fd49a9
UD
401072011-10-07 Ulrich Drepper <drepper@gmail.com>
40108
5a06e643
UD
40109 * po/ca.po: Update from translation team.
40110
684ae515
UD
40111 * inet/getnetgrent_r.c: Hook up nscd.
40112 * nscd/Makefile (routines): Add nscd_netgroup.
40113 (nscd-modules): Add netgroupcache.
40114 (CFLAGS-netgroupcache.c): Define.
40115 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40116 (cache_search): Add const to second parameter.
40117 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40118 INNETGR.
40119 (dbs): Add netgrdb entry.
40120 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40121 (verify_persistent_db): Handle netgrdb.
40122 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40123 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40124 GETFDNETGR.
40125 (netgroup_response_header): Define.
40126 (innetgroup_response_header): Define.
40127 (datahead): Add netgroup_response_header and innetgroup_response_header
40128 elements.
40129 * nscd/nscd.conf: Add entries for netgroup cache.
40130 * nscd/nscd.h (dbtype): Add netgrdb.
40131 (_PATH_NSCD_NETGROUP_DB): Define.
40132 (netgroup_iov_disabled): Declare.
40133 (xmalloc, xcalloc, xrealloc): Move declarations here.
40134 (cache_search): Adjust prototype.
40135 Add netgroup-related prototypes.
40136 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40137 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40138 (__nscd_innetgr): Declare.
40139 * nscd/selinux.c (perms): Use access_vector_t as element type and
40140 add netgroup-related initializers.
40141 * nscd/netgroupcache.c: New file.
40142 * nscd/nscd_netgroup.c: New file.
40143 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40144 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40145 For four parameters use innetgr.
40146 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40147 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40148 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40149 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40150
21fd49a9
UD
40151 * nscd/connections.c (register_traced_file): Don't register file
40152 for disabled databases.
40153
054c0457
UD
401542011-10-06 Ulrich Drepper <drepper@gmail.com>
40155
32b63198
UD
40156 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40157
054c0457
UD
40158 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40159 from tree and freeing node.
40160
64031225
JO
401612011-09-25 Jiri Olsa <jolsa@redhat.com>
40162
40163 * nss/nsswitch.c (__nss_database_lookup): Handle
40164 nss_parse_service_list out of memory case.
40165
0490345c
JO
401662011-09-15 Jiri Olsa <jolsa@redhat.com>
40167
40168 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40169 out of memory case.
40170
3a62d00d
AS
401712011-10-04 Andreas Schwab <schwab@redhat.com>
40172
40173 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40174 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40175 pass it down.
40176 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40177 elf_machine_rela, elf_machine_lazy_rel.
40178 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40179 (ELF_DYNAMIC_DO_REL): Likewise.
40180 (ELF_DYNAMIC_DO_RELA): Likewise.
40181 (ELF_DYNAMIC_RELOCATE): Likewise.
40182 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40183 to ELF_DYNAMIC_DO_REL.
40184 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40185 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40186 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40187 elf_machine_rela.
40188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40189 skip_ifunc, don't call ifunc function if non-zero.
40190 (elf_machine_rela): Likewise.
40191 (elf_machine_lazy_rel): Likewise.
40192 (elf_machine_lazy_rela): Likewise.
40193 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40194 (elf_machine_lazy_rel): Likewise.
40195 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40196 Likewise.
40197 (elf_machine_lazy_rel): Likewise.
40198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40199 Likewise.
40200 (elf_machine_lazy_rel): Likewise.
40201 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40202 (elf_machine_lazy_rel): Likewise.
40203 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40204 (elf_machine_lazy_rel): Likewise.
40205 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40206 (elf_machine_lazy_rel): Likewise.
40207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40208 (elf_machine_lazy_rel): Likewise.
40209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40210 (elf_machine_lazy_rel): Likewise.
40211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40212 (elf_machine_lazy_rel): Likewise.
40213
68577918
UD
402142011-09-28 Ulrich Drepper <drepper@gmail.com>
40215
40216 * nss/nss_files/files-init.c (_nss_files_init): Use static
40217 initialization for all the *_traced_file variables.
40218
68822d74
AS
402192011-09-28 Andreas Schwab <schwab@redhat.com>
40220
40221 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40222
2056100b
RM
402232011-09-27 Roland McGrath <roland@hack.frob.com>
40224
40225 [BZ #13226]
40226 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40227
32c76b63
AS
402282011-09-27 Andreas Schwab <schwab@redhat.com>
40229
40230 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40231 Reread the line before reparsing it.
40232
bf972c9d
AS
402332011-09-26 Andreas Schwab <schwab@redhat.com>
40234
40235 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40236
e057a1b5
JM
402372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40238 Maxim Kuvyrkov <maxim@codesourcery.com>
40239 Joseph Myers <joseph@codesourcery.com>
40240
40241 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40242 if needed for __stack_chk_guard.
40243
bc7e1c36
RM
402442011-09-19 Roland McGrath <roland@hack.frob.com>
40245
ecb1482f
RM
40246 * sysdeps/posix/spawni.c (script_execute): Always define it.
40247 It will be optimized away if unused.
40248 (maybe_script_execute): New function.
40249 (__spawni): Call it.
40250
bc7e1c36
RM
40251 * Makerules: Don't include tls.make.
40252 (config-tls): Always set to thread.
40253 * tls.make.c: File removed.
40254
1c3b002b
MF
402552011-09-19 Mike Frysinger <vapier@gentoo.org>
40256
40257 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40258 * config.make.in (CPPFLAGS-config): New substituted variable.
40259
2840865d
UD
402602011-09-15 Ulrich Drepper <drepper@gmail.com>
40261
88738eb6
UD
40262 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40263
cbf645a6 40264 [BZ #13192]
2840865d
UD
40265 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40266 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40267
b402e91a
RM
402682011-09-15 Roland McGrath <roland@hack.frob.com>
40269
40270 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40271 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40273 (CALL_FAIL): Likewise.
40274 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40275 (CALL_FAIL): Macro removed.
40276 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40277
4c1a1f71
UD
402782011-09-15 Ulrich Drepper <drepper@gmail.com>
40279
40280 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40281 for __FINITE_MATH_ONLY__ == 1.
40282
edc121be
AS
402832011-09-15 Andreas Schwab <schwab@redhat.com>
40284
40285 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40286 __ieee754_sqrt instead of sqrt.
40287 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40288 __ieee754_sqrtf instead of sqrtf.
40289 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40290 __floorf instead of floorf.
40291 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40292 __floorf, __truncf instead of floorf, truncf.
40293
cd205654
UD
402942011-09-14 Ulrich Drepper <drepper@gmail.com>
40295
ee4d0315
UD
40296 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40297
cd205654
UD
40298 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40299 __extern_always_inline.
40300 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40301 32-bit.
40302
48b67d71
AS
403032011-09-14 Andreas Schwab <schwab@redhat.com>
40304
40305 * elf/rtld.c (dl_main): Also relocate in dependency order when
40306 doing symbol dependency testing.
40307
1ae12c75
AS
403082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40309
40310 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40311 Always define `refsym'.
40312
995a80df
AS
403132011-09-13 Andreas Schwab <schwab@redhat.com>
40314
e529793b
AS
40315 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40316 (__FD_ELT): Renamed from __FDELT.
40317 * misc/bits/select2.h (__FD_ELT): Likewise.
40318 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40319 __FD_MASK instead of __FDELT, __FDMASK.
40320 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40321 Likewise.
40322 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40323 Likewise.
40324
52d4fef8
AS
40325 * elf/Makefile (gen-ldd): Fix pattern.
40326
995a80df
AS
40327 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40328 (init_tls): Likewise.
40329
8682f8b0
UD
403302011-09-12 Ulrich Drepper <drepper@gmail.com>
40331
40332 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40333
de82006d
AS
403342011-09-12 Andreas Schwab <schwab@redhat.com>
40335
a7c8e6a1
AS
40336 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40337 `struct cmsghdr *' instead of `void *'.
40338 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40339 Likewise.
40340
0f31fe77
AS
403412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40342
40343 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40344 if non-absolute.
40345 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40346 ldd_rewrite_script.
0f31fe77 40347
32b4c839
UD
403482011-09-11 Ulrich Drepper <drepper@gmail.com>
40349
83cd1420
UD
40350 * configure.in: Remove --with-tls option.
40351 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40352 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40353 out in case it is missing.
40354 * sysdeps/ia64/elf/configure.in: Likewise.
40355 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40356 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40357 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40358 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40359 * sysdeps/sh/elf/configure.in: Likewise.
40360 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40361 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40362 * sysdeps/x86_64/elf/configure.in: Likewise.
40363 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40364 * sysdeps/mach/hurd/tls.h: Likewise.
40365
633f745d
UD
40366 [BZ #13067]
40367 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40368
f318beb8
UD
40369 [BZ #13090]
40370 * configure.in: Fix use of AC_INIT.
40371
32b4c839
UD
40372 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40373
3ce1f295
UD
403742011-09-10 Ulrich Drepper <drepper@gmail.com>
40375
bb016596
UD
40376 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40377 __set_errno.
8e58439c
UD
40378 * malloc/hooks.c: Likewise.
40379
aebae053 40380 [BZ #11929]
02d46fc4
UD
40381 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40382 variables statically.
40383 (narenas): Initialize.
40384 (list_lock): Initialize.
bb016596
UD
40385 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40386 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40387 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40388 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40389 Add initializers to main_arena and mp_.
40390 (malloc_state): Remove pagesize member. Change all users to use
40391 GLRO(dl_pagesize).
40392
40393 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40394 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40395 is always initialized.
40396
22a89187
UD
40397 * malloc/malloc.c: Removed unused configurations and dead code.
40398 * malloc/arena.c: Likewise.
40399 * malloc/hooks.c: Likewise.
02d46fc4 40400 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40401
d063d164
UD
40402 * include/tls.h: Removed. USE___THREAD must always be defined.
40403 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40404 * elf/dl-libc.c: Likewise.
40405 * elf/dl-tsd.c: Likewise.
40406 * include/errno.h: Likewise.
40407 * include/netdb.h: Likewise.
40408 * include/resolv.h: Likewise.
40409 * inet/herrno-loc.c: Likewise.
40410 * inet/herrno.c: Likewise.
40411 * malloc/arena.c: Likewise.
40412 * malloc/hooks.c: Likewise.
40413 * malloc/malloc.c: Likewise.
40414 * resolv/res-state.c: Likewise.
40415 * resolv/res_libc.c: Likewise.
40416 * sysdeps/i386/dl-machine.h: Likewise.
40417 * sysdeps/ia64/dl-machine.h: Likewise.
40418 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40419 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40420 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40421 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40422 * sysdeps/sh/dl-machine.h: Likewise.
40423 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40424 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40425 * sysdeps/unix/i386/sysdep.S: Likewise.
40426 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40427 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40428 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40429 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40431 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40432 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40434 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40436 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40437 * sysdeps/x86_64/dl-machine.h: Likewise.
40438 * tls.make.c: Likewise.
40439
3ce1f295
UD
40440 * configure.in: Remove --with-__thread option. Make tests for
40441 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40442 tls_model attribute fail if no support is available. Remove
40443 USE_IN_LIBIO.
40444 * Makeconfig: Adjust for dropped configure option. All features are
40445 now mandatory.
40446 * Makerules: Likewise.
40447 * Versions.def: Likewise.
40448 * argp/argp-fmtstream.c: Likewise.
40449 * argp/argp-fmtstream.h: Likewise.
40450 * argp/argp-help.c: Likewise.
40451 * assert/assert.c: Likewise.
40452 * config.h.in: Likewise.
40453 * config.make.in: Likewise.
40454 * configure: Likewise.
40455 * configure.in: Likewise.
40456 * csu/Versions: Likewise.
40457 * csu/init.c: Likewise.
40458 * elf/tst-audit2.c: Likewise.
40459 * elf/tst-tls10.c: Likewise.
40460 * elf/tst-tls10.h: Likewise.
40461 * elf/tst-tls11.c: Likewise.
40462 * elf/tst-tls12.c: Likewise.
40463 * elf/tst-tls14.c: Likewise.
40464 * elf/tst-tlsmod11.c: Likewise.
40465 * elf/tst-tlsmod12.c: Likewise.
40466 * elf/tst-tlsmod13.c: Likewise.
40467 * elf/tst-tlsmod13a.c: Likewise.
40468 * elf/tst-tlsmod14a.c: Likewise.
40469 * elf/tst-tlsmod15b.c: Likewise.
40470 * elf/tst-tlsmod16a.c: Likewise.
40471 * elf/tst-tlsmod16b.c: Likewise.
40472 * elf/tst-tlsmod7.c: Likewise.
40473 * elf/tst-tlsmod8.c: Likewise.
40474 * elf/tst-tlsmod9.c: Likewise.
40475 * gmon/gmon.c: Likewise.
40476 * grp/fgetgrent_r.c: Likewise.
40477 * grp/putgrent.c: Likewise.
40478 * hurd/fopenport.c: Likewise.
40479 * include/libc-symbols.h: Likewise.
40480 * include/tls.h: Likewise.
40481 * intl/gettextP.h: Likewise.
40482 * intl/loadinfo.h: Likewise.
40483 * locale/global-locale.c: Likewise.
40484 * locale/localeinfo.h: Likewise.
40485 * mach/devstream.c: Likewise.
40486 * malloc/arena.c: Likewise.
40487 * malloc/set-freeres.c: Likewise.
40488 * misc/err.c: Likewise.
40489 * misc/getttyent.c: Likewise.
40490 * misc/mntent_r.c: Likewise.
40491 * posix/getopt.c: Likewise.
40492 * posix/wordexp.c: Likewise.
40493 * pwd/fgetpwent_r.c: Likewise.
40494 * resolv/Versions: Likewise.
40495 * resolv/res_hconf.c: Likewise.
40496 * shadow/fgetspent_r.c: Likewise.
40497 * shadow/putspent.c: Likewise.
40498 * stdio-common/printf_fphex.c: Likewise.
40499 * stdio-common/tmpfile.c: Likewise.
40500 * stdlib/abort.c: Likewise.
40501 * stdlib/fmtmsg.c: Likewise.
40502 * sunrpc/auth_unix.c: Likewise.
40503 * sunrpc/clnt_perr.c: Likewise.
40504 * sunrpc/clnt_tcp.c: Likewise.
40505 * sunrpc/clnt_udp.c: Likewise.
40506 * sunrpc/clnt_unix.c: Likewise.
40507 * sunrpc/openchild.c: Likewise.
40508 * sunrpc/svc_simple.c: Likewise.
40509 * sunrpc/svc_tcp.c: Likewise.
40510 * sunrpc/svc_udp.c: Likewise.
40511 * sunrpc/svc_unix.c: Likewise.
40512 * sunrpc/xdr.c: Likewise.
40513 * sunrpc/xdr_array.c: Likewise.
40514 * sunrpc/xdr_rec.c: Likewise.
40515 * sunrpc/xdr_ref.c: Likewise.
40516 * sunrpc/xdr_stdio.c: Likewise.
40517
1248c1c4
PB
405182011-09-09 Ulrich Drepper <drepper@gmail.com>
40519
40520 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40521
405222011-07-03 Andreas Jaeger <aj@suse.de>
40523
40524 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40525 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40526 regenerate with gen-libm-tests.pl.
40527
405282010-05-12 Petr Baudis <pasky@suse.cz>
40529
40530 [BZ #11589]
40531 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40532 around j0() zero points by switching to j1().
40533 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40534 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40536 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40537
f22e1074
UD
405382011-09-09 Ulrich Drepper <drepper@gmail.com>
40539
f19009c1
UD
40540 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40541 instead of 0.
40542 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40543 instead of 0.
f19009c1
UD
40544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40545 Patch in part by Pavel Roskin <proski@gnu.org>.
40546
3f8cc204
UD
40547 [BZ #13138]
40548 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40549 realloc.
40550 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40551 Free memory block if necessary.
40552
f22e1074
UD
40553 [BZ #12847]
40554 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40555 be NULL. Don't lock in this case.
40556
0a2349f9
RM
405572011-09-09 Roland McGrath <roland@hack.frob.com>
40558
40559 * elf/elf.h (ELFOSABI_GNU): New macro.
40560 (ELFOSABI_LINUX): Define to that.
40561
f3cdd467
DZ
405622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40563
40564 * string/strncat.c (strncat): Undef the symbol in case it has been
40565 defined in bits/string.h.
40566
74718d13
UD
405672011-09-09 Ulrich Drepper <drepper@gmail.com>
40568
633e9e0f
UD
40569 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40570
0a2349f9 40571 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40572 link map.
40573
f9924780
AJ
405742011-08-17 Andreas Jaeger <aj@suse.de>
40575
40576 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40577
7f5517aa
PP
405782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40579 Ian Lance Taylor <iant@google.com>
40580
40581 * math/libm-test.inc (lround_test): New testcase.
40582 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40583
762011fe
UD
405842011-09-08 Ulrich Drepper <drepper@gmail.com>
40585
92963737
UD
40586 * Makefile: Remove support for automatic cvs check-ins.
40587 * Makerules: Likewise.
40588 * config.make.in: Likewise.
40589 * configure.in: Likewise.
40590 * intl/Makefile: Likewise.
40591 * locale/Makefile: Likewise.
40592 * po/Makefile: Likewise.
40593 * posix/Makefile: Likewise.
40594 * sysdeps/gnu/Makefile: Likewise.
40595 * sysdeps/mach/hurd/Makefile: Likewise.
40596 * sysdeps/sparc/sparc32/Makefile: Likewise.
40597
b0727fd8
JS
40598 [BZ #13118]
40599 * posix/Makefile (bug-regex32-ENV): Define.
40600 Patch by John Stanley <jpsinthemix@verizon.net>.
40601
a0f33f99
UD
40602 * misc/Makefile (headers): Add bits/select2.h.
40603 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40604 * misc/bits/select2.h: New file.
40605 * include/bits/select2.h: New file.
40606 * debug/Makefile (routines): Add fdelt_chk.
40607 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40608 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40609 FD_ISSET.
40610 * debug/fdelt_chk.c: New file.
40611
762011fe
UD
40612 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40613 * wcsmbs/test-wmemcmp.c: Likewise.
40614 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40615 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40616
406172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40618
40619 * string/Makefile (strop-tests): Add memcmp.
40620 * string/test-wmemcmp.c: New file.
40621 * string/test-memcmp.c: Add wmemcmp support.
40622
7f513ec8
RM
406232011-09-08 Roland McGrath <roland@hack.frob.com>
40624
0442afb4
RM
40625 [BZ #13153]
40626 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40627 2011-07-19 change.
40628
7f513ec8
RM
40629 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40630 garbage value in a __mach_port_mod_refs call in the cases of the
40631 task-self and thread-self ports.
40632
a12b2239
ST
406332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40634
40635 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40636
610f9ab4
AS
406372011-09-08 Andreas Schwab <schwab@redhat.com>
40638
7f513ec8 40639 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40640
48882a1a
LD
406412011-09-07 Ulrich Drepper <drepper@gmail.com>
40642
b49865be
UD
40643 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40644
fdc86bc9
UD
40645 * elf/dl-libc.c (dlerror_run): Pass back error code from
40646 dl_catch_error.
40647
c966526a
UD
40648 [BZ #13123]
40649 * elf/dl-load.c (lose): Free l_origin if it is valid.
40650
48882a1a
LD
40651 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40652 names.
40653 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40654 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40656 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40657 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40658 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40659
77a2a8b4
AZ
406602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40661
40662 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40663 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40664 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40665 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40666 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40667 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40668 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40669 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40670 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40671 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40672
24f579d8
AM
406732011-08-15 Alan Modra <amodra@gmail.com>
40674
40675 [BZ #13092]
40676 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40677 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40678 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40679 ppc_mcount to static-only-routines.
40680 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40681 __mcount_internal.
40682 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40683 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40684
3d4837df
UD
406852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40686
40687 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40688 for finite and infinity parameters.
40689
22700377
WS
406902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40691
40692 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40693 and add nop instructions for throughput optimization.
40694 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40695
5025581e
WS
406962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40697
40698 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40699 aligned copy for power7 with vector-scalar instructions.
40700 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40701
08a300c9
L
407022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40703
40704 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40705 AVX check.
40706
59178ef9
AS
407072011-09-07 Andreas Schwab <schwab@redhat.com>
40708
40709 [BZ #13144]
40710 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40711 last change.
40712
e38ba7ab
UD
407132011-09-07 Ulrich Drepper <drepper@gmail.com>
40714
40715 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40716 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40717 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40718 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40719 clock_gettime.
40720
d53a73ac
UD
407212011-09-06 Ulrich Drepper <drepper@gmail.com>
40722
fc8bffcc
UD
40723 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40724 Forgot to demangle the pointer.
40725
ceaa0c5d
UD
40726 * sysdeps/i386/sysdep.h: Define atom_text_section.
40727 * sysdeps/x86_64/sysdep.h: Likewise.
40728 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40729 section with atom_text_section.
40730 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40731 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40732 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40733 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40734 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40735
a77d3c17
UD
40736 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40737 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40738 already be defined. Change to take two parameters and don't assign
40739 result to variable. Adjust all users.
40740 Define INTERNAL_GETTIME if not already defined.
40741 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40742 call.
40743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40744 HAVE_CLOCK_GETTIME_VSYSCALL.
40745 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40746
d53a73ac
UD
40747 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40748 gettimeofday vsyscall, just use time.
40749
a8f84144
AS
407502011-09-06 Andreas Schwab <schwab@redhat.com>
40751
40752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40753 <errno.h>.
40754
ef606249
UD
407552011-09-06 Ulrich Drepper <drepper@gmail.com>
40756
40757 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40758 syscall on x86-64.
40759 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40760 syscall.
40761 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40762 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40763 syscall if possible.
40764
6585cb60
UD
407652011-09-05 Ulrich Drepper <drepper@gmail.com>
40766
40767 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40768 e_ident. Don't pass to find_mapsXX.
40769 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40770
a5f524e4
LD
407712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40772
40773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40774 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40775 * sysdeps/x86_64/multiarch/strchr.S: Update.
40776 Check bit_slow_BSF bit.
40777 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40778 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40779 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40780
554881ef
UD
407812011-09-05 Ulrich Drepper <drepper@gmail.com>
40782
d96de963
UD
40783 [BZ #13134]
40784 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40785 before glibc 2.15.
40786 (tryshell): Define.
40787 (__spawni): Change last parameter to be flag. Test
40788 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40789 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40790 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40791 * posix/spawni.c: Likewise.
40792 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40793 * posix/spawnp.c: Likewise. Change normal version to use
40794 SPAWN_XFLAGS_USE_PATH.
40795 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40796 SPAWN_XFLAGS_TRY_SHELL.
40797
d48e5868
UD
40798 [BZ #13150]
40799 * posix/glob.h: Remove gcc 1.x support.
40800
554881ef
UD
40801 [BZ #13068]
40802 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40803
693fb948
LD
408042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40805
40806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40807 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40808 strrchr-sse2-bsf
40809 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40810 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40811 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40812 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40813 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40814 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40815
1b48c537
UD
408162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40817
49d42c37
UD
40818 * sysdeps/x86_64/wcscmp.S: New file.
40819
1b48c537
UD
40820 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40821 wcscmp-c wcscmp-sse2
40822 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40823 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40824 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40825 * wcsmbs/wcscmp.c: Allow renaming.
40826
15c95c5d
DM
408272011-09-05 David S. Miller <davem@davemloft.net>
40828
40829 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40830 stack slot, rather than the struct return pointer slot.
40831 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40832 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40834 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40835
2f0ad8f3
UD
408362011-09-05 Ulrich Drepper <drepper@gmail.com>
40837
d88ae418
UD
40838 * po/ja.po: Update from translation team.
40839
2f0ad8f3
UD
40840 [BZ #13144]
40841 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40842 kernel in 64-bit binaries.
40843
5f4318d1
DM
408442011-09-01 David S. Miller <davem@davemloft.net>
40845
40846 * elf/elf.h (HWCAP_SPARC_*): Move to..
40847 * sysdeps/sparc/sysdep.h: this new file and add new values.
40848 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40849 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40850 _DL_HWCAP_COUNT to 24.
40851 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40852 entries.
40853 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40854 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40855 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40857 instead of magic constants.
40858 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40859
3ba57516
DM
408602011-08-31 David S. Miller <davem@davemloft.net>
40861
40862 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40863 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40864 Reimplement to do errno handling inline.
40865 (SYSCALL_ERROR_HANDLER): New macro.
40866 (__SYSCALL_STRING): Do not do errno handling in asm.
40867 (__CLONE_SYSCALL_STRING): Delete.
40868 (__INTERNAL_SYSCALL_STRING): Delete.
40869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40870 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40871 (PSEUDO): Reimplement to do errno handling inline.
40872 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40873 (SYSCALL_ERROR_HANDLER): New macro.
40874 (__SYSCALL_STRING): Do not do errno handling in asm.
40875 (__CLONE_SYSCALL_STRING): Delete.
40876 (__INTERNAL_SYSCALL_STRING): Delete.
40877 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40878 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40879 i386.
40880 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40881 (inline_syscall*): Add 'err' argument.
40882 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40883 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40884 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40885 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40886
40887 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40888 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40889
2bc17433
AS
408902011-08-30 Andreas Schwab <schwab@redhat.com>
40891
40892 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40893
fbeb5f4d
JO
408942011-08-29 Jiri Olsa <jolsa@redhat.com>
40895
40896 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40897 directive.
40898
ad69cc26
DM
408992011-08-24 David S. Miller <davem@davemloft.net>
40900
40901 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40902
39dd69df
AS
409032011-08-24 Andreas Schwab <schwab@redhat.com>
40904
40905 * elf/Makefile: Add rules to build and run unload8 test.
40906 * elf/unload8.c: New file.
40907 * elf/unload8mod1.c: New file.
40908 * elf/unload8mod1x.c: New file.
40909 * elf/unload8mod2.c: New file.
40910 * elf/unload8mod3.c: New file.
40911
40912 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40913 it wasn't used.
40914
2c0b250a
DM
409152011-08-23 David S. Miller <davem@davemloft.net>
40916
40917 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40918 subtract stack bias.
40919 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40920 %sp not %fp in calculations.
40921 (_JMPBUF_UNWINDS_ADJ): Likewise.
40922
22044b48
DM
40923 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40924 (aio_suspend): Call it to force an exception region around the
40925 AIO_MISC_WAIT() invocation.
40926
2cae4995
AS
409272011-08-23 Andreas Schwab <schwab@redhat.com>
40928
40929 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40930 backslash.
40931
873a772e
AJ
409322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40933
40934 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40935 protection macro.
40936 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40937 and <dl-machine.h>.
40938 (Elf64_FuncDesc): Remove.
40939
25ad0df1
DM
409402011-08-22 David S. Miller <davem@davemloft.net>
40941
40942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40943 sigaltstack check, add missing cfi directives.
40944 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40945 missing cfi directives, and sigaltstack handling.
40946
e888bcbe
AS
409472011-08-16 Andreas Schwab <schwab@redhat.com>
40948
40949 [BZ #11724]
40950 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40951 object is seen twice.
40952 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40953
40954 * elf/Makefile (distribute): Add tst-initorder2.c.
40955 (tests): Add tst-initorder2.
40956 (modules-names): Add tst-initorder2a tst-initorder2b
40957 tst-initorder2c tst-initorder2d. Add rules to build them.
40958 ($(objpfx)tst-initorder2.out): New rule.
40959 * elf/tst-initorder2.c: New file.
40960 * elf/tst-initorder2.exp: New file.
40961
87162f46
AS
409622011-08-22 Andreas Schwab <schwab@redhat.com>
40963
70538b7f
AS
40964 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40965
f55ffe58
AS
40966 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40967 dependencies back to end of function.
40968
87162f46
AS
40969 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40970 $(elfobjdir)/ld.so.
40971
91b392a4
UD
409722011-08-21 Ulrich Drepper <drepper@gmail.com>
40973
40974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40975 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40977 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40978 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40979 of __vdso_gettimeofday.
40980 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40981 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40982 attribute_hidden.
40983 (_libc_vdso_platform_setup): Remove initialization of
40984 __vdso_gettimeofday and __vdso_time.
40985
5c43483f
UD
409862011-08-20 Ulrich Drepper <drepper@gmail.com>
40987
775a77e7
UD
40988 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40989 and fgetc_unlocked.
40990 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40991 getc_unlocked.
89f447ed 40992
49c74ba9
UD
40993 * elf/dl-open.c (add_to_global): Report additions to the global scope
40994 for LD_DEBUG=scopes.
40995 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40996 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40997
5c43483f
UD
40998 [BZ #13114]
40999 * stdio-common/Makefile (tests): Add bug24.
41000 * stdio-common/bug24.c: New file.
41001
a101b025
AJ
410022011-08-19 Andreas Jaeger <aj@suse.de>
41003
41004 [BZ #13114]
41005 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41006 non-existant file when using close-on-exec mode.
41007
c88f1766
UD
410082011-08-20 Ulrich Drepper <drepper@gmail.com>
41009
0276a718
UD
41010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41011 the very first instruction.
41012
c88f1766
UD
41013 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41014 the CFI state in the end.
41015 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41016 inclusion of dl-trampoline.h.
41017 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41018
51ccffa0
AS
410192011-08-19 Andreas Schwab <schwab@redhat.com>
41020
94d7165f
AS
41021 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41022 expectations for long double.
41023
51ccffa0
AS
41024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41025 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41026
fd708658 410272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41028
41029 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41030 artificual limit depends upon the system page size.
41031
44f0a71e
UD
410322011-08-17 Ulrich Drepper <drepper@gmail.com>
41033
41034 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41035 * resolv/Makefile: Define CFLAGS-libresolv.
41036
8de79a24
AS
410372011-08-17 Andreas Schwab <schwab@redhat.com>
41038
41039 * nss/makedb.c (compute_tables): Make variables used in nested
41040 function static.
41041
27724598
UD
410422011-08-17 Ulrich Drepper <drepper@gmail.com>
41043
c5305d88
UD
41044 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41045 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41046 if buffer was too small.
41047
27724598
UD
41048 * elf/pldd.c (main): Attach to all threads in the process.
41049 Rewrite /proc handling to use *at functions.
41050
076fe015
UD
410512011-08-16 Ulrich Drepper <drepper@gmail.com>
41052
174baab3
UD
41053 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41054 specifies first scope to show.
41055 (dl_open_worker): Update callers. Move printing scope of new
41056 object to before the relocation.
44f0a71e 41057 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41058 * sysdeps/generic/ldsodefs.h: Update declaration.
41059
076fe015
UD
41060 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41061 string for the scope number.
41062
a60df2c3
UD
410632011-08-14 Ulrich Drepper <drepper@gmail.com>
41064
41065 * nscd/servicescache.c (cache_addserv): Make sure written is always
41066 initialized.
41067
5e4287d1
RM
410682011-08-14 Roland McGrath <roland@hack.frob.com>
41069
85ae0589
RM
41070 * sysdeps/i386/i486/bits/atomic.h
41071 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41072 statement expression, so as to suppress "set but not used" warning.
41073 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41074
69f63097
RM
41075 * string/strncat.c (STRNCAT): Use prototype definition.
41076
675456ef
RM
41077 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41078 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41079 -Iprograms here.
41080 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41081 (localedef-modules): Add localedef.
41082 (locale-modules): Add locale.
41083
5e4287d1
RM
41084 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41085 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41086 to avoid a warning.
41087
9c96ff23
DM
410882011-08-14 David S. Miller <davem@davemloft.net>
41089
41090 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41091 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41092
f9ddf089
UD
410932011-08-13 Ulrich Drepper <drepper@gmail.com>
41094
44f0a71e 41095 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41096 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41097 * elf/rtld.c (dl_main): Set l_name of vDSO.
41098 Call _dl_show_scope when DL_DEBUG_SCOPES.
41099 (process_dl_debug): Recognize scopes flag and also set it for all.
41100 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41101 Declare _dl_show_scope.
41102
1dc27704
UD
41103 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41104 (do_dlopen): Pass caller_dlopen to dl_open.
41105 (__libc_dlopen_mode): Initialize caller_dlopen.
41106
f9ddf089
UD
41107 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41108 of libc. Make tolower call locale-independent. Optimize a bit by
41109 using isdigit instead of isalnum.
41110 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41111
9ac533d3
UD
411122011-08-12 Ulrich Drepper <drepper@gmail.com>
41113
41114 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41115 was a dependency or dynamically loaded.
41116
89edf2e9
UD
411172011-08-11 Ulrich Drepper <drepper@gmail.com>
41118
8e999d29
UD
41119 * intl/l10nflist.c: Allow architecture-specific pop function.
41120 * sysdeps/x86_64/l10nflist.c: New file.
41121
89edf2e9
UD
41122 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41123 classification.
41124
14d96785
AS
411252011-08-10 Andreas Schwab <schwab@redhat.com>
41126
41127 * include/dirent.h: Add libc_hidden_proto for scandirat and
41128 scandirat64. Don't declare __scandirat64.
41129 * dirent/scandirat.c: Add libc_hidden_def.
41130 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41131 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41132
6761ac04
DM
411332011-08-10 David S. Miller <davem@davemloft.net>
41134
41135 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41136 enum.
41137 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41138 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41139 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41140
c55fbd1e
UD
411412011-08-09 Ulrich Drepper <drepper@gmail.com>
41142
41143 * Versions.def [libc]: Add GLIBC_2.15.
41144 * dirent/Makefile (routines): Add scandirat and scandirat64.
41145 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41146 GLIBC_2.15.
41147 * dirent/dirent.h: Declare scandirat and scandirat64.
41148 * dirent/scandirat.c: New file.
41149 * dirent/scandirat64.c: New file.
41150 * sysdeps/wordsize-64/scandirat.c: New file.
41151 * sysdeps/wordsize-64/scandirat64.c: New file.
41152 * dirent/opendir.c: Define opendirat.
41153 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41154 using scandirat.
41155 * dirent/scandir64.c: Adjust for scandir.c change.
41156 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41157 __scandirat64, and __scandir_cancel_handler.
41158 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41159 additional parameter and use openat instead of open (outside of ld.so).
41160 Add new __opendir as wrapper around __opendirat.
41161 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41162 here without requiring old scandirat implementation.
41163
879165f2
UD
411642011-08-08 Ulrich Drepper <drepper@gmail.com>
41165
41166 * dirent/scandir.c (cancel_handler): Renamed to
41167 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41168 defined. Adjust users.
41169 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41170 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41171
cb7e923b
UD
411722011-08-04 Ulrich Drepper <drepper@gmail.com>
41173
16292edd
UD
41174 * string/test-string.h (IMPL): Use __STRING to expand name and then
41175 stringify it.
41176
cb7e923b
UD
41177 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41178 of cleanups.
41179
cff82933
LD
411802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41181
41182 * string/Makefile: Update.
41183 (strop-tests): Append strncat.
41184 * string/test-wcscmp.c: New file.
41185 New comprehensive test for wcscmp.
41186 * string/test-strcmp.c: Update.
41187 (WIDE): New define.
41188
9be9bfcc
AS
411892011-07-22 Andreas Schwab <schwab@redhat.com>
41190
41191 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41192 line.
41193
2e96f1c7
AS
411942011-07-26 Andreas Schwab <schwab@redhat.com>
41195
41196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41197 encoding to ACE if AI_IDN.
41198
85188888
JJ
411992011-08-01 Jakub Jelinek <jakub@redhat.com>
41200
41201 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41202 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41203
5fa16e9b
LD
412042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41205
41206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41207 Fix overflow bug in strncat.
41208 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41209
41210 * string/test-strncat.c: Update.
41211 Add new tests for checking overflow bugs.
41212
412132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41214
41215 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41216 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41217 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41218 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41219 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41220 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41221 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41222 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41223 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41224
41225 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41226 (USE_AS_STRCAT): Define.
41227 Add strcat and strncat support.
41228 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41229
8c1a459f
AS
412302011-07-25 Andreas Schwab <schwab@redhat.com>
41231
41232 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41233 __n bigger than INT_MAX+1.
41234 (__strncmp_g): Likewise.
41235
bba33c28
UD
412362011-07-23 Ulrich Drepper <drepper@gmail.com>
41237
798be72d
UD
41238 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41239 * libio/stido.h: Likewise.
41240
8accd4dc
UD
41241 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41242 (AF_NFC): Define.
41243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41244 (AF_NFC): Define.
41245
cbff0d96
UD
41246 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41247 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41248 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41249 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41250 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41251
9191c04a
UD
41252 [BZ #13021]
41253 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41254 installed.
41255
bba33c28
UD
41256 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41257 typo.
41258 (_dl_x86_64_save_sse): Likewise.
41259
90f139dd
UD
412602011-07-22 Ulrich Drepper <drepper@gmail.com>
41261
1aae088a
UD
41262 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41263 OSXSAVE.
41264 (_dl_x86_64_save_sse): Likewise.
41265
8e2045f5
UD
41266 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41267
90f139dd
UD
41268 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41269
1d002f25
AS
412702011-07-21 Andreas Schwab <schwab@redhat.com>
41271
41272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41273 change.
41274 (_dl_x86_64_save_sse): Use correct AVX check.
41275
21137f89
UD
412762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41277
41278 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41279 bug in strncpy/strncat.
41280 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41281
a65c0b7a
UD
412822011-07-21 Ulrich Drepper <drepper@gmail.com>
41283
41284 * string/tester.c (test_strcat): Add tests for different alignments
41285 of source and destination.
41286 (test_strncat): Likewise.
41287
6986b98a
UD
412882011-07-20 Ulrich Drepper <drepper@gmail.com>
41289
90bb2039
UD
41290 [BZ #12852]
41291 * posix/glob.c (glob): Check passed in values before using them in
41292 expressions to avoid some overflows.
41293 (glob_in_dir): Likewise.
41294
5644ef54
UD
41295 [BZ #13007]
41296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41297 check for AVX enablement so that we don't crash with old kernels and
41298 new hardware.
41299 * elf/tst-audit4.c: Add same checks here.
41300 * elf/tst-audit6.c: Likewise.
41301
41302 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41303
bfc9dc9b
AS
413042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41305
41306 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41307
702e64bb
UD
413082011-07-20 Ulrich Drepper <drepper@gmail.com>
41309
41310 * po/cs.po: Update from translation team.
41311 * po/bg.po: Likewise.
41312
295e904f
MP
413132011-07-12 Marek Polacek <mpolacek@redhat.com>
41314
41315 * misc/sys/cdefs.h: Add support for const attribute.
41316 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41317 to gnu_dev_{major,minor,makedev} functions.
41318
3ff94596
MP
413192011-07-20 Marek Polacek <mpolacek@redhat.com>
41320
41321 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41322
28b59fca
AS
413232011-07-20 Andreas Schwab <schwab@redhat.com>
41324
41325 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41326 strlen results.
41327
19df733e
AK
413282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41329
41330 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41331 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41332 register in order to avoid conflicts with the soft frame pointer
41333 being held in r11 when necessary.
41334 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41335 (INTERNAL_VSYSCALL_NCS): Likewise.
41336
c8835729
MP
413372011-07-14 Marek Polacek <mpolacek@redhat.com>
41338
41339 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41340 * elf/dl-fini.c (_dl_fini): Adjust caller.
41341 * elf/dl-close.c (_dl_close_worker): Likewise.
41342 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41343
b902330c
MP
413442011-07-15 Marek Polacek <mpolacek@redhat.com>
41345
8991e135
MP
41346 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41347 "aux_cache->nlibs < 0".
41348
b902330c
MP
41349 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41350 in the reload-count case.
41351
99710781
LD
413522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41353
41354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41355 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41356 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41357 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41358 * sysdeps/x86_64/multiarch/strcat.S: New file.
41359 * sysdeps/x86_64/multiarch/strncat.S: New file.
41360 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41361 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41362 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41363 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41364 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41365 (USE_AS_STRCAT): Define.
41366 Add strcat and strncat support.
41367 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41369 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41370 * string/strncat.c: Update.
41371 (USE_AS_STRNCAT): Define.
41372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41373 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41374 and i7.
41375 * sysdeps/x86_64/multiarch/init-arch.h
41376 (bit_Prefer_PMINUB_for_stringop): New.
41377 (index_Prefer_PMINUB_for_stringop): Likewise.
41378 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41379 bit_Prefer_PMINUB_for_stringop.
41380
7dc6bd90
UD
413812011-07-19 Ulrich Drepper <drepper@gmail.com>
41382
41383 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41384 buffer64.
41385 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41386 of casting of buffer.
41387 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41388 buffer32 and buffer64.
41389 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41390 writes instead of casting of buffer.
41391 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41392 buffer32.
41393 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41394 casting of buffer.
41395
e0e72284
AS
413962011-07-19 Andreas Schwab <schwab@redhat.com>
41397
41398 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41399
feb1eb0b
UD
414002011-07-19 Ulrich Drepper <drepper@gmail.com>
41401
41402 * nscd/nscd.c (termination_handler): Don't do anything for a database
41403 if it has not yet been initialized.
41404
298711ff
UD
414052011-07-18 Ulrich Drepper <drepper@gmail.com>
41406
41407 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41408
414092011-07-15 Marek Polacek <mpolacek@redhat.com>
41410
41411 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41412
f9d68389
UD
414132011-07-18 Ulrich Drepper <drepper@gmail.com>
41414
41415 * po/nl.po: Update from translation team.
41416 * po/sv.po: Likewise.
41417
db290cf5
RM
414182011-07-16 Roland McGrath <roland@hack.frob.com>
41419
41420 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41421 now disallowed by GCC.
5c550700 41422
fd5e21c7
RM
41423 * configure.in (use-default-link): Default to yes if a test -shared
41424 link meets our qualifications.
41425 * configure: Regenerated.
41426
5c550700
RM
41427 * config.make.in (output-format): New variable.
41428 * configure.in: Check for ld --print-output-format support.
41429 * configure: Regenerated.
41430 * Makerules ($(common-objpfx)format.lds)
41431 [$(output-format) != unknown]: Just use $(output-format),
41432 instead of the linker-script munging.
41433
9fa2c032
RM
414342011-07-14 Roland McGrath <roland@hack.frob.com>
41435
a6928d51
RM
41436 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41437 of $(common-objpfx)shlib.lds.
41438 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41439
661607b3
RM
41440 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41441 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41442
9fa2c032
RM
41443 * configure.in (-z relro check): Adjust test code to add a large
41444 writable data section after it.
41445 * configure: Regenerated.
41446
defe9061
RM
414472011-07-11 Roland McGrath <roland@hack.frob.com>
41448
41449 * configure.in (-z relro check): Fix test code to make the variable
41450 truly const.
41451 * configure: Regenerated.
41452
319b9ad4
UD
414532011-07-11 Ulrich Drepper <drepper@gmail.com>
41454
41455 * nscd/nscd.h (struct traced_file): Define.
41456 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41457 elements. Add traced_files.
41458 (inotify_fd): Declare.
41459 (register_traced_file): Declare.
41460 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41461 (inotify_fd): Export.
41462 (resolv_conf_descr): Remove.
41463 (nscd_init): Move inotify descriptor creation to main.
41464 Don't register files for notification here.
41465 (register_traced_file): New function.
41466 (invalidate_cache): Don't use reset_res to determine whether to call
41467 res_init, go through the list of registered files.
41468 (main_loop_poll): The inotify descriptors are now stored in the
41469 structures for the traced files.
41470 (main_loop_epoll): Likewise
41471 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41472 to __nss_disable_nscd.
41473 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41474 for a database anymore. Check the records for all the registered
41475 files instead.
41476 * nss/Makefile (libnss_files-routines): Add files-init.
41477 (libnss_db-routines): Add db-init.
41478 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41479 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41480 * nss/nss_db/db-init.c: New file.
41481 * nss/nss_files/files-init.c: New file.
41482 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41483 __nss_lookup_function.
41484 (__nss_lookup_function): Call nss_load_library.
41485 (nss_load_all_libraries): New function.
41486 (__nss_disable_nscd): Take parameter with callback function for files
41487 to register. Set is_nscd. Load all the DSOs for the NSS modules
41488 used for the cached services.
41489 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41490 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41491 options for features to all the files in nscd.
41492
41493 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41494
23bee3e8
RM
414952011-07-10 Roland McGrath <roland@hack.frob.com>
41496
41497 * csu/elf-init.c (__libc_csu_init): Comment typo.
41498
46a5b7f0
UD
414992011-07-09 Ulrich Drepper <drepper@gmail.com>
41500
41501 * po/pl.po: Update from translation team.
41502 * po/ja.po: Likewise.
41503 * po/ru.po: Likewise.
41504 * po/ko.po: Likewise.
41505 * po/fr.po: Likewise.
41506
d30cf5bb
RM
415072011-07-09 Roland McGrath <roland@hack.frob.com>
41508
113ddea4
RM
41509 * configure.in (.ctors/.dtors header and trailer check):
41510 Use an empirical test on a built program.
41511 * configure: Regenerated.
41512
574920b4
RM
41513 * configure.in (-z relro check): Use an empirical test on a built DSO.
41514 Detect, but do not require, on ia64.
41515 * configure: Regenerated.
41516
d30cf5bb
RM
41517 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41518 Update tests that use readelf to use $READELF instead.
41519 * configure: Regenerated.
41520
8538fdb3
UD
415212011-07-08 Ulrich Drepper <drepper@gmail.com>
41522
41523 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41524 if the result is not used.
41525
04d08991
AJ
415262011-07-05 Andreas Jaeger <aj@suse.de>
41527
41528 [BZ#9696]
41529 * stdlib/tst-strtod.c: Add testcase.
41530
de283087
AD
415312011-07-07 Ulrich Drepper <drepper@gmail.com>
41532
4e5f31c8 41533 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41534 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41535 The latter has a higher limit. Take additional parameter to pass to
41536 the new function.
41537 (__pathconf): Pass file to __statfs_link_max.
41538 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41539 __statfs_link_max.
41540 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41541 __statfs_link_max.
41542
de283087
AD
41543 [BZ #12868]
41544 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41545 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41546 Handle Lustre.
41547 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41548 (__statfs_filesize_max): Likewise.
41549 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41550
c75fa153
AJ
415512011-07-05 Andreas Jaeger <aj@suse.de>
41552
41553 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41554
1a544854
UD
415552011-07-06 Marek Polacek <mpolacek@redhat.com>
41556
41557 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41558 `status' variable.
41559 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41560 Likewise.
41561
6f0eec67
UD
415622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41563
41564 * Makefile (strop-tests): Add strncat.
41565 * string/test-strncat.c: New file.
41566
aae30307
UD
415672011-06-30 Marek Polacek <mpolacek@redhat.com>
41568
41569 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41570
c0cfb5eb
UD
415712011-06-21 Andreas Jaeger <aj@suse.de>
41572
41573 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41574 Copy rule from iconvdata/Makefile.
41575
01636b21
UD
415762011-07-06 Ulrich Drepper <drepper@gmail.com>
41577
41578 [BZ #12922]
41579 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41580 but no long options are defined, just return 'W'.
41581
9895c8bc
UD
415822011-06-22 Marek Polacek <mpolacek@redhat.com>
41583
41584 [BZ #9696]
41585 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41586
5d4cf042
UD
415872011-07-06 Ulrich Drepper <drepper@gmail.com>
41588
41589 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41590 netgroups to read.
960e5535 41591 (innetgr): Likewise.
5d4cf042 41592
751eb97e
RM
415932011-07-05 Roland McGrath <roland@hack.frob.com>
41594
41595 * config.make.in (install_root): Default to $(DESTDIR).
41596
f15f1e45
UD
415972011-07-05 Ulrich Drepper <drepper@gmail.com>
41598
41599 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41600
4e34ac6a
RM
416012011-07-02 Roland McGrath <roland@hack.frob.com>
41602
5e9b6af4
RM
41603 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41604
84f9ea0f
RM
41605 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41606 containing directory rather than embedding absolute directory names.
41607
ea5ee9f7
RM
41608 * scripts/check-local-headers.sh: Rewritten using awk.
41609 Match by word, not by line. Print error messages for matches.
41610 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41611
1b74661a
RM
41612 * Makerules [shlib-lds-flags empty]:
41613 ($(common-objpfx)libc_pic.opts): New target.
41614 ($(common-objpfx)libc_pic.os.clean): New target.
41615 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41616
41617 * config.make.in (OBJCOPY): New variable.
41618 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41619 * configure: Regenerated.
41620
f781ef40
RM
41621 * config.make.in (use-default-link): New variable.
41622 * configure.in (use_default_link): Grok --with-default-link to set it.
41623 * configure: Regenerated.
41624 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41625 (shlib-lds, shlib-lds-flags): Define to empty.
41626
2d4fa81e
RM
41627 * Makerules (shlib-lds): New variable.
41628 (shlib-lds-flags): New variable.
41629 (build-shlib, build-moduile, build-module-asneeded): Use it.
41630 ($(common-objpfx)libc.so): Use $(shlib-lds).
41631 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41632 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41633
31fffa6b
RM
41634 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41635 DT_FLAGS/DT_FLAGS_1 with zero flags.
41636
4e34ac6a
RM
41637 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41638 linker script munging.
41639
fcfc776b
UD
416402011-07-02 Ulrich Drepper <drepper@gmail.com>
41641
41642 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41643 as 128-bit value.
41644 * crypt/sha512.c (sha512_process_block): Perform total addition using
41645 128-bit if possible.
41646 (__sha512_finish_ctx): Likewise.
41647 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41648 as 64-bit value.
41649 * crypt/sha256.c (SWAP64): Define.
41650 (sha256_process_block): Perform total addition using 64-bit if
41651 possible.
41652 (__sha256_finish_ctx): Likewise.
41653
99231d9a
UD
416542011-07-01 Ulrich Drepper <drepper@gmail.com>
41655
41656 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41657 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41658 * nscd/hstcache.c (cache_addhst): Likewise.
41659 * nscd/grpcache.c (cache_addgr): Likewise.
41660 * nscd/aicache.c (addhstaiX): Likewise
41661 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41662
445b4a53
TK
416632011-07-01 Thorsten Kukuk <kukuk@suse.de>
41664
41665 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41667 * nscd/hstcache.c (cache_addhst): Likewise.
41668 * nscd/grpcache.c (cache_addgr): Likewise.
41669 * nscd/aicache.c (addhstaiX): Likewise
41670
6d4d8e8e
AS
416712011-07-01 Andreas Schwab <schwab@redhat.com>
41672
41673 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41674 domain only when needed.
41675
89f654c5
AS
416762011-06-30 Andreas Schwab <schwab@redhat.com>
41677
41678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41679 is always restored.
41680
cf3b23ff
UD
416812011-06-29 Ulrich Drepper <drepper@gmail.com>
41682
41683 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41684 are re-adding the entry.
41685 * nscd/servicescache.c (cache_addserv): Likewise.
41686
751626f9
AJ
416872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41688
41689 * sysdeps/generic/dl-irel.h: fix protection against multiple
41690 inclusions.
41691 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41692
9113ea1f
UD
416932011-06-28 Ulrich Drepper <drepper@gmail.com>
41694
5c0b8d90
UD
41695 [BZ #12935]
41696 * malloc/memusage.sh: Fix quoting in message.
41697 * debug/xtrace.sh: Likewise.
41698
9113ea1f
UD
41699 * configure.in: Remove support for --experimental-malloc option, make
41700 it the default.
41701 * config.make.in: Likewise.
41702 * malloc/Makefile: Likewise.
41703
a4172181
AS
417042011-06-27 Andreas Schwab <schwab@redhat.com>
41705
41706 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41707 two-byte characters.
41708
78a7eee7
RM
417092011-06-27 Roland McGrath <roland@hack.frob.com>
41710
62bede13
RM
41711 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41712 AC_CACHE_CHECK invocation.
41713 * configure: Regenerated.
41714
78a7eee7
RM
41715 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41716
5ce33a62
UD
417172011-06-27 Ulrich Drepper <drepper@gmail.com>
41718
034807a9
UD
41719 [BZ #12350]
41720 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41721 bit from old_res_options.
41722
4902da17
UD
41723 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41724
5ce33a62
UD
41725 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41726 value type for setfct.
41727
c2344f56
L
417282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41729
41730 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41731 __gettimeofday instead of gettimeofday.
41732
68468076
UD
417332011-06-26 Ulrich Drepper <drepper@gmail.com>
41734
41735 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41736
acb0d739
L
417372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41738
41739 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41740
41741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41742 info.
41743
8912479f
L
417442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41745
41746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41747 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41748 strcpy-sse2-unaligned strncpy-sse2-unaligned
41749 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41750 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41751 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41752 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41753 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41754 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41756 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41757 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41758 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41759 (STRCPY): Support SSE2 and SSSE3 versions.
41760
d5495a11
UD
417612011-06-24 Ulrich Drepper <drepper@gmail.com>
41762
41763 [BZ #12874]
41764 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41765 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41766 kernels which artificially limit size of requests.
41767
0b1cbaae
L
417682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41769
41770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41771 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41772 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41773 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41774 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41775 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41776 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41777 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41778 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41779 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41780 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41781 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41782 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41783 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41784 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41786 Enable unaligned load optimization for Intel Core i3, i5 and i7
41787 processors.
41788 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41789 Define.
41790 (index_Fast_Unaligned_Load): Define.
41791 (HAS_FAST_UNALIGNED_LOAD): Define.
41792
07f494a0
MP
417932011-06-23 Marek Polacek <mpolacek@redhat.com>
41794
41795 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41796
fa3fc0fe
UD
417972011-06-22 Ulrich Drepper <drepper@gmail.com>
41798
41799 [BZ #12907]
41800 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41801 until it is clear that the information is realy needed.
41802 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41803
e12df166
AS
418042011-06-22 Andreas Schwab <schwab@redhat.com>
41805
41806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41807
852eb34d
UD
418082011-06-22 Ulrich Drepper <drepper@gmail.com>
41809
84e2a551
UD
41810 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41811 /sys/devices/system/cpu/online if it is usable.
41812
852eb34d
UD
41813 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41814 reading the information from the /proc filesystem to once a second.
41815
6e502e19
UD
418162011-06-21 Andreas Jaeger <aj@suse.de>
41817
41818 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41819 NULL after inclusion of kernel headers.
41820
75d39ff2
UD
418212011-06-21 Ulrich Drepper <drepper@gmail.com>
41822
51f9aa6a
UD
41823 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41824 calls to internal_setent.
41825
c0244a9d
UD
41826 [BZ #12885]
41827 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41828 addresses using gethostbyname4_r ignore IPv4 addresses.
41829
c5e3c2ae
UD
41830 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41831 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41832
75d39ff2
UD
41833 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41834
42675c6f
DM
418352011-06-20 David S. Miller <davem@davemloft.net>
41836
41837 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41838 inclusions.
41839 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41840
41841 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41842 (elf_irel): Use it.
41843 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41844 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41845 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41846 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41847 * sysdeps/x86_64/dl-irel.h: Likewise.
41848
41849 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41850 * elf/dl-sym.c: Likewise.
41851
57912a71
UD
418522011-06-15 Ulrich Drepper <drepper@gmail.com>
41853
41854 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41855 need to dereference resplen2.
41856
ee22793d
AS
418572011-06-14 Andreas Schwab <schwab@redhat.com>
41858
41859 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41860
a9e836b0
UD
418612011-06-15 Ulrich Drepper <drepper@gmail.com>
41862
77fb9117
UD
41863 * Makeconfig: Define vardbdir and inst_vardbdir.
41864 * nss/Makefile: Add rules to install db-Makefile.
41865
40c1b22c
UD
41866 * nss/nss_db/db-XXX.c: Cleanup.
41867
9f2da732
UD
41868 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41869 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41870 GLIBC_PRIVATE.
41871 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41872 * nss/makedb.c: Implement -g option to specify that value strings
41873 are generated and should not be added to table iterated over for
41874 get*ent calls.
41875 * nss/nss_db/db-initgroups.c: New file.
41876
82e9a1f7
UD
41877 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41878 interface.
41879
c41af17e
UD
41880 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41881 (internal_getgrouplist): Adjust to name change.
41882 Update use_initgroups_entry if this is not the first call.
41883 * nss/databases.def: Add initgroups entry.
41884
a9e836b0
UD
41885 * nss/makedb.c (compute_tables): Check result of multiple hash table
41886 sizes to minimize maximum chain length.
41887
2666d441
UD
418882011-06-14 Ulrich Drepper <drepper@gmail.com>
41889
41890 * Versions.def: Add entry for libnss_db.
41891 * shlib-versions: Likewise.
41892 * nss/Makefile: Add rules to build libnss_db.
41893 * nss/Versions: Add libnss_db information. Organize libnss_files
41894 entries better.
41895 * nss/db-Makefile: Add gshadow support. Change rules for the new
41896 makedb progra. Some minor improvements to generate smaller files.
41897 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41898 here from...
41899 * nss/makedb.c: ...here.
41900 Improve database format to be smaller and require less memory at
41901 runtime.
41902 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41903 db anymore.
41904 * nss/nss_db/db-netgrp.c: Likewise.
41905 * nss/nss_db/db-open.c: Likewise.
41906 * nss/nss_files/flies-XXX.x: Adjust comments.
41907 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41908 * nss/nss_files/files-grp.c: Likewise.
41909 * nss/nss_files/files-hosts.c: Likewise.
41910 * nss/nss_files/files-network.c: Likewise.
41911 * nss/nss_files/files-proto.c: Likewise.
41912 * nss/nss_files/files-pwd.c: Likewise.
41913 * nss/nss_files/files-rpc.c: Likewise.
41914 * nss/nss_files/files-service.c: Likewise.
41915 * nss/nss_files/files-sgrp.c: Likewise.
41916 * nss/nss_files/files-spwd.c: Likewise.
41917 * nss/nss_db/db-alias.c: Removed.
41918 * nss/nss_db/dummy-db.h: Removed.
41919
9ee76b5a
UD
419202011-06-02 Ulrich Drepper <drepper@gmail.com>
41921
41922 * nss/makedb.c: Rewritten to not use database library.
41923 * nss/Makefile: Update to build new makedb program.
41924
c71ca1f8
AJ
419252011-06-14 Andreas Jaeger <aj@suse.de>
41926
41927 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41928 memset declaration.
41929
3154bfb8
UD
419302011-06-10 Andreas Schwab <schwab@redhat.com>
41931
41932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41933 tmpbuf.
41934
b350afab
RM
419352011-06-10 Roland McGrath <roland@hack.frob.com>
41936
decd4e50
RM
41937 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41938 * elf/Makefile ($(objpfx)ld.so): Likewise.
41939
5615eaf2
RM
41940 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41941 Don't list ld.so twice in dependencies.
41942
41943 * posix/bug-regex31.c: Include <stdlib.h>.
41944
41945 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41946
41947 * nis/nss_compat/compat-spwd.c
41948 (getspent_next_nss_netgr): Remove unused variable.
41949 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41950
41951 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41952 nonmembers" output to use the right array.
41953
41954 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41955
41956 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41957
41958 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41959 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41960 * catgets/gencat.c (read_input_file): Likewise.
41961 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41962
41963 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41964 variable definition inside #if's controlling its use.
41965
41966 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41967
41968 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41969
41970 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41971
41972 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41973 unreachable code.
41974
41975 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41976
b68e08db
RM
41977 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41978 * configure: Regenerated.
41979
b350afab
RM
41980 * Makerules: Revert last change.
41981 * elf/Makefile: Likewise.
41982
28368601
RM
419832011-06-09 Roland McGrath <roland@hack.frob.com>
41984
41985 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41986 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41987 (reloc-link): Likewise.
41988
11988f8f
UD
419892011-06-09 Ulrich Drepper <drepper@gmail.com>
41990
41991 * elf/Makefile: Add rules to build pldd.
41992 * elf/pldd.c: New file.
41993 * elf/pldd-xx.c: New file.
41994
e80fab37
UD
419952011-06-07 Ulrich Drepper <drepper@gmail.com>
41996
41997 * version.h: Update for 2.15 development version.
41998
9b849836
DM
419992011-06-07 David S. Miller <davem@davemloft.net>
42000
42001 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42002 ifuncs.
42003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42004 elf_machine_lazy_rel): Likewise.
42005 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42007 elf_machine_lazy_rel): Likewise.
42008 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42009 dl_hwcap via passed in argument.
42010 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42011 Likewise.
42012
5a31b283
AK
420132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42014
42015 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42016
069e52f8
RM
420172011-06-06 Roland McGrath <roland@hack.frob.com>
42018
42019 [BZ #12849]
42020 * manual/fdl-1.1.texi: New file, verbatim from:
42021 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42022 * manual/lgpl-2.1.texi: New file, verbatim from:
42023 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42024 * manual/Makefile (licenses): New variable, list those new file names.
42025 (texis): Use it.
42026 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42027
42028 * manual/fdl.texi: File removed.
42029 * manual/lesser.texi: File removed.
42030 * manual/libc.texinfo (Copying, Documentation License):
42031 Use new @include file names, put @appendix directive before @include.
42032
f16846a5
JJ
420332011-06-04 Jakub Jelinek <jakub@redhat.com>
42034
42035 [BZ #12841]
42036 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42037 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42038 (mq_open): Add __NTH.
42039
3d29045b
L
420402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42041
42042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42043 Assume Intel Core i3/i5/i7 processor if AVX is available.
42044
8c297311
UD
420452011-05-31 Ulrich Drepper <drepper@gmail.com>
42046
42047 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42048 typo.
42049
c8fc0c91
UD
420502011-05-31 Andreas Schwab <schwab@redhat.com>
42051
42052 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42053 memory. Use alloca_account. Fix memory leak when retrying.
42054
5b27a807
UD
420552011-05-31 Ulrich Drepper <drepper@gmail.com>
42056
356f8bc6
UD
42057 * version.h (RELEASE): Bump for 2.14 release.
42058 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42059
5b27a807
UD
42060 * config.make.in (RANLIB): Remove entry.
42061
01f16ab0
UD
420622011-05-30 Ulrich Drepper <drepper@gmail.com>
42063
41fce8bd
UD
42064 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42065 (libc.pot): Work around missing support for .ksh extension in xgettext.
42066
4769ae77
UD
42067 [BZ #12684]
42068 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42069 if both request failed.
42070 (send_dg): In case of server errors clear resplen or *resplen2.
42071
6b1e7d19
UD
42072 [BZ #12454]
42073 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42074 when there are multiple maps.
42075 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42076 (_dl_fini): Remove test here.
42077
01f16ab0
UD
42078 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42079
b1ebd700
UD
420802011-05-29 Ulrich Drepper <drepper@gmail.com>
42081
7ae22829
UD
42082 [BZ #12350]
42083 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42084 bit from old_res_options.
42085 (gaih_inet): Likewise.
42086
553149f6 42087 [BZ #11099]
18a84741 42088 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42089 as signed.
42090
652ffab1
UD
42091 * resolv/res_init.c (res_setoptions): Make the code more compact.
42092
16985fd0
UD
42093 [BZ #11558]
42094 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42095 set RES_USEVC.
42096
0464f746
UD
42097 [BZ #11634]
42098 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42099
7d17596c
UD
42100 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42101
cf6bbbd7
UD
42102 [BZ #11781]
42103 * malloc/malloc.h: Declare malloc hook variables as volatile.
42104
13f1ab36
UD
42105 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42106 in last patch.
42107
b1ebd700
UD
42108 [BZ #11799]
42109 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42110 raise in the comment.
80e2212d
UD
42111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42112 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42113 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42114
ce67228d
UD
421152011-05-28 Ulrich Drepper <drepper@gmail.com>
42116
8887a920
UD
42117 [BZ #12811]
42118 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42119 grow the buffers more if it already has to be sufficient.
42120 (build_wcs_upper_buffer): Likewise.
42121 * posix/regexec.c (check_matching): Likewise.
42122 (clean_state_log_if_needed): Likewise.
42123 (extend_buffers): Don't enlarge buffers beyond size of the input
42124 buffer.
42125 Patches mostly by Emil Wojak <emil@wojak.eu>.
42126 * posix/bug-regex32.c: New file.
42127 * posix/Makefile (tests): Add bug-regex32.
42128
4f031072
UD
42129 * locale/findlocale.c (_nl_find_locale): Return right away if
42130 _nl_explode_name failed.
42131 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42132
d0478f0c
UD
42133 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42134
de81b246
UD
42135 * debug/xtrace.sh: Unify messages.
42136 * malloc/memusage.sh: Likewise.
42137
c738465a
UD
42138 [BZ #12813]
42139 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42140 time symbol from vDSO. Substitute with vsyscall if not available.
42141 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42142 __vdso_time.
42143
f1f929d7
UD
42144 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42145 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42146 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42147 Add sendmmsg and internal_sendmmsg.
42148 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42149 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42150 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42151
ce67228d
UD
42152 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42153 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42154 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42155
e57420c6
UD
421562011-05-27 Ulrich Drepper <drepper@gmail.com>
42157
a8509ca5
UD
42158 [BZ #12813]
42159 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42160 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42161 available.
42162 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42163 __vdso_getcpu.
42164
e57420c6
UD
42165 [BZ #12814]
42166 * iconvdata/Makefile (tests): Add bug-iconv9.
42167 * iconvdata/bug-iconv9.c: New file.
42168
4d07db15
AS
421692011-05-27 Andreas Schwab <schwab@redhat.com>
42170
42171 [BZ #12814]
42172 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42173
ea486f69
JJ
421742011-05-25 Jakub Jelinek <jakub@redhat.com>
42175
42176 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42177 (struct user_regs_struct): Change intcs field back to cs.
42178
6f038433
UD
421792011-05-25 Ulrich Drepper <drepper@gmail.com>
42180
42181 * po/ja.po: Update from translation team.
42182
67f86a25
UD
421832011-05-23 Ulrich Drepper <drepper@gmail.com>
42184
42185 [BZ #12795]
42186 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42187 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42188
def7fbd6
AS
421892011-05-20 Andreas Schwab <schwab@redhat.com>
42190
42191 * stdlib/longlong.h: Update from GCC.
42192
f50ef8f1
AS
421932011-05-23 Andreas Schwab <schwab@redhat.com>
42194
42195 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42196 parameter name.
42197 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42198 Add parameter name.
42199 (__sysconf): Pass it down.
42200
de7ce8f1
UD
422012011-05-22 Ulrich Drepper <drepper@gmail.com>
42202
f2962a71
UD
42203 [BZ #12671]
42204 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42205 some situations.
42206 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42207 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42208 add in in __libc_use_alloca calls. Adjust callers.
42209 (glob): Use malloc in some situations.
42210
de7ce8f1
UD
42211 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42212 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42213 pltexit.
42214
aec84f53
UD
422152011-05-21 Ulrich Drepper <drepper@gmail.com>
42216
05bb4a68
UD
42217 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42218 and CLOCK_BOOTTIME_ALARM.
42219
7ea72f99
UD
42220 [BZ #12782]
42221 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42222 is returned.
42223
7e4afad5
UD
42224 * string/_strerror.c (__strerror_r): Print negative errors as signed
42225 numbers.
42226
8e211fec
UD
42227 [BZ #12777]
42228 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42229 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42230 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42231
f7d82dc9
UD
42232 * configure.in: Fix typo in redirection and correct removal of test
42233 files in two cases.
42234
cc9e536d
UD
42235 [BZ #12788]
42236 * locale/setlocale.c (new_composite_name): Fix test to check for
42237 identical name of all categories.
42238
aec84f53
UD
42239 [BZ #12792]
42240 * libio/filedoalloc.c (local_isatty): New function.
42241 (_IO_file_doallocate): Use local_isatty.
42242 * stdio-common/perror.c (perror): In case a new stream is used
42243 forward the stream error.
42244 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42245 error flag.
42246
78e64fdc
RT
422472011-05-20 Ulrich Drepper <drepper@gmail.com>
42248
34a9094f
UD
42249 [BZ #11869]
42250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42251 alloca.
42252 * include/alloca.h (extend_alloca_account): Define.
42253
78e64fdc
RT
42254 [BZ #11857]
42255 * posix/regex.h: Fix comments with documentation of user-accessible
42256 fields after compilation and describe correct free'ing of pattern
42257 after re_compile_pattern.
42258 Patch by Reuben Thomas <rrt@sc3d.org>.
42259
457bddfc
RA
422602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42261
42262 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42263 and -mno-altivec to prevent the compiler from using Altivec and/or
42264 VSX instructions when the corresponding registers are not available.
42265
a4527b51
AS
422662011-05-19 Andreas Schwab <schwab@redhat.com>
42267
42268 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42269
ed690b2f
UD
422702011-05-19 Ulrich Drepper <drepper@gmail.com>
42271
42272 * libio/freopen.c (freopen): Use __dup2, not dup2.
42273 * libio/freopen64.c (freopen64): Likewise.
42274
8db73634
L
422752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42276
42277 [BZ #12775]
42278 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42279 * math/Makefile (tests): Add test-powl.
42280 (CFLAGS-test-powl.c): Define.
42281 * math/test-powl.c: New file.
42282
0a197a9d
L
422832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42284
42285 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42286
ee30c380
UD
422872011-05-17 Ulrich Drepper <drepper@gmail.com>
42288
42289 [BZ #11837]
42290 * iconvdata/gb18030.c: Update to GB18020-2005.
42291
6ce75379
UD
422922011-05-16 Ulrich Drepper <drepper@gmail.com>
42293
a4b89fd8
AR
42294 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42295 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42296 Patch by Aharon Robbins <arnold@skeeve.com>.
42297
ea389b12
UD
42298 [BZ #11892]
42299 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42300 on the stack.
42301
68a3f91f
UD
42302 [BZ #11895]
42303 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42304 through underflows.
42305
15cc7dd1
UD
42306 [BZ #12766]
42307 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42308 point to strings before performing equality test for error_one_per_line
42309 mode.
42310
f3799213
UD
42311 [BZ #11697]
42312 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42313
d79a9c94
UD
42314 [BZ #11820]
42315 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42316 (struct user_fpregs_struct): Avoid __uint*_t types.
42317
56e5eb46
UD
42318 [BZ #6420]
42319 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42320 symbol info. Use it instead of calling _dl_addr locally.
42321 (lock_and_info): New function.
42322 (tr_freehook): Call lock_and_info and pass symbol info as additional
42323 parameter to tr_where.
42324 (tr_mallochook): Likewise.
42325 (tr_reallochook): Likewise.
42326 (tr_memalignhook): Likewise.
42327
6ce75379
UD
42328 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42329 used and couldn't be at all thread-safe.
42330
f8a3b5bf
UD
423312011-05-15 Ulrich Drepper <drepper@gmail.com>
42332
94b7cc37
UD
42333 * libio/freopen.c (freopen): Don't close old file descriptor
42334 before the new one is opened. Instead dup the new file descriptor
42335 to the old one after the new stream is created.
42336 * libio/freopen64.c (freopen64): Likewise.
42337 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42338 * libio/fileops.c (_IO_new_file_close_it): Handle new
42339 _IO_FLAGS2_NOCLOSE flag.
42340 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42341 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42342 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42343 _IO_FLAGS2_NOCLOSE flag.
42344 * include/unistd.h: Add hidden_proto for dup3.
42345 Define __have_dup3.
42346 * io/dup3.c: Define hidden symbol.
42347 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42348
bd25564e
UD
42349 [BZ #7101]
42350 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42351 when an incomplete long option is used.
42352 * posix/tst-getopt_long1.c: New file.
42353 * posix/Makefile (tests): Add tst-getopt_long1.
42354
c84cfef4
UD
42355 [BZ #10138]
42356 * scripts/config.guess: Update from autoconf-2.68.
42357 * scripts/config.sub: Likewise.
42358
3b85df27
UD
42359 [BZ #10157]
42360 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42361 tests into ...
42362 (has_cpuclock): ...this. New function.
42363 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42364 macro here based on has_cpuclock code.
42365
15a856b1
UD
42366 [BZ #10149]
42367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42368 First byte (not low byte) is now always NUL.
42369 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42370
05f399e6
UD
42371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42372 Use non-cancelable interfaces.
42373
10a52685 42374 [BZ #9809]
94ecc67d
UD
42375 * locale/iso-639.def: Add entry for Sorani.
42376
f8a3b5bf
UD
42377 [BZ #11901]
42378 * include/stdlib.h: Move include protection to the right place.
42379 Define abort_msg_s. Declare __abort_msg with it.
42380 * stdlib/abort.c (__abort_msg): Adjust type.
42381 * assert/assert.c (__assert_fail_base): New function. Majority
42382 of code from __assert_fail. Allocate memory for __abort_msg with
42383 mmap.
42384 (__assert_fail): Now call __assert_fail_base.
42385 * assert/assert-perr.c: Remove bulk of implementation. Use
42386 __assert_fail_base.
42387 * include/assert.hL Declare __assert_fail_base.
42388 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42389 mmap.
42390 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42391
1af4e298
UD
423922011-05-14 Ulrich Drepper <drepper@gmail.com>
42393
f8a3b5bf 42394 [BZ #11952]
d26dfc60
MG
42395 [BZ #12453]
42396 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42397 until all modules are registered in the DTV.
42398 * elf/Makefile: Add rules to build and run tst-tls19.
42399 * elf/tst-tls19.c: New file.
42400 * elf/tst-tls19mod1.c: New file.
42401 * elf/tst-tls19mod2.c: New file.
42402 * elf/tst-tls19mod3.c: New file.
42403 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42404
2fc54d6f
UD
42405 [BZ #12083]
42406 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42407 correctly.
42408
98d76b46
UD
42409 [BZ #12601]
42410 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42411 two-byte sequence errors.
42412 * iconvdata/Makefile (tests): Add bug-iconv8.
42413 * iconvdata/bug-iconv8.c: New file.
42414
da3c19ef
UD
42415 [BZ #12626]
42416 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42417 buf2 definition.
42418
ca408c15
UD
42419 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42420
d6f67f7d
UD
42421 [BZ #12432]
42422 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42423 (dummy_getcfa): New function.
42424 (init): Get _Unwind_GetCFA address, use dummy if not found.
42425 (backtrace_helper): In recursion check, also check whether CFA changes.
42426 (__backtrace): Completely initialize arg.
42427
1af4e298 42428 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42429 storing incomplete byte sequence in state object. Avoid testing for
42430 guaranteed too small input if we know there is enough data available.
1af4e298 42431
da62f81b
AS
424322011-05-11 Andreas Schwab <schwab@redhat.com>
42433
42434 * Makeconfig (+link-pie): Indent.
42435 * Rules (binaries-pie): Define if $(have-fpie) and
42436 $(build-shared).
42437 (binaries-shared): Also filter out $(binaries-pie).
42438 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42439 * nscd/Makefile (others-pie): Add nscd.
42440 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42441 ($(objpfx)nscd): Remove command override.
42442 * login/Makefile (others-pie): Add pt_chown.
42443 ($(objpfx)pt_chown): Remove command override.
42444 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42445 remove command overrides.
42446
fcabc0f8
UD
424472011-05-13 Ulrich Drepper <drepper@gmail.com>
42448
20030ae6
UD
42449 * libio/tst_putwc.c: Fix error messages.
42450
fcabc0f8
UD
42451 [BZ #12724]
42452 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42453 currently writing and seek to current position when not.
42454 * libio/Makefile (tests): Add bug-fclose1.
42455 * libio/bug-fclose1.c: New file.
42456
320a5dc0
PB
424572011-05-12 Ulrich Drepper <drepper@gmail.com>
42458
42459 [BZ #12511]
42460 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42461 don't set DF_1_NODELETE here.
42462 (do_lookup_x): When entering new entry test for copy relocation
42463 and if necessary set DF_1_NODELETE flag.
42464 * elf/tst-unique4.cc: New file.
42465 * elf/tst-unique4.h: New file.
42466 * elf/tst-unique4lib.cc: New file.
42467 * elf/Makefile: Add rules to build and run tst-unique4.
42468 Patch by Piotr Bury <pbury@goahead.com>.
42469
22836f52
UD
424702011-05-11 Ulrich Drepper <drepper@gmail.com>
42471
f574184a
UD
42472 [BZ #12052]
42473 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42474
e1fb097f
UD
42475 [BZ #12625]
42476 * misc/mntent_r.c (addmntent): Flush the stream after the output
42477
22836f52
UD
42478 [BZ #12393]
42479 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42480 (is_trusted_path_normalize): Skip initial colon. Append slash
42481 to empty buffer. Duplicate is_trusted_path code but allow
42482 constructed patch to be prefix.
42483 (is_dst): Allow $ORIGIN followed by /.
42484 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42485 Correct testing of result of is_trusted_path_normalize
42486 (decompose_rpath): Fix warning.
42487
7b3b0b2a
UD
424882011-05-10 Ulrich Drepper <drepper@gmail.com>
42489
42490 [BZ #11257]
42491 * grp/initgroups.c (internal_getgrouplist): When we found the service
42492 list through the initgroups entry in nsswitch.conf do not always
42493 continue on a successful lookup. Don't always use the
eac80ce2 42494 __nss_group_database value if it is set.
7b3b0b2a
UD
42495 * nss/nsswitch.conf (initgroups): Change action for successful db
42496 lookup to continue for compatibility.
42497
2a81eaa5
UD
424982011-05-09 Ulrich Drepper <drepper@gmail.com>
42499
be97a69e
UD
42500 [BZ #11532]
42501 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42502 and CP774 modules.
42503 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42504 and CP774 modules.
42505 * iconvdata/tst-tables.sh: Likewise.
42506 * iconvdata/cp770.c: New file.
42507 * iconvdata/cp771.c: New file.
42508 * iconvdata/cp772.c: New file.
42509 * iconvdata/cp773.c: New file.
42510 * iconvdata/cp774.c: New file.
42511 * iconvdata/testdata/CP770: New file.
42512 * iconvdata/testdata/CP770..UTF8: New file.
42513 * iconvdata/testdata/CP771: New file.
42514 * iconvdata/testdata/CP771..UTF8: New file.
42515 * iconvdata/testdata/CP772: New file.
42516 * iconvdata/testdata/CP772..UTF8: New file.
42517 * iconvdata/testdata/CP773: New file.
42518 * iconvdata/testdata/CP773..UTF8: New file.
42519 * iconvdata/testdata/CP774: New file.
42520 * iconvdata/testdata/CP774..UTF8: New file.
42521
42522 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42523 END CHARMAP line.
42524 * iconvdata/gen-8bit-gap.sh: Likewise.
42525 * iconvdata/gen-8bit.sh: Likewise.
42526
c1e9e399
UD
42527 * locale/iso-639.def: Add ary entry.
42528
24c55fb3 42529 [BZ #11258]
96b4b1b0
UD
42530 * locale/C-translit.h.in: Add U20A1 transliteration.
42531
bdc2f971
KB
42532 [BZ #12178]
42533 * locale/iso-639.def: Add wae entry.
42534 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42535
2952b117
UD
42536 [BZ #12545]
42537 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42538 for n.
42539
2a81eaa5
UD
42540 [BZ #12711]
42541 * locale/C-translit.h.in: Add entry for U20B9.
42542 Patch by pravin.d.s@gmail.com.
42543
28377d1b
UD
425442011-05-08 Ulrich Drepper <drepper@gmail.com>
42545
7fb90fb8
UD
42546 [BZ #12713]
42547 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42548 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42549 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42550 in rtld. Use *stat64.
7fb90fb8 42551 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42552 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42553 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42554 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42555 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42556 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42557 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42558 __fstatat64 macros.
7fb90fb8
UD
42559 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42560 * dirent/rewinddir.c: Add libc_hidden_def.
42561 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42562 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42563
28377d1b
UD
42564 * include/dirent.h (__alloc_dir): Add flags parameter.
42565 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42566 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42567 __alloc_dir.
42568 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42569 from fdopendir if O_CLOEXEC is already set.
42570
66bdbaa4
AM
425712011-03-15 Alan Modra <amodra@gmail.com>
42572
42573 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42574 l_tls_firstbyte_offset non-zero. Save padding offset in
42575 l_tls_firstbyte_offset for later use.
42576 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42577 freeing static tls block.
42578
95721191
JN
425792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42580
42581 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42582 where #ifdef was intended. The intent is to prevent ARG_MAX from
42583 being defined by the kernel headers.
42584
f87dfb1f
UD
425852011-05-07 Ulrich Drepper <drepper@gmail.com>
42586
42587 [BZ #12734]
42588 * resolv/resolv.h: Define RES_NOTLDQUERY.
42589 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42590 no-tld-query and set RES_NOTLDQUERY.
42591 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42592 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42593 modern BIND to search name as TLD unless forbidden.
42594
47c3cd7a
UD
425952011-05-07 Petr Baudis <pasky@suse.cz>
42596 Ulrich Drepper <drepper@gmail.com>
42597
42598 [BZ #12393]
42599 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42600 (is_trusted_path): ...to here.
c1e9ea35 42601 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42602 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42603 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42604
8a35c912
PP
426052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42606
42607 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42608 __BEGIN/__END_DECLS.
42609
acd41f47
UD
426102011-05-06 Ulrich Drepper <drepper@gmail.com>
42611
42612 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42613 NSS_STATUS_NOTFOUND if no record was found.
42614
597df647
AS
426152011-05-05 Andreas Schwab <schwab@redhat.com>
42616
42617 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42618 (headers-not-in-tirpc): Remove rpc/netdb.h
42619 * resolv/netdb.h: Revert last change.
42620
b9af1301
PP
426212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42622
42623 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42624 circular dependency between libgcc.a and libc.a.
42625
4e34d5f5
AS
426262011-05-05 Andreas Schwab <schwab@redhat.com>
42627
42628 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42629 * nis/Makefile: Don't install rpcsvc/*.
42630 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42631 instead of <rpc/types.h>.
42632 (MAXHOSTNAMELEN): Define.
42633
00ee369c
AS
426342011-05-03 Andreas Schwab <schwab@redhat.com>
42635
42636 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42637
0b592a30
MB
426382011-04-28 Maciej Babinski <mbabinski@google.com>
42639
42640 [BZ #12714]
42641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42642 gethostbyname4_r when IPv6 results are possible.
42643
6e04cbbe
UD
426442011-05-02 Ulrich Drepper <drepper@gmail.com>
42645
42646 [BZ #12723]
42647 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42648 _PC_PIPE_BUF handling.
42649
e4ecafe0
BH
426502011-04-30 Bruno Haible <bruno@clisp.org>
42651
42652 [BZ #12717]
42653 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42654 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42655 to 'int'.
42656 * inet/getnameinfo.c (getnameinfo): Likewise.
42657
125ee683
UD
426582011-04-29 Ulrich Drepper <drepper@gmail.com>
42659
42660 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42661 to groups setting in database lookup.
42662 * nss/nsswitch.conf: Add initgroups entry.
42663
b722481a
EB
426642011-04-22 Ulrich Drepper <drepper@gmail.com>
42665
42666 [BZ #12685]
42667 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42668 mode string.
42669 Patch by Eric Blake <eblake@redhat.com>.
42670
4df46dbd
L
426712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42672
42673 * sunrpc/Makefile (need-export-routines): Add svc_run.
42674 (routines): Remove svc_run.
42675 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42676 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42677 * sunrpc/svc_run.c (svc_run): Likewise.
42678 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42679
e84142d2
UD
426802011-04-21 Ulrich Drepper <drepper@gmail.com>
42681
42682 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42683 problem in reallocation in last patch.
42684
877175d8
UD
426852011-04-20 Ulrich Drepper <drepper@gmail.com>
42686
42687 * sunrpc/Makefile: Move inclusion of Rules.
42688
ab8eed78
UD
426892011-04-19 Ulrich Drepper <drepper@gmail.com>
42690
42691 * nss/nss_files/files-initgroups.c: New file.
42692 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42693 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42694 _nss_files_initgroups_dyn.
42695
e3d8f584
RS
426962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42697
42698 * elf/elf.h (R_ARM_IRELATIVE): Define.
42699
af190f45
UD
427002011-04-19 Ulrich Drepper <drepper@gmail.com>
42701
42702 * po/ru.po: Update from translation team.
42703
53cf59ef
UD
427042011-04-17 Ulrich Drepper <drepper@gmail.com>
42705
42706 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42707 dependencies.
42708
4c559bcd
MF
427092011-02-06 Mike Frysinger <vapier@gentoo.org>
42710
42711 [BZ #12653]
42712 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42713 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42714 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42715 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42716 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42717
4420675c
AS
427182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42719
42720 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42721 differing bytes.
42722 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42723 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42724 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42725
75ea32ab
UD
427262011-04-17 Ulrich Drepper <drepper@gmail.com>
42727
42728 [BZ #12420]
42729 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42730 storing it.
42731 * stdlib/bug-getcontext.c: New file.
42732 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42733
27390476
AK
427342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42735
42736 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42737 instructions into .machine "z9-109".
42738 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42739 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42740
10442705
AK
427412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42742
42743 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42744 between environment variables and auxiliary vector.
42745
7b57bfe5
UD
427462011-04-16 Ulrich Drepper <drepper@gmail.com>
42747
42748 * Makefile: Add rules to build linkobj/libc.so.
42749 * include/libc-symbols.h: Define libc_hidden_nolink.
42750 * include/rpc/auth.h: Mark functions which are to be hidden.
42751 * include/rpc/auth_des.h: Likewise.
42752 * include/rpc/auth_unix.h: Likewise.
42753 * include/rpc/clnt.h: Likewise.
42754 * include/rpc/des_crypt.h: Likewise.
42755 * include/rpc/key_prot.h: Likewise.
42756 * include/rpc/pmap_clnt.h: Likewise.
42757 * include/rpc/pmap_prot.h: Likewise.
42758 * include/rpc/pmap_rmt.h: Likewise.
42759 * include/rpc/rpc_msg.h: Likewise.
42760 * include/rpc/svc.h: Likewise.
42761 * include/rpc/svc_auth.h: Likewise.
42762 * include/rpc/xdr.h: Likewise.
42763 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42764 * nss/Makefile: Likewise.
42765 * sunrpc/Makefile: Don't install headers. Build library with normal
42766 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42767 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42768 for the compat linking library. Remove use of INTDEF/INTUSE.
42769 * sunrpc/auth_none.c: Likewise.
42770 * sunrpc/auth_unix.c: Likewise.
42771 * sunrpc/authdes_prot.c: Likewise.
42772 * sunrpc/authuxprot.c: Likewise.
42773 * sunrpc/clnt_gen.c: Likewise.
42774 * sunrpc/clnt_perr.c: Likewise.
42775 * sunrpc/clnt_raw.c: Likewise.
42776 * sunrpc/clnt_simp.c: Likewise.
42777 * sunrpc/clnt_tcp.c: Likewise.
42778 * sunrpc/clnt_udp.c: Likewise.
42779 * sunrpc/clnt_unix.c: Likewise.
42780 * sunrpc/des_crypt.c: Likewise.
42781 * sunrpc/des_soft.c: Likewise.
42782 * sunrpc/get_myaddr.c: Likewise.
42783 * sunrpc/key_call.c: Likewise.
42784 * sunrpc/key_prot.c: Likewise.
42785 * sunrpc/netname.c: Likewise.
42786 * sunrpc/pm_getmaps.c: Likewise.
42787 * sunrpc/pm_getport.c: Likewise.
42788 * sunrpc/pmap_clnt.c: Likewise.
42789 * sunrpc/pmap_prot.c: Likewise.
42790 * sunrpc/pmap_prot2.c: Likewise.
42791 * sunrpc/pmap_rmt.c: Likewise.
42792 * sunrpc/publickey.c: Likewise.
42793 * sunrpc/rpc_cmsg.c: Likewise.
42794 * sunrpc/rpc_common.c: Likewise.
42795 * sunrpc/rpc_dtable.c: Likewise.
42796 * sunrpc/rpc_prot.c: Likewise.
42797 * sunrpc/rpc_thread.c: Likewise.
42798 * sunrpc/rtime.c: Likewise.
42799 * sunrpc/svc.c: Likewise.
42800 * sunrpc/svc_auth.c: Likewise.
42801 * sunrpc/svc_authux.c: Likewise.
42802 * sunrpc/svc_raw.c: Likewise.
42803 * sunrpc/svc_run.c: Likewise.
42804 * sunrpc/svc_simple.c: Likewise.
42805 * sunrpc/svc_tcp.c: Likewise.
42806 * sunrpc/svc_udp.c: Likewise.
42807 * sunrpc/svc_unix.c: Likewise.
42808 * sunrpc/svcauth_des.c: Likewise.
42809 * sunrpc/xcrypt.c: Likewise.
42810 * sunrpc/xdr.c: Likewise.
42811 * sunrpc/xdr_array.c: Likewise.
42812 * sunrpc/xdr_float.c: Likewise.
42813 * sunrpc/xdr_intXX_t.c: Likewise.
42814 * sunrpc/xdr_mem.c: Likewise.
42815 * sunrpc/xdr_rec.c: Likewise.
42816 * sunrpc/xdr_ref.c: Likewise.
42817 * sunrpc/xdr_sizeof.c: Likewise.
42818 * sunrpc/xdr_stdio.c: Likewise.
42819
e6c61494
UD
428202011-04-10 Ulrich Drepper <drepper@gmail.com>
42821
42822 [BZ #12650]
42823 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42824 * sysdeps/ia64/dl-tls.h: Likewise.
42825 * sysdeps/powerpc/dl-tls.h: Likewise.
42826 * sysdeps/s390/dl-tls.h: Likewise.
42827 * sysdeps/sh/dl-tls.h: Likewise.
42828 * sysdeps/sparc/dl-tls.h: Likewise.
42829 * sysdeps/x86_64/dl-tls.h: Likewise.
42830 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42831
34fe483e
AS
428322011-03-14 Andreas Schwab <schwab@redhat.com>
42833
42834 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42835 rpath element also skip the following colon.
42836 (expand_dynamic_string_token): Add is_path parameter and pass
42837 down to DL_DST_REQUIRED and _dl_dst_substitute.
42838 (decompose_rpath): Call expand_dynamic_string_token with
42839 non-zero is_path. Ignore empty rpaths.
42840 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42841 with zero is_path.
42842
f12a32e6
AS
428432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42844
42845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42846 Make cancelable.
42847
38a7d692
UD
428482011-04-09 Ulrich Drepper <drepper@gmail.com>
42849
42850 [BZ #12655]
42851 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42852 Patch by Filipe David Manana <fdmanana@apache.org>.
42853
e451d22b
AS
428542011-04-07 Andreas Schwab <schwab@redhat.com>
42855
42856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42857 Maintain aligned stack.
42858 (CHECK_RSP): Remove unused macro.
42859
dedc7c7b
UD
428602011-04-03 Ulrich Drepper <drepper@gmail.com>
42861
42862 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42863 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42864
94521213
UD
428652011-04-02 Ulrich Drepper <drepper@gmail.com>
42866
42867 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42868
8cb700c0 42869 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42870
0354e355
L
428712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42872
42873 [BZ #12518]
42874 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42875 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42876 * sysdeps/x86_64/memmove.c: New file.
42877 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42878 (memcpy): Renamed to ...
42879 (__new_memcpy): This.
42880 (memcpy): Provide GLIBC_2_14 memcpy.
42881 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42882 (memcpy): Provide GLIBC_2_2_5 memcpy.
42883
8593482f
UD
428842011-04-01 Ulrich Drepper <drepper@gmail.com>
42885
42886 [BZ #12631]
42887 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42888
81a5726b
AS
428892011-03-30 Andreas Schwab <schwab@redhat.com>
42890
42891 * misc/syncfs.c: New file.
42892 * misc/Makefile (routines): Add syncfs.
42893 * posix/unistd.h: Declare syncfs.
42894 * sysdeps/unix/syscalls.list: Add syncfs.
42895
00e5419f
AS
428962011-04-01 Andreas Schwab <schwab@redhat.com>
42897
42898 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42899 open_by_handle_at.
42900 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42901 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42905 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42907
748876bf
UD
429082011-04-01 Ulrich Drepper <drepper@gmail.com>
42909
658e451d
UD
42910 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42911 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42912 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42914 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42917
748876bf
UD
42918 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42919 sync_file_range.c with -fexceptions.
42920 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42921 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42922 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42923 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42924 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42925 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42926 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42927 sync_file_range as cancellation point
42928 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42929 now a wrapper around __call_sync_file_range with cancellation handling.
42930 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42931 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42932 function name to __call_sync_file_range.
42933 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42934 Add call_sync_file_range.
748876bf 42935
6e63d5e1
AS
429362011-04-01 Andreas Schwab <schwab@redhat.com>
42937
42938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42939 bits/timex.h.
6e63d5e1 42940
46998f74
UD
429412011-04-01 Ulrich Drepper <drepper@gmail.com>
42942
4c1423ed
UD
42943 * iconv/iconv.h: Fix typo in comment.
42944 * io/fcntl.h: Likewise.
42945 * libio/stdio.h: Likewise.
42946 * posix/spawn.h: Likewise.
42947 * posix/unistd.h: Likewise.
42948 * stdlib/stdlib.h: Likewise.
42949 * time/time.h: Likewise.
42950 * wcsmbs/wchar.h: Likewise.
42951
158648c0
UD
42952 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42953 open_by_handle): Add.
42954 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42955 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42956 Augment a few comments.
42957 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42959 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42961 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42962 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42963 open_by_handle.
42964
46998f74
UD
42965 * io/fcntl.h (AT_EMPTY_PATH): Define.
42966
83fe108b
UD
429672011-03-30 Ulrich Drepper <drepper@gmail.com>
42968
42969 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42970 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42971 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42972 to...
42973 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42974 * Versions.def: Add GLIBC_2.14.
42975 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42976 Export.
83fe108b 42977
bb242059
UD
429782011-03-22 Ulrich Drepper <drepper@gmail.com>
42979
42980 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42981 round counter.
42982 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42983
c97a1282
L
429842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42985
42986 [BZ #12597]
42987 * string/test-strncmp.c (do_page_test): New function.
42988 (check2): Likewise.
42989 (test_main): Call check2.
42990 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42991
2a115601
UD
429922011-03-20 Ulrich Drepper <drepper@gmail.com>
42993
42994 [BZ #12587]
42995 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42996 Handle cache information in CPU leaf 4.
42997 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42998
8126d904
UD
429992011-03-18 Ulrich Drepper <drepper@gmail.com>
43000
042c49c6 43001 [BZ #12583]
8126d904
UD
43002 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43003 character representation.
43004 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43005
ccfe366e
RA
430062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43007
43008 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43009 END(__isnan) to END(__isnanf) to match function entry point/label
43010 EALIGN(__isnanf,...).
43011
c6e13027
JJ
430122011-03-10 Jakub Jelinek <jakub@redhat.com>
43013
43014 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43015
33f85a3f
UD
430162011-03-10 Ulrich Drepper <drepper@gmail.com>
43017
028478fa
UD
43018 [BZ #12510]
43019 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43020 copy from the symbol referenced in the relocation to initialize the
43021 used variable.
43022 Patch by Piotr Bury <pbury@goahead.com>.
43023 * elf/Makefile: Add rules to build and tst-unique3.
43024 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43025 * elf/tst-unique3.cc: New file.
43026 * elf/tst-unique3.h: New file.
43027 * elf/tst-unique3lib.cc: New file.
43028 * elf/tst-unique3lib2.cc: New file.
43029
33f85a3f
UD
43030 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43031
03592fc7
MF
430322011-03-10 Mike Frysinger <vapier@gentoo.org>
43033
43034 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43035 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43036 to _start.
03592fc7 43037
6a5ee102
UD
430382011-03-06 Ulrich Drepper <drepper@gmail.com>
43039
43040 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43041 to-be-loaded object along a path to loader is ld.so.
43042
7e4ba49c
HJ
430432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43044 Ulrich Drepper <drepper@gmail.com>
43045
43046 * sysdeps/x86_64/memset.S: After aligning destination, code
43047 branches to different locations depending on the value of
43048 misalignment, when multiarch is enabled. Fix this.
43049
430502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43051
43052 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43053 Set _x86_64_preferred_memory_instruction for AMD processsors.
43054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43055 Set bit_Prefer_SSE_for_memop for AMD processors.
43056
13a804de
UD
430572011-03-04 Ulrich Drepper <drepper@gmail.com>
43058
43059 * libio/fmemopen.c (fmemopen): Optimize a bit.
43060
9d25c392
AS
430612011-03-03 Andreas Schwab <schwab@redhat.com>
43062
43063 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43064
a5543c6a
RM
430652011-03-03 Roland McGrath <roland@redhat.com>
43066
43067 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43068
012d35f7
DM
430692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43070
7e4ba49c 43071 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43072 __bzero_ultra1 instead of __memset_ultra1.
43073
4bff6e01
AS
430742011-02-23 Andreas Schwab <schwab@redhat.com>
43075 Ulrich Drepper <drepper@gmail.com>
43076
43077 [BZ #12509]
43078 * include/link.h (struct link_map): Add l_orig_initfini.
43079 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43080 returning unsuccessfully.
43081 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43082 close of a file loaded at startup, restore the original l_initfini
43083 list.
43084 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43085 list, store the pointer.
43086 * elf/Makefile ($(objpfx)noload-mem): New rule.
43087 (noload-ENV): Define.
43088 (tests): Add $(objpfx)noload-mem.
43089 * elf/noload.c: Include <memcheck.h>.
43090 (main): Call mtrace. Close all opened handles.
43091
f2092faf
AS
430922011-02-17 Andreas Schwab <schwab@redhat.com>
43093
43094 [BZ #12454]
43095 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43096 dependencies are missing.
43097
6c8a2e88
ST
430982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43099
f2092faf 43100 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43101 Hurd needs munmap.
43102 * sysdeps/mach/hurd/ifreq.h: New file.
43103
84a42118
PB
431042011-01-27 Petr Baudis <pasky@suse.cz>
43105 Ulrich Drepper <drepper@gmail.com>
43106
071f805e 43107 [BZ 12445]#
84a42118
PB
43108 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43109 to extend_alloca().
43110 * stdio-common/bug23.c: New file.
43111 * stdio-common/Makefile (tests): Add bug23.
43112
e23fe25b
AS
431132010-09-28 Andreas Schwab <schwab@redhat.com>
43114 Ulrich Drepper <drepper@gmail.com>
43115
43116 [BZ #12489]
43117 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43118 before performing relro protection. At old place add assertion
43119 to make sure nothing changed.
43120
d3f02e10
NS
431212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43122 Glauber de Oliveira Costa <glommer@gmail.com>
43123
43124 * elf/elf.h: Add new ARM TLS relocs.
43125
d55fd7a5
RA
431262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43127
43128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43129 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43130 cast from r3.
43131 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43132 'tests' variable.
43133 * sysdeps/wordsize-64/tst-writev.c: New file.
43134
2206397e
RA
431352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43136
43137 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43138 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43139 insns in _dl_start to prevent a TOC reference before relocs are
43140 resolved.
43141
e9433893
UD
431422011-02-15 Ulrich Drepper <drepper@gmail.com>
43143
43144 [BZ #12469]
43145 * Makeconfig: Remove RANLIB definition.
43146 * Makerules: Don't use RANLIB.
43147 * aclocal.m4: Remove ranlib test.
43148 * configure.in: No need to check for ranlib.
43149 * elf/rtld-Rules: Don't use RANLIB.
43150
f75286c6
ST
431512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43152
8e31c82d
ST
43153 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43154 protection macro.
43155 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43156 inclusion protection macro.
43157
f75286c6
ST
43158 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43159 SIGRTMIN and SIGRTMAX and print information in that case only when
43160 SIGRTMIN is defined.
43161
c1d0e639
JJ
431622011-02-11 Jakub Jelinek <jakub@redhat.com>
43163
43164 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43165 arginfo fn returning -1.
43166
43167 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43168 and thousands string is zero terminated.
43169
edf9294e
AS
431702011-02-03 Andreas Schwab <schwab@redhat.com>
43171
43172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43173 sysdeps/unix/sysv/linux/bits/socket.h.
43174
2b7e92df
ST
431752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43176
edf9294e
AS
43177 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43178 (__CPU_COUNT): Remove old macros.
43179 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43180 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43181 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43182 (__sched_cpualloc, __sched_cpufree): Add declarations.
43183
a4c7ea7b
UD
431842011-02-05 Ulrich Drepper <drepper@gmail.com>
43185
43186 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43187 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43188 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43189 (readdhstai): Return value of addhstaiX call.
43190 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43191 (addgrbyX): Return value returned by cache_addgr.
43192 (readdgrbyname): Return value returned by addgrbyX.
43193 (readdgrbygid): Likewise.
43194 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43195 (addpwbyX): Return value returned by cache_addpw.
43196 (readdpwbyname): Return value returned by addhstbyX.
43197 (readdpwbyuid): Likewise.
43198 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43199 (addservbyX): Return value returned by cache_addserv.
43200 (readdservbyname): Return value returned by addservbyX:
43201 (readdservbyport): Likewise.
43202 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43203 (addhstbyX): Return value returned by cache_addhst.
43204 (readdhstbyname): Return value returned by addhstbyX.
43205 (readdhstbyaddr): Likewise.
43206 (readdhstbynamev6): Likewise.
43207 (readdhstbyaddrv6): Likewise.
43208 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43209 (readdinitgroups): Return value returned by addinitgroupsX.
43210 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43211 (prune_cache): Keep track of timeout value of re-added entries.
43212 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43213 * nscd/nscd.h: Adjust prototypes of readd* functions.
43214
a0bf67cc
RM
432152011-02-04 Roland McGrath <roland@redhat.com>
43216
43217 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43218 (nis_stats): Likewise.
43219 * nis/nis_modify.c (nis_modify): Likewise.
43220 * nis/nis_remove.c (nis_remove): Likewise.
43221 * nis/nis_add.c (nis_add): Likewise.
43222
43223 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43224
43225 * posix/fnmatch_loop.c: Add some consts.
43226
43227 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43228
435b95eb
L
432292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43230
43231 [BZ #12460]
43232 * config.make.in (config-cflags-novzeroupper): Define.
43233 * configure.in: Substitute libc_cv_cc_novzeroupper.
43234 * elf/Makefile (AVX-CFLAGS): Define.
43235 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43236 (CFLAGS-tst-auditmod4a.c): Likewise.
43237 (CFLAGS-tst-auditmod4b.c): Likewise.
43238 (CFLAGS-tst-auditmod6b.c): Likewise.
43239 (CFLAGS-tst-auditmod6c.c): Likewise.
43240 (CFLAGS-tst-auditmod7b.c): Likewise.
43241 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43242
8517b15e
UD
432432011-02-02 Ulrich Drepper <drepper@gmail.com>
43244
43245 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43246 function to the callback.
43247 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43248
10a656fe
AS
432492011-02-02 Andreas Schwab <schwab@redhat.com>
43250
43251 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43252 of errno.
43253
968dad0a
UD
432542011-01-19 Ulrich Drepper <drepper@gmail.com>
43255
9f94d2ea 43256 [BZ #11724]
968dad0a
UD
43257 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43258 of constructors.
43259 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43260 of destructors.
43261 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43262
43263 [BZ #11724]
43264 * elf/Makefile: Add rules to build and run new test.
43265 * elf/tst-initorder.c: New file.
43266 * elf/tst-initorder.exp: New file.
43267 * elf/tst-initordera1.c: New file.
43268 * elf/tst-initordera2.c: New file.
43269 * elf/tst-initordera3.c: New file.
43270 * elf/tst-initordera4.c: New file.
43271 * elf/tst-initorderb1.c: New file.
43272 * elf/tst-initorderb2.c: New file.
43273 * elf/tst-order-a1.c: New file.
43274 * elf/tst-order-a2.c: New file.
43275 * elf/tst-order-a3.c: New file.
43276 * elf/tst-order-a4.c: New file.
43277 * elf/tst-order-b1.c: New file.
43278 * elf/tst-order-b2.c: New file.
43279 * elf/tst-order-main.c: New file.
43280 New test case by George Gensure <werkt0@gmail.com>.
43281
86e92359
UD
432822010-10-01 Andreas Schwab <schwab@redhat.com>
43283
43284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43285 decoding ACE if AI_CANONIDN.
43286
5d5732b0
UD
432872011-01-18 Ulrich Drepper <drepper@gmail.com>
43288
43289 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43290
a77e8cbc
UD
432912011-01-17 Ulrich Drepper <drepper@gmail.com>
43292
6392473f
UD
43293 * version.h (RELEASE): Bump for 2.13 release.
43294 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43295
620a0529
UD
43296 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43297
18ba70a5
UD
43298 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43299 MADV_NOHUGEPAGE.
32465c3e
UD
43300 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43301 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43302 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43303 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43304 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43305 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43306
c0dafcf1
UD
43307 * posix/getconf.c: Update copyright year.
43308 * catgets/gencat.c: Likewise.
43309 * csu/version.c: Likewise.
43310 * debug/catchsegv.sh: Likewise.
43311 * debug/xtrace.sh: Likewise.
43312 * elf/ldconfig.c: Likewise.
43313 * elf/ldd.bash.in: Likewise.
43314 * elf/sprof.c (print_version): Likewise.
43315 * iconv/iconv_prog.c: Likewise.
43316 * iconv/iconvconfig.c: Likewise.
43317 * locale/programs/locale.c: Likewise.
43318 * locale/programs/localedef.c: Likewise.
43319 * malloc/memusage.sh: Likewise.
43320 * malloc/mtrace.pl: Likewise.
43321 * nscd/nscd.c (print_version): Likewise.
43322 * nss/getent.c: Likewise.
43323
a77e8cbc
UD
43324 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43325 PF_CAIF, and PF_ALG.
43326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43327
77e8bddf
AS
433282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43329
1f20b93a
AS
43330 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43331 (modules-names): Use them.
43332 (ifunc-test-modules, ifunc-pie-tests): Define.
43333 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43334 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43335 (test-extras): Likewise.
43336 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43337 $(compile-command.c).
43338 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43339 (all-built-dso): Define.
43340 (check-textrel.out, check-execstack.out): Depend on it.
43341
77e8bddf
AS
43342 * configure.in: Don't override --enable-multi-arch.
43343
bc425b33
UD
433442011-01-15 Ulrich Drepper <drepper@gmail.com>
43345
43346 [BZ #6812]
43347 * nscd/hstcache.c (tryagain): Define.
43348 (cache_addhst): Return tryagain not notfound for temporary errors.
43349 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43350 failed.
43351
794c3ad3
UD
433522011-01-14 Ulrich Drepper <drepper@gmail.com>
43353
70181fdd
UD
43354 [BZ #10563]
43355 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43356 to make the syscall.
43357 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43358
794c3ad3
UD
43359 [BZ #12378]
43360 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43361 and fall back to matching as normal character if the string ends before
43362 the matching ']' is found. This is what POSIX requires.
43363 * posix/testfnm.c: Adjust test result.
43364 * posix/globtest.sh: Adjust test result. Add new test.
43365 * posix/tst-fnmatch.input: Likewise.
43366 * posix/tst-fnmatch2.c: Add new test.
43367
68dc9497
AS
433682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43369
43370 * elf/Makefile (check-execstack): Revert last change. Depend on
43371 check-execstack.h.
43372 (check-execstack.h): New target.
43373 (generated): Add check-execstack.h.
43374 * elf/check-execstack.c: Include "check-execstack.h".
43375 (main): Revert last change.
43376 (handle_file): Return zero if GNU_STACK is absent and
43377 DEFAULT_STACK_PERMS doesn't include PF_X.
43378
451f001b
UD
433792011-01-13 Ulrich Drepper <drepper@gmail.com>
43380
cfa28e56
UD
43381 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43382 in child fails because the descriptor is already closed.
8cf8ce17
UD
43383 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43384 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43385 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43386
1086d70d
UD
43387 [BZ #12397]
43388 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43389 syscall.
43390
451f001b
UD
43391 [BZ #10484]
43392 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43393 temporary buffer used to handle multi lookups locally.
a85b5cb4 43394 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43395
08769175
UD
433962011-01-12 Ulrich Drepper <drepper@gmail.com>
43397
43398 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43399 loader is ld.so.
43400
5e49c52e
UD
434012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43402
43403 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43404 alignment for SSE2.
43405
60522a5f
UD
434062011-01-12 Ulrich Drepper <drepper@gmail.com>
43407
43408 [BZ #12394]
43409 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43410 characters. When rounding increased number of integer digits recompute
43411 number of groups.
43412 * stdio-common/tst-grouping.c: New file.
43413 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43414
f257bbd7
UD
434152011-01-09 Ulrich Drepper <drepper@gmail.com>
43416
43417 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43418 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43419
43420 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43421 void.
43422 * bits/select.h: Likewise.
43423
fa9c15cb
UD
434242011-01-08 Ulrich Drepper <drepper@gmail.com>
43425
43426 * po/ja.po: Update from translation team.
43427
16c2895f
DM
434282011-01-04 David S. Miller <davem@sunset.davemloft.net>
43429
43430 [BZ #11155]
43431 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43432 implementation just like for lxstat, fxstatat, et al.
43433
2543fef2
JM
434342010-12-27 Jim Meyering <meyering@redhat.com>
43435
43436 [BZ #12348]
43437 * posix/regexec.c (build_trtable): Return failure indication upon
43438 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43439
98727dbe
UD
434402010-12-25 Ulrich Drepper <drepper@gmail.com>
43441
5bd6dc5c
UD
43442 [BZ #12201]
43443 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43444 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43445 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43446 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43447
97983464
UD
43448 [BZ #12207]
43449 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43450
98727dbe
UD
43451 [BZ #12204]
43452 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43453 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43454
4a531bb0
L
434552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43456
43457 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43458 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43459 script has SORT_BY_INIT_PRIORITY.
43460 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43461 NO_CTORS_DTORS_SECTIONS is defined.
43462 * elf/soinit.c: Likewise.
43463 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43464 NO_CTORS_DTORS_SECTIONS is defined.
43465 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43466 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43467 * sysdeps/sh/init-first.c: Likewise.
43468 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43469
07eb4b71
UD
434702010-12-24 Ulrich Drepper <drepper@gmail.com>
43471
43472 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43473 always use the slow path.
43474
30950a5f
RA
434752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43476
43477 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43478 similar rule which adds the sysdep directories to the header search in
43479 order to pick up the correct platform stackinfo.h.
43480 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43481 perform test if it is, otherwise return successfully without testing.
43482 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43483 DEFAULT_STACK_PERMS define in stackinfo.h.
43484 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43485 defined in stackinfo.h.
43486 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43487 DEFAULT_STACK_PERMS defined in stackinfo.h.
43488 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43489 * sysdeps/ia64/stackinfo.h: Likewise.
43490 * sysdeps/s390/stackinfo.h: Likewise.
43491 * sysdeps/sh/stackinfo.h: Likewise.
43492 * sysdeps/sparc/stackinfo.h: Likewise.
43493 * sysdeps/x86_64/stackinfo.h: Likewise.
43494 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43495 PF_X for powerpc64. Retain PF_X for powerpc32.
43496
db753e2c
UD
434972010-12-19 Ulrich Drepper <drepper@gmail.com>
43498
14b697f7
UD
43499 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43500 accurately.
db753e2c
UD
43501 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43502 GETDENTS_64BIT_ALIGNED.
43503
28300719
UD
435042010-12-14 Ulrich Drepper <dreper@gmail.com>
43505
14b697f7 43506 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43507
4f197237
AS
435082010-12-10 Andreas Schwab <schwab@redhat.com>
43509
dbb0472f
AS
43510 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43511 _GNU_SOURCE.
43512
4f197237
AS
43513 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43514 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43515 Remove __restrict.
43516 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43517 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43518
fb88ac72
UD
435192010-12-09 Ulrich Drepper <drepper@gmail.com>
43520
43521 [BZ #11655]
43522 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43523 are initialized.
43524
42acbb92
JJ
435252010-12-09 Jakub Jelinek <jakub@redhat.com>
43526
43527 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43528
c038d98d
UD
435292010-12-03 Ulrich Drepper <drepper@gmail.com>
43530
43531 * po/it.po: Update from translation team.
43532
3a4a2499
L
435332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43534
43535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43536 unused codes.
43537
1e24cf6e
UD
435382010-11-30 Ulrich Drepper <drepper@gmail.com>
43539
43540 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43541
a7690819
AS
435422010-11-24 Andreas Schwab <schwab@redhat.com>
43543
43544 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43545 specially.
43546 (gaih_getanswer_slice): Likewise.
43547
3bf8d1b1
JJ
435482010-10-20 Jakub Jelinek <jakub@redhat.com>
43549
43550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43551
6db52fbb
PB
435522010-05-31 Petr Baudis <pasky@suse.cz>
43553
43554 [BZ #11149]
43555 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43556 silently even in the chroot mode.
43557
eaca7569
UD
435582010-11-22 Ulrich Drepper <drepper@gmail.com>
43559
43560 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43561 last patch a bit. Pretty printing
43562
3056dcdb
UD
435632010-05-31 Petr Baudis <pasky@suse.cz>
43564
43565 [BZ #10085]
43566 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43567 initialization of skip_initgroups_dyn.
43568
cf7c9078
UD
435692010-11-19 Ulrich Drepper <drepper@gmail.com>
43570
43571 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43572 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43573
a1fb5e3e
UD
435742010-11-16 Ulrich Drepper <drepper@gmail.com>
43575
43576 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43577
3540d66b
AS
435782010-11-11 Andreas Schwab <schwab@redhat.com>
43579
43580 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43581 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43582 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43583 ($(objpfx)tst-fnmatch-mem): New rule.
43584 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43585 * posix/tst-fnmatch.c (main): Call mtrace.
43586
13b69574
L
435872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43588
43589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43590 Support Intel processor model 6 and model 0x2c.
43591
da93d214
LM
435922010-11-10 Luis Machado <luisgpm@br.ibm.com>
43593
43594 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43595 signed comparison.
43596
8ca52c6e
L
435972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43598
43599 [BZ #12205]
43600 * string/test-strncasecmp.c (check_result): New function.
43601 (do_one_test): Use it.
43602 (check1): New function.
43603 (test_main): Use it.
43604 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43605 Support strcasecmp and strncasecmp.
43606
69da074d
UD
436072010-11-08 Ulrich Drepper <drepper@gmail.com>
43608
43609 [BZ #12194]
43610 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43611 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43612
ff02d528
L
436132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43614
43615 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43616 IFUNC support.
43617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43618 memset-x86-64.
43619 * sysdeps/x86_64/multiarch/bzero.S: New file.
43620 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43621 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43622 * sysdeps/x86_64/multiarch/memset.S: New file.
43623 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43625 Set bit_Prefer_SSE_for_memop for Intel processors.
43626 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43627 Define.
43628 (index_Prefer_SSE_for_memop): Define.
43629 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43630
344d0b54
LM
436312010-11-04 Luis Machado <luisgpm@br.ibm.com>
43632
43633 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43634 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43635
c0dde15b
UD
436362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43637
43638 [BZ #12191]
43639 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43640 (__x86_64_raw_data_cache_size_half): Likewise.
43641 (__x86_64_raw_shared_cache_size): Likewise.
43642 (__x86_64_raw_shared_cache_size_half): Likewise.
43643
43644 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43645 (__x86_64_raw_data_cache_size_half): Likewise.
43646 (__x86_64_raw_shared_cache_size): Likewise.
43647 (__x86_64_raw_shared_cache_size_half): Likewise.
43648 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43649 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43650 and __x86_64_raw_shared_cache_size_half. Round
43651 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43652 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43653 to multiple of 256 bytes.
43654
0e516e0e
MS
436552010-11-03 Ulrich Drepper <drepper@gmail.com>
43656
43657 [BZ #12167]
43658 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43659 of inacessible symlinks. Verify result of symlink before returning it.
43660 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43661 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43662
0e012e87
ER
436632010-10-28 Erich Ritz <erichritz@gmail.com>
43664
43665 * math/math.h (isinf): Fix typo in comment.
43666
de0ff7bc
UD
436672010-11-01 Ulrich Drepper <drepper@gmail.com>
43668
43669 * po/da.po: Update from translation team.
43670
fa41c84d
UD
436712010-10-26 Ulrich Drepper <drepper@gmail.com>
43672
43673 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43674 is added to the list.
43675
f0967738
AK
436762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43677 Ulrich Drepper <drepper@gmail.com>
43678
43679 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43680 the global list here. Move code to...
43681 (_dl_add_to_namespace_list): ...here. New function.
43682 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43683 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43684 * elf/dl-load.c (lose): Don't remove the element from the list.
43685 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43686 (_dl_map_object): Likewise.
43687
436882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43689
43690 [BZ #12159]
43691 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43692 into all bytes of SSE register.
43693 Patch by Richard Li <richardpku@gmail.com>.
43694
f0967738 436952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43696
43697 [BZ #12140]
43698 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43699 perturbing.
43700
d0b9e94f
MB
437012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43702
43703 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43704 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43705 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43706 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43708 submachine.
43709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43710
8e9f92e9
AS
437112010-10-22 Andreas Schwab <schwab@redhat.com>
43712
43713 * include/dlfcn.h (__RTLD_SECURE): Define.
43714 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43715 mode & __RTLD_SECURE instead.
43716 (open_path): Rename preloaded parameter to secure.
43717 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43718 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43719 * elf/dl-deps.c (openaux): Likewise.
43720 * elf/rtld.c (struct map_args): Remove is_preloaded.
43721 (map_doit): Don't use it.
43722 (dl_main): Likewise.
43723 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43724 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43725
bc96fbda
AS
437262010-09-09 Andreas Schwab <schwab@redhat.com>
43727
43728 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43729 (sysd-rules-targets): Remove duplicates.
43730 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43731 rtld-%.$o dependency.
43732
22cd1c9b
AS
437332010-10-18 Andreas Schwab <schwab@redhat.com>
43734
43735 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43736 _dl_map_object do it.
43737
18edac48
UD
437382010-10-19 Ulrich Drepper <drepper@gmail.com>
43739
43740 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43741 fast fma builtins, define the macros in the C99 standard.
43742 (FP_FAST_FMAF): Likewise.
43743 (FP_FAST_FMAL): Likewise.
43744 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43745
43746 * bits/mathdef.h: Update copyright year.
43747 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43748
d2050124
MM
437492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43750
43751 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43752 builtins, define the macros in the C99 standard.
43753 (FP_FAST_FMAF): Likewise.
43754 (FP_FAST_FMAL): Likewise.
43755 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43756 multiply/add.
43757 (FP_FAST_FMAF): Likewise.
43758
475facd1
JJ
437592010-10-15 Jakub Jelinek <jakub@redhat.com>
43760
43761 [BZ #3268]
43762 * math/libm-test.inc (fma_test): Some new testcases.
43763 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43764 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43765 y and infinite z. Do multiplication by C already in long double.
43766 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43768 y and infinite z. Do bitwise or of inexact bit into u.d.
43769 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43770 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43771 * sysdeps/i386/fpu/s_fma.S: Removed.
43772 * sysdeps/i386/fpu/s_fmal.S: Removed.
43773
7c08a05c
JJ
437742010-10-16 Jakub Jelinek <jakub@redhat.com>
43775
43776 [BZ #3268]
43777 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43779 computation is not scheduled after fetestexcept. Fix value
43780 of minimum denormal long double.
43781
f3f7372d
JJ
437822010-10-14 Jakub Jelinek <jakub@redhat.com>
43783
43784 [BZ #3268]
43785 * math/libm-test.inc (fma_test): Add some more tests.
43786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43787 correctly.
43788
14d43591
AS
437892010-10-15 Andreas Schwab <schwab@redhat.com>
43790
43791 * scripts/data/localplt-s390-linux-gnu.data: New file.
43792 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43793
5e908464
JJ
437942010-10-13 Jakub Jelinek <jakub@redhat.com>
43795
43796 [BZ #3268]
43797 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43798 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43799 instead of dbl-64.
43800 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43801 inlines.
43802 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43804 if one of x and y is very large and the other is subnormal.
43805 * sysdeps/s390/fpu/s_fmaf.c: New file.
43806 * sysdeps/s390/fpu/s_fma.c: New file.
43807 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43808 * sysdeps/powerpc/fpu/s_fma.S: New file.
43809 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43810 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43811 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43812
438132010-10-12 Jakub Jelinek <jakub@redhat.com>
43814
43815 [BZ #3268]
43816 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43817 fma tests.
43818 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43819 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43820 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43821 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43822 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43823 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43824 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43825
b833d51f
UD
438262010-10-12 Ulrich Drepper <drepper@redhat.com>
43827
43828 [BZ #12078]
43829 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43830 * posix/bug-regex31.input: Add test case.
43831
1751705d
UD
438322010-10-11 Ulrich Drepper <drepper@gmail.com>
43833
e9b9cbf5
UD
43834 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43835 * posix/bug-regex31.input: New file.
43836
43837 [BZ #12078]
43838 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43839 (parse_sub_exp): Fix last change, use postorder.
43840
ef06edbe
UD
43841 * posix/bug-regex31.c: New file.
43842 * posix/Makefile: Add rules to build and run bug-regex31.
43843
a129c80d
UD
43844 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43845
43846 [BZ #12078]
43847 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43848
b76b818e
UD
43849 [BZ #12108]
43850 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43851 to have entries in sys_siglist.
43852
1751705d
UD
43853 [BZ #12093]
43854 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43855 be NULL.
43856
9ff8d36f
JJ
438572010-10-07 Jakub Jelinek <jakub@redhat.com>
43858
43859 [BZ #3268]
43860 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43861 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43862 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43863 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43864 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43865 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43866 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43867 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43868 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43869 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43870 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43871 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43872 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43873 * math/ftestexcept.c (fetestexcept): Likewise.
43874 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43875 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43876 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43877 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43878 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43879 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43880 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43881
af325969
UD
438822010-10-11 Ulrich Drepper <drepper@gmail.com>
43883
c579b202 43884 [BZ #12107]
af325969
UD
43885 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43886 newline.
43887
67a67b95
UD
438882010-10-06 Ulrich Drepper <drepper@gmail.com>
43889
43890 * string/bug-strstr1.c: New file.
43891 * string/Makefile: Add rules to build and run bug-strstr1.
43892
5fb308bc
EB
438932010-10-05 Eric Blake <eblake@redhat.com>
43894
43895 [BZ #12092]
43896 * string/str-two-way.h (two_way_long_needle): Always clear memory
43897 when skipping input due to the shift table.
43898
45db99c7
UD
438992010-10-03 Ulrich Drepper <drepper@gmail.com>
43900
3b111893
UD
43901 [BZ #12005]
43902 * malloc/mcheck.c: Handle large requests.
43903
45db99c7
UD
43904 [BZ #12077]
43905 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43906 for strncmp and strncasecmp.
43907 * string/stratcliff.c: Add tests for strcmp and strncmp.
43908 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43909
cf7a1eb8
NI
439102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43911
43912 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43913 __set_fpscr.
43914
6484ba5e
AJ
439152010-09-30 Andreas Jaeger <aj@suse.de>
43916
43917 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43918 (CGROUP_SUPER_MAGIC): Define.
43919 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43920 Handle btrfs and cgroup file systems.
43921 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43922 Likewise.
43923
91c42559
LM
439242010-09-27 Luis Machado <luisgpm@br.ibm.com>
43925
43926 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43927 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43928
87a97932
AK
439292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43930
43931 [BZ #12067]
43932 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43933 trying to locate the ELF header.
43934
c21cc9bc
AS
439352010-09-27 Andreas Schwab <schwab@redhat.com>
43936
43937 [BZ #11611]
43938 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43939 Mask out sign-bit copies when constructing f_fsid.
43940
315970f6
PB
439412010-09-24 Petr Baudis <pasky@suse.cz>
43942
43943 * debug/stack_chk_fail_local.c: Add missing licence exception.
43944 * debug/warning-nop.c: Likewise.
43945
1ac7a2c7
JM
439462010-09-15 Joseph Myers <joseph@codesourcery.com>
43947
43948 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43949 implementing getdents64 using getdents syscall, set d_type if
43950 __ASSUME_GETDENTS32_D_TYPE.
43951
56801c50
AS
439522010-09-16 Andreas Schwab <schwab@redhat.com>
43953
43954 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43955 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43956
dda51327
UD
439572010-09-21 Ulrich Drepper <drepper@redhat.com>
43958
43959 [BZ #12037]
43960 * posix/unistd.h: Undo change of feature selection for ftruncate from
43961 2010-01-11.
43962
8ffcee4a
UD
439632010-09-20 Ulrich Drepper <drepper@redhat.com>
43964
a545ecd9 43965 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43966 detection.
43967
e24f0a8b
AS
439682010-09-20 Andreas Schwab <schwab@redhat.com>
43969
43970 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43971 fanotify_mark.
43972 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43973
7291c56f
AS
439742010-09-14 Andreas Schwab <schwab@redhat.com>
43975
43976 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43977 variables after CHECK_SP call.
43978 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43979
bc5fb037
AS
439802010-09-13 Andreas Schwab <schwab@redhat.com>
43981 Ulrich Drepper <drepper@redhat.com>
43982
43983 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43984 re-relocationg ld.so.
43985 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43986 _dl_init_paths call.
43987 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43988 here anymore.
43989
e66e7419
UD
439902010-09-14 Ulrich Drepper <drepper@redhat.com>
43991
43992 * resolv/res_init.c (__res_vinit): Count the default server we added.
43993
c044aa75
CLT
439942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43995 Ulrich Drepper <drepper@redhat.com>
43996
43997 [BZ #11968]
43998 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43999 (____longjmp_chk): Use %ebx for saving value across system call.
44000 Add unwind info.
44001
32cf4069
AS
440022010-09-06 Andreas Schwab <schwab@redhat.com>
44003
44004 * manual/Makefile: Don't mix pattern rules with normal rules.
44005
817328ee
AS
440062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44007
44008 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44009 operation.
44010 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44011 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44012 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44013 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44015 Likewise.
44016
29fddf61
UD
440172010-09-04 Ulrich Drepper <drepper@redhat.com>
44018
44019 [BZ #11979]
44020 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44021 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44022
0959ffc9
UD
440232010-09-02 Ulrich Drepper <drepper@redhat.com>
44024
44025 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44026 * sysdeps/x86_64/addmul_1.S: Likewise.
44027 * sysdeps/x86_64/lshift.S: Likewise.
44028 * sysdeps/x86_64/mul_1.S: Likewise.
44029 * sysdeps/x86_64/rshift.S: Likewise.
44030 * sysdeps/x86_64/sub_n.S: Likewise.
44031 * sysdeps/x86_64/submul_1.S: Likewise.
44032
ece29840
ST
440332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44034
0959ffc9
UD
44035 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44036 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44037 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44038 * bits/sched.h [__need_schedparam]
ece29840 44039 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44040 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44041 (__defined_schedparam): Define to 1.
ece29840
ST
44042 (__sched_param): New structure, identical to sched_param.
44043 (__need_schedparam): Undefine.
44044
e53a31fe
MF
440452010-08-31 Mike Frysinger <vapier@gentoo.org>
44046
fdc0c10d
MF
44047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44048 (epoll_create1): Declare.
44049
e53a31fe
MF
44050 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44051
a726d796
AS
440522010-08-31 Andreas Schwab <schwab@redhat.com>
44053
44054 [BZ #7066]
44055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44056 shifting retval into place.
44057
2f3e3dc7
UD
440582010-09-01 Ulrich Drepper <drepper@redhat.com>
44059
f2933da9
UD
44060 * nis/rpcsvc/nis.h: Update copyright notice.
44061 * nis/rpcsvc/nis.x: Likewise.
44062 * nis/rpcsvc/nis_callback.h: Likewise.
44063 * nis/rpcsvc/nis_callback.x: Likewise.
44064 * nis/rpcsvc/nis_object.x: Likewise.
44065 * nis/rpcsvc/nis_tags.h: Likewise.
44066 * nis/rpcsvc/yp.h: Likewise.
44067 * nis/rpcsvc/yp.x: Likewise.
44068 * nis/rpcsvc/ypupd.h: Likewise.
44069 * nis/yp_xdr.c: Likewise.
44070 * nis/ypupdate_xdr.c: Likewise.
44071
2f3e3dc7
UD
44072 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44073 mainly the body of pmap_getport. Add parameters to specify timeouts.
44074 (pmap_getport): Use __libc_rpc_getport.
44075 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44076 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44077 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44078
f3dcc2f9
AS
440792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44080
44081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44082 fanotify_mark.
44083
6d34eb5b
RM
440842010-08-27 Roland McGrath <roland@redhat.com>
44085
44086 * sysdeps/i386/i686/multiarch/Makefile
44087 (CFLAGS-varshift.c): New variable.
44088
9ea3de11
UD
440892010-08-27 Ulrich Drepper <drepper@redhat.com>
44090
c96d23fc
UD
44091 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44092 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44093
9ea3de11
UD
44094 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44095
44096 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44097
623aac7f
L
440982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44099
44100 * sysdeps/x86_64/strlen.S: Unroll the loop.
44101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44102 strlen-sse2 strlen-sse2-bsf.
44103 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44104 __strlen_no_bsf if bit_Slow_BSF is set.
44105 (__strlen_sse42): Removed.
44106 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44107 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44108
8b2b7715
RM
441092010-08-25 Roland McGrath <roland@redhat.com>
44110
44111 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44112 * sysdeps/x86_64/multiarch/varshift.c: New file.
44113 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44114 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44115 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44116 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44117
e73015f2
L
441182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44119
44120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44121 strlen-sse2 strlen-sse2-bsf.
44122 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44123 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44124 (__strlen_sse2): Removed.
44125 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44126 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44128 bit_Slow_BSF for Atom.
44129 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44130 (index_Slow_BSF): Define.
44131 (HAS_SLOW_BSF): Define.
44132
df24a73e
UD
441332010-08-25 Ulrich Drepper <drepper@redhat.com>
44134
44135 [BZ #10851]
44136 * resolv/res_init.c (__res_vinit): When no server address at all
44137 is given default to loopback.
44138
f2ac4868
RM
441392010-08-24 Roland McGrath <roland@redhat.com>
44140
09055553
RM
44141 * configure.in: Remove config-name.h generation.
44142 * configure: Regenerated.
44143 * config-name.in: File removed.
44144 * scripts/config-uname.sh: New file.
44145 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44146 ($(objdir)config-name.h): New target.
44147
f2ac4868
RM
44148 * sunrpc/rpc_parse.h: Avoid nested comment.
44149
73f27d5e
RH
441502010-08-24 Richard Henderson <rth@redhat.com>
44151 Ulrich Drepper <drepper@redhat.com>
44152 H.J. Lu <hongjiu.lu@intel.com>
44153
44154 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44156 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44157 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44158 _mm_alignr_epi8 with _mm_loadu_si128.
44159 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44160 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44161 (__m128i_shift_right): Removed.
44162 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44163 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44164 * sysdeps/x86_64/multiarch/varshift.h: New file.
44165 * sysdeps/x86_64/multiarch/varshift.S: New file.
44166
84b9230c
MF
441672010-08-21 Mike Frysinger <vapier@gentoo.org>
44168
44169 * configure.in: Move assembler checks to before sysdep dir checking.
44170
9bbd0ddc
PB
441712010-08-20 Petr Baudis <pasky@suse.cz>
44172
44173 * LICENSES: Sync the sunrpc license.
44174
9da4bb31
UD
441752010-08-19 Ulrich Drepper <drepper@redhat.com>
44176
a7ab6ec8
UD
44177 * sunrpc/auth_des.c: Update copyright notice once again.
44178 * sunrpc/auth_none.c: Likewise.
44179 * sunrpc/auth_unix.c: Likewise.
44180 * sunrpc/authdes_prot.c: Likewise.
44181 * sunrpc/authuxprot.c: Likewise.
44182 * sunrpc/bindrsvprt.c: Likewise.
44183 * sunrpc/clnt_gen.c: Likewise.
44184 * sunrpc/clnt_perr.c: Likewise.
44185 * sunrpc/clnt_raw.c: Likewise.
44186 * sunrpc/clnt_simp.c: Likewise.
44187 * sunrpc/clnt_tcp.c: Likewise.
44188 * sunrpc/clnt_udp.c: Likewise.
44189 * sunrpc/clnt_unix.c: Likewise.
44190 * sunrpc/des_crypt.c: Likewise.
44191 * sunrpc/des_soft.c: Likewise.
44192 * sunrpc/get_myaddr.c: Likewise.
44193 * sunrpc/getrpcport.c: Likewise.
44194 * sunrpc/key_call.c: Likewise.
44195 * sunrpc/key_prot.c: Likewise.
44196 * sunrpc/openchild.c: Likewise.
44197 * sunrpc/pm_getmaps.c: Likewise.
44198 * sunrpc/pm_getport.c: Likewise.
44199 * sunrpc/pmap_clnt.c: Likewise.
44200 * sunrpc/pmap_prot.c: Likewise.
44201 * sunrpc/pmap_prot2.c: Likewise.
44202 * sunrpc/pmap_rmt.c: Likewise.
44203 * sunrpc/rpc/auth.h: Likewise.
44204 * sunrpc/rpc/auth_unix.h: Likewise.
44205 * sunrpc/rpc/clnt.h: Likewise.
44206 * sunrpc/rpc/des_crypt.h: Likewise.
44207 * sunrpc/rpc/key_prot.h: Likewise.
44208 * sunrpc/rpc/netdb.h: Likewise.
44209 * sunrpc/rpc/pmap_clnt.h: Likewise.
44210 * sunrpc/rpc/pmap_prot.h: Likewise.
44211 * sunrpc/rpc/pmap_rmt.h: Likewise.
44212 * sunrpc/rpc/rpc.h: Likewise.
44213 * sunrpc/rpc/rpc_des.h: Likewise.
44214 * sunrpc/rpc/rpc_msg.h: Likewise.
44215 * sunrpc/rpc/svc.h: Likewise.
44216 * sunrpc/rpc/svc_auth.h: Likewise.
44217 * sunrpc/rpc/types.h: Likewise.
44218 * sunrpc/rpc/xdr.h: Likewise.
44219 * sunrpc/rpc_clntout.c: Likewise.
44220 * sunrpc/rpc_cmsg.c: Likewise.
44221 * sunrpc/rpc_common.c: Likewise.
44222 * sunrpc/rpc_cout.c: Likewise.
44223 * sunrpc/rpc_dtable.c: Likewise.
44224 * sunrpc/rpc_hout.c: Likewise.
44225 * sunrpc/rpc_main.c: Likewise.
44226 * sunrpc/rpc_parse.c: Likewise.
44227 * sunrpc/rpc_parse.h: Likewise.
44228 * sunrpc/rpc_prot.c: Likewise.
44229 * sunrpc/rpc_sample.c: Likewise.
44230 * sunrpc/rpc_scan.c: Likewise.
44231 * sunrpc/rpc_scan.h: Likewise.
44232 * sunrpc/rpc_svcout.c: Likewise.
44233 * sunrpc/rpc_tblout.c: Likewise.
44234 * sunrpc/rpc_util.c: Likewise.
44235 * sunrpc/rpc_util.h: Likewise.
44236 * sunrpc/rpcinfo.c: Likewise.
44237 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44238 * sunrpc/rpcsvc/key_prot.x: Likewise.
44239 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44240 * sunrpc/rpcsvc/mount.x: Likewise.
44241 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44242 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44243 * sunrpc/rpcsvc/rex.x: Likewise.
44244 * sunrpc/rpcsvc/rstat.x: Likewise.
44245 * sunrpc/rpcsvc/rusers.x: Likewise.
44246 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44247 * sunrpc/rpcsvc/spray.x: Likewise.
44248 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44249 * sunrpc/rtime.c: Likewise.
44250 * sunrpc/svc.c: Likewise.
44251 * sunrpc/svc_auth.c: Likewise.
44252 * sunrpc/svc_authux.c: Likewise.
44253 * sunrpc/svc_raw.c: Likewise.
44254 * sunrpc/svc_run.c: Likewise.
44255 * sunrpc/svc_simple.c: Likewise.
44256 * sunrpc/svc_tcp.c: Likewise.
44257 * sunrpc/svc_udp.c: Likewise.
44258 * sunrpc/svc_unix.c: Likewise.
44259 * sunrpc/svcauth_des.c: Likewise.
44260 * sunrpc/xcrypt.c: Likewise.
44261 * sunrpc/xdr.c: Likewise.
44262 * sunrpc/xdr_array.c: Likewise.
44263 * sunrpc/xdr_float.c: Likewise.
44264 * sunrpc/xdr_mem.c: Likewise.
44265 * sunrpc/xdr_rec.c: Likewise.
44266 * sunrpc/xdr_ref.c: Likewise.
44267 * sunrpc/xdr_sizeof.c: Likewise.
44268 * sunrpc/xdr_stdio.c: Likewise.
44269
9da4bb31
UD
44270 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44271 handling.
44272
bdaa77bc
AS
442732010-08-19 Andreas Schwab <schwab@redhat.com>
44274
44275 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44276
fe2f79db
LM
442772010-08-19 Luis Machado <luisgpm@br.ibm.com>
44278
44279 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44280 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44281 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44282 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44283 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44284 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44285 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44286 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44287 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44288 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44289 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44290 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44291 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44292 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44293
b9b42ee0
AB
442942010-07-26 Anton Blanchard <anton@samba.org>
44295
44296 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44297 * malloc/arena.c (heap_trim): Likewise.
44298
1c06ba31
UD
442992010-08-16 Ulrich Drepper <drepper@redhat.com>
44300
44301 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44302 here. Not...
44303 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44304 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44305
f8392f40
L
443062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44307
44308 * sysdeps/i386/elf/Makefile: New file.
44309
3162f12e
AS
443102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44311
44312 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44313 from fanotify_init.
44314 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44316
28c90b2c
UD
443172010-08-15 Ulrich Drepper <drepper@redhat.com>
44318
44319 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44320 of strncasecmp_l.
1feccb6c 44321 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44322
ca6bb004
UD
443232010-08-14 Ulrich Drepper <drepper@redhat.com>
44324
e9f82e0d
UD
44325 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44326 strncase_l-nonascii.
44327 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44328 Add strncase_l-ssse3.
44329 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44330 * sysdeps/x86_64/strcmp.S: Likewise.
44331 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44332 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44333 * sysdeps/x86_64/strncase.S: New file.
44334 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44335 * sysdeps/x86_64/strncase_l.S: New file.
44336 * string/Makefile (strop-tests): Add strncasecmp.
44337 * string/test-strncasecmp.c: New file.
44338
44339 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44340 warning.
44341
ca6bb004
UD
44342 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44343 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44344
052fa7b3
AS
443452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44346
44347 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44348
962dba78
UD
443492010-08-12 Ulrich Drepper <drepper@redhat.com>
44350
44351 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44352 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44353 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44354
bebff237
AM
443552010-05-01 Alan Modra <amodra@gmail.com>
44356
44357 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44358 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44359 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44360 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44361 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44362 tidying. Don't tail-call __sigjmp_save for static lib.
44363 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44364 save location.
44365 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44366 (CALL_MCOUNT): Add eh info, and nop after bl.
44367 (TAIL_CALL_SYSCALL_ERROR): New macro.
44368 (PSEUDO_RET): Use it.
44369 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44370 Correct save location of integer regs and cr.
44371 (_dl_profile_resolve): Correct cr save location. Delete nops
44372 after bl when SHARED. Reduce cfi size a little by better
44373 placement of cfi directives.
44374 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44375 make a stack frame. Instead use parm save area as a temp.
44376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44377 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44379 Don't make a stack frame for parent, use parm save area.
44380 Increase child stack frame to 112 bytes. Don't save unused reg,
44381 and adjust reg usage. Set up cfi on error recovery and
44382 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44384 (__makecontext): Add dummy nop after jump to exit.
44385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44386 Use correct parm save area and cr save, reduce stack frame.
44387 Correct cfi for possible PSEUDO_RET frame setup.
44388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44389 Branch to local label emitted by PSEUDO_RET rather than
44390 __syscall_error.
44391
02637374
AS
443922010-08-12 Andreas Schwab <schwab@redhat.com>
44393
44394 [BZ #11904]
44395 * locale/programs/locale.c (print_assignment): New function.
44396 (show_locale_vars): Use it.
44397
c3e2f19b
UD
443982010-08-11 Ulrich Drepper <drepper@redhat.com>
44399
3cdaa6ad
UD
44400 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44401 field.
44402 (struct statfs64): Likewise.
44403 (_STATFS_F_FLAGS): Define.
44404 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44405 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44406 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44407 (ST_VALID): Define locally.
44408 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44409 __statvfs_getflags, use the provided value.
44410 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44411 __ASSUME_STATFS_F_FLAGS.
44412
754f7da3
UD
44413 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44414
10b3bedc
UD
44415 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44416 Add sys/fanotify.h.
44417 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44418 fanotify_mask for GLIBC_2.13.
44419 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44420 fanotify_init and fanotify_mark.
44421 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44422 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44423
c08fb0d7
UD
44424 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44425 Add prlimit.
44426 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44427 prlimit64 for GLIBC_2.13.
44428 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44429 prlimit64.
44430 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44431 syscall.
44432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44433 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44434 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44435 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44436 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44437 add prlimit alias.
44438 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44439
15bac72b
UD
44440 [BZ #11903]
44441 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44442 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44443
c3e2f19b
UD
44444 * nss/Makefile: Add rules to build and run tst-nss-test1.
44445 * shlib-versions: Add entry for libnss_test1.
44446 * nss/nss_test1.c: New file.
44447 * nss/tst-nss-test1.c: New file.
44448
44449 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44450 (__nss_configure_lookup): Set appropriate entry in
44451 __nss_configure_lookup to true.
44452 * nss/nsswitch.h: Define enum with indeces of databases in
44453 databases and __nss_database_custom arrays. Declare
44454 __nss_database_custom.
44455 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44456 to avoid using nscd when custom rules are installed.
44457 * nss/getXXbyYY_r.c: Likewise.
44458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44459
44460 * nss/nss_files/files-parse.c: Whitespace fixes.
44461
f15ce4d8
UD
444622010-08-09 Ulrich Drepper <drepper@redhat.com>
44463
44464 [BZ #11883]
44465 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44466 * posix/fnmatch_loop.c: Likewise.
44467
d22e4cc9
AK
444682010-07-17 Andi Kleen <ak@linux.intel.com>
44469
44470 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44471 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44472 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44473 * Versions.def [GLIBC_2.13]: Add.
44474
805bc17d
UD
444752010-08-06 Ulrich Drepper <drepper@redhat.com>
44476
44477 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44478 Also fail if tpwd after pwuid call is NULL.
44479
5a42321d
ST
444802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44481
44482 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44483 when converting to ms.
44484
fd3ebeda
ST
444852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44486
44487 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44488 EOPNOTSUPP errors with ENOTTY.
44489 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44490 EOPNOTSUPP errors with ENOTTY.
44491
73507d3a
UD
444922010-07-31 Ulrich Drepper <drepper@redhat.com>
44493
44494 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44495 Add strcasecmp_l-ssse3.
44496 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44497 strcasecmp.
44498 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44499 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44500 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44501
fe36dd02
UD
445022010-07-30 Ulrich Drepper <drepper@redhat.com>
44503
66f6765a
UD
44504 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44505
42e08a54
UD
44506 * string/Makefile (strop-tests): Add strcasecmp.
44507 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44508 strcasecmp_l-nonascii.
44509 (gen-as-const-headers): Add locale-defines.sym.
44510 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44511 * sysdeps/x86_64/strcasecmp.S: New file.
44512 * sysdeps/x86_64/strcasecmp_l.S: New file.
44513 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44514 * sysdeps/x86_64/locale-defines.sym: New file.
44515 * string/test-strcasecmp.c: New file.
44516
fe36dd02
UD
44517 * string/test-strcasestr.c: Test both ends of the range of characters.
44518 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44519
48cbc0d6
RM
445202010-07-29 Roland McGrath <roland@redhat.com>
44521
76e6d6bc 44522 [BZ #11856]
48cbc0d6
RM
44523 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44524
880113d9
UD
445252010-07-27 Ulrich Drepper <drepper@redhat.com>
44526
44527 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44528 for ld.so.
44529
deb9cabb
AS
445302010-07-27 Andreas Schwab <schwab@redhat.com>
44531
44532 * manual/memory.texi (Malloc Tunable Parameters): Document
44533 M_PERTURB.
44534
1c7570ff
RM
445352010-07-26 Roland McGrath <roland@redhat.com>
44536
44537 [BZ #11840]
44538 * configure.in (-fgnu89-inline check): Set and substitute
44539 gnu89_inline, not libc_cv_gnu89_inline.
44540 * configure: Regenerated.
44541 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44542
24fb0f88
UD
445432010-07-26 Ulrich Drepper <drepper@redhat.com>
44544
44545 * string/test-strnlen.c: New file.
44546 * string/Makefile (strop-tests): Add strnlen.
44547 * string/tester.c (test_strnlen): Add a few more test cases.
44548 * string/tst-strlen.c: Better error reporting.
44549
44550 * sysdeps/x86_64/strnlen.S: New file.
44551
8e96b93a
UD
445522010-07-24 Ulrich Drepper <drepper@redhat.com>
44553
44554 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44555 lower-latency instructions.
44556
dbc676d4
UD
445572010-07-23 Ulrich Drepper <drepper@redhat.com>
44558
44559 * string/test-strcasestr.c: New file.
44560 * string/test-strstr.c: New file.
44561 * string/Makefile (strop-tests): Add strstr and strcasestr.
44562 * string/str-two-way.h: Don't undefine MAX.
44563 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44564
f6a31e0e
AS
445652010-07-21 Andreas Schwab <schwab@redhat.com>
44566
44567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44568 strcasestr-nonascii.
44569 (CFLAGS-strcasestr-nonascii.c): Define.
44570 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44571 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44572 Remove unused attribute.
44573
5dbc3b6c
RM
445742010-07-20 Roland McGrath <roland@redhat.com>
44575
44576 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44577 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44578 ld.so.cache was broken. With it, there is no way to disable dsocaps
44579 like LD_HWCAP_MASK can disable hwcaps.
44580
23d101d8
EPM
445812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44582
44583 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44584
cc9f2e47
UD
445852010-07-16 Ulrich Drepper <drepper@redhat.com>
44586
44587 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44588 call in strcasestr.
44589 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44590 __strcasestr_sse42_nonascii.
44591 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44592 strcasestr-nonascii.c.
44593 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44594
77c1b069
LM
445952010-06-15 Luis Machado <luisgpm@br.ibm.com>
44596
44597 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44598 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44599 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44600 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44601
440566c3
UD
446022010-07-09 Ulrich Drepper <drepper@redhat.com>
44603
44604 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44605 fcntl.
44606
5be9d05d
AS
446072010-07-06 Andreas Schwab <schwab@redhat.com>
44608
c30b7ee2 44609 [BZ #11577]
5be9d05d
AS
44610 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44611 dl_signal_cerror.
44612
8a492a67
UD
446132010-07-06 Ulrich Drepper <drepper@redhat.com>
44614
44615 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44616 _PC_PIPE_BUF using F_GETPIPE_SZ.
44617
713df3d5
RM
446182010-07-05 Roland McGrath <roland@redhat.com>
44619
44620 * manual/arith.texi (Rounding Functions): Fix rint description
44621 implicit in round description.
44622
702e8f14
UD
446232010-07-02 Ulrich Drepper <drepper@redhat.com>
44624
44625 * elf/Makefile: Fix linking for a few tests to make recent linker
44626 happy.
44627
52ed8be9
AS
446282010-06-30 Andreas Schwab <schwab@redhat.com>
44629
44630 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44631 $(common-objpfx)libc_nonshared.a.
44632
f47c9a11
LM
446332010-06-21 Luis Machado <luisgpm@br.ibm.com>
44634
44635 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44636 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44637 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44638 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44639 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44640 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44641 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44642 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44657 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44658 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44659 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44660 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44661 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44662 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44663 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44664 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44665 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44666 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44667 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44668 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44683
6fb8cbcb
L
446842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44685
44686 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44687 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44688 * string/memmove.c (memmove): Renamed to ...
44689 (MEMMOVE): ...this. Default to memmove.
44690 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44691 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44692 (END_CHK): Define.
44693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44694 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44695 mempcpy-ssse3-back memmove-ssse3-back.
44696 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44697 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44698 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44699 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44700 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44701 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44702 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44703 * sysdeps/x86_64/multiarch/memmove.c: New file.
44704 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44705 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44706 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44707 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44708 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44709 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44710 Define.
44711 (index_Fast_Copy_Backward): Define.
44712 (HAS_ARCH_FEATURE): Define.
44713 (HAS_FAST_REP_STRING): Define.
44714 (HAS_FAST_COPY_BACKWARD): Define.
44715
4e733bac 447162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44717
44718 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44719 Restore proper fallback handling.
44720
63c4ed22
UD
447212010-06-19 Ulrich Drepper <drepper@redhat.com>
44722
ac2b484c
UD
44723 [BZ #11701]
44724 * posix/group_member.c (__group_member): Correct checking loop.
44725
63c4ed22
UD
44726 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44727 OOM in getpwuid_r correctly. Return error number when the caller
44728 should return, otherwise -1.
44729 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44730 call returning > 0 value.
44731 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44732
765ade4b
AS
447332010-06-07 Andreas Schwab <schwab@redhat.com>
44734
44735 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44736 libc_nonshared.a from targets in modules-names.
44737
80da2e09
KS
447382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44739
44740 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44741 requires it.
44742
158db122
LM
447432010-06-10 Luis Machado <luisgpm@br.ibm.com>
44744
44745 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44746 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44747 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44748 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44749
caa78cf8
AS
447502010-06-02 Andreas Schwab <schwab@redhat.com>
44751
44752 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44753
b2ef2c01
UD
447542010-06-14 Ulrich Drepper <drepper@redhat.com>
44755
44756 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44757 and F_GETPIPE_SZ.
44758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44762 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44763 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44764
fbd643b6
RM
447652010-06-14 Roland McGrath <roland@redhat.com>
44766
44767 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44768
f32f2869
JJ
447692010-06-07 Jakub Jelinek <jakub@redhat.com>
44770
44771 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44772 __REDIRECT followed by __THROW.
44773 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44774 * posix/getopt.h (getopt): Likewise.
44775
2a50c078
EPM
447762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44777
44778 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44779 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44780 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44781 in AT_FLAGS.
44782 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44783 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44784
eb5ad2eb
LM
447852010-05-28 Luis Machado <luisgpm@br.ibm.com>
44786
44787 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44788
3c88fe1e
L
447892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44790
44791 [BZ #11640]
44792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44793 Properly check family and model.
44794
d2f73151
TY
447952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44796
44797 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44798
ebd2e13d
LM
447992010-05-24 Luis Machado <luisgpm@br.ibm.com>
44800
44801 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44802
b32b8b45
UD
448032010-05-21 Ulrich Drepper <drepper@redhat.com>
44804
44805 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44806 symbol reference.
44807
9acbe24d
AS
448082010-05-19 Andreas Schwab <schwab@redhat.com>
44809
44810 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44811 symbol reference.
44812
f0ccf6ea
AS
448132010-05-21 Andreas Schwab <schwab@redhat.com>
44814
3d04ff3a
AS
44815 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44816 and internal_recvmmsg.
44817 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44818 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44819 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44820 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44821
f0ccf6ea
AS
44822 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44823 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44824 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44825
5b08ac57
AS
448262010-05-20 Andreas Schwab <schwab@redhat.com>
44827
44828 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44829
4828935d
LM
448302010-05-17 Luis Machado <luisgpm@br.ibm.com>
44831
44832 POWER7 optimizations.
44833 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44834 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44835
373d545e
UD
448362010-05-19 Ulrich Drepper <drepper@redhat.com>
44837
44838 * version.h: Update for 2.13 development version.
44839
21a2b1ae
AS
448402010-05-12 Andrew Stubbs <ams@codesourcery.com>
44841
44842 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44843 exceptions. Return 0.
44844
3f7dcb2b
RM
448452010-05-07 Roland McGrath <roland@redhat.com>
44846
44847 * elf/ldconfig.c (main): Add a const.
44848
5f24d53a 448492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44850
a160f8d8
UD
44851 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44852 (args_options): Add no-idn option.
44853 (ahosts_keys_int): Add idn_flags to ai_flags.
44854 (parse_option): Handle 'i' option to clear idn_flags.
44855
5f24d53a
UD
44856 * malloc/malloc.c (_int_free): Possible race in the most recently
44857 added check. Only act on the data if no current modification
44858 happened.
265bb1ce
UD
44859
44860See ChangeLog.17 for earlier changes.