]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
aarch64: Remove DOARGS/UNDOARGS macros
[thirdparty/glibc.git] / ChangeLog
CommitLineData
82aab97c
RH
12014-05-25 Richard Henderson <rth@twiddle.net>
2
6e6c2d01
RH
3 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4 Do not use DOARGS/UNDOARGS.
5 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10
c69abcee
RH
11 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12 block comment.
13
82aab97c
RH
14 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15 define if !NOT_IN_libc.
16 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17 define with non-default symbol versions.
18
8820e3ac
RH
192014-05-23 Richard Henderson <rth@twiddle.net>
20
900e445f
RH
21 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
22 (vfork, __vfork): Define via compat_symbol.
23
8820e3ac
RH
24 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25 [!HAVE_IFUNC] (vfork_compat): Remove.
26 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27
e59252a5
JM
282014-05-23 Joseph Myers <joseph@codesourcery.com>
29
30 [BZ #16978]
31 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33 variable.
34
132c7f5f
RH
352014-05-23 Richard Henderson <rth@twiddle.net>
36
bc89e962
RH
37 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
39 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41
42 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
46 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
47 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
49 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
50 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
52 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
53 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
54 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
56 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
57 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
58 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
59 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
60 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
61 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
62 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
63 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
64 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
65 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
66 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
67 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
68 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
69 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
70 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
72 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
73 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
74 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
75 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
76 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
77 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
78 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
79 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
80 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
81 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
82 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
83 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
84 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
85 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
86 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
87 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
88 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
89 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
90 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
91 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
92 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
93 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
94 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
95 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
96 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
97 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
98
e2fa4bc2
RH
99 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
100 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
101 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
102 before exiting on error.
103 (__libc_vfork): New strong alias.
104 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
105 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
106
279b24e2
RH
107 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
108 that was previously under [RESET_PID].
109 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
110
132c7f5f
RH
111 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
112
b72592e7
JM
1132014-05-23 Joseph Myers <joseph@codesourcery.com>
114
115 [BZ #16977]
116 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
117 value when x - 1 is zero.
118 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
119 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
120 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
121 0.0L for an argument of 1.0L.
122 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
123 Likewise.
124 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
125 value when x - 1 is zero.
126 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
127 * sysdeps/i386/fpu/libm-test-ulps: Update.
128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
129
2302d679
RV
1302014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
131
132 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
133 alphasort and versionsort.
134
32999d63
AZ
1352014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
136
137 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
138 macro.
139 [copysignf]: Likewise.
140
019324d0
SP
1412014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
142
143 * crypt/md5-crypt.c: Fix formatting.
144
34fff5c2
KS
1452014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
146
147 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
148 (b64_from_24bit): New function.
149
3d2badac
AZ
1502014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
151
152 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
153 libc_hidden_builtin_def to ifunc.
154 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
155 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
156
f7bb179f 1572014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
158
159 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
160 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
161
4134b50d
JM
1622014-05-21 Joseph Myers <joseph@codesourcery.com>
163
bb7d0337
JM
164 * nscd/Depend (linuxthreads): Remove.
165 (nptl): Add.
166 * resolv/Depend (linuxthreads): Remove.
167 * rt/Depend (linuxthreads): Remove.
168
4134b50d
JM
169 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
170 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
171 $(common-objpfx)elf/.
172 (link-libc-before-gnulib): Likewise.
173 (elfobjdir): Remove variable.
174 * Makefile (install): Use $(elf-objpfx) instead of
175 $(common-objpfx)elf/.
176 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
177 $(elfobjdir)/.
178 (link-libc-deps): Likewise.
179 ($(common-objpfx)libc.so): Likewise.
180 ($(common-objpfx)linkobj/libc.so): Likewise.
181 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
182 instead of $(common-objpfx)elf/.
183 (symbolic-link-list): Likewise.
184 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
185 [$(cross-compiling) = no]: Likewise.
186 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
187 $(elfobjdir)/.
188 (static-gnulib-arch): Likewise.
189 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
190 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
191 $(common-objpfx)elf/.
192
3612eb8f
RH
1932014-05-21 Richard Henderson <rth@redhat.com>
194
a6b3657b
RH
195 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
196 (SINGLE_THREAD_P): Use the correct width load. Fold
197 into the ldr offset.
198
3612eb8f
RH
199 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
200 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
201
175cef41
JM
2022014-05-20 Joseph Myers <joseph@codesourcery.com>
203
204 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
205 (libgcc_s_resume): Use __attribute_used__.
206 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
207 Likewise.
208
e13bccd3
AZ
2092014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
210
211 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
212 optimization when used with float constants.
213
7c112a38
AZ
214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
215
ae75a883
AJ
2162014-05-20 Aurelien Jarno <aurelien@aurel32.net>
217
218 [BZ #16915]
219 * locale/nl_langinfo_l.c: Make direct reference to every
220 _nl_current_CATEGORY symbol.
221 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
222 (tests-static): Add tst-langinfo-static.
223 (tests-special): Add tst-langinfo-static.out.
224 ($(objpfx)tst-langinfo.out): Redirect output.
225 ($(objpfx)tst-langinfo-static.out): New.
226 * localedata/tst-langinfo.sh: Send output to stdout.
227 * localedata/tst-langinfo-static.c: New file.
228
4406c41c
AJ
229 [BZ #16965]
230 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
231 when the shift amount is modulo the limb size.
232
4c0a1e63
RH
2332014-05-20 Richard Henderson <rth@redhat.com>
234
de9d8f20
RH
235 [BZ #16967]
236 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
237 Change type of sa_flags from unsigned int to int.
238
4c0a1e63
RH
239 [BZ #16966]
240 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
241
242 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
243
a60339aa
WN
2442014-05-20 Will Newton <will.newton@linaro.org>
245
246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
247 Test the return value of the system call in the nocancel case.
248
7d05a816
YR
2492014-05-20 Will Newton <will.newton@linaro.org>
250 Yvan Roux <yvan.roux@linaro.org>
251
252 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
253 #include of asm/ptrace.h.
254 (PTRACE_GET_THREAD_AREA): Remove #undef.
255 (PTRACE_GETHBPREGS): Likewise.
256 (PTRACE_SETHBPREGS): Likewise.
257 (struct user_regs_struct): New structure.
258 (struct user_fpsimd_struct): New structure.
259 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
260 #include of asm/ptrace.h and second #include of sys/user.h.
261 (PTRACE_GET_THREAD_AREA): Remove #undef.
262 (PTRACE_GETHBPREGS): Likewise.
263 (PTRACE_SETHBPREGS): Likewise.
264 (ELF_NGREG): Use new struct user_regs_struct.
265 (elf_fpregset_t): Use new struct user_fpsimd_struct.
266
af121e37
AZ
2672014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
268
269 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
270 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
271
834caf06
JM
2722014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
273
274 [BZ #16958]
275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
276 membar to avoid block loads/stores to overlap previous stores.
277
e184a918
RH
2782014-05-17 Richard Henderson <rth@redhat.com>
279
280 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
281 Create the __##syscall_name##_nocancel entry point.
282 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
283 Remove; let the sysdep-cancel.h code create it.
284
f56c7a6a
DM
2852014-05-17 David S. Miller <davem@davemloft.net>
286
287 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
288 Protect with __USE_GNU.
289 (TIOCSET_TEMPT): Likewise.
290 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
291 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
292 these are already provided in bits/ioctl-types.h
293
f75616b2
RM
2942014-05-16 Roland McGrath <roland@hack.frob.com>
295
3edeca86
RM
296 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
297 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
298
f75616b2
RM
299 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
300 Use wait4 regardless of [__NR_waitpid].
301
deb0f7f6
MR
3022014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
303
304 PR libgcc/60166
305 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
306 (_FP_NANSIGN_Q): Set the quiet bit.
307
79520f4b
JM
3082014-05-16 Joseph Myers <joseph@codesourcery.com>
309
310 * benchtests/Makefile
311 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
312 not $(common-objpfx)math/libm.so.
313 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
314 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
315 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
316 $(common-objpfx)dlfcn/libdl.so.
317 ($(objpfx)tst-audit8): Depend on $(libm), not
318 $(common-objpfx)math/libm.so.
319 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
320 not $(common-objpfx)dlfcn/libdl.so.
321 * math/Makefile
322 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
323 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
324 [$(build-shared) = yes].
325 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
326 $(common-objpfx)nptl/libpthread.so.
327 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
328 $(common-objpfx)math/libm.so$(libm.so-version) or
329 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
330 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
331 $(common-objpfx)dlfcn/libdl.so.
332 * setjmp/Makefile (link-libm): Remove variable.
333 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
334 * stdio-common/Makefile (link-libm): Remove variable.
335 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
336 * stdlib/Makefile (link-libm): Remove variable.
337 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
338 ($(objpfx)tst-strtod-round): Likewise.
339 ($(objpfx)tst-tininess): Likewise.
340 ($(objpfx)tst-strtod-underflow): Likewise.
341 ($(objpfx)tst-strtod6): Likewise.
342 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
343 $(libdl), not $(common-objpfx)nptl/libpthread.so and
344 $(common-objpfx)dlfcn/libdl.so.
345
026b0fe4
AZ
3462014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
347
348 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
349 BSD terminal modes definitions.
350
def4bcb2
RM
3512014-05-16 Roland McGrath <roland@hack.frob.com>
352
fe39b021
RM
353 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
354 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
355
1d1fc46e 356 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
357 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
358 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
359 Don't do #include_next.
360 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
361 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
362 Don't do #include_next.
363 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
364 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
365 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
366 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
367
c72399fb
AM
3682014-05-16 Allan McRae <allan@archlinux.org>
369
d51d659d
AM
370 * po/sv.po: Update Swedish translation from translation project.
371
c72399fb
AM
372 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
373 in sed expression.
374
d0583c40
AJ
3752014-05-16 Aurelien Jarno <aurelien@aurel32.net>
376
377 [BZ #16917]
378 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
379 errno if the TIOCGPTN ioctl fails with an error different than
380 EINVAL.
381 * login/tst-ptsname.c: New file.
382 * login/Makefile (tests): Add tst-ptsname.
383
d16e6ec7
AJ
384 [BZ #16943]
385 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
386 and prlimit64.
387
cf26a0cb
SP
3882014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
389
390 [BZ #16849]
391 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
392 herrno to return EAI_AGAIN.
393
5675da1e
RM
3942014-05-14 Roland McGrath <roland@hack.frob.com>
395
a5d87b3d
RM
396 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
397 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
398 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
399 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
400 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
401 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
402 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
403 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
404 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
405 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
406 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
407 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
408 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
409 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
410 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
411 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
412 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
413 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
414 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
415 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
416 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
417 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
418 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
419 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
420 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
422 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
423 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
424 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
425 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
427 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
429 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
431 Moved ...
432 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
434 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
436 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
438 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
440 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
442 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
444 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
446 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
448 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
450 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
452 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
456 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
458 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
460 Moved ...
461 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
463 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
465 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
467 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
469 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
471 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
473 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
475 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
477 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
481 Moved ...
482 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
484 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
485
039890a6
RM
486 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
487 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
488 (libpthread-sysdep_routines): Add elision-related stuff here instead.
489 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
490 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
491 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
492 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
493 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
494 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
495 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
496 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
497 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
498 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
499 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
500 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
501 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
502 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
503 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
504 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
505 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
506 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
507 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
508 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
509 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
510 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
511 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
512 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
513 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
514 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
515 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
516 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
517
65c89320
RM
518 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
519 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
520
348f8e8c
RM
521 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
522 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
523 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
524 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
525 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
526 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
527 Moved ...
528 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
529 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
530 Moved ...
531 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
532 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
533 Moved ...
534 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
535 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
536 Moved ...
537 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
538 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
539 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
540 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
541 Moved ...
542 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
543 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
544 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
545 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
546 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
547 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
548 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
549 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
550 Moved ...
551 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
552 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
553 Moved ...
554 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
555 ... here.
556 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
557 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
558 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
559 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
560 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
561 Moved ...
562 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
563 ... here.
564 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
565 Moved ...
566 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
567 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
568 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
569 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
570 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
571 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
572 Moved ...
573 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
574 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
575 Moved ...
576 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
577 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
578 Moved ...
579 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
580 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
581 Moved ...
582 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
583 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
584 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
585 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
586 Moved ...
587 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
588 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
589 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
590 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
591 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
592 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
593 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
594 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
595 Moved ...
596 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
597 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
598 Moved ...
599 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
600 ... here.
601 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
602 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
603 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
604 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
605 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
606 Moved ...
607 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
608 ... here.
609 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
610 Moved ...
611 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
612 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
613 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
614 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
615 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
616 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
617 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
618 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
619 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
620 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
621 Moved ...
622 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
623 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
624 Moved ...
625 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
626 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
627 Moved ...
628 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
629 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
630 Moved ...
631 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
632 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
633 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
634 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
635 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
636 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
637 Moved ...
638 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
639 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
640 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
641 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
642 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
643 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
644 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
645 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
646 Moved ...
647 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
648 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
649 Moved ...
650 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
651 ... here.
652 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
653 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
654 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
655 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
656 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
657 Moved ...
658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
659 ... here.
660 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
661 Moved ...
662 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
663 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
664 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
665 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
666 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
667 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
668 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
669 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
670 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
671 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
672 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
673
5085af05
RM
674 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
675 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
676
708f0813
RM
677 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
678 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
679
c96067bc
RM
680 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
681 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
682 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
683 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
684 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
685 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
686 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
687 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
688 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
689 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
690 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
691 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
692 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
693 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
694 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
695 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
696 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
697 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
698 Moved ...
699 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
700 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
701 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
702 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
703 Moved ...
704 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
705 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
706 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
707 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
708 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
710 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
711 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
712 Moved ...
713 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
714 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
715 Moved ...
716 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
717 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
718 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
719 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
720 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
721 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
722 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
723 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
724 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
725 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
726 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
727 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
728 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
729 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
730 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
731 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
732 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
733
ec136444
RM
734 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
735 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
736 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
737 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
738 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
739
2fbdf533
RM
740 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
741 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
742 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
743 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
744 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
745 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
746 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
747 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
748 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
749 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
750
4c68138b
RM
751 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
752 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
753
4eaae765
RM
754 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
755 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
756 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
757 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
758 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
759 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
760 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
761 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
762 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
763 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
764 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
765 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
766 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
767 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
768 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
769 Update #include.
770 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
771 Likewise.
772 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
773 Likewise.
774 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
775 Likewise.
776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
777 Likewise.
778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
779 Likewise.
780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
781 Likewise.
782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
783 Likewise.
784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
785 Likewise.
786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
787 Likewise.
4ef6befa
RM
788 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
789 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
790 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
791 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
792 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
793 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
794 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
795 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
796 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
797 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
798 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
799 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
800 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
801 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
802 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 803
941d7dfd
RM
804 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
805 that was previously under [RESET_PID].
806 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
807 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
808 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
809
1b731c35
RM
810 * sysdeps/i386/nptl/Implies: New file.
811 * sysdeps/x86_64/nptl/Implies: New file.
812 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
813 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
814 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
815 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
816
e2787137
RM
817 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
818 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
819 (__libc_vfork): New strong alias.
820 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
821 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
822
823 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
824 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
825 (__libc_vfork): New strong alias.
826 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
827 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
828
5675da1e
RM
829 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
830 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
831 (__libc_vfork): New strong alias.
832 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
833 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
834 * nptl/pt-vfork.c: New file.
835 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
836 (libpthread: GLIBC_2.20): New version set (empty).
837
4f02e2b8
WN
8382014-05-14 Will Newton <will.newton@linaro.org>
839
840 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
841 rather than #if.
842
0bf061d3
JM
8432014-05-14 Joseph Myers <joseph@codesourcery.com>
844
1a84c3d6
JM
845 [BZ #16564]
846 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
847 arguments with exponent 65 or above.
848 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
849 arguments 0x1p113L or above.
850 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
851 to arguments 0x1p107L or above.
852 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
853 positive arguments with exponent 65 or above.
854 * math/auto-libm-test-in: Add more tests of log1p.
855 * math/auto-libm-test-out: Regenerated.
856
01dbacd2
JM
857 [BZ #16928]
858 * math/s_cacos.c (__cacos): Ensure zero real part of result from
859 non-finite arguments is +0.
860 * math/s_cacosf.c (__cacosf): Likewise.
861 * math/s_cacosl.c (__cacosl): Likewise.
862 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
863 * sysdeps/i386/fpu/libm-test-ulps: Update.
864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
865
913d03c8
JM
866 [BZ #16927]
867 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
868 value.
869 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
870 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
871 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
872 for explicit high bit of mantissa when testing for argument equal
873 to 1.
874 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877
0bf061d3
JM
878 [BZ #16516]
879 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
880 (__erf): Scale by 16 instead of 8 in potentially underflowing
881 case. Ensure exception if result actually underflows.
882 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
883 (__erff): Scale by 16 instead of 8 in potentially underflowing
884 case. Ensure exception if result actually underflows.
885 * sysdeps/ieee754/ldbl-128/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 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
890 (efx8): Remove variable.
891 (__erfl): Scale by 16 instead of 8 in potentially underflowing
892 case. Ensure exception if result actually underflows.
893 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
894 (efx8): Remove variable.
895 (__erfl): Scale by 16 instead of 8 in potentially underflowing
896 case. Ensure exception if result actually underflows.
897 * math/auto-libm-test-in: Add more tests of erf.
898 * math/auto-libm-test-out: Regenerated.
899
73ba67cb
AS
9002014-05-14 Andreas Schwab <schwab@suse.de>
901
3d8c8bff
AS
902 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
903 Remove code conditionalized on USE___THREAD.
904
73ba67cb
AS
905 * config.h.in (HAVE_PT_CHOWN): Define as 0.
906 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
907 not definedness.
908
5c521ecd
JM
9092014-05-14 Joseph Myers <joseph@codesourcery.com>
910
5e7698c6
JM
911 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
912 Define unconditionally.
913 (__ASSUME_O_CLOEXEC): Likewise.
914 (__ASSUME_SOCK_CLOEXEC): Likewise.
915 (__ASSUME_IN_NONBLOCK): Likewise.
916 (__ASSUME_PIPE2): Likewise.
917 (__ASSUME_EVENTFD2): Likewise.
918 (__ASSUME_SIGNALFD4): Likewise.
919 (__ASSUME_DUP3): Likewise.
920 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
921 (__ASSUME_DUP3): Do not define.
922 (__ASSUME_EVENTFD2): Likewise.
923 (__ASSUME_IN_NONBLOCK): Likewise.
924 (__ASSUME_O_CLOEXEC): Likewise.
925 (__ASSUME_PIPE2): Likewise.
926 (__ASSUME_SIGNALFD4): Likewise.
927 (__ASSUME_SOCK_CLOEXEC): Likewise.
928 (__ASSUME_UTIMES): Undefine.
929 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
930 (__ASSUME_UTIMES): Do not define.
931 (__ASSUME_O_CLOEXEC): Likewise.
932 (__ASSUME_SOCK_CLOEXEC): Likewise.
933 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
934 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
935 0x020621].
936 (__ASSUME_PIPE2): Likewise.
937 (__ASSUME_EVENTFD2): Likewise.
938 (__ASSUME_SIGNALFD4): Likewise.
939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
940 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
941 Do not define.
942 (__ASSUME_EVENTFD2): Likewise.
943 (__ASSUME_SIGNALFD4): Likewise.
944 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
945 (__ASSUME_32BITUIDS): Likewise.
946 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
947 (__ASSUME_IPC64): Likewise.
948 (__ASSUME_ST_INO_64_BIT): Likewise.
949 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
950 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
951 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
952 (__ASSUME_UTIMES): Do not define.
953 (__ASSUME_PSELECT): Likewise.
954 (__ASSUME_PPOLL): Likewise.
955 (__ASSUME_O_CLOEXEC): Likewise.
956 (__ASSUME_SOCK_CLOEXEC): Likewise.
957 (__ASSUME_IN_NONBLOCK): Likewise.
958 (__ASSUME_PIPE2): Likewise.
959 (__ASSUME_EVENTFD2): Likewise.
960 (__ASSUME_SIGNALFD4): Likewise.
961 (__ASSUME_DUP3): Likewise.
962 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
963 (__ASSUME_UTIMES): Likewise.
964 (__ASSUME_O_CLOEXEC): Likewise.
965 (__ASSUME_SOCK_CLOEXEC): Likewise.
966 (__ASSUME_IN_NONBLOCK): Likewise.
967 (__ASSUME_PIPE2): Likewise.
968 (__ASSUME_EVENTFD2): Likewise.
969 (__ASSUME_SIGNALFD4): Likewise.
970 (__ASSUME_DUP3): Likewise.
971 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
972 (__ASSUME_UTIMES): Likewise.
973 (__ASSUME_O_CLOEXEC): Likewise.
974 (__ASSUME_SOCK_CLOEXEC): Likewise.
975 (__ASSUME_IN_NONBLOCK): Likewise.
976 (__ASSUME_PIPE2): Likewise.
977 (__ASSUME_EVENTFD2): Likewise.
978 (__ASSUME_SIGNALFD4): Likewise.
979 (__ASSUME_DUP3): Likewise.
980 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
981 Likewise.
982 (__ASSUME_UTIMES): Likewise.
983 (__ASSUME_EVENTFD2): Likewise.
984 (__ASSUME_SIGNALFD4): Likewise.
985 * sysdeps/unix/sysv/linux/tile/kernel-features.h
986 (__ASSUME_O_CLOEXEC): Likewise.
987 (__ASSUME_SOCK_CLOEXEC): Likewise.
988 (__ASSUME_IN_NONBLOCK): Likewise.
989 (__ASSUME_PIPE2): Likewise.
990 (__ASSUME_EVENTFD2): Likewise.
991 (__ASSUME_SIGNALFD4): Likewise.
992 (__ASSUME_DUP3): Likewise.
993 (__ASSUME_UTIMES): Undefine.
994
5c521ecd
JM
995 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
996 feclearexcept. Remove symbol versioning code.
997 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
998 symbol versioning code.
999 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1000 symbol versioning code.
1001 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1002 feupdateenv. Remove symbol versioning code.
1003 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1004 fegetexceptflag. Remove symbol versioning code.
1005 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1006 fesetexceptflag. Remove symbol versioning code.
1007 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1008 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1009 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1010 (__posix_fadvise64_l32): Remove prototype.
1011 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1012 code.
1013
5da9dfad
RM
10142014-05-13 Roland McGrath <roland@hack.frob.com>
1015
1016 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1017 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1018 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1019 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1020
893b4f37
SK
10212014-05-13 Sami Kerola <kerolasa@iki.fi>
1022
1023 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1024 current working directory
1025
e0db6517
RM
10262014-05-13 Roland McGrath <roland@hack.frob.com>
1027
58aa195d
RM
1028 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1029 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1030 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1031 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1032 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1033 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1034 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1035 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1037 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1038 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1039 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1040 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1041 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1043 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1045 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1047 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1048 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1049 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1050 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1051 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1053 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1054 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1055 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1056 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1057 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1058 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1059 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1060 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1061 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1062 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1063 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1064 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1065 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1066 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1067 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1068 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1069 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1070
8c6d01f0
RM
1071 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1072 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1073
1074 * sysdeps/unix/sysv/linux/arm/Makefile
1075 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1076 Add rt-aeabi_unwind_cpp_pr1.
1077 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1078 Add nptl-aeabi_unwind_cpp_pr1.
1079 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1080 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1081 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1082 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1083 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1084 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1085
1086 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1087 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1088 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1089 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1090
bba6da4e
RM
1091 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1092 Deconditionalize the code that was previously under [RESET_PID].
1093 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1094
e0db6517
RM
1095 * sysdeps/generic/exit-thread.h: New file.
1096 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1097 * include/unistd.h (__exit_thread): Remove declaration.
1098 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1099 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1100 * csu/libc-start.c: Include <exit-thread.h>.
1101 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1102 * nptl/pthread_create.c: Include <exit-thread.h>.
1103 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1104 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1105 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1106 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1107 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1108 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1109 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1110 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1111 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1112 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1113 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1114 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1115 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1116 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1117 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1118 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1119 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1120
01eb16fd
AS
11212014-05-13 Andreas Schwab <schwab@suse.de>
1122
1123 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1124
637461d9
JM
11252014-05-12 Joseph Myers <joseph@codesourcery.com>
1126
1127 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1128 (__ASSUME_UTIMES): Do not condition on kernel version.
1129 (__ASSUME_PSELECT): Define unconditionally.
1130 (__ASSUME_PPOLL): Likewise.
1131 (__ASSUME_ATFCTS): Likewise.
1132 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1133 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1134 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1135 (__ASSUME_UTIMENSAT): Define unconditionally.
1136 (__ASSUME_PRIVATE_FUTEX): Likewise.
1137 (__ASSUME_FALLOCATE): Likewise.
1138 (__ASSUME_O_CLOEXEC): Likewise.
1139 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1140 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1141 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1142 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1143 (__ASSUME_IN_NONBLOCK): Likewise.
1144 (__ASSUME_PIPE2): Likewise.
1145 (__ASSUME_EVENTFD2): Likewise.
1146 (__ASSUME_SIGNALFD4): Likewise.
1147 (__ASSUME_DUP3): Likewise.
1148 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1149 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1150 (__ASSUME_AT_RANDOM): Likewise.
1151 (__ASSUME_PREADV): Likewise.
1152 (__ASSUME_PWRITEV): Likewise.
1153 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1154 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1155 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1156 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1157 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1158 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1159 (__ASSUME_O_CLOEXEC): Define unconditionally.
1160 (__ASSUME_PSELECT): Do not undefine conditionally.
1161 (__ASSUME_PPOLL): Likewise.
1162 (__ASSUME_ATFCTS): Likewise.
1163 (__ASSUME_SET_ROBUST_LIST): Likewise.
1164 (__ASSUME_UTIMENSAT): Likewise.
1165 (__ASSUME_FDATASYNC): Define unconditionally.
1166 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1167 (__ASSUME_SIGFRAME_V2): Likewise.
1168 )__ASSUME_EVENTFD2): Likewise.
1169 (__ASSUME_SIGNALFD4): Likewise.
1170 (__ASSUME_PSELECT): Do not undefine conditionally.
1171 (__ASSUME_PPOLL): Likewise.
1172 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1173 (__ASSUME_PSELECT): Define unconditionally.
1174 (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
1183 (__ASSUME_O_CLOEXEC): Likewise.
1184 (__ASSUME_SOCK_CLOEXEC): Likewise.
1185 (__ASSUME_IN_NONBLOCK): Likewise.
1186 (__ASSUME_PIPE2): Likewise.
1187 (__ASSUME_EVENTFD2): Likewise.
1188 (__ASSUME_SIGNALFD4): Likewise.
1189 (__ASSUME_DUP3): Likewise.
1190 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1191 (__ASSUME_EVENTFD2): Likewise.
1192 (__ASSUME_SIGNALFD4): Likewise.
1193 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1194
315eb1d8
AS
11952014-05-12 Andreas Schwab <schwab@suse.de>
1196
1197 [BZ #16932]
1198 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1199 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1200 than maximum RPC packet size.
1201 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1202 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1203 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1204 (_nss_nis_getservbyport_r): Likewise.
1205
91df99f7
WN
12062014-05-12 Will Newton <will.newton@linaro.org>
1207
1208 * malloc/Makefile (tests): Add tst-mallopt.
1209 * malloc/tst-mallopt.c: New file.
1210
0a982a29
RM
12112014-05-09 Roland McGrath <roland@hack.frob.com>
1212
1213 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1214 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1215
0ded08a5
AZ
12162014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1219 (tst-tlsmod6.so): Likewise.
1220
55d4d550
RM
12212014-05-09 Roland McGrath <roland@hack.frob.com>
1222
1223 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1224
77d08aca
JM
12252014-05-09 Joseph Myers <joseph@codesourcery.com>
1226
1227 [BZ #16064]
1228 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1229 and <dl-procinfo.h>.
1230 (__fegetenv): Save SSE state in envp->__eip if supported.
1231 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1232 envp->__eip if supported.
1233 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1234 and <dl-procinfo.h>.
1235 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1236 __data_offset and __data_selector in environment to 0. Set SSE
1237 state if supported.
1238 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1239 test-fenv-sse.
1240 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1241 -mfpmath=sse.
1242 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1243
28162f4d
WN
12442014-05-09 Will Newton <will.newton@linaro.org>
1245
1246 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1247 and libc_relro_required for ARM.
1248 * sysdeps/arm/preconfigure: Regenerate.
1249
5a414ff7
DV
12502014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1251 Stefan Liebler <stli@linux.vnet.ibm.com>
1252
1253 * config.make.in (enable-lock-elision): New Makefile variable.
1254 * configure.ac: Likewise.
1255 * configure: Regenerate.
1256 * sysdeps/s390/configure.ac:
1257 Add check for gcc transactions support.
1258 * sysdeps/s390/configure: Regenerate.
1259 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1260 Build elision files if enabled.
1261 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1262 Add lock elision support for s390.
1263 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1264 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1265 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1266 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1267 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1268 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1269 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1270 Likewise.
1271 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1272 Likewise.
1273 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1274 Likewise.
1275 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1276 Likewise.
1277 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1278 (__lll_timedlock_elision, __lll_lock_elision)
1279 (__lll_unlock_elision, __lll_trylock_elision)
1280 (lll_timedlock_elision, lll_lock_elision)
1281 (lll_unlock_elision, lll_trylock_elision): Add.
1282 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1283 (pthread_mutex_t): Add lock elision support for s390.
1284
1a2f40e5
W
12852014-05-14 Wilco <wdijkstr@arm.com>
1286
1287 * sysdeps/arm/fclrexcpt.c: Cleanup.
1288 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1289 * sysdeps/arm/feenablxcpt.c: Cleanup.
1290 * sysdeps/arm/fegetenv.c: Cleanup.
1291 * sysdeps/arm/fegetexcept.c: Cleanup.
1292 * sysdeps/arm/fegetround.c: Cleanup.
1293 * sysdeps/arm/feholdexcpt.c: Cleanup.
1294 * sysdeps/arm/fesetenv.c: Cleanup.
1295 * sysdeps/arm/fesetround.c: Cleanup.
1296 * sysdeps/arm/feupdateenv.c: Cleanup.
1297 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1298 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1299 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1300 * sysdeps/arm/ftestexcept.c: Cleanup.
1301 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1302 * sysdeps/arm/setfpucw.c: Cleanup.
1303
f63c86fe
WN
13042014-05-09 Will Newton <will.newton@linaro.org>
1305
1306 * sysdeps/arm/armv7/strcmp.S: New file.
1307 * NEWS: Mention addition of ARMv7 optimized strcmp.
1308
7a1a51b5
RM
13092014-05-08 Roland McGrath <roland@hack.frob.com>
1310
95afbbe5
RM
1311 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1312 look for %.ac rather than %.in.
1313
1314 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1315 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1316 * sysdeps/mach/hurd/configure: Regenerated.
1317 * sysdeps/unix/sysv/linux/configure: Regenerated.
1318
7a1a51b5
RM
1319 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1320
5057ad3b
SE
13212014-05-07 Steve Ellcey <sellcey@mips.com>
1322
1323 [BZ# 16922]
1324 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1325 (LONG_SUB): Ditto.
1326 (PTR_SUB): Ditto.
1327
8dc97517
AS
13282014-05-07 Andreas Schwab <schwab@suse.de>
1329
1330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1331 when skipping over non-matching result from nscd.
1332
ce0c5b8f
OB
13332014-05-07 Ondřej Bílka <neleai@seznam.cz>
1334
1335 [BZ #16876]
1336 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1337
a1189263
OB
1338 [BZ #16877]
1339 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1340 nscd security class.
ce0c5b8f 1341
0f58d252
RM
13422014-05-06 Roland McGrath <roland@hack.frob.com>
1343
1344 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1345 * sysdeps/arm/unwind.h: ... here.
1346
83df9ad0
AJ
13472014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1348
ce0c5b8f
OB
1349 [BZ# 16916]
1350 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1351 Define.
83df9ad0 1352
f360f94a
VR
13532014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1354
1355 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1356 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1357 multiarch strncpy for PPC64.
1358 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1359 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1361 multiarch optimizations.
1362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1363 (__libc_ifunc_impl_list): Likewise.
1364 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1365 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1366 multiarch stpncpy for PPC64.
1367 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1368 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1369
978a41c3
AS
13702014-05-06 Andreas Schwab <schwab@suse.de>
1371
1372 [BZ #16912]
1373 * gmon/mcount.c (_MCOUNT_DECL): Use
1374 atomic_compare_and_exchange_bool_acq instead of
1375 catomic_compare_and_exchange_bool_acq.
1376
eb1ed03d
RM
13772014-05-05 Roland McGrath <roland@hack.frob.com>
1378
fe658845
RM
1379 * elf/Makefile (others, install-bin): Remove pldd.
1380 (pldd-modules): Variable removed.
1381 ($(objpfx)pldd): Target removed.
1382 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1383 (others, install-bin): Append pldd here.
1384 ($(objpfx)pldd): New target.
1385
eb1ed03d
RM
1386 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1387 to 0, so the first #if test emitted later doesn't see it undefined.
1388 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1389 * sysdeps/gnu/errlist.c: Regenerated.
1390
19c4bec0
AZ
13912014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392
1393 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1394 [libc_hidden_builtin_def]: Define to empty value.
1395 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1396 [libc_hidden_builtin_def]: Likewise.
1397 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1398 [libc_hidden_builtin_def]: Likewise.
1399 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1400 [libc_hidden_builtin_def]: Likewise.
1401 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1402 __redirect_memcpy and define ifunc as default hidden symbol.
1403 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1404 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1405
7776e669
AC
14062014-05-04 Adam Conrad <adconrad@0c3.net>
1407
1408 * locale/iso-4217.def: Reintroduce XDR currency.
1409
d69aeb12
AM
14102014-05-04 Allan McRae <allan@archlinux.org>
1411
1412 * po/eo.po: Update Esperanto translation from translation project.
1413
8f1df5cf
CD
14142014-05-02 Carlos O'Donell <carlos@redhat.com>
1415
1416 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1417 and FEATURE_INDEX_MAX to 1.
1418 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1419
13e402e7
SE
14202014-05-01 Steve Ellcey <sellcey@mips.com>
1421
1422 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1423 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1424 * iconvdata/big5.c (ONE_DIRECTION): Define.
1425 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1426 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1427 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1428 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1429 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1430 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1431 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1432 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1433 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1434 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1435 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1436 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1437 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1438 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1439 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1440 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1441 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1442 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1443 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1444 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1445 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1446 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1447 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1448 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1449 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1450 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1451 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1452 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1453 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1454 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1455 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1456 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1457 * iconvdata/johab.c (ONE_DIRECTION): Define.
1458 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1459 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1460 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1461 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1462 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1463 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1464 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1465 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1466 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1467 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1468
c727f032
RM
14692014-05-01 Roland McGrath <roland@hack.frob.com>
1470
8f2f08d0
RM
1471 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1472 (_IO_JUMPS_OFFSET): Define to 0.
1473
c727f032
RM
1474 * nptl/sysdeps/pthread/bits/libc-lock.h
1475 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1476 (__libc_lock_define_initialized_recursive): Always define using
1477 initializer. Modern compilers treat uninitialized (implicit zero) and
1478 explicit zero initializers the same (i.e. put the datum in bss).
1479
a849e800
AS
14802014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1481
1482 * nscd/nscd-client.h: Include <string.h>.
1483
5331255b
DM
14842014-05-01 David S. Miller <davem@davemloft.net>
1485
1486 [BZ #16885]
1487 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1488 multiple zero bytes exist at the end of a string.
1489 Reported by Aurelien Jarno <aurelien@aurel32.net>
1490
1491 * string/test-strcmp.c (check): Add explicit test for situations where
1492 there are multiple zero bytes after the first.
1493
4fdfe821
AS
14942014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1495
1496 [BZ #16890]
1497 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1498 when compiling wprintf.
1499 * stdio-common/tstdiomisc.c (t3): New function.
1500 (main): Call it.
1501
0cdddc25
SE
15022014-05-01 Steve Ellcey <sellcey@mips.com>
1503
1504 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1505 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1506 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1507 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1508
6426d77e
SE
15092014-05-01 Steve Ellcey <sellcey@mips.com>
1510
1511 * stdlib/longlong.h: Updated from GCC.
1512
6d96f5e4
WN
15132014-05-01 Will Newton <will.newton@linaro.org>
1514 Bernard Ogden <bernie.ogden@linaro.org>
1515
7470db0c
WN
1516 * NEWS: Update fixed bug list.
1517
6d96f5e4
WN
1518 [BZ #15119]
1519 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1520
211d653c
DM
15212014-04-30 David S. Miller <davem@davemloft.net>
1522
4fa262fa
DM
1523 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1524 (libc_feholdexcept_setround_sparc_ctx): New function.
1525 (libc_fesetenv_sparc_ctx): Likewise.
1526 (libc_feupdateenv_sparc_ctx): Likewise.
1527 (libc_feholdsetround_sparc_ctx): Likewise.
1528 (libc_feholdexcept_setround_ctx): Define.
1529 (libc_feholdexcept_setroundf_ctx): Likewise.
1530 (libc_feholdexcept_setroundl_ctx): Likewise.
1531 (libc_fesetenv_ctx): Likewise.
1532 (libc_fesetenvf_ctx): Likewise.
1533 (libc_fesetenvl_ctx): Likewise.
1534 (libc_feupdateenv_ctx): Likewise.
1535 (libc_feupdateenvf_ctx): Likewise.
1536 (libc_feupdateenvl_ctx): Likewise.
1537 (libc_feresetround_ctx): Likewise.
1538 (libc_feresetroundf_ctx): Likewise.
1539 (libc_feresetroundl_ctx): Likewise.
1540 (libc_feholdsetround_ctx): Likewise.
1541 (libc_feholdsetroundf_ctx): Likewise.
1542 (libc_feholdsetroundl_ctx): Likewise.
1543
1d3d93ef
DM
1544 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1545 with __USE_GNU instead of XOPEN cpp guards.
1546
8aa583c3
DM
1547 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1548 0.
1549
211d653c
DM
1550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1551 with XOPEN cpp guards.
1552
60c8f1f6
JB
15532014-04-30 Julian Brown <julian@codesourcery.com>
1554
1555 [BZ #16888]
1556 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1557 handling.
1558
9a461d46
JM
15592014-04-30 Joseph Myers <joseph@codesourcery.com>
1560
d0f5b3f8
JM
1561 [BZ #9894]
1562 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1563 Change to 2.6.32.
1564 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1565 * sysdeps/unix/sysv/linux/configure: Regenerated.
1566 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1567 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1568 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1569 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1570 * README: Update reference to required Linux kernel version.
1571 * manual/install.texi (Linux): Update reference to required Linux
1572 kernel headers version.
1573 * INSTALL: Regenerated.
1574
9a461d46
JM
1575 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1576 header inclusion.
1577 [POSIX] (limits.h): Likewise.
1578 [POSIX] (math.h): Likewise.
1579 [POSIX] (sys/wait.h): Likewise.
1580 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1581 function.
1582 [POSIX] (stddef.h): Do not allow header inclusion.
1583
1775babf
AZ
15842014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1585
57f41c40 1586 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1587
8f630cca
YY
15882014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1589
1590 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1591 Return immediately after lll_futex_wake.
1592
1cdeb237
SP
15932014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1594
bc8f194c
SP
1595 [BZ #16791]
1596 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1597 structure.
1598 (datahead_init_pos): Call datahead_init_common early.
1599 (datahead_init_neg): Likewise.
1600
1cdeb237
SP
1601 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1602 datahead_init_neg): New functions.
1603 * nscd/aicache.c (addhstaiX): Use them.
1604 * nscd/grpcache.c (cache_addgr): Likewise.
1605 * nscd/hstcache.c (cache_addhst): Likewise.
1606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1607 * nscd/netgroupcache.c (do_notfound): Likewise.
1608 (addgetnetgrentX): Likewise.
1609 (addinnetgrX): Likewise.
1610 * nscd/pwdcache.c (cache_addpw): Likewise.
1611 * nscd/servicescache.c (cache_addserv): Likewise.
1612
16b293a7
SP
16132014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1614 Atsushi Onoe <atsushi@onoe.org>
1615
1616 [BZ #14308]
1617 [BZ #12994]
1618 [BZ #13651]
1619 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1620 one response is valid.
1621 * resolv/res_send.c (send_dg): Check for validity of other
1622 response if the current response is a referral.
1623
a28a9b94
SE
16242014-04-29 Steve Ellcey <sellcey@mips.com>
1625
1626 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1627
2ca180e9
SL
16282014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1629
1630 [BZ #16823]
1631 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1632 Always divide by positive zero when computing -Inf result.
1633 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1634 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1635
18f2945a
AZ
16362014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1637
1638 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1639 FPSCR if value do not change.
1640 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1641 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1642 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1643 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1644 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1645 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1646 function.
1647
5abebba4
CD
16482014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1649
1650 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1651 * sysdeps/unix/sysv/linux/hppa: Move directory from
1652 ports/systeps/unix/sysv/linux/hppa.
1653 * README: Update listing for hppa-*-linux-gnu.
1654
f7ed60c2
OB
16552014-04-28 Ondřej Bílka <neleai@seznam.cz>
1656
fff763a5
OB
1657 [BZ #16754]
1658 * manual/stdio.texi (Hook functions): Fix types of stream hook
1659 functions.
f7ed60c2
OB
1660 [BZ #16854]
1661 * socket/sys/socket.h: Fix typo in comment.
1662
df639d73
WD
16632014-04-28 Wilco <wdijkstr@arm.com>
1664
f7ed60c2 1665 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1666 * sysdeps/arm/math_private.h: New file.
1667 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1668
48332d82
L
16692014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1672 with __int128_t.
1673 (La_x86_64_retval): Likewise.
1674
e5e0d9a4
IB
16752014-04-24 Ian Bolton <ian.bolton@arm.com>
1676
1677 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1678 fpsr if value didn't change.
1679 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1680 to fpcr if value didn't change.
1681 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1682 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1683 fpsr or fpcr if value didn't change.
1684 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1685 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1686 fpcr if value didn't change.
1687 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1688 to fpsr if value didn't change.
1689
bacc75f7
SP
16902014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1691
1692 * nptl/tst-sem3.c: Use test-skeleton.c
1693 (main): Rename to do_test. Use return instead of
1694 exit.
1695 * nptl/tst-sem4.c: Use test-skeleton.c
1696 (main): Rename to do_test.
1697
a059d359
DM
16982014-04-22 David S. Miller <davem@davemloft.net>
1699
1700 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1701 (struct sigaction): New struct member __glibc_reserved0, change
1702 type of sa_flags to int.
1703
ea6c92f3
YZ
17042014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1705
1706 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1707 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1708
766c4a36
SP
17092014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1710
1711 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1712 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1713
140cc7ab
VK
17142014-04-22 Will Newton <will.newton@linaro.org>
1715 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1716
1717 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1718 (__longjmp): Add longjmp and longjmp_target SystemTap
1719 probes.
1720 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1721 (__sigsetjmp): Add setjmp SystemTap probe.
1722
c54e5cf7
CD
17232014-04-17 Carlos O'Donell <carlos@redhat.com>
1724
1725 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1726 match manual order.
1727
75ffb047
AZ
17282014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729
1730 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1731
2cd925f7
AZ
1732 * sysdeps/powerpc/fpu/fenv_private.h
1733 (libc_feholdexcept_setroundl_ctx): Define to
1734 libc_feholdexcept_setround_ppc_ctx.
1735 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1736 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1737 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1738 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1739
39e6cd8d
IB
17402014-04-17 Ian Bolton <ian.bolton@arm.com>
1741
1742 * sysdeps/aarch64/math-tests.h: New file.
1743
f9281df9
SY
17442014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1745
1746 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1747 New.
1748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1749 Check and set bit_AVX2_Usable.
1750 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1751 macro.
1752 (bit_AVX2): Likewise.
1753 (index_AVX2_Usable): Likewise.
1754 (CPUID_AVX2): Likewise.
1755 (HAS_AVX2): Likewise.
1756
37d35007
WN
17572014-04-17 Will Newton <will.newton@linaro.org>
1758
7c677662
WN
1759 * manual/setjmp.texi (System V contexts): Add note that
1760 calling setcontext on a context created by a call to a
1761 signal handler is undefined. Update text to note that
1762 setcontext from a signal handler is possible but not
1763 recommended.
1764
37d35007 1765 [BZ #16629]
e04a4e9d
WN
1766 * stdlib/tst-setcontext.c: Include signal.h.
1767 (main): Check that the signal stack before and
1768 after swapcontext is the same.
1769
37d35007
WN
1770 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1771 Re-implement to restore registers in user code and avoid
1772 rt_sigreturn system call.
1773
423a7160
W
17742014-04-17 Wilco <wdijkstr@arm.com>
1775
1776 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1777 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1778 * math/test-fenv.c: Skip exception trap tests on targets which only
1779 support non-stop mode.
1780
bc93ab29
IB
17812014-04-17 Ian Bolton <ian.bolton@arm.com>
1782 Wilco Dijkstra <wilco.dijkstra@arm.com>
1783
1784 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1785 (libc_feholdsetround_aarch64_ctx)
1786 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1787 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1788 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1789 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1790 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1791 (libc_feresetround_noexl_ctx): Define.
1792
95fc5fa3
RH
17932014-04-16 Richard Henderson <rth@redhat.com>
1794
ddb04724
RH
1795 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1796
d77c0899
RH
1797 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1798 unwind tables.
1799
a3df56fc
RH
1800 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1801 const from the non-libc, non-ldso copy.
1802
95fc5fa3
RH
1803 * sysdeps/alpha/libm-test-ulps: Regenerate.
1804
7e0b6763
IB
18052014-04-16 Ian Bolton <ian.bolton@arm.com>
1806 Wilco Dijkstra <wilco.dijkstra@arm.com>
1807
1808 * sysdeps/aarch64/fpu/math_private.h: New file.
1809
a9ea2e0c
MS
18102014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1811
1812 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1813
ea8ba7cd
IZ
18142014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1815
1816 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1817 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1819 Intel MPX bound registers before _dl_profile_fixup.
1820 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1821 registers after _dl_profile_fixup. Save and restore bound
1822 registers bnd0/bnd1 when calling _dl_call_pltexit.
1823 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1824 (LR_BND_OFFSET): Likewise.
1825 (LRV_BND0_OFFSET): Likewise.
1826 (LRV_BND1_OFFSET): Likewise.
1827
9f2a4fbc
ST
18282014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1829
1830 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1831 to...
1832 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1833 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1834 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1835 fields.
9f2a4fbc 1836
fd15a59b
ST
18372014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1838
1839 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1840
f19dfa0a
SL
18412014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1842
1843 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1844
4fa8bc3b
SL
18452014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1846
1847 [BZ #14770]
1848 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1849 * sysdeps/s390/configure: Regenerate.
1850
8ea587db
SL
1851 [BZ #16824]
1852 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1853 Set round-to-nearest internally to reduce error accumulation.
1854
aa5f0ff1
AM
18552014-04-16 Alan Modra <amodra@gmail.com>
1856
1857 [BZ #16740]
1858 [BZ #16619]
1859 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1860 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1861 * NEWS: Update fixed bug list.
aa5f0ff1 1862
bb9c256f
SP
18632014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1864
1865 * benchtests/Makefile: Depend on libraries in build directory.
1866 (bench-math): Separate out math tests.
1867 (bench-pthread): Separate out pthread tests.
1868 (bench): Include math and pthread tests.
1869
f737dfd0
CD
18702014-04-14 Carlos O'Donell <carlos@redhat.com>
1871
1872 [BZ #16831]
1873 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1874 _dl_debug_initialize.
1875
0699f766
CD
1876 * configure.ac: Remove SELinux header check.
1877 * configure: Regenerate.
1878 * nscd/selinux.c (perms): Array of const char* to permission names.
1879 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1880 default policy. Call string_to_security_class and string_to_av_perm to
1881 translate strings. Enforce default policy and call avs_has_perm with
1882 results of translated strings.
1883
809bd45f
DM
18842014-04-13 David S. Miller <davem@davemloft.net>
1885
1886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1887
89e691f2
AM
18882014-04-12 Allan McRae <allan@archlinux.org>
1889
1890 [BZ #16838]
1891 * manual/string.texi (Collation Functions): Fix qsort argument
1892 order in example.
1893 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1894
9c9daaeb
CM
18952014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1896
1897 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1898 Make the test a no-op if there are no exceptions defined.
1899
95561fb9
PP
19002014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1901
fe8d072c 1902 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1903 enable-hardcoded-path-in-tests
1904
970c602a
WN
19052014-04-11 Will Newton <will.newton@linaro.org>
1906
1907 * benchtests/Makefile (extra-objs): Add json-lib.o.
1908 (bench-func): Tidy up JSON output.
1909 * benchtests/bench-skeleton.c: Include json-lib.h.
1910 (main): Use JSON library functions to do output of
1911 benchmark results.
1912 * benchtests/bench-timing-type.c (main): Output the
1913 timing type simply, leaving formatting to the user.
1914 * benchtests/json-lib.c: New file.
1915 * benchtests/json-lib.h: Likewise.
1916
36875b06
TR
19172014-04-11 Torvald Riegel <triegel@redhat.com>
1918
1919 [BZ #15215]
1920 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1921 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1922 memory barriers. Add comments.
1923 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1924 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1925 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1926 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1927 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1928 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1929
579db35a
SL
19302014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1931
1932 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1933 * sysdeps/s390/s390-64/configure.ac: ... this ...
1934 * sysdeps/s390/configure.ac: ... to here.
1935 * sysdeps/s390/s390-32/configure: Delete file.
1936 * sysdeps/s390/s390-64/configure: Delete file.
1937 * sysdeps/s390/configure: Regenerate.
1938
c12e9f37
JAPH
19392014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1940
1941 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1942
439bda32
WN
19432014-04-11 Will Newton <will.newton@linaro.org>
1944
1945 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1946 to zero if it is not defined elsewhere. (mtrim): Test
1947 the value of MALLOC_DEBUG with #if rather than #ifdef.
1948
6a5d6ea1
TR
19492014-04-10 Torvald Riegel <triegel@redhat.com>
1950
1951 * benchtests/pthread_once-inputs: New file.
1952 * benchtests/pthread_once-source.c: New file.
1953 * benchtests/README: Update documentation.
1954
a4c75cfd
IZ
19552014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1956 H.J. Lu <hongjiu.lu@intel.com>
1957
1958 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1959 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1960 * sysdeps/x86_64/configure: Regenerated.
1961 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1962 macro.
1963 (REGISTER_SAVE_RAX): Likewise.
1964 (REGISTER_SAVE_RCX): Likewise.
1965 (REGISTER_SAVE_RDX): Likewise.
1966 (REGISTER_SAVE_RSI): Likewise.
1967 (REGISTER_SAVE_RDI): Likewise.
1968 (REGISTER_SAVE_R8): Likewise.
1969 (REGISTER_SAVE_R9): Likewise.
1970 (REGISTER_SAVE_BND0): Likewise.
1971 (REGISTER_SAVE_BND1): Likewise.
1972 (REGISTER_SAVE_BND2): Likewise.
1973 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1974 bound registers when calling _dl_fixup.
1975
27822ce6
AZ
19762014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1977
1978 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1979 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1980 of its definition.
27822ce6
AZ
1981 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1982 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1983 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1984 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1985 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1986 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1987 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1988
a88ddc90
PTB
19892014-04-09 Peter Brett <peter@peter-b.co.uk>
1990
1991 [BZ #15514]
1992 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1993 pathconf(_PC_NAME_MAX).
1994
01f8eac2
AZ
19952014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1996
1997 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1998 Remove macro usage.
1999 (__PTHREAD_SPINS): Move definition to ...
2000 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2001 (__PTHREAD_SPINS): ... here.
2002 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2003 (__PTHREAD_SPIN): Likewise.
2004 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2005 (__PTHREAD_SPIN): Likewise.
2006 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2007 (__PTHREAD_SPIN): Likewise.
2008 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2009 (__PTHREAD_SPIN): Likewise.
2010 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2011 (__PTHREAD_SPIN): Likewise.
2012 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2013 (__PTHREAD_SPIN): Likewise.
2014 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2015 (__PTHREAD_SPIN): Likewise.
2016 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2017 (__PTHREAD_SPIN): Likewise.
2018 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2019 (__PTHREAD_SPIN): Likewise.
2020 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2021 (__PTHREAD_SPIN): Likewise.
2022 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2023 (__PTHREAD_SPIN): Likewise.
2024 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2025 (__PTHREAD_SPIN): Likewise.
2026
de21c33c
AZ
2027 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2028 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2029 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2030 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2031 imply folder.
2032 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2033 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2034 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2035 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2036 correct imply path.
2037 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2038 strlen symbol for non multi-arch builds.
2039 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2040 missing hidden_def and weak_alias.
2041
862c472e
CD
20422014-04-08 Carlos O'Donell <carlos@redhat.com>
2043
2044 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2045
8667f90e
WN
20462014-04-07 Will Newton <will.newton@linaro.org>
2047
2048 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2049 and contents. [!_LIBC] Remove #ifndef and contents.
2050 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2051 * string/memccpy.c (__memccpy): Use ANSI prototype.
2052 * string/memfrob.c (memfrob): Likewise.
2053 * string/strcoll.c (STRCOLL): Likewise.
2054 * string/strlen.c (strlen): Likewise.
2055 * string/strtok.c (STRTOK): Likewise.
2056 * string/strcat.c: Remove unused #include of memcopy.h.
2057 (strcat): Use ANSI prototype.
2058 * string/strchr.c: Remove unused #include of memcopy.h.
2059 (strchr): Use ANSI prototype.
2060 * string/strcmp.c: Remove unused #include of memcopy.h.
2061 (strcmp): Use ANSI prototype.
2062 * string/strcpy.c: Remove unused #include of memcopy.h.
2063 (strcpy): Use ANSI prototype.
2064
7ffa9423
AZ
20652014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2066
2067 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2068 * config.make.in (config-extra-cppflags): Set it from
2069 libc_extra_cppflags.
2070 * configure.ac (libc_extra_cflags): Make it accumulate over
2071 configure fragments.
2072 (libc_extra_cppflags): New flag.
2073 * configure. Regenerate.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2075 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2076 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2078
8bd70862
AZ
2079 [BZ #16815]
2080 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2081 result for FE_DOWNWARD rounding mode.
2082 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2083 Likewise.
2084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2085
d42f3448
CM
20862014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2087
2088 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2089 in function argument name.
2090
1c21d115
DS
20912014-04-03 David Svoboda <svoboda@cert.org>
2092
2093 [BZ #5666]
2094 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2095 explicitly.
2096
fcccd512
RM
20972014-04-03 Roland McGrath <roland@hack.frob.com>
2098
2099 * elf/dl-unmap-segments.h: New file.
2100 * sysdeps/generic/ldsodefs.h
2101 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2102 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2103 * elf/dl-fptr.c: Likewise.
2104 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2105 * sysdeps/aarch64/tlsdesc.c: Likewise.
2106 * sysdeps/arm/tlsdesc.c: Likewise.
2107 * sysdeps/i386/tlsdesc.c: Likewise.
2108 * sysdeps/tile/dl-runtime.c: Likewise.
2109 * sysdeps/x86_64/tlsdesc.c: Likewise.
2110 * elf/dl-load.h: New file.
2111 * elf/dl-load.c: Include it.
2112 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2113 Macros moved to dl-load.h.
2114 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2115 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2116 Use _dl_unmap_segments in place of __munmap.
2117 Break out segment-mapping loop into ...
2118 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2119
f6488e2b
WN
21202014-04-03 Will Newton <will.newton@linaro.org>
2121
2122 * elf/dl-lookup.c (do_lookup_x): Remove comment
2123 referring to nested function and move variable
2124 declarations down to before first use.
2125
6f05bafe
JM
21262014-04-02 Joseph Myers <joseph@codesourcery.com>
2127
a84e78c8
JM
2128 [BZ #16799]
2129 [BZ #16800]
2130 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2131 with 0 numerator.
2132 * math/s_catanf.c (__catanf): Likewise.
2133 * math/s_catanh.c (__catanh): Likewise.
2134 * math/s_catanhf.c (__catanhf): Likewise.
2135 * math/s_catanhl.c (__catanhl): Likewise.
2136 * math/s_catanl.c (__catanl): Likewise.
2137 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2138 by positive zero when computing -Inf result.
2139 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2140 (catanh_test): Likewise.
2141 * sysdeps/i386/fpu/libm-test-ulps: Update.
2142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2143
6f05bafe
JM
2144 [BZ #16789]
2145 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2146 instead of using underflowing value in computing result.
2147 * math/s_clog10.c (__clog10): Likewise.
2148 * math/s_clog10f.c (__clog10f): Likewise.
2149 * math/s_clog10l.c (__clog10l): Likewise.
2150 * math/s_clogf.c (__clogf): Likewise.
2151 * math/s_clogl.c (__clogl): Likewise.
2152 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2153 (clog10_test): Likewise.
2154 * sysdeps/i386/fpu/libm-test-ulps: Update.
2155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2156
b0abbc21
AM
21572014-04-02 Alan Modra <amodra@gmail.com>
2158
2159 [BZ #16739]
2160 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2161 output when value is near a power of two. Use int64_t for lx and
2162 remove casts. Use decimal rather than hex exponent constants.
2163 Don't use long double multiplication when double will suffice.
2164 * math/libm-test.inc (nextafter_test_data): Add tests.
2165 * NEWS: Add 16739 and 16786 to bug list.
2166
af6b1797
AM
2167 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2168
483818d7
AM
2169 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2170
f6c55796
WN
21712014-04-01 Will Newton <will.newton@linaro.org>
2172
2173 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2174 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2175
13f7fe35
FW
21762014-04-01 Florian Weimer <fweimer@redhat.com>
2177
2178 [BZ #13347]
2179 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2180 * nptl/tst-setuid2.c: New file.
2181 * nptl/Makefile (xtests): Add tst-setuid2.
2182
c859b32e
AM
21832014-04-01 Alan Modra <amodra@gmail.com>
2184
2185 [BZ #16786]
2186 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2187
54fa2475
JM
21882014-03-31 Joseph Myers <joseph@codesourcery.com>
2189
8795b4a4
JM
2190 [BZ #6803]
2191 [BZ #6804]
2192 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2193 set errno as appropriate.
2194 * math/w_scalbf.c (__scalbf): Likewise.
2195 * math/w_scalbl.c (__scalbl): Likewise.
2196 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2197 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2198 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2199 Add more NaN tests.
2200
54fa2475
JM
2201 [BZ #16349]
2202 * math/w_atan2.c: Include <errno.h>.
2203 (__atan2): Set errno for result underflowing to zero.
2204 * math/w_atan2f.c: Include <errno.h>.
2205 (__atan2f): Set errno for result underflowing to zero.
2206 * math/w_atan2l.c: Include <errno.h>.
2207 (__atan2l): Set errno for result underflowing to zero.
2208 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2209 tests.
2210 * math/auto-libm-test-out: Regenerated.
2211
757d9dd5
AZ
22122014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213
2214 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2215 Encode instruction correctly in little endian.
2216 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2217 Likewise.
2218 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2219 Likewise.
2220 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2221 Likewise.
2222 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2223 Likewise.
2224
d7a68734
JM
22252014-03-31 Joseph Myers <joseph@codesourcery.com>
2226
47c5adeb
JM
2227 [BZ #9894]
2228 * sysdeps/unix/sysv/linux/kernel-features.h
2229 [__sparc__ && !__arch64__ && !__sparc_v9__]
2230 (__ASSUME_SET_ROBUST_LIST): Do not define.
2231 [__sparc__ && !__arch64__ && !__sparc_v9__]
2232 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2233 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2234 Likewise.
2235 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2236 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2237 (__ASSUME_REQUEUE_PI): Likewise.
2238 (__ASSUME_SET_ROBUST_LIST): Likewise.
2239 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2240 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2241 Undefine.
2242 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2243 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2244 Likewise.
2245 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2246 Likewise.
2247 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2248 Likewise.
2249 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2250 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2251 Undefine.
2252 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2253 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2254 Likewise.
2255
d7a68734
JM
2256 [BZ #16648]
2257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2258 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2259 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2260
c760f5c2
WN
22612014-03-31 Will Newton <will.newton@linaro.org>
2262
2263 * benchtests/Makefile (bench): Add ffs and ffsll to list
2264 of tests.
2265 * benchtests/ffs-inputs: New file.
2266 * benchtests/ffsll-inputs: Likewise.
2267
ea6029b1
JM
22682014-03-29 Joseph Myers <joseph@codesourcery.com>
2269
2270 [BZ #16770]
2271 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2272 too large before casting to int.
2273 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2274 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2275 * math/libm-test.inc (scalb_test_data): Add more tests.
2276
cf806aff
SP
22772014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2278
56737508
SP
2279 * benchtests/Makefile (DETAILED_OPT): New make option.
2280 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2281 set.
2282 * benchtests/bench-skeleton.c: Include stdbool.h.
2283 (main): Store and print timings per input.
2284 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2285 member to each argument value.
2286 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2287 (_print_arg_data): Initialize per-input timing to 0.
2288
cb5e4aad
SP
2289 * benchtests/Makefile (timing-type): New binary.
2290 (bench-clean): Also remove bench-timing-type.
2291 (bench): New target for timing-type.
2292 (bench-func): Print output in JSON format.
2293 * benchtests/bench-skeleton.c (main): Print output in JSON
2294 format.
2295 * benchtests/bench-timing-type.c: New file.
2296 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2297 (TIMING_PRINT_STATS): Remove.
2298 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2299 name separately.
2300
cf806aff
SP
2301 * benchtests/bench-modf.c: Remove.
2302 * benchtests/modf-inputs: New inputs file.
2303
289e0779
JM
23042014-03-28 Joseph Myers <joseph@codesourcery.com>
2305
2306 [BZ #16362]
2307 * math/s_clog10.c (M_PI_LOG10E): New macro.
2308 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2309 imaginary parts are 0.
2310 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2311 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2312 imaginary parts are 0.
2313 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2314 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2315 imaginary parts are 0.
2316 * math/libm-test.inc (clog10_test_data): Update expected results
2317 for when real and imaginary parts are 0.
2318
277ae3f1
PP
23192014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2320
2321 * elf/dl-load.c: Finish conversion of __builtin_expect into
2322 __glibc_{un}likely.
2323
03a7091f
JM
23242014-03-27 Joseph Myers <joseph@codesourcery.com>
2325
2326 [BZ #16348]
2327 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2328 1+x for argument with exponent below -67.
2329 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2330 Likewise.
2331 * math/auto-libm-test-in: Add more tests of exp.
2332 * math/auto-libm-test-out: Regenerated.
2333
ea7d8b95
SP
23342014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2335
dd3022d7
SP
2336 [BZ #16759]
2337 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2338 (nscd_getnetgrent): Use it.
2339
ea7d8b95
SP
2340 [BZ #16760]
2341 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2342 of stpcpy.
2343
df5b85da
AK
23442014-03-27 Andi Kleen <ak@linux.intel.com>
2345
57f41c40
AS
2346 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2347 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2348 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2349 (lll_robust_unlock): Remove out of line section. Use cfi
2350 intrinsics.
df5b85da 2351 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2352 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2353 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2354 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2355 (lll_robust_unlock): Remove out of line section. Use cfi
2356 intrinsics.
df5b85da
AK
2357 (LLL_STUB_UNWIND_INFO*): Remove.
2358
fbd6b5a4
SP
23592014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2360
2361 [BZ #16758]
2362 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2363 blank values.
2364
1b26b855
PP
23652014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2366
2367 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2368
9be36fb8
JM
23692014-03-26 Joseph Myers <joseph@codesourcery.com>
2370
2371 [BZ #16198]
2372 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2373 fnstenv.
2374 * math/test-fenv-preserve.c: New file.
2375 * math/Makefile (tests): Add test-fenv-preserve.
2376
60a2f3c1
WN
23772014-03-26 Will Newton <will.newton@linaro.org>
2378
2379 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2380
a5e5f1e2
RM
23812014-03-25 Roland McGrath <roland@hack.frob.com>
2382
2383 * scripts/versionlist.awk: Partition the version sets and emit all
2384 GLIBC_* (sorted) before all others (sorted).
2385
00f4012a
JM
23862014-03-25 Joseph Myers <joseph@codesourcery.com>
2387
2388 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2389 GLIBC_2.2.5 version.
2390
7bc5a741
AZ
23912014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2392
2393 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2394 calls.
2395
7578473b
AZ
2396 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2397 previous change.
2398
f3f1dab3
AZ
2399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2400
6da36183
AS
24012014-03-25 Andreas Schwab <schwab@suse.de>
2402
2403 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2404 label to be used after in6ailist is initialized.
2405
f3f1dab3 24062014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2407
7578473b 2408 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2409 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2410
046651c1
JM
24112014-03-25 Joseph Myers <joseph@codesourcery.com>
2412
2413 [BZ #16357]
2414 [BZ #16599]
2415 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2416 min_plus_half.
2417 (fp_formats): Update initializers.
2418 (init_fp_formats): Initialize new field.
2419 (output_for_one_input_case): Allow underflow for results up to
2420 min_plus_half.
2421 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2422 * math/auto-libm-test-in: Don't mark some underflows from asin and
2423 atanh as spurious.
2424 * math/auto-libm-test-out: Regenerated.
2425 * sysdeps/i386/fpu/libm-test-ulps: Update.
2426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2427
003e49ed
AS
24282014-03-25 Andreas Schwab <schwab@suse.de>
2429
2430 * libio/Makefile (tst-ftell-partial-wide-ENV)
2431 (tst-ftell-active-handler-ENV): Define.
2432
de031874
SL
24332014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2434
2435 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2436
55a81e3b
PP
24372014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2438
2439 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2440
f3426898
JM
24412014-03-24 Joseph Myers <joseph@codesourcery.com>
2442
2443 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2444 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2445 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2446
a42faf59
PP
24472014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2448
2449 [BZ #16634]
a42faf59 2450 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2451 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2452 (open_path): Change from boolean 'secure' to complete flag 'mode'
2453 (_dl_map_object): Adjust.
a42faf59
PP
2454 * elf/Makefile (tests): Add tst-dlopen-aout.
2455 * elf/tst-dlopen-aout.c: New test.
2456
50936127
SL
24572014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2458
2459 [BZ #16714]
2460 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2461 (struct stat): Rename member pad0 to __glibc_reserved0.
2462
26011b5c
SL
2463 [BZ #16712]
2464 * sysdeps/s390/s390-32/bits/wordsize.h
2465 (__WORDSIZE32_SIZE_ULONG): New define.
2466 * sysdeps/s390/s390-64/bits/wordsize.h
2467 (__WORDSIZE32_SIZE_ULONG): Likewise.
2468 * sysdeps/generic/stdint.h (SIZE_MAX):
2469 Define as UL if __WORDSIZE32_SIZE_ULONG.
2470
a2d86bf1
SL
2471 [BZ #16713]
2472 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2473 (__glibc_reserved0): New variable.
2474 (sa_flags): Change type to int.
2475
78b6eebc
SL
2476 * posix/Makefile (before-compile): Use += before-compile instead
2477 of a :=.
2478
f1399b5a
SL
2479 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2480 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2481
a071766e
AS
24822014-03-20 Andreas Schwab <schwab@suse.de>
2483
2484 [BZ #16743]
2485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2486 non-matching result from nscd.
2487
27c673b8
SP
24882014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2489
2490 * scripts/bench.py: Moved to ...
2491 * benchtests/scripts/bench.py: ... here.
2492 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2493
44152e4b
AS
24942014-03-24 Andreas Schwab <schwab@suse.de>
2495
2496 [BZ #16002]
2497 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2498 alloca_account and account alloca use for struct in6ailist.
2499
b376a11a
JM
25002014-03-24 Joseph Myers <joseph@codesourcery.com>
2501
2502 [BZ #16284]
2503 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2504 rounding mode to recompute results that overflow to infinity or
2505 underflow to zero.
2506 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2507 bug 16284.
2508 * math/auto-libm-test-out: Regenerated.
2509 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2510 (ccosh_test): Likewise.
2511 (csin_test_data): Use plus_oflow.
2512 (csin_test): Use ALL_RM_TEST.
2513 (csinh_test_data): Use plus_oflow.
2514 (csinh_test): Use ALL_RM_TEST.
2515 * sysdeps/i386/fpu/libm-test-ulps: Update.
2516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2517
f7be7376
JM
25182014-03-21 Joseph Myers <joseph@codesourcery.com>
2519
1ca2d03e
JM
2520 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2521 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2522 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2523
f7be7376
JM
2524 [BZ #16731]
2525 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2526 when x - 1 is zero.
2527 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2528 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2529 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2530 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2531 argument is 1.
2532 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2533 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2534 zero.
2535 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2536 * sysdeps/i386/fpu/libm-test-ulps: Update.
2537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2538
fdf4534d
SP
25392014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2540
df26ea53
SP
2541 * scripts/bench.pl: Remove file.
2542 * scripts/bench.py: New benchmark script.
2543 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2544 * benchtests/README: Mention python dependency.
2545 * scripts/pylintrc: New file.
2546 * scripts/pylint: New file.
2547
fdf4534d
SP
2548 * bits/mathdef.h: Use #ifdef instead of #if.
2549 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2550 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2551 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2552 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2553 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2554 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2555
6f23d093
AZ
25562014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2557 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2558
2559 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2561 and strpbrk-ppc64 objects.
2562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2563 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2564 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2565 multiarch strpbrk for POWER7.
2566 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2567 multiarch strpbrk for PPC64.
2568 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2569 ifunc selector.
2570 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2571 strpbrk for POWER7.
2572
8c92dfff
JM
25732014-03-20 Joseph Myers <joseph@codesourcery.com>
2574
2575 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2576 (atan_test): Likewise.
2577 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2578 (atanh_test): Use ALL_RM_TEST.
2579 (atan2_test_data): Likewise.
2580 (cabs_test): Likewise.
2581 (cacosh_test): Likewise.
2582 (carg_test): Likewise.
2583 (casin_test): Likewise.
2584 (casinh_test): Likewise.
2585 (cbrt_test): Likewise.
2586 (csqrt_test): Likewise.
2587 (erf_test): Likewise.
2588 (erfc_test): Likewise.
2589 (pow10_test): Likewise.
2590 (exp2_test): Likewise.
2591 (hypot_test): Likewise.
2592 (j0_test): Likewise.
2593 (j1_test): Likewise.
2594 (lgamma_test): Likewise.
2595 (gamma_test): Likewise.
2596 (sincos_test): Likewise.
2597 (tanh_test): Likewise.
2598 (y0_test): Likewise.
2599 (y1_test): Likewise.
2600 * sysdeps/i386/fpu/libm-test-ulps: Update.
2601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2602
6eaf95cb
AZ
26032014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2604
a387428c
SP
2605 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2607 and strcspn-ppc64 objects.
2608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2609 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2610 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2611 multiarch strcspn for POWER7.
2612 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2613 multiarch strcspn for PPC64.
2614 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2615 ifunc selector.
2616 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2617 strcspn for POWER7.
2618
ae3a5dff
JM
26192014-03-20 Joseph Myers <joseph@codesourcery.com>
2620
2621 * math/gen-libm-test.pl (generate_testfile): Expect only function
2622 name as argument to AUTO_TESTS_* and pass results for all rounding
2623 modes to parse_args.
2624 (parse_auto_input): Separate inputs of automatic tests from
2625 outputs before storing in %auto_tests.
2626 * math/libm-test.inc (acos_test_data): Update call to
2627 AUTO_TESTS_f_f.
2628 (acos_test): Use ALL_RM_TEST.
2629 (acos_tonearest_test_data): Remove.
2630 (acos_test_tonearest): Likewise.
2631 (acos_towardzero_test_data): Likewise.
2632 (acos_test_towardzero): Likewise.
2633 (acos_downward_test_data): Likewise.
2634 (acos_test_downward): Likewise.
2635 (acos_upward_test_data): Likewise.
2636 (acos_test_upward): Likewise.
2637 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2638 (asin_test_data): Likewise.
2639 (asin_test): Use ALL_RM_TEST.
2640 (asin_tonearest_test_data): Remove.
2641 (asin_test_tonearest): Likewise.
2642 (asin_towardzero_test_data): Likewise.
2643 (asin_test_towardzero): Likewise.
2644 (asin_downward_test_data): Likewise.
2645 (asin_test_downward): Likewise.
2646 (asin_upward_test_data): Likewise.
2647 (asin_test_upward): Likewise.
2648 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2649 (atan_test_data): Likewise.
2650 (atanh_test_data): Likewise.
2651 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2652 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2653 (carg_test_data): Likewise.
2654 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2655 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2656 (ccosh_test_data): Likewise.
2657 (cexp_test_data): Likewise.
2658 (clog_test_data): Likewise.
2659 (clog10_test_data): Likewise.
2660 (cos_test_data): Update call to AUTO_TESTS_f_f.
2661 (cos_test): Use ALL_RM_TEST.
2662 (cos_tonearest_test_data): Remove.
2663 (cos_test_tonearest): Likewise.
2664 (cos_towardzero_test_data): Likewise.
2665 (cos_test_towardzero): Likewise.
2666 (cos_downward_test_data): Likewise.
2667 (cos_test_downward): Likewise.
2668 (cos_upward_test_data): Likewise.
2669 (cos_test_upward): Likewise.
2670 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2671 (cosh_test): Use ALL_RM_TEST.
2672 (cosh_tonearest_test_data): Remove.
2673 (cosh_test_tonearest): Likewise.
2674 (cosh_towardzero_test_data): Likewise.
2675 (cosh_test_towardzero): Likewise.
2676 (cosh_downward_test_data): Likewise.
2677 (cosh_test_downward): Likewise.
2678 (cosh_upward_test_data): Likewise.
2679 (cosh_test_upward): Likewise.
2680 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2681 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2682 (ctan_test_data): Likewise.
2683 (ctan_test): Use ALL_RM_TEST.
2684 (ctan_tonearest_test_data): Remove.
2685 (ctan_test_tonearest): Likewise.
2686 (ctan_towardzero_test_data): Likewise.
2687 (ctan_test_towardzero): Likewise.
2688 (ctan_downward_test_data): Likewise.
2689 (ctan_test_downward): Likewise.
2690 (ctan_upward_test_data): Likewise.
2691 (ctan_test_upward): Likewise.
2692 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2693 (ctanh_test): Use ALL_RM_TEST.
2694 (ctanh_tonearest_test_data): Remove.
2695 (ctanh_test_tonearest): Likewise.
2696 (ctanh_towardzero_test_data): Likewise.
2697 (ctanh_test_towardzero): Likewise.
2698 (ctanh_downward_test_data): Likewise.
2699 (ctanh_test_downward): Likewise.
2700 (ctanh_upward_test_data): Likewise.
2701 (ctanh_test_upward): Likewise.
2702 (erf_test_data): Update call to AUTO_TESTS_f_f.
2703 (erfc_test_data): Likewise.
2704 (exp_test_data): Likewise.
2705 (exp_test): Use ALL_RM_TEST.
2706 (exp_tonearest_test_data): Remove.
2707 (exp_test_tonearest): Likewise.
2708 (exp_towardzero_test_data): Likewise.
2709 (exp_test_towardzero): Likewise.
2710 (exp_downward_test_data): Likewise.
2711 (exp_test_downward): Likewise.
2712 (exp_upward_test_data): Likewise.
2713 (exp_test_upward): Likewise.
2714 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2715 (exp10_test): Use ALL_RM_TEST.
2716 (exp10_tonearest_test_data): Remove.
2717 (exp10_test_tonearest): Likewise.
2718 (exp10_towardzero_test_data): Likewise.
2719 (exp10_test_towardzero): Likewise.
2720 (exp10_downward_test_data): Likewise.
2721 (exp10_test_downward): Likewise.
2722 (exp10_upward_test_data): Likewise.
2723 (exp10_test_upward): Likewise.
2724 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2725 (expm1_test_data): Likewise.
2726 (expm1_test): Use ALL_RM_TEST.
2727 (expm1_tonearest_test_data): Remove.
2728 (expm1_test_tonearest): Likewise.
2729 (expm1_towardzero_test_data): Likewise.
2730 (expm1_test_towardzero): Likewise.
2731 (expm1_downward_test_data): Likewise.
2732 (expm1_test_downward): Likewise.
2733 (expm1_upward_test_data): Likewise.
2734 (expm1_test_upward): Likewise.
2735 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2736 (fma_test): Use ALL_RM_TEST.
2737 (fma_towardzero_test_data): Remove.
2738 (fma_test_towardzero): Likewise.
2739 (fma_downward_test_data): Likewise.
2740 (fma_test_downward): Likewise.
2741 (fma_upward_test_data): Likewise.
2742 (fma_test_upward): Likewise.
2743 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2744 (j0_test_data): Update call to AUTO_TESTS_f_f.
2745 (j1_test_data): Likewise.
2746 (jn_test_data): Update call to AUTO_TESTS_if_f.
2747 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2748 (log_test_data): Update call to AUTO_TESTS_f_f.
2749 (log10_test_data): Likewise.
2750 (log1p_test_data): Likewise.
2751 (log2_test_data): Likewise.
2752 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2753 (pow_tonearest_test_data): Likewise.
2754 (sin_test_data): Update call to AUTO_TESTS_f_f.
2755 (sin_test): Use ALL_RM_TEST.
2756 (sin_tonearest_test_data): Remove.
2757 (sin_test_tonearest): Likewise.
2758 (sin_towardzero_test_data): Likewise.
2759 (sin_test_towardzero): Likewise.
2760 (sin_downward_test_data): Likewise.
2761 (sin_test_downward): Likewise.
2762 (sin_upward_test_data): Likewise.
2763 (sin_test_upward): Likewise.
2764 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2765 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2766 (sinh_test): Use ALL_RM_TEST.
2767 (sinh_tonearest_test_data): Remove.
2768 (sinh_test_tonearest): Likewise.
2769 (sinh_towardzero_test_data): Likewise.
2770 (sinh_test_towardzero): Likewise.
2771 (sinh_downward_test_data): Likewise.
2772 (sinh_test_downward): Likewise.
2773 (sinh_upward_test_data): Likewise.
2774 (sinh_test_upward): Likewise.
2775 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2776 (sqrt_test): Use ALL_RM_TEST.
2777 (sqrt_tonearest_test_data): Remove.
2778 (sqrt_test_tonearest): Likewise.
2779 (sqrt_towardzero_test_data): Likewise.
2780 (sqrt_test_towardzero): Likewise.
2781 (sqrt_downward_test_data): Likewise.
2782 (sqrt_test_downward): Likewise.
2783 (sqrt_upward_test_data): Likewise.
2784 (sqrt_test_upward): Likewise.
2785 (tan_test_data): Update call to AUTO_TESTS_f_f.
2786 (tan_test): Use ALL_RM_TEST.
2787 (tan_tonearest_test_data): Remove.
2788 (tan_test_tonearest): Likewise.
2789 (tan_towardzero_test_data): Likewise.
2790 (tan_test_towardzero): Likewise.
2791 (tan_downward_test_data): Likewise.
2792 (tan_test_downward): Likewise.
2793 (tan_upward_test_data): Likewise.
2794 (tan_test_upward): Likewise.
2795 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2796 (tgamma_test_data): Likewise.
2797 (y0_test_data): Likewise.
2798 (y1_test_data): Likewise.
2799 (yn_test_data): Update call to AUTO_TESTS_if_f.
2800 (main): Do not call removed functions.
2801
d71aeee8
JM
28022014-03-19 Joseph Myers <joseph@codesourcery.com>
2803
2804 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2805 (ldexp_test_data): Remove.
2806 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2807 scalbn_test_data.
2808 (scalb_test): Use ALL_RM_TEST.
2809
baaf1ded
AS
28102014-03-19 Andreas Schwab <schwab@suse.de>
2811
2812 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2813
b1115e91
JM
28142014-03-19 Joseph Myers <joseph@codesourcery.com>
2815
2816 [BZ #16649]
2817 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2818 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2819 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2820 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2821 (__ASSUME_PREADV): Undefine.
2822 (__ASSUME_PWRITEV): Likewise.
2823
0283ecca
RM
28242014-03-18 Roland McGrath <roland@hack.frob.com>
2825
7d375303
RM
2826 * bits/mman-linux.h: Add comment about non-Linux use.
2827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2828 bits/mman-linux.h resting place.
2829
0283ecca
RM
2830 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2831 * bits/mman-linux.h: ... here.
2832
aebe1003
AZ
28332014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2834
2835 * conform/conformtest.pl: Add standard definition when calling C
2836 preprocessor on data files.
2837 (checknamespace): Remove unused variable.
2838
b29b6bb8
JM
28392014-03-18 Joseph Myers <joseph@codesourcery.com>
2840
2841 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2842 minus_oflow, plus_uflow and minus_uflow in expected results.
2843 * math/libm-test.inc (scalbn_test_data): Add more tests of
2844 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2845 minus_uflow.
2846 (scalbn_test): Use ALL_RM_TEST.
2847 (scalbln_test_data): Add more tests of negative arguments. Use
2848 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2849 (scalbln_test): Use ALL_RM_TEST.
2850
c8f8fa15
RM
28512014-03-18 Roland McGrath <roland@hack.frob.com>
2852
2853 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2854
fede7a5f
WN
28552014-03-18 Will Newton <will.newton@linaro.org>
2856
2857 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2858 inaccurate comment.
2859
80cf0a58
JM
28602014-03-18 Joseph Myers <joseph@codesourcery.com>
2861
2862 * Makerules [!subdir] (check-abi): Exit with error status if a
2863 test failed.
2864
b3620862
JM
28652014-03-17 Joseph Myers <joseph@codesourcery.com>
2866
2867 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2868 for rint. Include results for all rounding modes.
2869 (nearbyint_test): Use ALL_RM_TEST.
2870 (rint_test_data): Include all tests used for nearbyint.
2871
788bba36
WN
28722014-03-17 Will Newton <will.newton@linaro.org>
2873
04ec140a
WN
2874 * nptl/sysdeps/pthread/pthread.h: Revert previous
2875 change.
2876
7579d8d5
WN
2877 * sysdeps/generic/ldsodefs.h: Revert previous
2878 change.
2879
c15cf13a
WN
2880 * libio/genops.c: Revert previous change.
2881 * libio/libioP.h: Likewise.
2882 * stdio-common/vfprintf.c: Likewise.
2883
d0ac1324
WN
2884 * sysdeps/generic/math_private.h: Revert previous
2885 change.
2886
9290130a
WN
2887 * sysdeps/generic/math_private.h: Check whether
2888 HAVE_RM_CTX is defined with #ifdef rather
2889 than #if.
2890
afb466fc
WN
2891 * argp/argp-fmtstream.h: Check whether
2892 __STRICT_ANSI__ is defined with #ifdef rather
2893 than #if.
2894 * argp/argp.h: Likewise.
2895
f7efd7c3
WN
2896 * libio/genops.c: Check whether
2897 _IO_JUMPS_OFFSET is defined with #ifdef rather
2898 than #if.
2899 * libio/libioP.h: Likewise.
2900 * stdio-common/vfprintf.c: Likewise.
2901
53f1bed3
WN
2902 * sysdeps/generic/ldsodefs.h: Check whether
2903 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2904 than #if.
2905
788bba36
WN
2906 * nptl/sysdeps/pthread/pthread.h: Check
2907 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2908 its value.
2909
fcd89ebe
SP
29102014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2911
ae42bbc5
SP
2912 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2913 setting O_APPEND.
2914 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2915 test case.
2916
ea33158c
SP
2917 [BZ #16680]
2918 * libio/fileops.c (_IO_file_open): Seek to end of file but
2919 don't cache the offset.
2920 (get_file_offset): Remove function.
2921 (do_ftell): Use cached offset when available.
2922 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2923 don't cache the offset.
2924 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2925 case.
2926 (do_one_test): Call it.
2927 (do_ftell_test): Fix up expected old offset for a+ mode.
2928 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2929 available.
2930
b1dbb426
SP
2931 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2932 up test status with function return status.
2933 (do_write_test): Likewise.
2934 (do_append_test): Likewise.
2935
fcd89ebe
SP
2936 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2937 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2938 Remove.
2939
9962a2d3
JM
29402014-03-17 Joseph Myers <joseph@codesourcery.com>
2941
2942 * math/gen-libm-test.pl (parse_args): Handle results specified for
2943 each rounding mode separately.
2944 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2945 tests and results from lrint_tonearest_test_data,
2946 lrint_towardzero_test_data, lrint_downward_test_data and
2947 lrint_upward_test_data.
2948 (lrint_test): Use ALL_RM_TEST.
2949 (lrint_tonearest_test_data): Remove.
2950 (lrint_test_tonearest): Likewise.
2951 (lrint_towardzero_test_data): Likewise.
2952 (lrint_test_towardzero): Likewise.
2953 (lrint_downward_test_data): Likewise.
2954 (lrint_test_downward): Likewise.
2955 (lrint_upward_test_data): Likewise.
2956 (lrint_test_upward): Likewise.
2957 (llrint_test_data): Merge in per-rounding-mode tests and results
2958 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2959 llrint_downward_test_data and llrint_upward_test_data.
2960 (llrint_test): Use ALL_RM_TEST.
2961 (llrint_tonearest_test_data): Remove.
2962 (llrint_test_tonearest): Likewise.
2963 (llrint_towardzero_test_data): Likewise.
2964 (llrint_test_towardzero): Likewise.
2965 (llrint_downward_test_data): Likewise.
2966 (llrint_test_downward): Likewise.
2967 (llrint_upward_test_data): Likewise.
2968 (llrint_test_upward): Likewise.
2969 (rint_test_data): Merge in per-rounding-mode tests and results
2970 from rint_tonearest_test_data, rint_towardzero_test_data,
2971 rint_downward_test_data and rint_upward_test_data. Add
2972 per-rounding-mode results for tests not in those arrays.
2973 (rint_test): Use ALL_RM_TEST.
2974 (rint_tonearest_test_data): Remove.
2975 (rint_test_tonearest): Likewise.
2976 (rint_towardzero_test_data): Likewise.
2977 (rint_test_towardzero): Likewise.
2978 (rint_downward_test_data): Likewise.
2979 (rint_test_downward): Likewise.
2980 (rint_upward_test_data): Likewise.
2981 (rint_test_upward): Likewise.
2982 (main): Don't call removed functions.
2983
5006148e
RM
29842014-03-14 Roland McGrath <roland@hack.frob.com>
2985
2986 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2987 "Compiled on ..." crapola. It is anti-useful.
2988
d6fe5e58
JM
29892014-03-14 Joseph Myers <joseph@codesourcery.com>
2990
2991 * scripts/evaluate-test.sh: Handle fourth argument to determine
2992 whether test run should stop on failure.
2993 * Makeconfig (stop-on-test-failure): New variable.
2994 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2995 $(stop-on-test-failure).
2996 * Makefile (tests): Give a summary of results from testing and
2997 exit with failure status if they include an ERROR or FAIL.
2998 (xtests): Likewise.
2999 * manual/install.texi (Configuring and compiling): Mention
3000 stop-on-test-failure=y.
3001 * INSTALL: Regenerated.
3002
498a2233
RM
30032014-03-14 Roland McGrath <roland@hack.frob.com>
3004
22dbc19d
RM
3005 * scripts/versionlist.awk: New file.
3006 * Makerules [$(build-shared) = yes]
3007 (postclean-generated): Add Versions.def, not Versions.def.v and
3008 Versions.def.v.i.
3009 ($(common-objpfx)Versions.def.v.i): Target removed.
3010 ($(common-objpfx)Versions.def): New target.
3011 ($(common-objpfx)Versions.all): Depend on that rather that
3012 $(common-objpfx)Versions.def.v.
3013 * Versions.def: File removed.
3014
498a2233
RM
3015 * Makeconfig (+gccwarn): Add -Wundef.
3016 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3017 a dl-sysdep.h breaking its contract.
3018 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3019 * include/stackinfo.h: New file.
3020 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3021 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3022 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3023 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3024 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3025 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3026 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3027 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3028 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3029 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3030 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3031 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3032 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3033 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3034 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3035
c7de5025
AZ
30362014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3037
3038 [BZ #16707]
3039 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3040 implementation.
3041 * math/libm-test.inc (round_test_data): Add more tests.
3042
98fb27a3
AZ
3043 [BZ #16706]
3044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3045 implementation.
3046 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3047
374f7f61
AZ
3048 [BZ #16701]
3049 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3050 implementation.
3051 * math/libm-test.inc (ceil_test_data): Add more tests.
3052
4655c291
AZ
3053 * math/libm-test.inc (trunc_test_data): Add more tests related to
3054 BZ#16414.
3055
d7329d4b
RM
30562014-03-14 Roland McGrath <roland@hack.frob.com>
3057
3058 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3059 with #if rather than #ifdef.
3060 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3061
aa4de9ce
L
30622014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3063
3064 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3065 first. Disable AVX-512 GCC support if assembler doesn't support
3066 it.
3067 * sysdeps/x86_64/configure: Regenerated.
3068
2e03fae7
CD
30692014-03-13 Carlos O'Donell <carlos@redhat.com>
3070
3071 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3072 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3073 (__old_pthread_attr_setstack): Likewise.
3074 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3075 [!_STACK_GROWS_DOWN]: Likewise.
3076
43ca83ec
MF
30772014-03-13 Mike Frysinger <vapier@gentoo.org>
3078
3079 * config.make.in (have-bash2): Delete.
3080 * configure.ac (libc_cv_have_bash2): Delete.
3081 * configure: Regenerate.
3082 * elf/Makefile (common-ldd-rewrite): Rename to ...
3083 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3084 (sh-ldd-rewrite): Delete.
3085 (bash-ldd-rewrite): Delete.
3086 (have-bash2): Delete checks.
57f41c40
AS
3087 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3088 ldd-rewrite.
c66e48b4
MF
3089
3090 * config.make.in (have-ksh): Delete.
3091 (KSH): Delete.
3092 * configure.ac (libc_cv_have_ksh): Delete.
3093 * configure: Regenerate.
3094
b93834ef
MF
3095 * elf/Makefile: Delete $(have-ksh) check.
3096 ($(objpfx)sotruss): Change KSH to BASH.
3097 * elf/sotruss.ksh: Rename to ...
3098 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3099 function style to match POSIX. Drop ksh vim mode setting.
3100
f3a4632a
MF
3101 * manual/time.texi (Specifying the Time Zone with TZ): Change
3102 Tuesday to Thursday.
3103
5896c8bd
MF
3104 * debug/tst-longjmp_chk2.c: Update header comment.
3105 (stackoverflow_handler): Add comment. Call assert on pass value.
3106
2d63a517
IZ
31072014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3108
3109 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3110 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3111 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3112 (La_x86_64_vector): Add zmm.
3113 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3114 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3115 ($(objpfx)tst-audit10): New target.
3116 ($(objpfx)tst-audit10.out): Likewise.
3117 (tst-audit10-ENV): New.
3118 (AVX512-CFLAGS): Likewise.
3119 (CFLAGS-tst-audit10.c): Likewise.
3120 (CFLAGS-tst-auditmod10a.c): Likewise.
3121 (CFLAGS-tst-auditmod10b.c): Likewise.
3122 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3123 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3124 * sysdeps/x86_64/configure: Regenerated.
3125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3126 AVX-512 zmm register support.
3127 (_dl_x86_64_save_sse): Likewise.
3128 (_dl_x86_64_restore_sse): Likewise.
3129 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3130 size vector registers.
3131 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3132 (ZMM_SIZE): Likewise.
3133 * sysdeps/x86_64/tst-audit10.c: New file.
3134 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3135 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3136
44c4e5d5
RM
31372014-03-13 Roland McGrath <roland@hack.frob.com>
3138
3139 * configure.ac (HAVE_EHDR_START): New check.
3140 * configure: Regenerated.
3141 * config.h.in (HAVE_EHDR_START): New #undef.
3142 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3143 assuming the lowest-addressed segment maps the start of the file.
3144
acd6e389
JM
31452014-03-13 Joseph Myers <joseph@codesourcery.com>
3146
3147 * INSTALL: Regenerated.
3148
6f918f36
WN
31492014-03-13 Will Newton <will.newton@linaro.org>
3150
3151 * manual/setjmp.texi (System V contexts): Improve
3152 clarity and grammar of documentation.
3153
798212a0
PP
31542014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3155
3156 [BZ #16381]
798212a0 3157 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3158 (tests-pie): Add tst-pie2.
798212a0
PP
3159 * elf/tst-pie2.c: New file.
3160 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3161 for ET_EXEC.
3162 * elf/rtld.c (map_doit): Load executable as lt_executable.
3163 (dl_main): Likewise.
3164
abe6d90c
JM
31652014-03-12 Joseph Myers <joseph@codesourcery.com>
3166
3167 [BZ #16642]
3168 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3169 (__ASSUME_PSELECT): Undefine.
3170
dd3946c6
AZ
31712014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3172
3173 [BZ #16689]
3174 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3175 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3176 static build.
3177 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3178 selector for static builds.
3179
c44496df
SP
31802014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3181
3182 [BZ #16695]
3183 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3184 key in the buffer.
3185
27c7220a
AZ
31862014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3187
57f41c40
AS
3188 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3189 IFUNC selector for static builds.
27c7220a 3190
600fa361
JM
31912014-03-11 Joseph Myers <joseph@codesourcery.com>
3192
76c96cf7
JM
3193 * sysdeps/mips/math_private.h [__mips_hard_float]
3194 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3195 libc_feresetround_mips_ctx.
3196 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3197 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3198 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3199
600fa361
JM
3200 [BZ #16677]
3201 * math/s_nextafter.c (__nextafter): Do not return value from
3202 overflowing computation.
3203 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3204 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3205 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3206 Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3208 Likewise.
3209 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3210 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3211
d7706c32
RM
32122014-03-11 Roland McGrath <roland@hack.frob.com>
3213
3214 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3215 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3216 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3217 the new mov targetting sp.
3218
4facea47
AZ
32192014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3220
3221 [BZ #16683]
3222 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3223 Define it for static builds as well.
3224 (NO_BZERO_IMPL): Likewise.
3225
e65caf1f
VR
32262014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3227
3228 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3229 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3230 multiarch strspn for PPC64.
3231 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3232 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3234 (__libc_ifunc_impl_list): Likewise.
3235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3236 multiarch optimizations
3237 * string/strspn.c (strspn): Using macro to redefine symbol name.
3238
ba9cc071
AZ
32392014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3240 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3241
3242 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3243 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3244 multiarch strncat for PPC64.
3245 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3246 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3248 (__libc_ifunc_impl_list): Likewise.
3249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3250 multiarch optimizations
3251
8b4ff974
SP
32522014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3253
3254 [BZ #16639]
3255 * nscd/nscd.service: Make service type forking.
3256
54b46a4b
AZ
32572014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3258
3259 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3260 sign in non default rounding modes.
3261 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3262
e9996ef7
JM
32632014-03-08 Joseph Myers <joseph@codesourcery.com>
3264
3265 * math/libm-test.inc (ALL_RM_TEST): New macro.
3266 (ceil_test): Use ALL_RM_TEST.
3267 (cimag_test): Likewise.
3268 (conj_test): Likewise.
3269 (copysign_test): Likewise.
3270 (cproj_test): Likewise.
3271 (creal_test): Likewise.
3272 (fabs_test): Likewise.
3273 (floor_test): Likewise.
3274 (fmax_test): Likewise.
3275 (fmin_test): Likewise.
3276 (fmod_test): Likewise.
3277 (fpclassify_test): Likewise.
3278 (frexp_test): Likewise.
3279 (ilogb_test): Likewise.
3280 (isfinite_test): Likewise.
3281 (finite_test): Likewise.
3282 (isgreater_test): Likewise.
3283 (isgreaterequal_test): Likewise.
3284 (isinf_test): Likewise.
3285 (isless_test): Likewise.
3286 (islessequal_test): Likewise.
3287 (islessgreater_test): Likewise.
3288 (isnan_test): Likewise.
3289 (isnormal_test): Likewise.
3290 (issignaling_test): Likewise.
3291 (isunordered_test): Likewise.
3292 (logb_test): Likewise.
3293 (logb_downward_test_data): Remove.
3294 (logb_test_downward): Likewise.
3295 (lround_test): Use ALL_RM_TEST.
3296 (llround_test): Likewise.
3297 (modf_test): Likewise.
3298 (nexttoward_test): Likewise.
3299 (remainder_test): Likewise.
3300 (drem_test): Likewise.
3301 (remainder_tonearest_test_data): Likewise.
3302 (remainder_test_tonearest): Likewise.
3303 (drem_test_tonearest): Likewise.
3304 (remainder_towardzero_test_data): Likewise.
3305 (remainder_test_towardzero): Likewise.
3306 (drem_test_towardzero): Likewise.
3307 (remainder_downward_test_data): Likewise.
3308 (remainder_test_downward): Likewise.
3309 (drem_test_downward): Likewise.
3310 (remainder_upward_test_data): Likewise.
3311 (remainder_test_upward): Likewise.
3312 (drem_test_upward): Likewise.
3313 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3314 (round_test): Use ALL_RM_TEST.
3315 (signbit_test): Likewise.
3316 (trunc_test): Likewise.
3317 (significand_test): Likewise.
3318 (main): Don't call removed functions.
3319
bc61d27c
JM
33202014-03-07 Joseph Myers <joseph@codesourcery.com>
3321
5c780849
JM
3322 [BZ #16674]
3323 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3324 || __USE_XOPEN2K8].
3325 (ILL_ILLOPN): Likewise.
3326 (ILL_ILLADR): Likewise.
3327 (ILL_ILLTRP): Likewise.
3328 (ILL_PRVOPC): Likewise.
3329 (ILL_PRVREG): Likewise.
3330 (ILL_COPROC): Likewise.
3331 (ILL_BADSTK): Likewise.
3332 (FPE_INTDIV): Likewise.
3333 (FPE_INTOVF): Likewise.
3334 (FPE_FLTDIV): Likewise.
3335 (FPE_FLTOVF): Likewise.
3336 (FPE_FLTUND): Likewise.
3337 (FPE_FLTRES): Likewise.
3338 (FPE_FLTINV): Likewise.
3339 (FPE_FLTSUB): Likewise.
3340 (SEGV_MAPERR): Likewise.
3341 (SEGV_ACCERR): Likewise.
3342 (BUS_ADRALN): Likewise.
3343 (BUS_ADRERR): Likewise.
3344 (BUS_OBJERR): Likewise.
3345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3346 (TRAP_TRACE): Likewise.
3347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3348 __USE_XOPEN2K8].
3349 (CLD_KILLED): Likewise.
3350 (CLD_DUMPED): Likewise.
3351 (CLD_TRAPPED): Likewise.
3352 (CLD_STOPPED): Likewise.
3353 (CLD_CONTINUED): Likewise.
3354 (POLL_IN): Likewise.
3355 (POLL_OUT): Likewise.
3356 (POLL_MSG): Likewise.
3357 (POLL_ERR): Likewise.
3358 (POLL_PRI): Likewise.
3359 (POLL_HUP): Likewise.
3360 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3361 Likewise.
3362 (ILL_ILLOPN): Likewise.
3363 (ILL_ILLADR): Likewise.
3364 (ILL_ILLTRP): Likewise.
3365 (ILL_PRVOPC): Likewise.
3366 (ILL_PRVREG): Likewise.
3367 (ILL_COPROC): Likewise.
3368 (ILL_BADSTK): Likewise.
3369 (FPE_INTDIV): Likewise.
3370 (FPE_INTOVF): Likewise.
3371 (FPE_FLTDIV): Likewise.
3372 (FPE_FLTOVF): Likewise.
3373 (FPE_FLTUND): Likewise.
3374 (FPE_FLTRES): Likewise.
3375 (FPE_FLTINV): Likewise.
3376 (FPE_FLTSUB): Likewise.
3377 (SEGV_MAPERR): Likewise.
3378 (SEGV_ACCERR): Likewise.
3379 (BUS_ADRALN): Likewise.
3380 (BUS_ADRERR): Likewise.
3381 (BUS_OBJERR): Likewise.
3382 (BUS_MCEERR_AR): Likewise.
3383 (BUS_MCEERR_AO): Likewise.
3384 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3385 (TRAP_TRACE): Likewise.
3386 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3387 __USE_XOPEN2K8].
3388 (CLD_KILLED): Likewise.
3389 (CLD_DUMPED): Likewise.
3390 (CLD_TRAPPED): Likewise.
3391 (CLD_STOPPED): Likewise.
3392 (CLD_CONTINUED): Likewise.
3393 (POLL_IN): Likewise.
3394 (POLL_OUT): Likewise.
3395 (POLL_MSG): Likewise.
3396 (POLL_ERR): Likewise.
3397 (POLL_PRI): Likewise.
3398 (POLL_HUP): Likewise.
3399 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3400 (ILL_ILLOPN): Likewise.
3401 (ILL_ILLADR): Likewise.
3402 (ILL_ILLTRP): Likewise.
3403 (ILL_PRVOPC): Likewise.
3404 (ILL_PRVREG): Likewise.
3405 (ILL_COPROC): Likewise.
3406 (ILL_BADSTK): Likewise.
3407 (FPE_INTDIV): Likewise.
3408 (FPE_INTOVF): Likewise.
3409 (FPE_FLTDIV): Likewise.
3410 (FPE_FLTOVF): Likewise.
3411 (FPE_FLTUND): Likewise.
3412 (FPE_FLTRES): Likewise.
3413 (FPE_FLTINV): Likewise.
3414 (FPE_FLTSUB): Likewise.
3415 (SEGV_MAPERR): Likewise.
3416 (SEGV_ACCERR): Likewise.
3417 (BUS_ADRALN): Likewise.
3418 (BUS_ADRERR): Likewise.
3419 (BUS_OBJERR): Likewise.
3420 (BUS_MCEERR_AR): Likewise.
3421 (BUS_MCEERR_AO): Likewise.
3422 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3423 (TRAP_TRACE): Likewise.
3424 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3425 __USE_XOPEN2K8].
3426 (CLD_KILLED): Likewise.
3427 (CLD_DUMPED): Likewise.
3428 (CLD_TRAPPED): Likewise.
3429 (CLD_STOPPED): Likewise.
3430 (CLD_CONTINUED): Likewise.
3431 (POLL_IN): Likewise.
3432 (POLL_OUT): Likewise.
3433 (POLL_MSG): Likewise.
3434 (POLL_ERR): Likewise.
3435 (POLL_PRI): Likewise.
3436 (POLL_HUP): Likewise.
3437 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3438 Likewise.
3439 (ILL_ILLOPN): Likewise.
3440 (ILL_ILLADR): Likewise.
3441 (ILL_ILLTRP): Likewise.
3442 (ILL_PRVOPC): Likewise.
3443 (ILL_PRVREG): Likewise.
3444 (ILL_COPROC): Likewise.
3445 (ILL_BADSTK): Likewise.
3446 (ILL_BADIADDR): Likewise.
3447 (ILL_BREAK): Likewise.
3448 (FPE_INTDIV): Likewise.
3449 (FPE_INTOVF): Likewise.
3450 (FPE_FLTDIV): Likewise.
3451 (FPE_FLTOVF): Likewise.
3452 (FPE_FLTUND): Likewise.
3453 (FPE_FLTRES): Likewise.
3454 (FPE_FLTINV): Likewise.
3455 (FPE_FLTSUB): Likewise.
3456 (FPE_DECOVF): Likewise.
3457 (FPE_DECDIV): Likewise.
3458 (FPE_DECERR): Likewise.
3459 (FPE_INVASC): Likewise.
3460 (FPE_INVDEC): Likewise.
3461 (SEGV_MAPERR): Likewise.
3462 (SEGV_ACCERR): Likewise.
3463 (SEGV_PSTKOVF): Likewise.
3464 (BUS_ADRALN): Likewise.
3465 (BUS_ADRERR): Likewise.
3466 (BUS_OBJERR): Likewise.
3467 (BUS_MCEERR_AR): Likewise.
3468 (BUS_MCEERR_AO): Likewise.
3469 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3470 (TRAP_TRACE): Likewise.
3471 (TRAP_BRANCH): Likewise.
3472 (TRAP_HWBKPT): Likewise.
3473 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3474 __USE_XOPEN2K8].
3475 (CLD_KILLED): Likewise.
3476 (CLD_DUMPED): Likewise.
3477 (CLD_TRAPPED): Likewise.
3478 (CLD_STOPPED): Likewise.
3479 (CLD_CONTINUED): Likewise.
3480 (POLL_IN): Likewise.
3481 (POLL_OUT): Likewise.
3482 (POLL_MSG): Likewise.
3483 (POLL_ERR): Likewise.
3484 (POLL_PRI): Likewise.
3485 (POLL_HUP): Likewise.
3486 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3487 (ILL_ILLOPN): Likewise.
3488 (ILL_ILLADR): Likewise.
3489 (ILL_ILLTRP): Likewise.
3490 (ILL_PRVOPC): Likewise.
3491 (ILL_PRVREG): Likewise.
3492 (ILL_COPROC): Likewise.
3493 (ILL_BADSTK): Likewise.
3494 (FPE_INTDIV): Likewise.
3495 (FPE_INTOVF): Likewise.
3496 (FPE_FLTDIV): Likewise.
3497 (FPE_FLTOVF): Likewise.
3498 (FPE_FLTUND): Likewise.
3499 (FPE_FLTRES): Likewise.
3500 (FPE_FLTINV): Likewise.
3501 (FPE_FLTSUB): Likewise.
3502 (SEGV_MAPERR): Likewise.
3503 (SEGV_ACCERR): Likewise.
3504 (BUS_ADRALN): Likewise.
3505 (BUS_ADRERR): Likewise.
3506 (BUS_OBJERR): Likewise.
3507 (BUS_MCEERR_AR): Likewise.
3508 (BUS_MCEERR_AO): Likewise.
3509 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3510 (TRAP_TRACE): Likewise.
3511 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3512 __USE_XOPEN2K8].
3513 (CLD_KILLED): Likewise.
3514 (CLD_DUMPED): Likewise.
3515 (CLD_TRAPPED): Likewise.
3516 (CLD_STOPPED): Likewise.
3517 (CLD_CONTINUED): Likewise.
3518 (POLL_IN): Likewise.
3519 (POLL_OUT): Likewise.
3520 (POLL_MSG): Likewise.
3521 (POLL_ERR): Likewise.
3522 (POLL_PRI): Likewise.
3523 (POLL_HUP): Likewise.
3524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3525 (ILL_ILLOPN): Likewise.
3526 (ILL_ILLADR): Likewise.
3527 (ILL_ILLTRP): Likewise.
3528 (ILL_PRVOPC): Likewise.
3529 (ILL_PRVREG): Likewise.
3530 (ILL_COPROC): Likewise.
3531 (ILL_BADSTK): Likewise.
3532 (FPE_INTDIV): Likewise.
3533 (FPE_INTOVF): Likewise.
3534 (FPE_FLTDIV): Likewise.
3535 (FPE_FLTOVF): Likewise.
3536 (FPE_FLTUND): Likewise.
3537 (FPE_FLTRES): Likewise.
3538 (FPE_FLTINV): Likewise.
3539 (FPE_FLTSUB): Likewise.
3540 (SEGV_MAPERR): Likewise.
3541 (SEGV_ACCERR): Likewise.
3542 (BUS_ADRALN): Likewise.
3543 (BUS_ADRERR): Likewise.
3544 (BUS_OBJERR): Likewise.
3545 (BUS_MCEERR_AR): Likewise.
3546 (BUS_MCEERR_AO): Likewise.
3547 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3548 (TRAP_TRACE): Likewise.
3549 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3550 __USE_XOPEN2K8].
3551 (CLD_KILLED): Likewise.
3552 (CLD_DUMPED): Likewise.
3553 (CLD_TRAPPED): Likewise.
3554 (CLD_STOPPED): Likewise.
3555 (CLD_CONTINUED): Likewise.
3556 (POLL_IN): Likewise.
3557 (POLL_OUT): Likewise.
3558 (POLL_MSG): Likewise.
3559 (POLL_ERR): Likewise.
3560 (POLL_PRI): Likewise.
3561 (POLL_HUP): Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3563 (ILL_ILLOPN): Likewise.
3564 (ILL_ILLADR): Likewise.
3565 (ILL_ILLTRP): Likewise.
3566 (ILL_PRVOPC): Likewise.
3567 (ILL_PRVREG): Likewise.
3568 (ILL_COPROC): Likewise.
3569 (ILL_BADSTK): Likewise.
3570 (FPE_INTDIV): Likewise.
3571 (FPE_INTOVF): Likewise.
3572 (FPE_FLTDIV): Likewise.
3573 (FPE_FLTOVF): Likewise.
3574 (FPE_FLTUND): Likewise.
3575 (FPE_FLTRES): Likewise.
3576 (FPE_FLTINV): Likewise.
3577 (FPE_FLTSUB): Likewise.
3578 (SEGV_MAPERR): Likewise.
3579 (SEGV_ACCERR): Likewise.
3580 (BUS_ADRALN): Likewise.
3581 (BUS_ADRERR): Likewise.
3582 (BUS_OBJERR): Likewise.
3583 (BUS_MCEERR_AR): Likewise.
3584 (BUS_MCEERR_AO): Likewise.
3585 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3586 (TRAP_TRACE): Likewise.
3587 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3588 __USE_XOPEN2K8].
3589 (CLD_KILLED): Likewise.
3590 (CLD_DUMPED): Likewise.
3591 (CLD_TRAPPED): Likewise.
3592 (CLD_STOPPED): Likewise.
3593 (CLD_CONTINUED): Likewise.
3594 (POLL_IN): Likewise.
3595 (POLL_OUT): Likewise.
3596 (POLL_MSG): Likewise.
3597 (POLL_ERR): Likewise.
3598 (POLL_PRI): Likewise.
3599 (POLL_HUP): Likewise.
3600 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3601 (ILL_ILLOPN): Likewise.
3602 (ILL_ILLADR): Likewise.
3603 (ILL_ILLTRP): Likewise.
3604 (ILL_PRVOPC): Likewise.
3605 (ILL_PRVREG): Likewise.
3606 (ILL_COPROC): Likewise.
3607 (ILL_BADSTK): Likewise.
3608 (ILL_DBLFLT): Likewise.
3609 (ILL_HARDWALL): Likewise.
3610 (FPE_INTDIV): Likewise.
3611 (FPE_INTOVF): Likewise.
3612 (FPE_FLTDIV): Likewise.
3613 (FPE_FLTOVF): Likewise.
3614 (FPE_FLTUND): Likewise.
3615 (FPE_FLTRES): Likewise.
3616 (FPE_FLTINV): Likewise.
3617 (FPE_FLTSUB): Likewise.
3618 (SEGV_MAPERR): Likewise.
3619 (SEGV_ACCERR): Likewise.
3620 (BUS_ADRALN): Likewise.
3621 (BUS_ADRERR): Likewise.
3622 (BUS_OBJERR): Likewise.
3623 (BUS_MCEERR_AR): Likewise.
3624 (BUS_MCEERR_AO): Likewise.
3625 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3626 (TRAP_TRACE): Likewise.
3627 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3628 __USE_XOPEN2K8].
3629 (CLD_KILLED): Likewise.
3630 (CLD_DUMPED): Likewise.
3631 (CLD_TRAPPED): Likewise.
3632 (CLD_STOPPED): Likewise.
3633 (CLD_CONTINUED): Likewise.
3634 (POLL_IN): Likewise.
3635 (POLL_OUT): Likewise.
3636 (POLL_MSG): Likewise.
3637 (POLL_ERR): Likewise.
3638 (POLL_PRI): Likewise.
3639 (POLL_HUP): Likewise.
3640 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3641 (ILL_ILLOPN): Likewise.
3642 (ILL_ILLADR): Likewise.
3643 (ILL_ILLTRP): Likewise.
3644 (ILL_PRVOPC): Likewise.
3645 (ILL_PRVREG): Likewise.
3646 (ILL_COPROC): Likewise.
3647 (ILL_BADSTK): Likewise.
3648 (FPE_INTDIV): Likewise.
3649 (FPE_INTOVF): Likewise.
3650 (FPE_FLTDIV): Likewise.
3651 (FPE_FLTOVF): Likewise.
3652 (FPE_FLTUND): Likewise.
3653 (FPE_FLTRES): Likewise.
3654 (FPE_FLTINV): Likewise.
3655 (FPE_FLTSUB): Likewise.
3656 (SEGV_MAPERR): Likewise.
3657 (SEGV_ACCERR): Likewise.
3658 (BUS_ADRALN): Likewise.
3659 (BUS_ADRERR): Likewise.
3660 (BUS_OBJERR): Likewise.
3661 (BUS_MCEERR_AR): Likewise.
3662 (BUS_MCEERR_AO): Likewise.
3663 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3664 (TRAP_TRACE): Likewise.
3665 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3666 __USE_XOPEN2K8].
3667 (CLD_KILLED): Likewise.
3668 (CLD_DUMPED): Likewise.
3669 (CLD_TRAPPED): Likewise.
3670 (CLD_STOPPED): Likewise.
3671 (CLD_CONTINUED): Likewise.
3672 (POLL_IN): Likewise.
3673 (POLL_OUT): Likewise.
3674 (POLL_MSG): Likewise.
3675 (POLL_ERR): Likewise.
3676 (POLL_PRI): Likewise.
3677 (POLL_HUP): Likewise.
3678 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3679 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3680
bc61d27c
JM
3681 [BZ #16670]
3682 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3683 before #include of <time.h>.
3684 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3685 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3686 (test-xfail-UNIX98/sched.h/conform): Likewise.
3687
302949e2
MS
36882014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3689
3690 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3691 error absence of trapping exception support.
3692 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3693
a00f522a
JM
36942014-03-07 Joseph Myers <joseph@codesourcery.com>
3695
6f99f280
JM
3696 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3697 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3698 * timezone/Makefile (testdata): Move definition above include of
3699 Rules.
3700 (test-zones): New variable.
3701 (tests-special): Add zone files.
3702 (build-testdata): Use $(evaluate-test).
3703
0b20a9e8
JM
3704 * elf/Makefile (tests-special): Rename tests to end with .out.
3705 ($(objpfx)noload-mem): Likewise.
3706 ($(objpfx)tst-leaks1-mem): Likewise.
3707 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3708 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3709 $(objpfx)test-iconvconfig.out.
3710 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3711 set -e inside subshell and redirect output to file.
3712 * iconvdata/Makefile (generated): Rename tests to end with .out.
3713 Correct type.
3714 (tests-special): Rename tests to end with .out.
3715 ($(objpfx)mtrace-tst-loading): Likewise.
3716 * intl/Makefile (generated): Likewise.
3717 (tests-special): Likewise.
3718 ($(objpfx)mtrace-tst-gettext): Likewise.
3719 * misc/Makefile (generated): Likewise.
3720 (tests-special): Likewise.
3721 ($(objpfx)tst-error1-mem): Likewise.
3722 * nptl/Makefile (tests-special): Likewise.
3723 ($(objpfx)tst-stack3-mem): Likewise.
3724 (generated): Likewise.
3725 * posix/Makefile (generated): Likewise.
3726 (tests-special): Likewise.
3727 (xtests-special): Likewise.
3728 ($(objpfx)tst-fnmatch-mem): Likewise.
3729 ($(objpfx)bug-regex2-mem): Likewise.
3730 ($(objpfx)bug-regex14-mem): Likewise.
3731 ($(objpfx)bug-regex21-mem): Likewise.
3732 ($(objpfx)bug-regex31-mem): Likewise.
3733 ($(objpfx)tst-vfork3-mem): Likewise.
3734 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3735 ($(objpfx)tst-pcre-mem): Likewise.
3736 ($(objpfx)tst-boost-mem): Likewise.
3737 ($(objpfx)bug-ga2-mem): Likewise.
3738 ($(objpfx)bug-glob2-mem): Likewise.
3739 * resolv/Makefile (generate): Likewise.
3740 (tests-special): Likewise.
3741 (xtests-special): Likewise.
3742 (generated): Likewise.
3743 ($(objpfx)mtrace-tst-leaks): Likewise.
3744 ($(objpfx)mtrace-tst-leaks2): Likewise.
3745
265d52ab
JM
3746 * scripts/merge-test-results.sh: New file.
3747 * Makefile (tests-special-notdir): New variable.
3748 (tests): Run merge-test-results.sh.
3749 (xtests): Likewise.
3750 * Rules (tests-special-notdir): New variable.
3751 (xtests-special-notdir): Likewise.
3752 (tests): Run merge-test-results.sh
3753 (xtests): Likewise.
3754
54ee292d
JM
3755 * Makeconfig (test-xfail-name): New variable.
3756 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3757 compute variable name for expected failures.
3758 * conform/Makefile (conformtest-headers-data): New variable.
3759 (conformtest-standards): Likewise.
3760 (conformtest-headers-ISO): Likewise.
3761 (conformtest-headers-ISO99): Likewise.
3762 (conformtest-headers-ISO11): Likewise.
3763 (conformtest-headers-POSIX): Likewise.
3764 (conformtest-headers-XPG3): Likewise.
3765 (conformtest-headers-XPG4): Likewise.
3766 (conformtest-headers-UNIX98): Likewise.
3767 (conformtest-headers-XOPEN2K): Likewise.
3768 (conformtest-headers-POSIX2008): Likewise.
3769 (conformtest-headers-XOPEN2K8): Likewise.
3770 (conformtest-header-list-base): Likewise.
3771 (conformtest-header-list-tests): Likewise.
3772 (conformtest-header-base): Likewise.
3773 (conformtest-header-tests): Likewise.
3774 (tests-special): Add $(conformtest-header-list-tests). If
3775 [$(fast-check) && !$(cross-compiling)], add
3776 $(conformtest-header-tests) instead of
3777 $(objpfx)run-conformtest.out.
3778 (generated): Add $(conformtest-header-list-base). If
3779 [$(fast-check) && !$(cross-compiling)], add
3780 $(conformtest-header-base). Remove previous setting.
3781 ($(conformtest-header-list-tests)): New target.
3782 (test-xfail-run-conformtest): Remove variable.
3783 ($(objpfx)run-conformtest.out): Remove target.
3784 (test-xfail-ISO11/complex.h/conform): New variable.
3785 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3786 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3787 (test-xfail-XPG3/varargs.h/conform): Likewise.
3788 (test-xfail-XPG4/varargs.h/conform): Likewise.
3789 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3790 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3791 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3792 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3793 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3794 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3795 (test-xfail-XPG3/ftw.h/conform): Likewise.
3796 (test-xfail-XPG3/grp.h/conform): Likewise.
3797 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3798 (test-xfail-XPG3/limits.h/conform): Likewise.
3799 (test-xfail-XPG3/pwd.h/conform): Likewise.
3800 (test-xfail-XPG3/search.h/conform): Likewise.
3801 (test-xfail-XPG3/signal.h/conform): Likewise.
3802 (test-xfail-XPG3/stdio.h/conform): Likewise.
3803 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3804 (test-xfail-XPG3/string.h/conform): Likewise.
3805 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3806 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3807 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3808 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3809 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3810 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3811 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3812 (test-xfail-XPG3/termios.h/conform): Likewise.
3813 (test-xfail-XPG3/time.h/conform): Likewise.
3814 (test-xfail-XPG3/unistd.h/conform): Likewise.
3815 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3816 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3817 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3818 (test-xfail-XPG4/netdb.h/conform): Likewise.
3819 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3820 (test-xfail-XPG4/signal.h/conform): Likewise.
3821 (test-xfail-XPG4/stdio.h/conform): Likewise.
3822 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3823 (test-xfail-XPG4/stropts.h/conform): Likewise.
3824 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3825 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3826 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3827 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3828 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3829 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3830 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3831 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3832 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3833 (test-xfail-XPG4/termios.h/conform): Likewise.
3834 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3835 (test-xfail-XPG4/unistd.h/conform): Likewise.
3836 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3837 (test-xfail-POSIX/sched.h/conform): Likewise.
3838 (test-xfail-POSIX/signal.h/conform): Likewise.
3839 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3840 (test-xfail-POSIX/tar.h/conform): Likewise.
3841 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3842 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3843 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3844 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3845 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3846 (test-xfail-UNIX98/sched.h/conform): Likewise.
3847 (test-xfail-UNIX98/signal.h/conform): Likewise.
3848 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3849 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3850 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3851 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3852 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3853 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3854 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3855 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3856 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3857 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3858 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3859 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3860 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3861 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3862 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3863 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3864 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3865 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3866 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3867 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3868 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3869 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3870 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3871 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3872 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3873 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3874 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3875 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3876 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3877 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3878 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3879 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3880 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3881 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3882 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3883 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3884 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3885 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3886 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3887 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3888 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3889 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3890 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3891 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3892 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3893 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3894 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3895 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3896 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3897 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3898 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3899 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3900 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3901 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3902 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3903 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3904 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3905 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3906 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3907 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3908 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3909 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3910 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3911 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3912 (conformtest-cc-flags): Likewise.
3913 ($(conformtest-header-tests): New target.
3914 * conform/check-header-lists.sh: New file.
3915 * conform/run-conformtest.sh: Remove.
3916
a00f522a
JM
3917 * conform/conformtest.pl: Allow ' and \ in values given for
3918 constants.
3919 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3920 inclusion.
3921 [POSIX] (sys/types.h): Likewise.
3922 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3923 inclusion.
3924 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3925 inclusion.
3926 * conform/data/signal.h-data (SIGIO): Remove expectation.
3927 [XPG3] (SIGBUS): Do not expect.
3928 [POSIX || XPG3] (SIGPOLL): Likewise.
3929 [POSIX || XPG3] (SIGPROF): Likewise.
3930 [POSIX || XPG3] (SIGSYS): Likewise.
3931 [XPG3] (SIGTRAP): Likewise.
3932 [POSIX || XPG3] (SIGURG): Likewise.
3933 [POSIX || XPG3] (SIGVTALRM): Likewise.
3934 [POSIX || XPG3] (SIGXCPU): Likewise.
3935 [POSIX || XPG3] (SIGXFSZ): Likewise.
3936 [POSIX] (SA_SIGINFO): Expect.
3937 [XPG3] (siginfo_t): Do not expect type or contents.
3938 [POSIX] (si_pid): Do not expect element.
3939 [POSIX] (si_uid): Likewise.
3940 [POSIX] (si_addr): Likewise.
3941 [POSIX] (si_status): Likewise.
3942 [POSIX] (si_band): Likewise.
3943 [XPG4] (si_value): Likewise.
3944 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3945 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3946 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3947 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3948 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3949 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3950 [POSIX || XPG3] (ILL_COPROC): Likewise.
3951 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3952 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3953 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3954 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3955 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3956 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3957 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3958 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3959 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3960 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3961 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3962 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3963 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3964 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3965 [POSIX || XPG3] (CLD_EXITED): Likewise.
3966 [POSIX || XPG3] (CLD_KILLED): Likewise.
3967 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3968 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3969 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3970 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3971 [POSIX || XPG3] (POLL_IN): Likewise.
3972 [POSIX || XPG3] (POLL_OUT): Likewise.
3973 [POSIX || XPG3] (POLL_MSG): Likewise.
3974 [POSIX || XPG3] (POLL_ERR): Likewise.
3975 [POSIX || XPG3] (POLL_PRI): Likewise.
3976 [POSIX || XPG3] (POLL_HUP): Likewise.
3977 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3978 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3979 (SIG*): Do not allow.
3980 [XPG3] (si_*): Likewise.
3981 [XPG3] (SI_*): Likewise.
3982 [XPG3 || XPG4] (sigev_*): Likewise.
3983 [XPG3 || XPG4] (SIGEV_*): Likewise.
3984 [XPG3 || XPG4] (sival_*): Likewise.
3985 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3986 [POSIX || XPG3] (BUS_*): Likewise.
3987 [POSIX || XPG3] (CLD_*): Likewise.
3988 [POSIX || XPG3] (FPE_*): Likewise.
3989 [POSIX || XPG3] (ILL_*): Likewise.
3990 [POSIX || XPG3] (POLL_*): Likewise.
3991 [POSIX || XPG3] (SEGV_*): Likewise.
3992 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3993 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3994 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3995 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3996 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3997 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3998 Specify type and value.
3999 (TVERSLEN): Likewise.
4000 (REGTYPE): Likewise.
4001 (AREGTYPE): Likewise.
4002 (LNKTYPE): Likewise.
4003 (SYMTYPE): Likewise.
4004 (CHRTYPE): Likewise.
4005 (BLKTYPE): Likewise.
4006 (DIRTYPE): Likewise.
4007 (FIFOTYPE): Likewise.
4008 (CONTTYPE): Likewise.
4009 (TSUID): Likewise.
4010 (TSGID): Likewise.
4011 (TSVTX): Likewise.
4012 (TUREAD): Likewise.
4013 (TUWRITE): Likewise.
4014 (TUEXEC): Likewise.
4015 (TGREAD): Likewise.
4016 (TGWRITE): Likewise.
4017 (TGEXEC): Likewise.
4018 (TOREAD): Likewise.
4019 (TOWRITE): Likewise.
4020 (TOEXEC): Likewise.
4021 [POSIX] (TSVTX): Expect constant.
4022
aa97dee1
JM
40232014-03-06 Joseph Myers <joseph@codesourcery.com>
4024
f214606a
JM
4025 * Makefile (tests): Change dependencies to ....
4026 (tests-special): ... additions to this variable.
4027 (tests): Depend on $(tests-special).
4028 * Makerules (check-abi-list): New variable.
4029 (check-abi): Depend on $(check-abi-list).
4030 [$(subdir) = elf] (tests-special): Add
4031 $(objpfx)check-abi-libc.out.
4032 [$(build-shared) = yes && subdir] (tests-special): Add
4033 $(check-abi-list).
4034 [$(build-shared) = yes && subdir] (tests): Do not depend on
4035 check-abi.
4036 * Rules (tests): Depend on $(tests-special).
4037 (xtests): Depend on $(xtests-special).
4038 * catgets/Makefile (tests): Change dependencies to ....
4039 (tests-special): ... additions to this variable.
4040 * conform/Makefile (tests): Change dependencies to ....
4041 (tests-special): ... additions to this variable.
4042 * elf/Makefile (tests): Change dependencies to ....
4043 (tests-special): ... additions to this variable.
4044 * grp/Makefile (tests): Change dependencies to ....
4045 (tests-special): ... additions to this variable.
4046 * iconv/Makefile (xtests): Change dependencies to ....
4047 (xtests-special): ... additions to this variable.
4048 * iconvdata/Makefile (tests): Change dependencies to ....
4049 (tests-special): ... additions to this variable.
4050 * intl/Makefile (tests): Change dependencies to ....
4051 (tests-special): ... additions to this variable. Also add
4052 $(objpfx)tst-gettext.out.
4053 * io/Makefile (tests): Change dependencies to ....
4054 (tests-special): ... additions to this variable.
4055 * libio/Makefile (tests): Change dependencies to ....
4056 (tests-special): ... additions to this variable.
4057 * malloc/Makefile (tests): Change dependencies to ....
4058 (tests-special): ... additions to this variable.
4059 * misc/Makefile (tests): Change dependencies to ....
4060 (tests-special): ... additions to this variable.
4061 * nptl/Makefile (tests): Change dependencies to ....
4062 (tests-special): ... additions to this variable.
4063 * nptl_db/Makefile (tests): Change dependencies to ....
4064 (tests-special): ... additions to this variable.
4065 * posix/Makefile (tests): Change dependencies to ....
4066 (tests-special): ... additions to this variable.
4067 (xtests): Change dependencies to ....
4068 (xtests-special): ... additions to this variable.
4069 * resolv/Makefile (tests): Change dependencies to ....
4070 (tests-special): ... additions to this variable.
4071 (xtests): Change dependencies to ....
4072 (xtests-special): ... additions to this variable.
4073 * stdio-common/Makefile (tests): Change dependencies to ....
4074 (tests-special): ... additions to this variable.
4075 (do-tst-unbputc): Remove target.
4076 (do-tst-printf): Likewise.
4077 * stdlib/Makefile (tests): Change dependencies to ....
4078 (tests-special): ... additions to this variable.
4079 * string/Makefile (tests): Change dependencies to ....
4080 (tests-special): ... additions to this variable.
4081 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4082 (tests-special): ... additions to this variable.
4083
81700b53
JM
4084 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4085 whole file.
4086 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4087 whole file.
4088 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4089 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4090
2ea18461
JM
4091 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4092 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4093 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4094 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4095 * conform/data/libgen.h-data [XPG3]: Likewise.
4096 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4097 * conform/data/ndbm.h-data [XPG3]: Likewise.
4098 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4099 * conform/data/netdb.h-data [XPG3]: Likewise.
4100 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4101 * conform/data/poll.h-data [XPG3]: Likewise.
4102 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4103 * conform/data/strings.h-data [XPG3]: Likewise.
4104 * conform/data/stropts.h-data [XPG3]: Likewise.
4105 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4106 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4107 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4108 Likewise.
4109 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4110 * conform/data/sys/time.h-data [XPG3]: Likewise.
4111 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4112 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4113 * conform/data/sys/un.h-data [XPG3]: Likewise.
4114 * conform/data/syslog.h-data [XPG3]: Likewise.
4115 * conform/data/ucontext.h-data [XPG3]: Likewise.
4116 * conform/data/utmpx.h-data [XPG3]: Likewise.
4117 * conform/data/varargs.h-data [UNIX98]: Enable file.
4118
355bc986
JM
4119 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4120
215db402
JM
4121 * math/libm-test.inc (struct test_f_f_data): Move expected results
4122 into structure for each rounding mode.
4123 (struct test_ff_f_data): Likewise.
4124 (struct test_ff_f_data_nexttoward): Likewise.
4125 (struct test_fi_f_data): Likewise.
4126 (struct test_fl_f_data): Likewise.
4127 (struct test_if_f_data): Likewise.
4128 (struct test_fff_f_data): Likewise.
4129 (struct test_c_f_data): Likewise.
4130 (struct test_f_f1_data): Likewise.
4131 (struct test_fF_f1_data): Likewise.
4132 (struct test_ffI_f1_data): Likewise.
4133 (struct test_c_c_data): Likewise.
4134 (struct test_cc_c_data): Likewise.
4135 (struct test_f_i_data): Likewise.
4136 (struct test_ff_i_data): Likewise.
4137 (struct test_f_l_data): Likewise.
4138 (struct test_f_L_data): Likewise.
4139 (struct test_fFF_11_data): Likewise.
4140 (RM_): New macro.
4141 (RM_FE_DOWNWARD): Likewise.
4142 (RM_FE_TONEAREST): Likewise.
4143 (RM_FE_TOWARDZERO): Likewise.
4144 (RM_FE_UPWARD): Likewise.
4145 (RUN_TEST_LOOP_f_f): Update references to expected results.
4146 (RUN_TEST_LOOP_2_f): Likewise.
4147 (RUN_TEST_LOOP_fff_f): Likewise.
4148 (RUN_TEST_LOOP_c_f): Likewise.
4149 (RUN_TEST_LOOP_f_f1): Likewise.
4150 (RUN_TEST_LOOP_fF_f1): Likewise.
4151 (RUN_TEST_LOOP_fI_f1): Likewise.
4152 (RUN_TEST_LOOP_ffI_f1): Likewise.
4153 (RUN_TEST_LOOP_c_c): Likewise.
4154 (RUN_TEST_LOOP_cc_c): Likewise.
4155 (RUN_TEST_LOOP_f_i): Likewise.
4156 (RUN_TEST_LOOP_f_i_tg): Likewise.
4157 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4158 (RUN_TEST_LOOP_f_b): Likewise.
4159 (RUN_TEST_LOOP_f_b_tg): Likewise.
4160 (RUN_TEST_LOOP_f_l): Likewise.
4161 (RUN_TEST_LOOP_f_L): Likewise.
4162 (RUN_TEST_LOOP_fFF_11): Likewise.
4163 * math/gen-libm-test.pl (parse_args): Output four copies of
4164 expected results for each test.
4165
67737b8f
JM
4166 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4167 (__ASSUME_UTIMES): Remove.
4168 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4169 (__ASSUME_UTIMES): Likewise.
4170
aa97dee1
JM
4171 * math/gen-auto-libm-tests.c: Update comment on output format.
4172 (output_for_one_input_case): Generate before-rounding and
4173 after-rounding information as conditions on output flags not
4174 floating-point format.
4175 * math/auto-libm-test-out: Regenerated.
4176 * math/gen-libm-test.pl (cond_value): New function.
4177 (or_cond_value): Use cond_value.
4178 (generate_testfile): Handle conditional exceptions.
4179
e6b6a857
JM
41802014-03-05 Joseph Myers <joseph@codesourcery.com>
4181
2f0a0f44
JM
4182 * math/libm-test.inc (max_valid_error): New variable.
4183 (init_max_error): Take new argument specifying whether function
4184 results are exactly determined. Set max_valid_error and bound
4185 other variables for errors based on this argument.
4186 (set_max_error): Do not record results above max_valid_error.
4187 (check_float_internal): Only accept errors of up to 0.5ulps if
4188 also at most max_valid_error.
4189 (START): Take new argument EXACT and pass it to init_max_error.
4190 (acos_test): Update call to START.
4191 (acos_test_tonearest): Likewise.
4192 (acos_test_towardzero): Likewise.
4193 (acos_test_downward): Likewise.
4194 (acos_test_upward): Likewise.
4195 (acosh_test): Likewise.
4196 (asin_test): Likewise.
4197 (asin_test_tonearest): Likewise.
4198 (asin_test_towardzero): Likewise.
4199 (asin_test_downward): Likewise.
4200 (asin_test_upward): Likewise.
4201 (asinh_test): Likewise.
4202 (atan_test): Likewise.
4203 (atanh_test): Likewise.
4204 (atan2_test): Likewise.
4205 (cabs_test): Likewise.
4206 (cacos_test): Likewise.
4207 (cacosh_test): Likewise.
4208 (carg_test): Likewise.
4209 (casin_test): Likewise.
4210 (casinh_test): Likewise.
4211 (catan_test): Likewise.
4212 (catanh_test): Likewise.
4213 (cbrt_test): Likewise.
4214 (ccos_test): Likewise.
4215 (ccosh_test): Likewise.
4216 (ceil_test): Likewise.
4217 (cexp_test): Likewise.
4218 (cimag_test): Likewise.
4219 (clog_test): Likewise.
4220 (clog10_test): Likewise.
4221 (conj_test): Likewise.
4222 (copysign_test): Likewise.
4223 (cos_test): Likewise.
4224 (cos_test_tonearest): Likewise.
4225 (cos_test_towardzero): Likewise.
4226 (cos_test_downward): Likewise.
4227 (cos_test_upward): Likewise.
4228 (cosh_test): Likewise.
4229 (cosh_test_tonearest): Likewise.
4230 (cosh_test_towardzero): Likewise.
4231 (cosh_test_downward): Likewise.
4232 (cosh_test_upward): Likewise.
4233 (cpow_test): Likewise.
4234 (cproj_test): Likewise.
4235 (creal_test): Likewise.
4236 (csin_test): Likewise.
4237 (csinh_test): Likewise.
4238 (csqrt_test): Likewise.
4239 (ctan_test): Likewise.
4240 (ctan_test_tonearest): Likewise.
4241 (ctan_test_towardzero): Likewise.
4242 (ctan_test_downward): Likewise.
4243 (ctan_test_upward): Likewise.
4244 (ctanh_test): Likewise.
4245 (ctanh_test_tonearest): Likewise.
4246 (ctanh_test_towardzero): Likewise.
4247 (ctanh_test_downward): Likewise.
4248 (ctanh_test_upward): Likewise.
4249 (erf_test): Likewise.
4250 (erfc_test): Likewise.
4251 (exp_test): Likewise.
4252 (exp_test_tonearest): Likewise.
4253 (exp_test_towardzero): Likewise.
4254 (exp_test_downward): Likewise.
4255 (exp_test_upward): Likewise.
4256 (exp10_test): Likewise.
4257 (exp10_test_tonearest): Likewise.
4258 (exp10_test_towardzero): Likewise.
4259 (exp10_test_downward): Likewise.
4260 (exp10_test_upward): Likewise.
4261 (pow10_test): Likewise.
4262 (exp2_test): Likewise.
4263 (expm1_test): Likewise.
4264 (expm1_test_tonearest): Likewise.
4265 (expm1_test_towardzero): Likewise.
4266 (expm1_test_downward): Likewise.
4267 (expm1_test_upward): Likewise.
4268 (fabs_test): Likewise.
4269 (fdim_test): Likewise.
4270 (floor_test): Likewise.
4271 (fma_test): Likewise.
4272 (fma_test_towardzero): Likewise.
4273 (fma_test_downward): Likewise.
4274 (fma_test_upward): Likewise.
4275 (fmax_test): Likewise.
4276 (fmin_test): Likewise.
4277 (fmod_test): Likewise.
4278 (fpclassify_test): Likewise.
4279 (frexp_test): Likewise.
4280 (hypot_test): Likewise.
4281 (ilogb_test): Likewise.
4282 (isfinite_test): Likewise.
4283 (finite_test): Likewise.
4284 (isgreater_test): Likewise.
4285 (isgreaterequal_test): Likewise.
4286 (isinf_test): Likewise.
4287 (isless_test): Likewise.
4288 (islessequal_test): Likewise.
4289 (islessgreater_test): Likewise.
4290 (isnan_test): Likewise.
4291 (isnormal_test): Likewise.
4292 (issignaling_test): Likewise.
4293 (isunordered_test): Likewise.
4294 (j0_test): Likewise.
4295 (j1_test): Likewise.
4296 (jn_test): Likewise.
4297 (ldexp_test): Likewise.
4298 (lgamma_test): Likewise.
4299 (gamma_test): Likewise.
4300 (lrint_test): Likewise.
4301 (lrint_test_tonearest): Likewise.
4302 (lrint_test_towardzero): Likewise.
4303 (lrint_test_downward): Likewise.
4304 (lrint_test_upward): Likewise.
4305 (llrint_test): Likewise.
4306 (llrint_test_tonearest): Likewise.
4307 (llrint_test_towardzero): Likewise.
4308 (llrint_test_downward): Likewise.
4309 (llrint_test_upward): Likewise.
4310 (log_test): Likewise.
4311 (log10_test): Likewise.
4312 (log1p_test): Likewise.
4313 (log2_test): Likewise.
4314 (logb_test): Likewise.
4315 (logb_test_downward): Likewise.
4316 (lround_test): Likewise.
4317 (llround_test): Likewise.
4318 (modf_test): Likewise.
4319 (nearbyint_test): Likewise.
4320 (nextafter_test): Likewise.
4321 (nexttoward_test): Likewise.
4322 (pow_test): Likewise.
4323 (pow_test_tonearest): Likewise.
4324 (pow_test_towardzero): Likewise.
4325 (pow_test_downward): Likewise.
4326 (pow_test_upward): Likewise.
4327 (remainder_test): Likewise.
4328 (drem_test): Likewise.
4329 (remainder_test_tonearest): Likewise.
4330 (drem_test_tonearest): Likewise.
4331 (remainder_test_towardzero): Likewise.
4332 (drem_test_towardzero): Likewise.
4333 (remainder_test_downward): Likewise.
4334 (drem_test_downward): Likewise.
4335 (remainder_test_upward): Likewise.
4336 (drem_test_upward): Likewise.
4337 (remquo_test): Likewise.
4338 (rint_test): Likewise.
4339 (rint_test_tonearest): Likewise.
4340 (rint_test_towardzero): Likewise.
4341 (rint_test_downward): Likewise.
4342 (rint_test_upward): Likewise.
4343 (round_test): Likewise.
4344 (scalb_test): Likewise.
4345 (scalbn_test): Likewise.
4346 (scalbln_test): Likewise.
4347 (signbit_test): Likewise.
4348 (sin_test): Likewise.
4349 (sin_test_tonearest): Likewise.
4350 (sin_test_towardzero): Likewise.
4351 (sin_test_downward): Likewise.
4352 (sin_test_upward): Likewise.
4353 (sincos_test): Likewise.
4354 (sinh_test): Likewise.
4355 (sinh_test_tonearest): Likewise.
4356 (sinh_test_towardzero): Likewise.
4357 (sinh_test_downward): Likewise.
4358 (sinh_test_upward): Likewise.
4359 (sqrt_test): Likewise.
4360 (sqrt_test_tonearest): Likewise.
4361 (sqrt_test_towardzero): Likewise.
4362 (sqrt_test_downward): Likewise.
4363 (sqrt_test_upward): Likewise.
4364 (tan_test): Likewise.
4365 (tan_test_tonearest): Likewise.
4366 (tan_test_towardzero): Likewise.
4367 (tan_test_downward): Likewise.
4368 (tan_test_upward): Likewise.
4369 (tanh_test): Likewise.
4370 (tgamma_test): Likewise.
4371 (trunc_test): Likewise.
4372 (y0_test): Likewise.
4373 (y1_test): Likewise.
4374 (yn_test): Likewise.
4375 (significand_test): Likewise.
4376
e6b6a857
JM
4377 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4378 individual tests in comment.
4379 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4380 (prev_max_error): New variable.
4381 (prev_real_max_error): Likewise.
4382 (prev_imag_max_error): Likewise.
4383 (compare_ulp_data): Don't refer to test names in comment.
4384 (find_test_ulps): Remove function.
4385 (find_function_ulps): Likewise.
4386 (find_complex_function_ulps): Likewise.
4387 (init_max_error): Take function name as argument. Look up ulps
4388 for that function.
4389 (print_ulps): Remove function.
4390 (print_max_error): Use prev_max_error instead of calling
4391 find_function_ulps.
4392 (print_complex_max_error): Use prev_real_max_error and
4393 prev_imag_max_error instead of calling find_complex_function_ulps.
4394 (check_float_internal): Take max_ulp parameter instead of calling
4395 find_test_ulps. Don't call print_ulps.
4396 (check_float): Update call to check_float_internal.
4397 (check_complex): Update calls to check_float_internal.
4398 (START): Pass argument to init_max_error.
4399 * math/gen-libm-test.pl (%results): Don't include "kind"
4400 information.
4401 (parse_ulps): Don't handle ulps of individual tests.
4402 (print_ulps_file): Likewise.
4403 (output_ulps): Likewise.
4404 * math/README.libm-test: Update.
4405 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4406 individual tests.
4407 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4408 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4409 * sysdeps/arm/libm-test-ulps: Likewise.
4410 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4411 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4412 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4413 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4414 * sysdeps/microblaze/libm-test-ulps: Likewise.
4415 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4416 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4417 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4418 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4419 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4420 * sysdeps/sh/libm-test-ulps: Likewise.
4421 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4422 * sysdeps/tile/libm-test-ulps: Likewise.
4423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424
45adef3c
JM
44252014-03-04 Joseph Myers <joseph@codesourcery.com>
4426
4427 * math/libm-test.inc (print_complex_max_error): Check separately
4428 whether real and imaginary errors are within allowed range and
4429 pass 0 to print_complex_function_ulps instead of value within
4430 allowed range.
4431
000232b9
SP
44322014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4433
d4b17258
SP
4434 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4435 formatting.
4436 (get_handles_fopen): Likewise.
4437 (do_write_test): Likewise.
4438
091eff71
SP
4439 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4440
fa3cd248
SP
4441 * libio/fileops.c (do_ftell): Use cached offset when
4442 available.
4443 * libio/iofwide.c (do_ftell_wide): Likewise.
4444 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4445 _IO_file_attach.
4446 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4447
000232b9
SP
4448 [BZ #16532]
4449 * libio/libioP.h (get_file_offset): New function.
4450 * libio/fileops.c (get_file_offset): Likewise.
4451 (do_ftell): Likewise.
4452 (_IO_new_file_seekoff): Split out ftell logic.
4453 * libio/wfileops.c (do_ftell_wide): Likewise.
4454 (_IO_wfile_seekoff): Split out ftell logic.
4455 * libio/tst-ftell-active-handler.c: New test case.
4456 * libio/Makefile (tests): Add it.
4457
116f4d1a
RM
44582014-03-03 Roland McGrath <roland@hack.frob.com>
4459
4460 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4461 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4462
532a6035
SP
44632014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4464
4465 [BZ #16639]
4466 * nscd/connections.c (nscd_init): Call do_exit.
4467 (start_threads): Call do_exit and notify_parent.
4468 (begin_drop_privileges): Call do_exit.
4469 (finish_drop_privileges): Likewise.
4470 * nscd/selinux.c (preserve_capabilities): Likewise.
4471 (install_real_capabilities): Likewise.
4472 (nscd_selinux_enabled): Likewise.
4473 (avc_create_thread): Likewise.
4474 (avc_alloc_lock): Likewise.
4475 (nscd_avc_init): Likewise.
4476 * nscd/nscd.c (parent_fd): New static variable.
4477 (main): Create a pipe between parent and child processes.
4478 Skip closing parent_fd.
4479 (monitor_child): New function.
4480 (do_exit): Likewise.
4481 (notify_parent): Likewise.
4482 * nscd/nscd.h (notify_parent): Likewise.
4483 (do_exit): Likewise.
4484
d6285c9f
CD
44852014-03-03 Carlos O'Donell <carlos@redhat.com>
4486
4487 * malloc/malloc.c (__libc_calloc): Revert last change.
4488
2b85d2a0
AZ
44892014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4490
4491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4492
c7debbdf
RS
44932014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4494
4495 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4497 implementation.
4498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4499 (__libc_ifunc_impl_list): Likewise.
4500 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4501 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4502 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4503 * string/strrchr.c: Define STRRCHR.
4504
235eed86
OB
45052014-02-28 Ondřej Bílka <neleai@seznam.cz>
4506
4507 * benchtest/bench-strtok.c (simple_strtok): Delete.
4508 (strtok_string): Use as benchmark.
4509 * string/strtok (STRTOK): New macro.
4510
8e25d1e7
CD
45112014-02-28 Carlos O'Donell <carlos@redhat.com>
4512
ef563f92
CD
4513 * manual/threads.texi: Add header and standard comments to all
4514 functions.
4515
8e25d1e7
CD
4516 * elf/dl-lookup.c (check_match): New function.
4517 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4518 (do_lookup_x): Remove nested function check_match. Use non-nested
4519 function check_match.
4520
ff71cc37
RM
45212014-02-28 Roland McGrath <roland@hack.frob.com>
4522
f08e9a26
RM
4523 * csu/Makefile (generated, before-compile): Use += rather than =.
4524 * catgets/Makefile (generated, generated-dirs): Likewise.
4525 * debug/Makefile (generated): Likewise.
4526 * dlfcn/Makefile (generated): Likewise.
4527 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4528 * iconvdata/Makefile (before-compile, generated): Likewise.
4529 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4530 * libio/Makefile (generated): Likewise.
4531 * malloc/Makefile (generated): Likewise.
4532 * manual/Makefile (generated, generated-dirs): Likewise.
4533 * misc/Makefile (generated): Likewise.
4534 * posix/Makefile (generated): Likewise.
4535 * resolv/Makefile (generated): Likewise.
4536 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4537 * timezone/Makefile (generated, generated-dirs): Likewise.
4538
ff71cc37
RM
4539 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4540
fe13a20c
AZ
45412014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4542
57f41c40
AS
4543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4544 power8 implementation.
4545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4546 file: POWER8 llround ifunc implementation.
4547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4548 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4549 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4550 POWER8 llround implementation.
4551
57f41c40
AS
4552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4553 power8 implementation.
4554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4555 file: POWER8 llrint ifunc implementation.
4556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4557 Add POWER8 implementation.
1ad8950a
AZ
4558 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4559 POWER8 llrint implementation.
4560
57f41c40
AS
4561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4562 power8 implementation.
4563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4564 file: POWER8 finite ifunc implementation.
4565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4566 Add POWER8 implementation.
cac626d6
AZ
4567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4568 Likewise.
4569 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4570 POWER8 finite implementation.
4571 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4572
57f41c40
AS
4573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4574 power8 implementation.
4575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4576 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4578 POWER8 implementation.
4579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4580 Likewise.
57f41c40
AS
4581 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4582 isinf implementation.
4393fc11
AZ
4583 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4584
57f41c40
AS
4585 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4586 (INIT_ARCH): Add hwcap2 initialization.
4587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4588 power8 implementation.
4589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4590 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4592 POWER8 implementation.
4593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4594 Likewise.
57f41c40
AS
4595 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4596 isnan implementation.
487972ae
AZ
4597 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4598
7d92b787
JY
45992014-02-27 Joey Ye <joey.ye@arm.com>
4600
4601 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4602 (_FP_NANFRAC_Q): Set to zero.
4603
1cadc858
SP
46042014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4605
4606 [BZ #16623]
4607 * math/auto-libm-test-in: New test inputs.
4608 * math/auto-libm-test-out: Regenerate.
4609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4610 and DA.
4611 (__cos): Likewise.
4612 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4613
f8c17e79
JM
46142014-02-27 Joseph Myers <joseph@codesourcery.com>
4615
4616 * scripts/evaluate-test.sh: Take new argument indicating whether
4617 failure is expected.
4618 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4619 indicating whether failure is expected.
4620 * conform/Makefile (test-xfail-run-conformtest): New variable.
4621 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4622 level.
4623 * posix/Makefile (test-xfail-annexc): New variable.
4624 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4625
a5f891ac
JM
46262014-02-26 Joseph Myers <joseph@codesourcery.com>
4627
4628 * argp/Makefile: Include Makeconfig immediately after defining
4629 subdir.
4630 * assert/Makefile: Likewise.
4631 * benchtests/Makefile: Likewise.
4632 * catgets/Makefile: Likewise.
4633 * conform/Makefile: Likewise.
4634 * crypt/Makefile: Likewise.
4635 * csu/Makefile: Likewise.
4636 (all): Remove target.
4637 * ctype/Makefile: Include Makeconfig immediately after defining
4638 subdir.
4639 * debug/Makefile: Likewise.
4640 * dirent/Makefile: Likewise.
4641 * dlfcn/Makefile: Likewise.
4642 * gmon/Makefile: Likewise.
4643 * gnulib/Makefile: Likewise.
4644 * grp/Makefile: Likewise.
4645 * gshadow/Makefile: Likewise.
4646 * hesiod/Makefile: Likewise.
4647 * hurd/Makefile: Likewise.
4648 (all): Remove target.
4649 * iconvdata/Makefile: Include Makeconfig immediately after
4650 defining subdir.
4651 * inet/Makefile: Likewise.
4652 * intl/Makefile: Likewise.
4653 * io/Makefile: Likewise.
4654 * libio/Makefile: Likewise.
4655 (all): Remove target.
4656 * locale/Makefile: Include Makeconfig immediately after defining
4657 subdir.
4658 * login/Makefile: Likewise.
4659 * mach/Makefile: Likewise.
4660 (all): Remove target.
4661 * malloc/Makefile: Include Makeconfig immediately after defining
4662 subdir.
4663 (all): Remove target.
4664 * manual/Makefile: Include Makeconfig immediately after defining
4665 subdir.
4666 * math/Makefile: Likewise.
4667 * misc/Makefile: Likewise.
4668 * nis/Makefile: Likewise.
4669 * nss/Makefile: Likewise.
4670 * po/Makefile: Likewise.
4671 (all): Remove target.
4672 * posix/Makefile: Include Makeconfig immediately after defining
4673 subdir.
4674 * pwd/Makefile: Likewise.
4675 * resolv/Makefile: Likewise.
4676 * resource/Makefile: Likewise.
4677 * rt/Makefile: Likewise.
4678 * setjmp/Makefile: Likewise.
4679 * shadow/Makefile: Likewise.
4680 * signal/Makefile: Likewise.
4681 * socket/Makefile: Likewise.
4682 * soft-fp/Makefile: Likewise.
4683 * stdio-common/Makefile: Likewise.
4684 * stdlib/Makefile: Likewise.
4685 * streams/Makefile: Likewise.
4686 * string/Makefile: Likewise.
4687 * sunrpc/Makefile: Likewise.
4688 (all): Remove target.
4689 * sysvipc/Makefile: Include Makeconfig immediately after defining
4690 subdir.
4691 * termios/Makefile: Likewise.
4692 * time/Makefile: Likewise.
4693 * timezone/Makefile: Likewise.
4694 (all): Remove target.
4695 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4696 subdir.
4697 * wctype/Makefile: Likewise.
4698
5b456e9d
SE
46992014-02-26 Steve Ellcey <sellcey@mips.com>
4700
4701 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4702 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4703 (libc_feholdexcept_setround_mips): Ditto.
4704 (libc_feholdsetround): New.
4705 (libc_feholdsetroundf): New.
4706 (libc_feholdsetroundl): New.
4707 (libc_feupdateenv_test_mips): New.
4708 (libc_feupdateenv_test): New.
4709 (libc_feupdateenv_testf): New.
4710 (libc_feupdateenv_testl): New.
4711 (libc_feresetround): New.
4712 (libc_feresetroundf): New.
4713 (libc_feresetroundl): New.
4714 (libc_fetestexcept_mips): New.
4715 (libc_fetestexcept): New.
4716 (libc_fetestexceptf): New.
4717 (libc_fetestexceptl): New.
4718 (HAVE_RM_CTX): New.
4719 (libc_feholdexcept_setround_mips_ctx): New.
4720 (libc_feholdexcept_setround_ctx): New.
4721 (libc_feholdexcept_setroundf_ctx): New.
4722 (libc_feholdexcept_setroundl_ctx): New.
4723 (libc_fesetenv_mips_ctx): New.
4724 (libc_fesetenv_ctx): New.
4725 (libc_fesetenv_ctxf): New.
4726 (libc_fesetenv_ctxl): New.
4727 (libc_feupdateenv_mips_ctx): New.
4728 (libc_feupdateenv_ctx): New.
4729 (libc_feupdateenvf_ctx): New.
4730 (libc_feupdateenvl_ctx): New.
4731 (libc_feholdsetround_mips_ctx): New.
4732 (libc_feholdsetround_ctx): New.
4733 (libc_feholdsetroundf_ctx): New.
4734 (libc_feholdsetroundl_ctx): New.
4735 (libc_feresetround_mips_ctx): New.
4736 (libc_feresetround_ctx): New.
4737 (libc_feresetroundf_ctx): New.
4738 (libc_feresetroundl_ctx): New.
4739
085d0e35
CD
47402014-02-26 Carlos O'Donell <carlos@redhat.com>
4741
f067bf1f
CD
4742 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4743
085d0e35
CD
4744 * manual/ipc.texi: New file.
4745 * manual/Makefile (chapters): Add ipc.
4746 * manual/job.texi: Add "Inter-Process Communication" to next.
4747 * manual/process.texi: Add "Inter-Process Communication" to prev.
4748
86e58c08
AZ
47492014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4750
4751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4752
4248f0da
OB
47532014-02-26 Ondřej Bílka <neleai@seznam.cz>
4754
4755 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4756
cf822e3c
OB
4757 * manual/arith.texi: Fix spaces after sentences.
4758 * manual/charset.texi: Likewise.
4759 * manual/errno.texi: Likewise.
4760 * manual/install.texi: Likewise.
4761 * manual/llio.texi: Likewise.
4762 * manual/locale.texi: Likewise.
4763 * manual/maint.texi: Likewise.
4764 * manual/math.texi: Likewise.
4765 * manual/memory.texi: Likewise.
4766 * manual/message.texi: Likewise.
4767 * manual/probes.texi: Likewise.
4768 * manual/resource.texi: Likewise.
4769 * manual/signal.texi: Likewise.
4770 * manual/socket.texi: Likewise.
4771 * manual/stdio.texi: Likewise.
4772 * manual/string.texi: Likewise.
4773 * manual/time.texi: Likewise.
4774 * manual/users.texi: Likewise.
4775
ade40b10
CD
47762014-02-25 Carlos O'Donell <carlos@redhat.com>
4777
4778 [BZ #16632]
4779 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4780 _DEFAULT_SOURCE is defined.
4781
d0503676
CD
47822014-02-25 Ulrich Drepper <drepper@gmail.com>
4783 Carlos O'Donell <carlos@redhat.com>
4784
4785 [BZ #16613]
4786 * elf/dl-tls.c (_dl_count_modids): New function.
4787 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4788 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4789 audit library and increment generation counter.
4790 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4791 * elf/tst-audit9.c: New file.
4792 * elf/tst-auditmod9a.c: New file.
4793 * elf/tst-auditmod9b.c: New file.
4794 * elf/Makefile: Add rules to build and run tst-audit9.
4795
4cbf380c
FW
47962014-02-25 Florian Weimer <fweimer@redhat.com>
4797
4798 [BZ #15347]
4799 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4800
80a56cc3
WN
48012014-02-25 Will Newton <will.newton@linaro.org>
4802
4803 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4804 (__longjmp): Restore sp and lr before restoring callee
4805 saved registers. Add longjmp and longjmp_target
4806 SystemTap probe point.
4807 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4808 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4809 Define to zero to match jmpbuf layout.
4810 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4811 (__sigsetjmp): Save sp and lr before saving callee
4812 saved registers. Add setjmp SystemTap probe point.
4813
3ea0f74e
SL
48142014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4815
4816 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4817
b04acb26
AS
48182014-02-24 Andreas Schwab <schwab@suse.de>
4819
4820 [BZ #15804]
4821 * elf/pldd.c (wait_for_ptrace_stop): New function.
4822 (main): Call it after attaching.
4823
098ad55c
RM
48242014-02-22 Roland McGrath <roland@hack.frob.com>
4825
d4ec6ae1
RM
4826 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4827 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4828 Versions files is now verboten.
4829 * hurd/Versions (libc: GLIBC_2.0):
4830 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4831 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4832 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4833 * mach/Versions: Likewise.
4834
098ad55c
RM
4835 * csu/Versions: Remove unused %include.
4836 * resolv/Versions: Likewise.
4837
acd7f096
JM
48382014-02-21 Joseph Myers <joseph@codesourcery.com>
4839
f0881698
JM
4840 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4841 ($(objpfx)check-local-headers.out): Likewise.
4842 ($(objpfx)begin-end-check.out): Likewise.
4843 * Makerules (check-abi-%.out): Likewise.
4844 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4845 ($(objpfx)test2.cat): Likewise.
4846 ($(objpfx)de/libc.cat): Likewise.
4847 ($(objpfx)test-gencat.out): Likewise.
4848 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4849 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4850 ($(objpfx)noload-mem): Likewise.
4851 ($(objpfx)tst-pathopt.out): Likewise.
4852 ($(objpfx)tst-rtld-load-self.out): Likewise.
4853 ($(objpfx)tst-array1-cmp.out): Likewise.
4854 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4855 ($(objpfx)tst-array2-cmp.out): Likewise.
4856 ($(objpfx)tst-array3-cmp.out): Likewise.
4857 ($(objpfx)tst-array4-cmp.out): Likewise.
4858 ($(objpfx)tst-array5-cmp.out): Likewise.
4859 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4860 ($(objpfx)check-textrel.out): Likewise.
4861 ($(objpfx)check-execstack.out): Likewise.
4862 ($(objpfx)check-localplt.out): Likewise.
4863 ($(objpfx)order2-cmp.out): Likewise.
4864 ($(objpfx)tst-leaks1-mem): Likewise.
4865 ($(objpfx)tst-leaks1-static-mem): Likewise.
4866 ($(objpfx)tst-initorder-cmp.out): Likewise.
4867 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4868 ($(objpfx)tst-unused-dep.out): Likewise.
4869 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4870 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4871 * iconv/Makefile (test-iconvconfig): Likewise.
4872 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4873 ($(objpfx)iconv-test.out): Likewise.
4874 ($(objpfx)tst-tables.out): Likewise.
4875 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4876 ($(objpfx)tst-gettext.out): Likewise.
4877 ($(objpfx)tst-translit.out): Likewise.
4878 ($(objpfx)tst-gettext2.out): Likewise.
4879 ($(objpfx)tst-gettext4.out): Likewise.
4880 ($(objpfx)tst-gettext6.out): Likewise.
4881 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4882 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4883 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4884 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4885 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4886 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4887 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4888 ($(objpfx)wordexp-tst.out): Likewise.
4889 ($(objpfx)annexc.out): Likewise.
4890 ($(objpfx)tst-fnmatch-mem): Likewise.
4891 ($(objpfx)bug-regex2-mem): Likewise.
4892 ($(objpfx)bug-regex14-mem): Likewise.
4893 ($(objpfx)bug-regex21-mem): Likewise.
4894 ($(objpfx)bug-regex31-mem): Likewise.
4895 ($(objpfx)tst-vfork3-mem): Likewise.
4896 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4897 ($(objpfx)tst-pcre-mem): Likewise.
4898 ($(objpfx)tst-boost-mem): Likewise.
4899 ($(objpfx)tst-getconf.out): Likewise.
4900 ($(objpfx)bug-ga2-mem): Likewise.
4901 ($(objpfx)bug-glob2-mem): Likewise.
4902 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4903 ($(objpfx)mtrace-tst-leaks2): Likewise.
4904 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4905 ($(objpfx)tst-printf.out): Likewise.
4906 ($(objpfx)tst-setvbuf1.out): Likewise.
4907 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4908 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4909 ($(objpfx)tst-fmtmsg.out): Likewise.
4910 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4911 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4912
acd7f096
JM
4913 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4914 * bits/sigaction.h [__USE_MISC]: Likewise.
4915 * bits/waitstatus.h: Update #endif comments.
4916 * ctype/ctype.h: Likewise.
4917 * dirent/dirent.h: Likewise.
4918 [__USE_MISC]: Remove redundant conditionals.
4919 * grp/grp.h: Update #endif comments.
4920 [__USE_GNU]: Remove redundant conditionals.
4921 [__USE_MISC]: Likewise.
4922 * inet/netinet/in.h [__USE_GNU]: Likewise.
4923 * io/sys/stat.h [__USE_MISC]: Likewise.
4924 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4925 * libio/bits/stdio.h: Update #endif comments.
4926 [__USE_MISC]: Remove redundant conditionals.
4927 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4928 * libio/stdio.h: Update #endif comments.
4929 [__USE_MISC]: Remove redundant conditionals.
4930 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4931 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4932 * math/math.h: Update #else and #endif comments.
4933 [__USE_MISC]: Remove redundant conditionals.
4934 * misc/sys/uio.h: Update #endif comments.
4935 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4936 * posix/glob.h [__USE_MISC]: Likewise.
4937 * posix/sys/types.h: Update #endif comments.
4938 [__USE_MISC]: Remove redundant conditionals.
4939 * posix/sys/wait.h: Update #endif comments.
4940 [__USE_MISC]: Remove redundant conditionals.
4941 * posix/unistd.h: Update #endif comments.
4942 [__USE_MISC]: Remove redundant conditionals.
4943 * pwd/pwd.h [__USE_GNU]: Likewise.
4944 [__USE_MISC]: Likewise.
4945 * resolv/netdb.h [__USE_GNU]: Likewise.
4946 * signal/signal.h: Update #endif comments.
4947 [__USE_MISC]: Remove redundant conditionals.
4948 * stdlib/stdlib.h: Update #else and #endif comments.
4949 [__USE_MISC]: Remove redundant conditionals.
4950 [__USE_GNU]: Likewise.
4951 * string/bits/string2.h [__USE_MISC]: Likewise.
4952 * string/string.h: Update #endif comments.
4953 [__USE_MISC]: Remove redundant conditionals.
4954 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4955 Likewise.
4956 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4957 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4958 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4959 Likewise.
4960 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4961 Likewise.
4962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4963 comments.
4964 [__USE_MISC]: Remove redundant conditionals.
4965 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4966 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4967 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4968 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4969 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4970 Likewise.
4971 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4972 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4973 Likewise.
4974 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4975 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4976 Likewise.
4977 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4978 Likewise.
4979 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4980 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4981 Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4983 Likewise.
4984 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4985 * sysdeps/x86/bits/string.h: Update #endif comments.
4986 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4987 conditionals.
4988 * time/sys/time.h: Update #endif comments.
4989 * time/time.h: Likewise.
4990 [__USE_MISC]: Remove redundant conditionals.
4991
a5d82e4e
YG
49922014-02-21 Yury Gribov <y.gribov@samsung.com>
4993
4994 [BZ #16600]
4995 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4996
9a80491d
AS
49972014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4998
4999 * Versions.def (librt): Add GLIBC_2.17.
5000
105fa381
AC
50012014-02-21 Adam Conrad <adconrad@0c3.net>
5002
5003 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5004 synonym for _SYS_AUXV_H to allow direct inclusion.
5005 * sysdeps/sparc/bits/hwcap.h: Likewise.
5006 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5007 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5008 * sysdeps/sparc/sysdep.h: Likewise.
5009
b8cd1c4e
SP
50102014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5011
5012 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5013
bd939d23
RS
50142014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5015
5016 * benchtests/bench-strrchr.c: Print length instead of position.
5017
5d7b57ca
JM
50182014-02-20 Joseph Myers <joseph@codesourcery.com>
5019
bc688c10
JM
5020 [BZ #16611]
5021 * sysdeps/unix/sysv/linux/kernel-features.h
5022 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5023 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5024 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5025 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5026 Likewise.
5027 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5028 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5029 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5030 (__ASSUME_SENDMMSG): Define instead of using previous
5031 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5032 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5033 (__ASSUME_SENDMMSG_SYSCALL): Define.
5034 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5035 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5036 Likewise.
5037 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5038 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5039 Likewise.
5040 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5041 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5042 Likewise.
5043 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5044 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5045 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5046 [__ASSUME_SENDMMSG]: Change conditionals to
5047 [__ASSUME_SENDMMSG_SOCKETCALL].
5048 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5049 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5050 Define.
5051 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5052 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5053 Likewise.
5054 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5055 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5056 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5057 [!__ASSUME_SENDMMSG]: Change conditional to
5058 [!__ASSUME_SENDMMSG_SOCKETCALL].
5059 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5060 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5061 Define.
5062
0e31b18c
JM
5063 [BZ #16610]
5064 * sysdeps/unix/sysv/linux/kernel-features.h
5065 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5066 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5067 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5068 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5069 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5070 [__i386__ || __sparc__]
5071 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5072 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5073 (__ASSUME_RECVMMSG): Define instead of using previous
5074 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5075 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5076 (__ASSUME_RECVMMSG_SYSCALL): Define.
5077 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5078 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5079 Likewise.
5080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5081 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5082 Likewise.
5083 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5084 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5085 Likewise.
5086 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5087 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5088 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5089 [__ASSUME_RECVMMSG]: Change condition to
5090 [__ASSUME_RECVMMSG_SOCKETCALL].
5091 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5092 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5093 Define.
5094 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5095 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5096 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5097 Likewise.
5098 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5099 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5100 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5101 [!__ASSUME_RECVMMSG]: Change condition to
5102 [!__ASSUME_RECVMMSG_SOCKETCALL].
5103 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5104 (__ASSUME_RECVMMSG_SYSCALL): Define.
5105
dd481ccf
JM
5106 [BZ #16609]
5107 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5108 __powerpc__ || __s390__ || __sh__ || __sparc__]
5109 (__ASSUME_SOCKETCALL): Define.
5110 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5111 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5112 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5113 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5114 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5115 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5116 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5117 (__ASSUME_ACCEPT4): Define instead of using previous
5118 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5119 __powerpc__ || __sparc__ || __s390__)] condition.
5120 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5121 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5122 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5123 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5124 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5125 [!__ASSUME_ACCEPT4]: Change condition to
5126 [!__ASSUME_ACCEPT4_SOCKETCALL].
5127 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5128 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5129 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5130 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5131 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5132 __ASSUME_ACCEPT4_SYSCALL.
5133 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5134 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5135 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5136 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5137 __ASSUME_ACCEPT4_SYSCALL.
5138 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5139 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5140 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5141 [__ASSUME_ACCEPT4]: Change condition to
5142 [__ASSUME_ACCEPT4_SOCKETCALL].
5143 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5144 (__ASSUME_SOCKETCALL): Define.
5145 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5146 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5147 (__ASSUME_SOCKETCALL): Define.
5148 (__ASSUME_ACCEPT4): Remove.
5149 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5150 Define.
5151 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5152 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5153 Likewise.
5154 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5155 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5156
5d7b57ca
JM
5157 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5158 macro.
5159 (HWCAP_ARM_LPAE): Likewise.
5160 (HWCAP_ARM_EVTSTRM): Likewise.
5161 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5162 Add vpfd32, lpae and evtstrm.
5163 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5164 Increase to 22.
5165
63689d61
JM
51662014-02-19 Joseph Myers <joseph@codesourcery.com>
5167
5168 * math/auto-libm-test-in: Add tests of clog10.
5169 * math/auto-libm-test-out: Regenerated.
5170 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5171 * sysdeps/i386/fpu/libm-test-ulps: Update.
5172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5173
ab09bf61
AS
51742014-02-18 Andreas Schwab <schwab@suse.de>
5175
5176 [BZ #16574]
5177 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5178 Store non-zero if the second buffer was newly allocated.
5179 (send_dg): Likewise.
5180 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5181 to send_vc and send_dg.
5182 (res_nsend): Pass NULL for ansp2_malloced.
5183 * resolv/res_query.c (__libc_res_nquery): Add parameter
5184 answerp2_malloced and pass it down to __libc_res_nsend.
5185 (res_nquery): Pass additional NULL to __libc_res_nquery.
5186 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5187 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5188 second answer buffer if answerp2_malloced was set.
5189 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5190 (__libc_res_nquerydomain): Add parameter
5191 answerp2_malloced and pass it down to __libc_res_nquery.
5192 (res_nquerydomain): Pass additional NULL to
5193 __libc_res_nquerydomain.
5194 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5195 additional NULL to __libc_res_nsend and __libc_res_nquery.
5196 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5197 additional NULL to __libc_res_nsearch.
5198 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5199 parameter of __libc_res_nsearch to check for separately allocated
5200 second buffer.
5201 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5202 __libc_res_nquery.
5203 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5204 additional NULL to __libc_res_nquery.
5205 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5206 __libc_res_nsearch.
5207 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5208 * include/resolv.h: Update prototypes of __libc_res_nquery,
5209 __libc_res_nsearch, __libc_res_nsend.
5210
a4fb7861
JM
52112014-02-18 Joseph Myers <joseph@codesourcery.com>
5212
c6af2d89
JM
5213 * math/auto-libm-test-in: Add tests of fma.
5214 * math/auto-libm-test-out: Regenerated.
5215 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5216 (fma_towardzero_test_data): Likewise.
5217 (fma_downward_test_data): Likewise.
5218 (fma_upward_test_data): Likewise.
5219 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5220 mpc_mode.
5221 (rounding_modes): Add values for new field.
5222 (func_calc_method): Add value mpfr_fff_f.
5223 (func_calc_desc): Add mpfr_fff_f union field.
5224 (test_function): Add field exact_args.
5225 (FUNC): Add macro argument EXACT_ARGS.
5226 (FUNC_mpfr_f_f): Update call to FUNC.
5227 (FUNC_mpfr_f_f): Likewise.
5228 (FUNC_mpfr_ff_f): Likewise.
5229 (FUNC_mpfr_if_f): Likewise.
5230 (FUNC_mpc_c_f): Likewise.
5231 (FUNC_mpc_c_c): Likewise.
5232 (test_functions): Add fma. Update calls to FUNC.
5233 (handle_input_arg): Add argument exact_args.
5234 (add_test): Update call to handle_input_arg.
5235 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5236 (output_for_one_input_case): Update call to calc_generic_results.
5237 Recalculate exact zero results in each rounding mode.
5238
a4fb7861
JM
5239 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5240 non-negative before setting low bit.
5241 * math/auto-libm-test-in: Mark one asin test possibly having
5242 spurious underflow.
5243 * math/auto-libm-test-out: Regenerated.
5244 * sysdeps/i386/fpu/libm-test-ulps: Update.
5245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5246
ef114eaf
DH
52472014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5248
2b7f4f2c
SP
5249 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5250 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5251 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5252 * README: Add missing listing for microblaze*-*-linux-gnu.
5253
c70a4b1d
MF
52542014-02-16 Mike Frysinger <vapier@gentoo.org>
5255
5256 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5257 * sysdeps/unix/sysv/linux/ia64: Move directory from
5258 ports/sysdeps/unix/sysv/linux/ia64.
5259 * README: Update listing for ia64-*-linux-gnu.
5260
591aeaf7
TD
52612014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5262 Joseph Myers <joseph@codesourcery.com>
5263
5264 * Makeconfig (test-name): New variable.
5265 (evaluate-test): Likewise.
5266 * Makerules (do-test-clean): Remove .test-result files.
5267 (common-mostlyclean): Likewise.
5268 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5269 * scripts/evaluate-test.sh: New file.
5270
6e89caf1
JM
52712014-02-14 Joseph Myers <joseph@codesourcery.com>
5272
7f98f180
JM
5273 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5274 separate $(objpfx)tst-fopenloc-cmp.out and
5275 $(objpfx)tst-fopenloc-mem.out targets.
5276 (tests): Update dependencies.
5277 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5278 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5279 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5280 (tst-rxspencer-no-utf8-ARGS): New variable.
5281 (tst-rxspencer-no-utf8-ENV): Likewise.
5282 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5283 instead of $(objpfx)tst-rxspencer-mem.
5284 ($(objpfx)tst-rxspencer-mem): Change target to
5285 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5286 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5287 * posix/tst-rxspencer-no-utf8.c: New file.
5288
6e89caf1
JM
5289 * elf/Makefile ($(objpfx)order.out): Remove rule.
5290 [$(run-built-tests) = yes] (tests): Depend on
5291 $(objpfx)order-cmp.out.
5292 ($(objpfx)order-cmp.out): New rule.
5293 [$(run-built-tests) = yes] (tests): Depend on
5294 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5295 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5296 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5297 $(objpfx)tst-array5-static-cmp.out.
5298 ($(objpfx)tst-array1.out): Remove rule.
5299 ($(objpfx)tst-array1-cmp.out): New rule.
5300 ($(objpfx)tst-array1-static.out): Remove rule.
5301 ($(objpfx)tst-array1-static-cmp.out): New rule.
5302 ($(objpfx)tst-array2.out): Remove rule.
5303 ($(objpfx)tst-array2-cmp.out): New rule.
5304 ($(objpfx)tst-array3.out): Remove rule.
5305 ($(objpfx)tst-array3-cmp.out): New rule.
5306 ($(objpfx)tst-array4.out): Remove rule.
5307 ($(objpfx)tst-array4-cmp.out): New rule.
5308 ($(objpfx)tst-array5.out): Remove rule.
5309 ($(objpfx)tst-array5-cmp.out): New rule.
5310 ($(objpfx)tst-array5-static.out): Remove rule.
5311 ($(objpfx)tst-array5-static-cmp.out): New rule.
5312 [$(run-built-tests) = yes] (tests): Depend on
5313 $(objpfx)order2-cmp.out.
5314 ($(objpfx)order2.out): Remove rule.
5315 ($(objpfx)order2-cmp.out): New rule.
5316 ($(objpfx)tst-initorder.out): Remove rule.
5317 [$(run-built-tests) = yes] (tests): Depend on
5318 $(objpfx)tst-initorder-cmp.out.
5319 ($(objpfx)tst-initorder-cmp.out): New rule.
5320 ($(objpfx)tst-initorder2.out): Remove rule.
5321 [$(run-built-tests) = yes] (tests): Depend on
5322 $(objpfx)tst-initorder2-cmp.out.
5323 ($(objpfx)tst-initorder2-cmp.out): New rule.
5324 [$(run-built-tests) = yes] (tests): Depend on
5325 $(objpfx)tst-unused-dep-cmp.out.
5326 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5327 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5328 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5329 on $(objpfx)tst-setvbuf1-cmp.out.
5330 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5331 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5332 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5333 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5334 ($(objpfx)tst-svc.out): Remove rule.
5335 ($(objpfx)tst-svc-cmp.out): New rule.
5336
ed9a38e2
JM
53372014-02-13 Joseph Myers <joseph@codesourcery.com>
5338
5339 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5340 * ctype/ctype.h [__USE_MISC]: Likewise.
5341 * dirent/dirent.h [__USE_MISC]: Likewise.
5342 * grp/grp.h [__USE_MISC]: Likewise.
5343 * io/fcntl.h [__USE_MISC]: Likewise.
5344 * io/sys/stat.h [__USE_MISC]: Likewise.
5345 * libio/stdio.h [__USE_MISC]: Likewise.
5346 * posix/unistd.h [__USE_MISC]: Likewise.
5347 * pwd/pwd.h [__USE_MISC]: Likewise.
5348 * stdlib.h [__USE_MISC]: Likewise.
5349 * string/bits/string2.h [__USE_MISC]: Likewise.
5350 * string/string.h [__USE_MISC]: Likewise.
5351 * time/time.h [__USE_MISC]: Likewise.
5352
d6680619
AS
53532014-02-13 Andreas Schwab <schwab@suse.de>
5354
5355 [BZ #16574]
5356 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5357 second answer buffer if it was separately allocated.
5358
ace614b8
JM
53592014-02-12 Joseph Myers <joseph@codesourcery.com>
5360
743151ae
JM
5361 * sysdeps/mips/math-tests.h: Include <features.h>.
5362 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5363 (ROUNDING_TESTS_long_double): Do not define.
5364 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5365 (EXCEPTION_TESTS_long_double): Likewise.
5366 * sysdeps/mips/mips64/libm-test-ulps: Update.
5367
498afc54
JM
5368 * include/features.h (__USE_BSD): Remove macro definitions.
5369 (__USE_SVID): Likewise.
5370 (_BSD_SOURCE): Likewise.
5371 (_SVID_SOURCE): Likewise.
5372 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5373 from definition of _DEFAULT_SOURCE.
5374 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5375 [_DEFAULT_SOURCE].
5376 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5377 * bits/mman.h [__USE_BSD]: Likewise.
5378 * bits/termios.h [__USE_BSD]: Likewise.
5379 * bits/waitstatus.h [__USE_BSD]: Likewise.
5380 * ctype/ctype.h [__USE_SVID]: Likewise.
5381 * dirent/dirent.h [__USE_BSD]: Likewise.
5382 * grp/grp.h [__USE_SVID]: Likewise.
5383 [__USE_BSD]: Likewise.
5384 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5385 * io/fcntl.h [__USE_BSD]: Likewise.
5386 * io/ftw.h [__USE_BSD]: Likewise.
5387 * io/sys/stat.h [__USE_BSD]: Likewise.
5388 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5389 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5390 * libio/stdio.h [__USE_SVID]: Likewise.
5391 [__USE_BSD]: Likewise.
5392 * math/math.h [__USE_SVID]: Likewise.
5393 [__USE_BSD]: Likewise.
5394 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5395 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5396 * misc/search.h [__USE_SVID]: Likewise.
5397 * misc/sys/mman.h [__USE_BSD]: Likewise.
5398 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5399 * misc/sys/uio.h [__USE_BSD]: Likewise.
5400 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5401 * posix/glob.h [__USE_BSD]: Likewise.
5402 * posix/regex.h [__USE_BSD]: Likewise.
5403 * posix/sys/types.h [__USE_BSD]: Likewise.
5404 [__USE_SVID]: Likewise.
5405 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5406 * posix/sys/wait.h [__USE_BSD]: Likewise.
5407 [__USE_SVID]: Likewise.
5408 * posix/unistd.h [__USE_BSD]: Likewise.
5409 [__USE_SVID]: Likewise.
5410 * pwd/pwd.h [__USE_SVID]: Likewise.
5411 * resolv/netdb.h [__USE_BSD]: Likewise.
5412 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5413 * signal/signal.h [__USE_BSD]: Likewise.
5414 [__USE_SVID]: Likewise.
5415 * socket/sys/socket.h [__USE_BSD]: Likewise.
5416 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5417 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5418 [__USE_SVID]: Likewise.
5419 * string/bits/string2.h [__USE_BSD]: Likewise.
5420 [__USE_SVID]: Likewise.
5421 * string/bits/string3.h [__USE_BSD]: Likewise.
5422 * string/endian.h [__USE_BSD]: Likewise.
5423 * string/string.h [__USE_SVID]: Likewise.
5424 [__USE_BSD]: Likewise.
5425 * string/strings.h [__USE_BSD]: Likewise.
5426 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5427 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5428 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5429 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5430 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5431 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5432 Likewise.
5433 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5434 Likewise.
5435 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5436 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5437 Likewise.
5438 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5439 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5440 Likewise.
5441 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5442 Likewise.
5443 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5444 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5445 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5446 Likewise.
5447 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5448 Likewise.
5449 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5450 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5451 * termios/termios.h [__USE_BSD]: Likewise.
5452 * time/sys/time.h [__USE_BSD]: Likewise.
5453 * time/time.h [__USE_BSD]: Likewise.
5454 [__USE_SVID]: Likewise.
5455
dd7b064c
JM
5456 * Makefile (subdir_targets): Remove subdir_lint.out.
5457
a2c4c199
JM
5458 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5459 (do-tst-printf): Likewise.
5460 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5461 $(objpfx)tst-printf.out.
5462
8756f740
JM
5463 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5464
1b6dd3f1
JM
5465 * Makerules (check-abi-%): Change target to
5466 $(objpfx)check-abi-%.out.
5467 (check-abi target): Update dependencies.
5468 (check-abi-pattern variable): Redirect output of diff to $@.
5469 (check-abi variable): Likewise.
5470 * elf/Makefile (check-abi): Update dependencies.
5471
ace614b8
JM
5472 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5473 unused.
5474 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5475 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5476 subnormal range.
5477 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5478 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5479 value has largest subnormal exponent.
5480 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5481 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5482 * sysdeps/aarch64/soft-fp/sfp-machine.h
5483 (_FP_TININESS_AFTER_ROUNDING): New macro.
5484 * sysdeps/alpha/soft-fp/sfp-machine.h
5485 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5486 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5487 Likewise.
5488 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5489 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5490 * sysdeps/mips/soft-fp/sfp-machine.h
5491 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5492 * sysdeps/powerpc/soft-fp/sfp-machine.h
5493 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5494 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5495 Likewise.
5496 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5497 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5499 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5500 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5501 Likewise.
5502
fbfdf9cb
DAS
55032014-02-12 Dylan Alex Simon <dylan@dylex.net>
5504
5505 [BZ #16545]
5506 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5507 model 1.
5508
68b7efaa
RH
55092014-02-12 Richard Henderson <rth@redhat.com>
5510
c70a4b1d 5511 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5512 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5513 * sysdeps/unix/sysv/linux/alpha: Move directory from
5514 ports/sysdeps/unix/sysv/linux/alpha.
5515 * README: Update listing for alpha-*-linux-gnu.
5516
cb4a2928
JM
55172014-02-11 Joseph Myers <joseph@codesourcery.com>
5518
c941736c
JM
5519 * include/features.h: Update comment documenting feature test
5520 macros.
5521 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5522 _DEFAULT_SOURCE.
5523 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5524 (_SVID_SOURCE): Likewise.
5525 (_DEFAULT_SOURCE): Update description of default features.
5526 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5527 with _GNU_SOURCE.
5528 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5529 (S_ISVTX): Likewise.
5530 * manual/math.texi (Mathematical Constants): Likewise.
5531 * manual/signal.texi (Interrupted Primitives): Likewise.
5532 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5533 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5534 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5535 Don't refer to _SVID_SOURCE in warning text.
5536
e8d8d7ec
JM
5537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5538
cb4a2928
JM
5539 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5540 already defined.
5541 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5542 * sysdeps/mips/dl-lookup.c: Remove.
5543 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5544
7e6424e3
AK
55452014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5546
5547 [BZ #16447]
5548 * math/auto-libm-test-in: Add testcase for expl.
5549 * math/auto-libm-test-out: Regenerate.
5550 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5551 calculation of unsafe.
5552 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5553
75eff3fe
MS
55542014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5555
5556 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5557 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5558 ports/sysdeps/unix/sysv/linux/aarch64.
5559 * README: Update listing for aarch64*-*-linux-gnu.
5560
d35f1e80
WN
55612014-02-11 Will Newton <will.newton@linaro.org>
5562
5563 * manual/probes.texi (Mathematical Function Probes): Use
5564 "triggered" instead of "hit".
5565
7b3436d4
WN
5566 * manual/probes.texi (Internal Probes): Add documentation
5567 of setjmp, longjmp and longjmp_target probes.
5568
b4f12ca3
WN
5569 * include/stap-probe.h: Add comment about probe argument
5570 format.
5571
c13a72b7
WN
5572 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5573 definition. (tr_where, tr_freehook, tr_mallochook,
5574 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5575
195b8165
DM
55762014-02-11 David S. Miller <davem@davemloft.net>
5577
5578 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5579 processing int_tests.
5580
2ad7600b
JM
55812014-02-10 Joseph Myers <joseph@codesourcery.com>
5582
5583 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5584 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5585 * sysdeps/unix/sysv/linux/mips: Move directory from
5586 ports/sysdeps/unix/sysv/linux/mips.
5587 * README: Update listing for mips-*-linux-gnu and
5588 mips64-*-linux-gnu.
5589
73588a72
AS
55902014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5591
5592 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5593 * sysdeps/unix/sysv/linux/m68k: Move directory from
5594 ports/sysdeps/unix/sysv/linux/m68k.
5595 * README: Update listing for m68k-*-linux-gnu.
5596
4372980f
CM
55972014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5598
5599 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5600 * sysdeps/unix/sysv/linux/generic: Move directory from
5601 ports/sysdeps/unix/sysv/linux/generic.
5602 * sysdeps/unix/sysv/linux/tile: Move directory from
5603 ports/sysdeps/unix/sysv/linux/tile.
5604 * README: Update listing for tile*-*-linux-gnu.
5605
a1ffb40e
OB
56062014-02-10 Ondřej Bílka <neleai@seznam.cz>
5607
57f41c40
AS
5608 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5609 __builtin_expect.
a1ffb40e
OB
5610 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5611 * catgets/open_catalog.c (__open_catalog): Likewise.
5612 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5613 * debug/confstr_chk.c: Likewise.
5614 * debug/fread_chk.c (__fread_chk): Likewise.
5615 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5616 * debug/getgroups_chk.c: Likewise.
5617 * debug/mbsnrtowcs_chk.c: Likewise.
5618 * debug/mbsrtowcs_chk.c: Likewise.
5619 * debug/mbstowcs_chk.c: Likewise.
5620 * debug/memcpy_chk.c: Likewise.
5621 * debug/memmove_chk.c: Likewise.
5622 * debug/mempcpy_chk.c: Likewise.
5623 * debug/memset_chk.c: Likewise.
5624 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5625 * debug/strcat_chk.c (__strcat_chk): Likewise.
5626 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5627 * debug/strncat_chk.c (__strncat_chk): Likewise.
5628 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5629 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5630 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5631 * debug/wcpncpy_chk.c: Likewise.
5632 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5633 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5634 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5635 * debug/wcsncpy_chk.c: Likewise.
5636 * debug/wcsnrtombs_chk.c: Likewise.
5637 * debug/wcsrtombs_chk.c: Likewise.
5638 * debug/wcstombs_chk.c: Likewise.
5639 * debug/wmemcpy_chk.c: Likewise.
5640 * debug/wmemmove_chk.c: Likewise.
5641 * debug/wmempcpy_chk.c: Likewise.
5642 * debug/wmemset_chk.c: Likewise.
5643 * dirent/scandirat.c (SCANDIRAT): Likewise.
5644 * dlfcn/dladdr1.c (dladdr1): Likewise.
5645 * dlfcn/dladdr.c (dladdr): Likewise.
5646 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5647 * dlfcn/dlerror.c (__dlerror): Likewise.
5648 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5649 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5650 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5651 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5652 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5653 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5654 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5655 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5656 Likewise.
5657 * elf/dl-conflict.c: Likewise.
5658 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5659 * elf/dl-dst.h: Likewise.
5660 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5661 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5662 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5663 * elf/dl-init.c (call_init, _dl_init): Likewise.
5664 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5665 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5666 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5667 Likewise.
a1ffb40e
OB
5668 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5669 Likewise.
5670 * elf/dl-minimal.c (__libc_memalign): Likewise.
5671 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5672 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5673 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5674 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5675 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5676 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5677 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5678 * elf/dl-writev.h (_dl_writev): Likewise.
5679 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5680 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5681 (dl_main): Likewise.
a1ffb40e
OB
5682 * elf/setup-vdso.h (setup_vdso): Likewise.
5683 * grp/compat-initgroups.c (compat_call): Likewise.
5684 * grp/fgetgrent.c (fgetgrent): Likewise.
5685 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5686 * grp/putgrent.c (putgrent): Likewise.
5687 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5688 Likewise.
5689 * hurd/hurdinit.c: Likewise.
5690 * iconvdata/8bit-gap.c (struct): Likewise.
5691 * iconvdata/ansi_x3.110.c : Likewise.
5692 * iconvdata/big5.c : Likewise.
5693 * iconvdata/big5hkscs.c : Likewise.
5694 * iconvdata/cp1255.c: Likewise.
5695 * iconvdata/cp1258.c : Likewise.
5696 * iconvdata/cp932.c : Likewise.
5697 * iconvdata/euc-cn.c: Likewise.
5698 * iconvdata/euc-jisx0213.c : Likewise.
5699 * iconvdata/euc-jp.c: Likewise.
5700 * iconvdata/euc-jp-ms.c : Likewise.
5701 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5702 * iconvdata/gb18030.c : Likewise.
5703 * iconvdata/gbbig5.c (const): Likewise.
5704 * iconvdata/gbgbk.c: Likewise.
5705 * iconvdata/gbk.c : Likewise.
5706 * iconvdata/ibm1364.c : Likewise.
5707 * iconvdata/ibm930.c : Likewise.
5708 * iconvdata/ibm932.c: Likewise.
5709 * iconvdata/ibm933.c : Likewise.
5710 * iconvdata/ibm935.c : Likewise.
5711 * iconvdata/ibm937.c : Likewise.
5712 * iconvdata/ibm939.c : Likewise.
5713 * iconvdata/ibm943.c: Likewise.
5714 * iconvdata/iso_11548-1.c: Likewise.
5715 * iconvdata/iso-2022-cn.c : Likewise.
5716 * iconvdata/iso-2022-cn-ext.c : Likewise.
5717 * iconvdata/iso-2022-jp-3.c: Likewise.
5718 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5719 * iconvdata/iso-2022-kr.c : Likewise.
5720 * iconvdata/iso646.c (gconv_end): Likewise.
5721 * iconvdata/iso_6937-2.c : Likewise.
5722 * iconvdata/iso_6937.c : Likewise.
5723 * iconvdata/iso8859-1.c: Likewise.
5724 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5725 * iconvdata/shift_jisx0213.c : Likewise.
5726 * iconvdata/sjis.c : Likewise.
5727 * iconvdata/t.61.c : Likewise.
5728 * iconvdata/tcvn5712-1.c : Likewise.
5729 * iconvdata/tscii.c: Likewise.
5730 * iconvdata/uhc.c : Likewise.
5731 * iconvdata/unicode.c (gconv_end): Likewise.
5732 * iconvdata/utf-16.c (gconv_end): Likewise.
5733 * iconvdata/utf-32.c (gconv_end): Likewise.
5734 * iconvdata/utf-7.c (base64): Likewise.
5735 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5736 * iconv/gconv_close.c (__gconv_close): Likewise.
5737 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5738 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5739 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5740 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5741 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5742 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5743 * iconv/iconv.c (iconv): Likewise.
5744 * iconv/iconv_close.c: Likewise.
5745 * iconv/loop.c (SINGLE): Likewise.
5746 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5747 * include/atomic.h: Likewise.
5748 * inet/inet6_option.c (option_alloc): Likewise.
5749 * intl/bindtextdom.c (set_binding_values): Likewise.
5750 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5751 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5752 * intl/localealias.c (read_alias_file): Likewise.
5753 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5754 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5755 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5756 * libio/fmemopen.c (fmemopen): Likewise.
5757 * libio/iofgets.c (_IO_fgets): Likewise.
5758 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5759 * libio/iofgetws.c (fgetws): Likewise.
5760 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5761 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5762 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5763 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5764 * locale/findlocale.c (_nl_find_locale): Likewise.
5765 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5766 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5767 Likewise.
5768 * locale/setlocale.c (setlocale): Likewise.
5769 * login/programs/pt_chown.c (main): Likewise.
5770 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5771 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5772 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5773 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5774 * math/e_exp2l.c: Likewise.
5775 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5776 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5777 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5778 * math/s_catan.c (__catan): Likewise.
5779 * math/s_catanf.c (__catanf): Likewise.
5780 * math/s_catanh.c (__catanh): Likewise.
5781 * math/s_catanhf.c (__catanhf): Likewise.
5782 * math/s_catanhl.c (__catanhl): Likewise.
5783 * math/s_catanl.c (__catanl): Likewise.
5784 * math/s_ccosh.c (__ccosh): Likewise.
5785 * math/s_ccoshf.c (__ccoshf): Likewise.
5786 * math/s_ccoshl.c (__ccoshl): Likewise.
5787 * math/s_cexp.c (__cexp): Likewise.
5788 * math/s_cexpf.c (__cexpf): Likewise.
5789 * math/s_cexpl.c (__cexpl): Likewise.
5790 * math/s_clog10.c (__clog10): Likewise.
5791 * math/s_clog10f.c (__clog10f): Likewise.
5792 * math/s_clog10l.c (__clog10l): Likewise.
5793 * math/s_clog.c (__clog): Likewise.
5794 * math/s_clogf.c (__clogf): Likewise.
5795 * math/s_clogl.c (__clogl): Likewise.
5796 * math/s_csin.c (__csin): Likewise.
5797 * math/s_csinf.c (__csinf): Likewise.
5798 * math/s_csinh.c (__csinh): Likewise.
5799 * math/s_csinhf.c (__csinhf): Likewise.
5800 * math/s_csinhl.c (__csinhl): Likewise.
5801 * math/s_csinl.c (__csinl): Likewise.
5802 * math/s_csqrt.c (__csqrt): Likewise.
5803 * math/s_csqrtf.c (__csqrtf): Likewise.
5804 * math/s_csqrtl.c (__csqrtl): Likewise.
5805 * math/s_ctan.c (__ctan): Likewise.
5806 * math/s_ctanf.c (__ctanf): Likewise.
5807 * math/s_ctanh.c (__ctanh): Likewise.
5808 * math/s_ctanhf.c (__ctanhf): Likewise.
5809 * math/s_ctanhl.c (__ctanhl): Likewise.
5810 * math/s_ctanl.c (__ctanl): Likewise.
5811 * math/w_pow.c: Likewise.
5812 * math/w_powf.c: Likewise.
5813 * math/w_powl.c: Likewise.
5814 * math/w_scalb.c (sysv_scalb): Likewise.
5815 * math/w_scalbf.c (sysv_scalbf): Likewise.
5816 * math/w_scalbl.c (sysv_scalbl): Likewise.
5817 * misc/error.c (error_tail): Likewise.
5818 * misc/pselect.c (__pselect): Likewise.
5819 * nis/nis_callback.c (__nis_create_callback): Likewise.
5820 * nis/nis_call.c (__nisfind_server): Likewise.
5821 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5822 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5823 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5824 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5825 * nis/nis_lookup.c (nis_lookup): Likewise.
5826 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5827 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5828 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5829 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5830 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5831 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5832 * nis/nss_compat/compat-initgroups.c (add_group)
5833 (internal_getgrent_r): Likewise.
5834 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5835 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5836 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5837 (internal_getspnam_r): Likewise.
5838 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5839 (_nss_nis_getaliasbyname_r): Likewise.
5840 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5841 (_nss_nis_getntohost_r): Likewise.
5842 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5843 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5844 (_nss_nis_getgrgid_r): Likewise.
5845 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5846 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5847 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5848 (_nss_nis_gethostbyname4_r): Likewise.
5849 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5850 (initgroups_netid): Likewise.
a1ffb40e 5851 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5852 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5853 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5854 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5855 (_nss_nis_getprotobynumber_r): Likewise.
5856 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5857 (_nss_nis_getsecretkey): Likewise.
5858 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5859 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5860 (_nss_nis_getpwuid_r): Likewise.
5861 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5862 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5863 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5864 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5865 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5866 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5867 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5868 Likewise.
57f41c40
AS
5869 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5870 (_nss_nisplus_getntohost_r): Likewise.
5871 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5872 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5873 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5874 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5875 Likewise.
57f41c40
AS
5876 * nis/nss_nisplus/nisplus-initgroups.c
5877 (_nss_nisplus_initgroups_dyn): Likewise.
5878 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5879 (_nss_nisplus_getnetbyaddr_r): Likewise.
5880 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5881 (_nss_nisplus_getprotobynumber_r): Likewise.
5882 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5883 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5884 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5885 Likewise.
57f41c40
AS
5886 * nis/nss_nisplus/nisplus-service.c
5887 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5888 (_nss_nisplus_getservbyport_r): Likewise.
5889 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5890 (_nss_nisplus_getspnam_r): Likewise.
5891 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5892 Likewise.
a1ffb40e
OB
5893 * nscd/aicache.c (addhstaiX): Likewise.
5894 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5895 * nscd/connections.c (register_traced_file, send_ro_fd)
5896 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5897 (main_loop_epoll): Likewise.
a1ffb40e
OB
5898 * nscd/grpcache.c (addgrbyX): Likewise.
5899 * nscd/hstcache.c (addhstbyX): Likewise.
5900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5901 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5902 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5903 (addinnetgrX): Likewise.
5904 * nscd/nscd-client.h (__nscd_acquire_maplock)
5905 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5906 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5907 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5908 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5909 Likewise.
5910 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5911 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5912 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5913 (__nscd_get_map_ref): Likewise.
a1ffb40e 5914 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5915 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5916 Likewise.
a1ffb40e
OB
5917 * nscd/pwdcache.c (addpwbyX): Likewise.
5918 * nscd/selinux.c (preserve_capabilities): Likewise.
5919 * nscd/servicescache.c (addservbyX): Likewise.
5920 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5921 * posix/fnmatch.c (fnmatch): Likewise.
5922 * posix/getopt.c (_getopt_internal_r): Likewise.
5923 * posix/glob.c (glob, glob_in_dir): Likewise.
5924 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5925 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5926 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5927 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5928 * resolv/res_init.c: Likewise.
5929 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5930 * resolv/res_query.c (__libc_res_nquery): Likewise.
5931 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5932 Likewise.
5933 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5934 * stdio-common/perror.c (perror): Likewise.
5935 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5936 * stdio-common/tmpnam.c (tmpnam): Likewise.
5937 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5938 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5939 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5940 Likewise.
a1ffb40e
OB
5941 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5942 * stdlib/putenv.c (putenv): Likewise.
5943 * stdlib/setenv.c (__add_to_environ): Likewise.
5944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5945 * stdlib/strtol_l.c (INTERNAL): Likewise.
5946 * string/memmem.c (memmem): Likewise.
5947 * string/strerror.c (strerror): Likewise.
5948 * string/strnlen.c (__strnlen): Likewise.
5949 * string/test-memmem.c (simple_memmem): Likewise.
5950 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5951 * sunrpc/pm_getport.c (__get_socket): Likewise.
5952 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5953 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5954 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5955 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5956 Likewise.
5957 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5958 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5959 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5960 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5961 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5962 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5963 Likewise.
5964 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5965 Likewise.
a1ffb40e
OB
5966 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5967 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5968 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5969 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5970 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5972 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5973 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5974 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5975 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5976 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5977 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5978 Likewise.
5979 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5980 Likewise.
5981 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5982 Likewise.
5983 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5985 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5986 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5987 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5988 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5989 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5991 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5992 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5993 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5994 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5995 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5996 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5998 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5999 Likewise.
a1ffb40e
OB
6000 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6001 Likewise.
6002 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6003 Likewise.
6004 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6005 Likewise.
6006 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6008 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6009 Likewise.
6010 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6011 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6012 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6013 * sysdeps/posix/sleep.c: Likewise.
6014 * sysdeps/posix/tempname.c: Likewise.
6015 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6016 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6017 Likewise.
57f41c40
AS
6018 * sysdeps/powerpc/powerpc32/dl-machine.h
6019 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6020 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6021 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6022 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6023 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6024 Likewise.
6025 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6026 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6027 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6028 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6029 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6030 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6031 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6032 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6033 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6034 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6036 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6037 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6038 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6039 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6040 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6041 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6042 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6043 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6044 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6045 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6046 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6047 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6048 Likewise.
6049 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6050 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6051 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6052 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6053 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6054 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6055 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6056 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6057 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6058 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6059 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6060 Likewise.
6061 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6062 (__posix_fallocate64_l64): Likewise.
6063 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6064 (posix_fallocate): Likewise.
57f41c40
AS
6065 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6066 Likewise.
a1ffb40e 6067 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6068 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6069 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6070 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6071 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6072 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6073 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6074 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6075 (__posix_fallocate64_l64): Likewise.
6076 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6077 Likewise.
6078 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6079 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6080 (__get_clockfreq): Likewise.
a1ffb40e
OB
6081 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6082 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6083 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6084 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6086 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6087 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6088 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6089 Likewise.
6090 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6091 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6092 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6093 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6094 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6095 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6096 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6097 Likewise.
6098 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6099 (posix_fallocate): Likewise.
6100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6101 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6102 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6103 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6104 (elf_machine_rela, elf_machine_rela_relative)
6105 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6106 * time/asctime.c (asctime_internal): Likewise.
6107 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6108 * time/tzset.c (__tzset_parse_tz): Likewise.
6109 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6110 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6111 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6112 * wcsmbs/wcsmbsload.h: Likewise.
6113
f3d338c9
OB
6114 [BZ #15894]
6115 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6116
57f41c40
AS
6117 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6118 (arena_get2): Remove THREAD_STATS conditionals.
6119 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6120 (__malloc_stats, int): Likewise.
bdfe308a 6121
d674667c
MF
61222014-02-08 Mike Frysinger <vapier@gentoo.org>
6123
6124 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6125 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6126
6349768c
MF
6127 * manual/setjmp.texi: Fix typos/grammar errors.
6128
0b7c7473
MF
6129 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6130 Only return early when n is <= 0. Delete unused return statement.
6131
ac8cc9e3
MF
6132 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6133 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6134 * debug/tst-longjmp_chk3.c: New file.
6135
c5bb8e23
MF
6136 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6137 (test_main): Replace code with set_fortify_handler call.
6138 * debug/test-strcpy_chk.c: Likewise.
6139 * debug/tst-chk1.c: Likewise.
6140 * debug/tst-longjmp_chk.c: Likewise.
6141 * test-skeleton.c: Include fcntl.h & paths.h
6142 (set_fortify_handler): Define.
6143
10444e42
MF
6144 * debug/tst-longjmp_chk.c: Add header comment and include
6145 ../test-skeleton.c.
6146 (do_test): Mark static.
6147 (TEST_FUNCTION): Define.
6148
1e805e8d
MF
6149 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6150 (IP_PMTUDISC_INTERFACE): Likewise.
6151 (IP_MULTICAST_IF): Likewise.
6152 (IP_MULTICAST_TTL): Likewise.
6153 (IP_MULTICAST_LOOP): Likewise.
6154 (IP_ADD_MEMBERSHIP): Likewise.
6155 (IP_DROP_MEMBERSHIP): Likewise.
6156 (IP_UNBLOCK_SOURCE): Likewise.
6157 (IP_BLOCK_SOURCE): Likewise.
6158 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6159 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6160 (IP_MSFILTER): Likewise.
6161 (MCAST_JOIN_GROUP): Likewise.
6162 (MCAST_BLOCK_SOURCE): Likewise.
6163 (MCAST_UNBLOCK_SOURCE): Likewise.
6164 (MCAST_LEAVE_GROUP): Likewise.
6165 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6166 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6167 (MCAST_MSFILTER): Likewise.
6168 (IP_MULTICAST_ALL): Likewise.
6169 (IP_UNICAST_IF): Likewise.
6170
73f79bb7
MF
6171 * timezone/Makefile: Delete $(have-ksh) check.
6172 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6173 * timezone/tzselect.ksh: Add +x mode bits.
6174
8da79b60
MF
6175 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6176 (ANON_INODE_FS_MAGIC): Likewise.
6177 (BDEVFS_MAGIC): Likewise.
6178 (BINFMTFS_MAGIC): Likewise.
6179 (BTRFS_TEST_MAGIC): Likewise.
6180 (CRAMFS_MAGIC_WEND): Likewise.
6181 (DEBUGFS_MAGIC): Likewise.
6182 (ECRYPTFS_SUPER_MAGIC): Likewise.
6183 (EXT3_SUPER_MAGIC): Likewise.
6184 (EXT4_SUPER_MAGIC): Likewise.
6185 (FUTEXFS_SUPER_MAGIC): Likewise.
6186 (HOSTFS_SUPER_MAGIC): Likewise.
6187 (HUGETLBFS_MAGIC): Likewise.
6188 (MINIX3_SUPER_MAGIC): Likewise.
6189 (MTD_INODE_FS_MAGIC): Likewise.
6190 (NILFS_SUPER_MAGIC): Likewise.
6191 (OPENPROM_SUPER_MAGIC): Likewise.
6192 (PIPEFS_MAGIC): Likewise.
6193 (PSTOREFS_MAGIC): Likewise.
6194 (QNX6_SUPER_MAGIC): Likewise.
6195 (RAMFS_MAGIC): Likewise.
6196 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6197 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6198 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6199 (SECURITYFS_MAGIC): Likewise.
6200 (SELINUX_MAGIC): Likewise.
6201 (SMACK_MAGIC): Likewise.
6202 (SOCKFS_MAGIC): Likewise.
6203 (SQUASHFS_MAGIC): Likewise.
6204 (STACK_END_MAGIC): Likewise.
6205 (TMPFS_MAGIC): Likewise.
6206 (USBDEVICE_SUPER_MAGIC): Likewise.
6207 (V9FS_MAGIC): Likewise.
6208 (XENFS_SUPER_MAGIC): Likewise.
6209 (CRAMFS_MAGIC): Fix typo in comment.
6210 (EXT2_SUPER_MAGIC): Update comment.
6211 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6212
464263cc
JM
62132014-02-08 Joseph Myers <joseph@codesourcery.com>
6214
c6bfe5c4
JM
6215 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6216 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6217 * sysdeps/unix/sysv/linux/arm: Move directory from
6218 ports/sysdeps/unix/sysv/linux/arm.
6219 * README: Update listing for arm-*-linux-gnueabi.
6220
464263cc
JM
6221 * README: Remove mention of am33.
6222
32749f6c
RM
62232014-02-07 Roland McGrath <roland@hack.frob.com>
6224
6225 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6226 than the comma operator, to avoid "rhs of comma has no effect"
6227 compiler warnings.
6228 (__sigfillset, __sigandset, __sigorset): Likewise.
6229 * include/signal.h (__sigemptyset): Likewise.
6230 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6231
d5b396c1
AM
62322014-02-07 Allan McRae <allan@archlinux.org>
6233
6234 * version.h (RELEASE): Set to "development".
6235 (VERSION): Set to "2.19.90"
6236 * NEWS: Add 2.20 section.
6237
3bfff2ed
CD
62382014-02-06 Carlos O'Donell <carlos@redhat.com>
6239
6240 [BZ #16529]
6241 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6242
ee7cc385
SP
62432014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6244
6245 * manual/contrib.texi: Update entry for Carlos O'Donell,
6246 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6247
f877c4f2
CD
62482014-02-05 Carlos O'Donell <carlos@rehdat.com>
6249
27e839f6
CD
6250 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6251
f877c4f2
CD
6252 * sysdeps/unix/sysv/linux/kernel-features.h
6253 [__LINUX_KERNEL_VERSION >= 0x020621]
6254 (__ASSUME_PROC_PID_TASK_COMM): Define.
6255
68159946
SP
62562014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6257
ba17cdbd
SP
6258 [BZ #16398]
6259 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6260 conversion when destination buffer does not have enough space.
6261 * libio/tst-ftell-partial-wide.c: New test case.
6262 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6263
68159946
SP
6264 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6265 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6266 Leonard and Allan McRae.
6267
2b528732
DM
62682014-02-04 David S. Miller <davem@davemloft.net>
6269
6270 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6271 32-bit.
6272
0ff82463
AZ
62732014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6274
57f41c40
AS
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6276 New file
c01603f7
AZ
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6278 New file
57f41c40
AS
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6280 New file.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6282 New file.
c01603f7
AZ
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6284 New file.
57f41c40
AS
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6286 New file.
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6288 New file.
c01603f7
AZ
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6290 New file.
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6292 New file.
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6294 New file.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6296 New file.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6298 New file.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6300 New file.
6301
63022014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6303
0ff82463
AZ
6304 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6305 * shlib-versions: Likewise.
6306
1695c773
AZ
63072014-02-04 Roland McGrath <roland@hack.frob.com>
6308 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6309
6310 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6311 (abilist-pattern): New variable, set to %-le.abilist.
6312
6313 * Makerules (abilist-pattern): New variable.
6314 (vpath): Use $(abilist-pattern) in place of %.abilist.
6315 (check-abi-% pattern rule): Likewise.
6316 (check-abi, update-abi): Likewise.
6317
6c0ce4b4
EW
63182014-02-04 Eric Wong <normalperson@yhbt.net>
6319
6320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6321
481e3524
CD
63222014-02-03 Carlos O'Donell <carlos@redhat.com>
6323
6324 * manual/startup.texi: Add next, previous, and top entries for
6325 the `Program Arguments' and `Environment Variables' nodes.
6326
375592d3
AO
63272014-02-03 Alexandre Oliva <aoliva@redhat.com>
6328
6329 * manual/macros.texi: Add comments before MTASC-safety macros.
6330
f54838ba
AO
6331 * manual/users.texi: Document MTASC-safety properties.
6332
57f41c40
AS
6333 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6334 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6335 @deftypefun, and add @safety note.
6336 * manual/signal.texi: Move comments that analyze the above
6337 functions to their home place.
6338
fd3daba4
AM
63392014-02-03 Allan McRae <allan@archlinux.org>
6340
6341 * po/sl.po: Update Slovenian translation from translation project.
6342
597636d7
AO
63432014-02-02 Alexandre Oliva <aoliva@redhat.com>
6344
6345 * manual/time.texi (timegm): Add missing blank after @c.
6346 Reported by Joseph Myers <joseph@codesourcery.com>.
6347
ee196e3c
AO
63482014-02-01 Alexandre Oliva <aoliva@redhat.com>
6349
6350 * manual/check-safety.sh: New.
6351 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6352
f8d529d5
AO
6353 * manual/terminal.texi: Document MTASC-safety properties.
6354
de55fdf4
AO
6355 * manual/filesys.texi: Document MTASC-safety properties.
6356
c3299c08
AO
6357 * manual/errno.texi: Document MTASC-safety properties.
6358
06e90b14
AO
6359 * manual/intro.texi: Document safety identifiers and
6360 conditionals.
6361
1acd4371
AO
6362 * manual/string.texi (wcstok): Fix prototype.
6363 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6364
23e5b8cb
AO
6365 * manual/time.texi: Document MTASC-safety properties.
6366
11087373
AO
6367 * manual/string.texi: Document MTASC-safety properties.
6368
5da2c93d
AO
6369 * manual/threads.texi: Document MTASC-safety properties.
6370
171e9210
AO
6371 * manual/stdio.texi: Document MTASC-safety properties.
6372
d9e02532
AO
6373 * manual/syslog.texi: Document MTASC-safety properties.
6374
6af8bab7
AO
6375 * manual/sysinfo.texi: Document MTASC-safety properties.
6376
663b02d7
AO
6377 * manual/startup.texi: Document MTASC-safety properties.
6378
973f180b
AO
6379 * manual/socket.texi: Document MTASC-safety properties.
6380
8f3c25c8
AO
6381 * manual/signal.texi: Document MTASC-safety properties.
6382
542210fb
AO
63832014-01-31 Alexandre Oliva <aoliva@redhat.com>
6384
6385 * manual/setjmp.texi: Document MTASC-safety properties.
6386
433c45a2
AO
6387 * manual/search.texi: Document MTASC-safety properties.
6388
c8ce789c
AO
6389 * manual/resource.texi: Document MTASC-safety properties.
6390
19f5d29c
AO
6391 * manual/process.texi: Document MTASC-safety properties.
6392
e2dfb7f4
AO
6393 * manual/platform.texi: Document MTASC-safety properties.
6394
8c1413f5
AO
6395 * manual/pipe.texi: Document MTASC-safety properties.
6396
03483ada
AO
6397 * manual/pattern.texi: Document MTASC-safety properties.
6398
29e7e2df
AO
6399 * manual/message.texi: Document MTASC-safety properties.
6400
9f529d7c
AO
6401 [BZ #12751]
6402 * manual/memory.texi: Document MTASC-safety properties.
6403
27aaa791
AO
6404 * manual/math.texi: Document MTASC-safety properties.
6405
f2d58726
AO
6406 * manual/locale.texi: Document MTASC-safety properties.
6407
2cc3615c
AO
6408 * manual/llio.texi: Document MTASC-safety properties.
6409
d9f0ec97
AO
6410 * manual/libdl.texi: New.
6411
e7c4409a
AO
6412 * manual/lang.texi: Document MTASC-safety properties.
6413
27bdc63c
AO
6414 * manual/job.texi: Document MTASC-safety properties.
6415
a7b90ea9
AO
6416 * manual/getopt.texi: Document MTASC-safety properties.
6417
c49130e3
AO
6418 * manual/ctype.texi: Document MTASC-safety properties.
6419
0d23a5c1
MR
64202014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6421
6422 [BZ #16046]
6423 * csu/libc-tls.c (static_map): Remove variable.
6424 (__libc_setup_tls): Use main executable's link map for TLS data.
6425 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6426 casing for LM_ID_BASE and GL(dl_nns).
6427 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6428 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6429 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6430 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6431 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6432 member.
6433 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6434 l_phnum members.
6435
0037bb60
AO
64362014-01-30 Alexandre Oliva <aoliva@redhat.com>
6437
6438 * manual/debug.texi: Document MTASC-safety properties.
6439
409e00bd
L
64402014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6441
6442 [BZ #16510]
6443 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6444 of __x86_64__ when disabling x87 inline functions.
6445
86e60666
AO
64462014-01-29 Alexandre Oliva <aoliva@redhat.com>
6447
6448 * manual/charset.texi: Document MTASC-safety properties.
6449
76167637
AO
6450 * manual/crypt.texi: Document MTASC-safety properties.
6451
e567f2a0
AO
6452 * manual/conf.texi: Document MTASC-safety properties.
6453
b719dafd
AO
6454 * manual/arith.texi: Document MTASC-safety properties.
6455
4a16c662
AO
6456 * manual/argp.texi: Document MTASC-safety properties.
6457
0a57b83e
AO
6458 * manual/macros.texi: Introduce macros to document multi
6459 thread, asynchronous signal and asynchronous cancellation
6460 safety properties.
6461 * manual/intro.texi: Introduce the properties themselves.
6462
feab2397
KK
64632014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6464
6465 * sysdeps/sh/sh4/Makefile: New file.
6466
1c0d11bc
AS
64672014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6468
6469 * math/gen-libm-test.pl ($srcdir): New variable.
6470 ($auto_input): Use it.
6471
af37a8a3
SP
64722014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6473
d7b00f98
SP
6474 [BZ #16506]
6475 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6476 access beyond array bounds when parsing netgroups file.
6477
af37a8a3
SP
6478 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6479 the old buffer before realloc.
6480
0c00f062
AM
64812014-01-27 Allan McRae <allan@archlinux.org>
6482
6483 * po/fr.po: Update French translation from translation project.
6484
7d69a1b0
KK
64852014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6486
6487 * sysdeps/sh/libm-test-ulps: Regenerate.
6488
6e697ff7
DM
64892014-01-24 David S. Miller <davem@davemloft.net>
6490
6491 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6492
9cadb35c
KK
64932014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6494
6495 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6496 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6497
5d41dadf
SP
64982013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6499
6500 [BZ #16474]
6501 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6502 string pointers after reallocation.
6503
0bad441c
KK
65042014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6505
6506 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6507 __SH4A__ instead of __SH_FPU_ANY__.
6508
7007c661
KK
65092014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6510
6511 * sysdeps/sh/fpu_control.h: New file.
6512 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6513 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6514 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6515 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6516 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6517 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6518 * sysdeps/sh/sys/ucontext.h: Remove.
6519 * sysdeps/sh/sys: Remove directory.
6520
0f0c35e4
AK
65212014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6522
6523 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6524 s390/sys/ucontext.h.
6525 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6526 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6527
4959e284
L
65282014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6529
6530 [BZ #15605]
6531 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6532
d98720e0
AZ
65332014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6534
6535 [BZ#16431]
6536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6537 Adjust the vDSO correctly for internal calls.
6538 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6539
91cbd0bc
AM
65402014-01-20 Allan McRae <allan@archlinux.org>
6541
6542 * po/ca.po: Update Catalan translation from translation project.
6543
7a02cfad
MF
65442014-01-16 Mike Frysinger <vapier@gentoo.org>
6545
6546 * sysdeps/s390/sotruss-lib.c: New file.
6547
736c304a
AZ
65482014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6549
6550 [BZ#16430]
6e077ee5 6551 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6552 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6553 local calls issues by not having a PLT stub required for IFUNC calls.
6554 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6555
94d0cea0
JM
65562014-01-16 Joseph Myers <joseph@codesourcery.com>
6557
6558 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6559 * math/test-fpucw-static.c: Likewise.
6560
980cb518
SP
65612013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6562
6563 [BZ #16453]
6564 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6565
2393fc01
AZ
65662014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6567
6568 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6569 implementation for powerpc.
6570
d359bcc2
OB
65712014-01-15 Ondřej Bílka <neleai@seznam.cz>
6572
6573 [BZ #14782]
6574 * sysdeps/posix/system.c (__libc_system): Do not enable
6575 asynchronous cancellation.
6576
7beb48cb
AK
65772014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6578
6579 [BZ #16427]
6580 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6581 handling only for numbers special also in the IEEE case.
6582
c20d5bf5
AK
65832014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6584
6585 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6586
e83bd4ee
AM
65872014-01-11 Allan McRae <allan@archlinux.org>
6588
76d0ea69
AM
6589 * po/bg.po: Update Bulgarian translation from translation project.
6590
e83bd4ee
AM
6591 * po/de.po: Update German translation from translation project.
6592
bc2ba20a
RM
65932014-01-10 Roland McGrath <roland@hack.frob.com>
6594
6595 * sysdeps/generic/gcc-compat.h: New file.
6596
649ecea2
SP
65972014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6598
6599 * benchtests/asin-inputs: Correct slow inputs.
6600 * benchtests/acos-inputs: Likewise.
6601
1b19c006
AM
66022014-01-10 Allan McRae <allan@archlinux.org>
6603
a46dab08
AM
6604 * po:sv.po: Update Swedish translation from translation project.
6605
421df74a
AM
6606 * po/vi.po: Update Vietnamese translation from translation project.
6607
d61c51a7
AM
6608 * po/eo.po: Update Esperanto translation from translation project.
6609
0339a319
AM
6610 * po/cs.po: Update Czech translation from translation project.
6611
94ad3e99
AM
6612 * po/nl.po: Update Dutch translation from translation project.
6613
e349ca71
AM
6614 * po/pl.po: Update Polish translation from translation project.
6615
ddf930c1
AM
6616 * po/ru.po: Update Russian translation from translation project.
6617
1b19c006
AM
6618 * po/uk.po: Update Ukrainian translation from translation project.
6619
9f236c49
BM
66202014-01-08 Brooks Moses <bmoses@google.com>
6621
6622 * elf/dl-load.c: Fix comment typo.
6623
cd6701cf
CD
66242014-01-08 Carlos O'Donell <carlos@redhat.com>
6625
6626 * po/header.pot: Rename to...
6627 * po/pot.header: ... this.
6628 * po/Makefile: Use pot.header.
6629
66671c84
YK
66302014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6631 Maxim Kuvyrkov <maxim@kugelworks.com>
6632
6633 [BZ #16394]
cd6701cf
CD
6634 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6635 SRC and DEST against LEN.
66671c84 6636
38f34581
AZ
66372014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6638
6639 [BZ #16414]
6640 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6641 implementation.
6642 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6643
66442014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6645
6646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6647
4c327f2a
JM
66482014-01-08 Joseph Myers <joseph@codesourcery.com>
6649
6650 [BZ #16408]
6651 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6652 for large positive arguments.
6653
b821f414
JM
66542014-01-07 Joseph Myers <joseph@codesourcery.com>
6655
1f0f2067
JM
6656 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6657
a5a326f6
JM
6658 * math/auto-libm-test-in: Mark various tests with
6659 xfail-rounding:ldbl-128ibm.
6660 * math/auto-libm-test-out: Regenerated.
6661
b821f414
JM
6662 [BZ #16407]
6663 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6664 Increase overflow threshold.
6665
94c8a4bc
OB
66662014-01-07 Ondřej Bílka <neleai@seznam.cz>
6667
6668 [BZ #14286]
6669 * stdio-common/vfprintf.c: Check for integer overflow.
6670
87ded0c3
AK
66712014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6672
6673 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6674 the first argument and return value of __tls_get_addr_internal.
6675
c5eebdd0
AK
66762014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6677
6678 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6679 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6680
05d138ef
AK
66812014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6682
6683 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6684 * sysdeps/s390/rtld-global-offsets.sym: New file.
6685 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6686 GLIBC_2.19 symbol.
6687 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6688 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6689 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6690 ... this.
6691 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6692 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6693 ... this.
6694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6695 Regenerate.
6696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6697 Regenerate.
6698 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6699 halfs of GPRs for high_gprs contexts.
6700 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6701 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6702 field.
6703 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6704 uc_flags field.
6705 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6706 64 bit versions:
6707 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6708 for high GPRs (uc_high_gprs) and for future extensions
6709 (__reserved).
6710 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6711 for future extensions (__reserved).
6712 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6713 64 bit versions:
6714 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6715 SC_HIGHGPRS offset definition.
6716 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6717 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6718
93a45ff1
AK
6719 * Versions.def: Add GLIBC_2.19 for libpthread.
6720 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6721 siglongjmp for libpthread with GLIBC_2.19 symver.
6722 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6723 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6724 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6725 * sysdeps/s390/__longjmp.c: New file.
6726 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6727 * sysdeps/s390/longjmp.c: New file.
6728 * sysdeps/s390/setjmp.S: New file.
6729 * sysdeps/s390/sigjmp.S: New file.
6730 * sysdeps/s390/v1-longjmp.c: New file.
6731 * sysdeps/s390/v1-setjmp.h: New file.
6732 * sysdeps/s390/v1-sigjmp.c: New file.
6733 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6734 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6735 GLIBC_2.19 version.
6736 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6737 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6738 versioned symbols for ____longjmp_chk.
6739 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6740 Likewise.
6741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6742 Regenerate.
6743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6744 Regenerate.
6745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6746 Regenerate.
6747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6748 Regenerate.
6749 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6750 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6751 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6752 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6753 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6754 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6755 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6756 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6757 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6758 * sysdeps/s390/rtld-__longjmp.c: New file.
6759 * sysdeps/s390/rtld-setjmp.S: New file.
6760
eb3fc44b
JM
67612014-01-06 Joseph Myers <joseph@codesourcery.com>
6762
6763 [BZ #16400]
6764 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6765 Return -__logl (x) for small positive arguments without evaluating
6766 a polynomial.
6767
9341dde4
MF
67682014-01-06 Mike Frysinger <vapier@gentoo.org>
6769
6770 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6771 Rename to ...
6772 (__ptrace_peeksiginfo_args): ... this.
6773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6774 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6776
4cff0293
AM
67772014-01-06 Allan McRae <allan@archlinux.org>
6778
6779 * inet/netinet/in.h: Fix typo in comment.
6780
75595dcf
AJ
67812014-01-05 Andreas Jaeger <aj@suse.de>
6782
6783 * sysdeps/i386/fpu/libm-test-ulps: Update.
6784
79c1e109
AM
67852014-01-05 Allan McRae <allan@archlinux.org>
6786
dd804818
AM
6787 * po/libc.pot: Regenerated.
6788
79c1e109
AM
6789 * malloc/memusagestat.c: Fix gettext call formatting.
6790
0c813d1f
SK
67912014-01-04 Sami Kerola <kerolasa@iki.fi>
6792
6793 * nscd/nscd.c: Improve usage() output.
6794
20f4a8d9
MF
67952014-01-04 Mike Frysinger <vapier@gentoo.org>
6796
6797 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6798 * sysdeps/unix/sysv/linux/configure: Regenerated.
6799 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6800 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6801
22562bb2
JM
68022014-01-03 Joseph Myers <joseph@codesourcery.com>
6803
6804 [BZ #16390]
6805 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6806 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6807
d7ad2d9b
AZ
68082014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6809
6810 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6811 extra tokens at end of #undef directive.
6812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6813 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6814 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6815
7dd009d8
JM
68162014-01-03 Joseph Myers <joseph@codesourcery.com>
6817
24db925a
JM
6818 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6819
7dd009d8
JM
6820 * math/auto-libm-test-in: Mark various tests with
6821 xfail-rounding:ldbl-128ibm.
6822 * math/auto-libm-test-out: Regenerated.
6823
396e3ecf
JM
68242014-01-02 Joseph Myers <joseph@codesourcery.com>
6825
819e5d50
JM
6826 [BZ #16386]
6827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6828 numbers with subnormal high part when calculating exponent.
6829
90b6a1e5
JM
6830 [BZ #16385]
6831 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6832 fabs.
6833
396e3ecf
JM
6834 [BZ #16384]
6835 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6836 M_LN2l.
6837 (__ieee754_acoshl): Use __log1pl not __log1p.
6838
6c8dbf00
OB
68392013-01-02 Ondřej Bílka <neleai@seznam.cz>
6840
57f41c40
AS
6841 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6842 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6843 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6844 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6845 (reused_arena, arena_get2): Convert to GNU style.
6846 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6847 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6848 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6849 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6850 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6851 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6852 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6853 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6854 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6855 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6856 * malloc/malloc.h: Likewise.
57f41c40
AS
6857 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6858 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6859 * malloc/mcheck.h: Likewise.
57f41c40
AS
6860 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6861 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6862 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6863 * malloc/morecore.c (__default_morecore): Likewise.
6864 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6865 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6866 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6867 (print_and_abort): Likewise.
6c8dbf00
OB
6868 * malloc/obstack.h: Likewise.
6869 * malloc/set-freeres.c (__libc_freeres): Likewise.
6870 * malloc/tst-mallocstate.c (main): Likewise.
6871 * malloc/tst-mtrace.c (main): Likewise.
6872 * malloc/tst-realloc.c (do_test): Likewise.
6873
d4124212
SP
68742013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6875
9a3c6a6f
SP
6876 [BZ #16366]
6877 * nscd/netgroupcache.c (do_notfound): New function.
6878 (addgetnetgrentX): Use it.
6879
d4124212
SP
6880 [BZ # 16365]
6881 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6882 NSS_STATUS_NOTFOUND.
6883
97b9a009
JM
68842014-01-01 Joseph Myers <joseph@codesourcery.com>
6885
6886 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6888
d4697bc9
AM
68892014-01-01 Allan McRae <allan@archlinux.org>
6890
ddb3687f
AM
6891 * scripts/update-copyrights: Update configure input file suffix.
6892
88726d48
AM
6893 * NEWS: Update copyright year.
6894 * catgets/gencat.c: Likewise.
6895 * csu/version.c: Likewise.
6896 * debug/catchsegv.sh: Likewise.
6897 * debug/pcprofiledump.c: Likewise.
6898 * debug/xtrace.sh: Likewise.
6899 * elf/ldconfig.c: Likewise.
6900 * elf/ldd.bash.in: Likewise.
6901 * elf/pldd.c: Likewise.
6902 * elf/sotruss.ksh: Likewise.
6903 * elf/sprof.c: Likewise.
6904 * iconv/iconv_prog.c: Likewise.
6905 * iconv/iconvconfig.c: Likewise.
6906 * locale/programs/locale.c: Likewise.
6907 * locale/programs/localedef.c: Likewise.
6908 * login/programs/pt_chown.c: Likewise.
6909 * malloc/memusage.sh: Likewise.
6910 * malloc/memusagestat.c: Likewise.
6911 * malloc/mtrace.pl: Likewise.
6912 * manual/libc.texinfo: Likewise.
6913 * nscd/nscd.c: Likewise.
6914 * nss/getent.c: Likewise.
6915 * nss/makedb.c: Likewise.
6916 * posix/getconf.c: Likewise.
6917 * scripts/test-installation.pl: Likewise.
6918
d4697bc9
AM
6919 * All files with FSF copyright notices: Update copyright dates
6920 using scripts/update-copyrights.
6921 * intl/plural.c: Regenerated.
6922 * locale/programs/charmap-kw.h: Likewise.
6923 * locale/programs/locfile-kw.h: Likewise.
6924
c8590f9d
MF
69252013-12-31 Mike Frysinger <vapier@gentoo.org>
6926
6927 * sysdeps/unix/sysv/linux/configure: Regenerated.
6928 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6929 the linux/fanotify.h header.
6930 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6931 HAVE_LINUX_FANOTIFY_H is defined.
6932
b19221b9
SP
69332013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6934
dd1d85e5
SP
6935 * benchtests/cos-inputs: New inputs.
6936 * benchtests/sin-inputs: Likewise.
6937
1acbb90f
SP
6938 * benchtests/atan-inputs: New inputs. Fix name of multiple
6939 precision fallback inputs.
6940
4c012ed3
SP
6941 * benchtests/atanh-inputs: New inputs.
6942 * benchtests/tanh-inputs: Likewise.
6943
eff98324
SP
6944 * benchtests/acosh-inputs: New inputs.
6945 * benchtests/asinh-inputs: Likewise.
6946
ce641152
SP
6947 * benchtests/cosh-inputs: New inputs.
6948 * benchtests/sinh-inputs: Likewise.
6949
b19221b9
SP
6950 * benchtests/acos-inputs: Add more inputs.
6951 * benchtests/asin-inputs: Likewise.
6952
030a4976 69532013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6954
030a4976 6955 [BZ #16375]
9dcc8f11
VS
6956 * manual/arith.texi: Fix spelling.
6957 * manual/charset.texi: Likewise.
6958 * manual/errno.texi: Likewise.
6959 * manual/filesys.texi: Likewise.
6960 * manual/lang.texi: Likewise.
6961 * manual/llio.texi: Likewise.
6962 * manual/locale.texi: Likewise.
6963 * manual/message.texi: Likewise.
6964 * manual/resource.texi: Likewise.
6965 * manual/search.texi: Likewise.
6966 * manual/setjmp.texi: Likewise.
6967 * manual/stdio.texi: Likewise.
6968 * manual/string.texi: Likewise.
6969 * manual/sysinfo.texi: Likewise.
6970 * manual/time.texi: Likewise.
6971
11520a57
CD
69722013-12-27 Carlos O'Donell <carlos@redhat.com>
6973
6974 * po/sl.po: New file.
6975
471103ae
MF
69762013-12-27 Mike Frysinger <vapier@gentoo.org>
6977
6978 * .gitignore: Add core/.gdbinit/.gdb_history.
6979
6c9642ed
AM
69802013-12-27 Allan McRae <allan@archlinux.org>
6981
6982 [BZ #16369]
6983 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6984 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6985
3f637079
BM
69862013-12-24 Brooks Moses <bmoses@google.com>
6987
6988 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6989 all compilers that claim C++98 compliance, not just GCC.
6990 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6991 Likewise.
6992
abc26e99
MK
69932013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6994
6995 * NEWS: Restore accidentally deleted bug-fix entries.
6996
362b47fe
MK
69972013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6998 Ondřej Bílka <neleai@seznam.cz>
6999
7000 [BZ #15073]
7001 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7002 have_lock.
362b47fe 7003
b9bcbbcb
OB
70042013-12-23 Ondřej Bílka <neleai@seznam.cz>
7005
7006 [BZ #12986]
7007 * manual/stdio.texi (String Input Conversions): Clarify that character
7008 classes are not supported.
7009
fb55fcd2
AZ
70102013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7011
7012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7013
ef7344f0
JM
70142013-12-22 Joseph Myers <joseph@codesourcery.com>
7015
4f40e4b3
JM
7016 [BZ #16337]
7017 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7018 Calculate results for small negative arguments directly rather
7019 than using reflection formula with special underflow handling.
7020
ef7344f0
JM
7021 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7022 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7023 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7024 (fchflags): Likewise.
7025 (revoke): Likewise.
7026 (setlogin): Likewise.
7027 (sigaltstack): Likewise.
7028 (wait4): Likewise.
7029 (sigblock): Remove.
7030 (sigsetmask): Likewise.
7031 (wait3): Likewise.
7032 (waitpid): Likewise.
7033 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7034 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7035 file.
7036 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7037 * sysdeps/unix/bsd/Makefile: ... here.
7038 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7039 * sysdeps/unix/bsd/Versions: ... here.
7040 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7041 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7042 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7043 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7044 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7045 * sysdeps/unix/bsd/sigblock.c: ... here.
7046 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7047 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7048 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7049 * sysdeps/unix/bsd/sigvec.c: ... here.
7050 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7051 * sysdeps/unix/bsd/tcdrain.c: ... here.
7052 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7053 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7054 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7055 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7056 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7057 * sysdeps/unix/bsd/wait.c: ... here.
7058 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7059 * sysdeps/unix/bsd/wait3.c: ... here.
7060 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7061 * sysdeps/unix/bsd/waitpid.c: ... here.
7062
5b0626b9
JM
70632013-12-21 Joseph Myers <joseph@codesourcery.com>
7064
7065 [BZ #16356]
7066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7067 round-to-nearest for [!USE_AS_EXPM1L].
7068 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7069 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7070 more tests of exp and exp10. Expect some exp10 tests to miss
7071 exceptions or fail in directed rounding modes.
7072 * math/auto-libm-test-out: Regenerated.
7073 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7074 (exp10_test_tonearest): New function.
7075 (exp10_towardzero_test_data): New array.
7076 (exp10_test_towardzero): New function.
7077 (exp10_downward_test_data): New array.
7078 (exp10_test_downward): New function.
7079 (exp10_upward_test_data): New array.
7080 (exp10_test_upward): New function.
7081 (main): Call the new functions.
7082 * sysdeps/i386/fpu/libm-test-ulps: Update.
7083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7084
7fda5682
JM
70852013-12-20 Joseph Myers <joseph@codesourcery.com>
7086
31e3a405
JM
7087 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7088 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7089 * math/auto-libm-test-out: Regenerated.
7090 * math/libm-test.inc (acosh_test_data): Add more tests.
7091 (atanh_test_data): Likewise.
7092 (ceil_test_data): Likewise.
7093 (copysign_test_data): Likewise.
7094 * sysdeps/i386/fpu/libm-test-ulps: Update.
7095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7096
85bff96a
JM
7097 * timezone/checktab.awk: Update from tzcode 2013i.
7098 * timezone/private.h: Likewise.
7099 * timezone/scheck.c: Likewise.
7100 * timezone/tzfile.h: Likewise.
7101 * timezone/tzselect.ksh: Likewise.
7102 * timezone/zdump.c: Likewise.
7103 * timezone/zic.c: Likewise.
7104
b7867a3b
JM
7105 * math/auto-libm-test-in: Add tests of cpow.
7106 * math/auto-libm-test-out: Regenerated.
7107 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7108 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7109 mpc_cc_c.
7110 (func_calc_desc): Add mpc_cc_c union field.
7111 (test_functions): Add cpow.
7112 (special_fill_2pi): New function.
7113 (special_real_inputs): Add 2pi.
7114 (calc_generic_results): Handle mpc_cc_c.
7115 * sysdeps/i386/fpu/libm-test-ulps: Update.
7116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7117
7fda5682
JM
7118 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7119 csqrt, ctan and ctanh.
7120 * math/auto-libm-test-out: Regenerated.
7121 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7122 (TEST_COND_x86): Likewise.
7123 (ccos_test_data): Use AUTO_TESTS_c_c.
7124 (ccosh_test_data): Likewise.
7125 (cexp_test_data): Likewise.
7126 (clog_test_data): Likewise.
7127 (csqrt_test_data): Likewise.
7128 (ctan_test_data): Likewise.
7129 (ctan_tonearest_test_data): Likewise.
7130 (ctan_towardzero_test_data): Likewise.
7131 (ctan_downward_test_data): Likewise.
7132 (ctan_upward_test_data): Likewise.
7133 (ctanh_test_data): Likewise.
7134 (ctanh_tonearest_test_data): Likewise.
7135 (ctanh_towardzero_test_data): Likewise.
7136 (ctanh_downward_test_data): Likewise.
7137 (ctanh_upward_test_data): Likewise.
7138 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7139 mpc_c_c.
7140 (func_calc_desc): Add mpc_c_c union field.
7141 (FUNC_mpc_c_c): New macro.
7142 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7143 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7144 ctanh.
7145 (special_fill_min_subnorm_p120): New function.
7146 (special_real_inputs): Add min_subnorm_p120.
7147 (calc_generic_results): Handle mpc_c_c.
7148 * sysdeps/i386/fpu/libm-test-ulps: Update.
7149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7150
5ff8d60e
SP
71512013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7152
57f41c40
AS
7153 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7154 (do_sin_slow): New functions.
7155 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7156 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7157
84ba214c
SP
7158 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7159 Use M to change sign of result instead of X. Assume X is
7160 positive.
7161 (csloww1): Likewise.
7162 (__sin): Adjust.
7163 (__cos): Adjust.
7164
975195e4
SP
7165 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7166 arguments A and DA.
7167 (__sin): Adjust.
7168 (__cos): Likewise.
7169
5ff8d60e
SP
7170 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7171 (__cos): Likewise.
7172 (sloww1): Don't adjust sign of DX.
7173 (csloww1): Likewise.
7174 (sloww2): Use X directly and don't adjust sign of DX.
7175 (csloww2): Likewise.
7176
eb983568
JM
71772013-12-19 Joseph Myers <joseph@codesourcery.com>
7178
64a17f1a
JM
7179 * math/auto-libm-test-in: Add tests of cabs and carg.
7180 * math/auto-libm-test-out: Regenerated.
7181 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7182 (carg_test_data): Likewise.
7183 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7184 mpc_c_f.
7185 (func_calc_desc): Add mpc_c_f union field.
7186 (test_functions): Add cabs and carg.
7187 (calc_generic_results): Handle mpc_c_f.
7188
eb983568
JM
7189 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7190 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7191 as a macro and a compat symbol.
7192 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7193 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7194 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7195 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7196 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7197 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7198 not use .hidden.
7199 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7200 Likewise.
7201 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7202 Likewise.
7203 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7204 Likewise.
7205 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7206 Likewise.
7207 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7208 Likewise.
7209 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7210 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7211 from GLIBC_2.3.2.
7212
6eeb678a
AZ
72132013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7214
7215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7216
6f6fc482
JM
72172013-12-19 Joseph Myers <joseph@codesourcery.com>
7218
21fea2e2
JM
7219 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7220 trailing whitespace removed.
7221 * scripts/config.guess: Update to version 2013-11-29.
7222 * scripts/config.sub: Update to version 2013-10-01.
7223
6f6fc482
JM
7224 * math/auto-libm-test-in: Add tests of sincos.
7225 * math/auto-libm-test-out: Regenerated.
7226 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7227 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7228 mpfr_f_11.
7229 (func_calc_desc): Add mpfr_f_11 union field.
7230 (test_functions): Add sincos.
7231 (calc_generic_results): Handle mpfr_f_11.
7232 * sysdeps/i386/fpu/libm-test-ulps: Update.
7233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7234
83f5c32d
AS
72352013-12-19 Andreas Schwab <schwab@suse.de>
7236
7237 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7238 CALL_MCOUNT.
7239 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7240 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7241 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7242
c688b419
JM
72432013-12-19 Joseph Myers <joseph@codesourcery.com>
7244
335ee092
JM
7245 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7246 * sysdeps/i386/fpu/libm-test-ulps: Update.
7247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7248
f88acd39
JM
7249 [BZ #16293]
7250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7251 round-to-nearest mode when using frndint.
7252 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7253 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7254 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7255 Likewise.
7256 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7257 sinh test to fail.
7258 * math/auto-libm-test-out: Regenerated.
7259 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7260 (TEST_COND_x86): Likewise.
7261 (expm1_tonearest_test_data): New array.
7262 (expm1_test_tonearest): New function.
7263 (expm1_towardzero_test_data): New array.
7264 (expm1_test_towardzero): New function.
7265 (expm1_downward_test_data): New array.
7266 (expm1_test_downward): New function.
7267 (expm1_upward_test_data): New array.
7268 (expm1_test_upward): New function.
7269 (main): Run the new test functions.
7270 * sysdeps/i386/fpu/libm-test-ulps: Update.
7271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7272
c688b419
JM
7273 * include/features.h: Update comment documenting feature test
7274 macros. Mention _DEFAULT_SOURCE in comment.
7275 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7276 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7277 _BSD_SOURCE and _SVID_SOURCE.
7278 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7279 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7280 !_SVID_SOURCE]: Likewise.
7281 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7282 (__USE_POSIX_IMPLICITLY): Define.
7283 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7284 (_POSIX_SOURCE): Undefine and redefine.
7285 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7286 (_POSIX_C_SOURCE): Likewise.
7287 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7288 (Feature Test Macros): Update documentation of default features.
7289
9f6e964c
RS
72902013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7291
7292 * benchtests/Makefile: Add bench-strtok.
7293 * benchtests/bench-strtok.c: New file: strtok benchtest.
7294
ee0a148a
AM
72952013-12-19 Allan McRae <allan@archlinux.org>
7296
7297 * manual/install.texi: Suppress menu for plain text output.
7298 * INSTALL: Regenerated.
7299
b9ab448f
BM
73002013-12-18 Brooks Moses <bmoses@google.com>
7301
7302 [BZ #15846]
7303 * misc/getauxval.c: Include errno.h.
7304 (__getauxval): Set errno to ENOENT if the requested type is not
7305 found.
7306 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7307 don't declare with __attribute_const__.
7308 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7309 * manual/startup.texi: Document that getauxval sets errno.
7310
23776487
JM
73112013-12-18 Joseph Myers <joseph@codesourcery.com>
7312
f889953b
JM
7313 * math/auto-libm-test-in: Add tests of jn and yn.
7314 * math/auto-libm-test-out: Regenerated.
7315 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7316 (yn_test_data): Likewise.
7317 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7318 mpfr_if_f.
7319 (func_calc_desc): Add mpfr_if_f union field.
7320 (FUNC_mpfr_if_f): New macro.
7321 (test_functions): Add jn and yn.
7322 (calc_generic_results): Assert type of second input for
7323 mpfr_ff_f. Handle mpfr_if_f.
7324 (output_for_one_input_case): Disable all checking for arguments
7325 fitting floating-point types in case of an integer argument.
7326 * sysdeps/i386/fpu/libm-test-ulps: Update.
7327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7328
23776487
JM
7329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7330 Don't expect fegetround reference in libm.so.
7331
cb756c6d
MS
73322013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7333
7334 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7335 $(config-cflags-nofma).
7336
2dec468f
JM
73372013-12-18 Joseph Myers <joseph@codesourcery.com>
7338
5953eb3a
JM
7339 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7340 * math/auto-libm-test-out: Regenerated.
7341
2dec468f
JM
7342 [BZ #16338]
7343 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7344 to determine exponent and adjust argument to have exponent of -1.
7345 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7346 log2.
7347 * math/auto-libm-test-out: Regenerated.
7348 * sysdeps/i386/fpu/libm-test-ulps: Update.
7349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7350
4d84e6ad
OB
73512013-12-18 Ondřej Bílka <neleai@seznam.cz>
7352
7353 * manual/probes.texi: Remove cases when per-thread arenas are
7354 disabled.
7355
1818483b
AS
73562013-12-18 Andreas Schwab <schwab@suse.de>
7357
7358 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7359 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7360 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7361 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7362 * sysdeps/i386/i686/multiarch/Makefile: Update.
7363 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7364
25de95bf
JM
73652013-12-17 Joseph Myers <joseph@codesourcery.com>
7366
7367 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7368 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7369
674762d9
PE
73702013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7371
ed27ed83 7372 [BZ #15968]
0748546f
PE
7373 Support TZ transition times < 00:00:00.
7374 This is needed for version-3 tz-format files; it supports time
7375 stamps past 2037 for America/Godthab (the only entry in the tz
7376 database for which this change is relevant).
7377 * manual/time.texi (TZ Variable): Document transition times
7378 from -167:59:59 through -00:00:01.
7379 * time/tzset.c (tz_rule): Time of day is now signed.
7380 (__tzset_parse_tz): Parse negative time of day.
7381
4480e934
PE
7382 Document TZ transition times >= 25:00:00.
7383 * manual/time.texi (TZ Variable): Document transition times from
7384 25:00:00 through 167:59:59. These are already supported, and this
7385 support will help with version-3 tz-format files.
7386
69947401
PE
7387 * manual/time.texi (TZ Variable): Modernize North America example
7388 to reflect current (i.e., 2007-and-later) daylight saving rules.
7389
674762d9
PE
7390 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7391
7011c262
JM
73922013-12-17 Joseph Myers <joseph@codesourcery.com>
7393
2fc6557e
JM
7394 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7395 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7398 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7399 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7400 * sysdeps/unix/bsd/clock.c: Likewise.
7401 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7402 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7403 * sysdeps/unix/bsd/init-posix.c: Likewise.
7404 * sysdeps/unix/bsd/poll.c: Likewise.
7405 * sysdeps/unix/bsd/ptsname.c: Likewise.
7406 * sysdeps/unix/bsd/seekdir.c: Likewise.
7407 * sysdeps/unix/bsd/setegid.c: Likewise.
7408 * sysdeps/unix/bsd/seteuid.c: Likewise.
7409 * sysdeps/unix/bsd/setgid.c: Likewise.
7410 * sysdeps/unix/bsd/setrgid.c: Likewise.
7411 * sysdeps/unix/bsd/setruid.c: Likewise.
7412 * sysdeps/unix/bsd/setsid.c: Likewise.
7413 * sysdeps/unix/bsd/setuid.c: Likewise.
7414 * sysdeps/unix/bsd/sigaction.c: Likewise.
7415 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7416 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7417 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7418 * sysdeps/unix/bsd/telldir.c: Likewise.
7419 * sysdeps/unix/bsd/times.c: Likewise.
7420 * sysdeps/unix/bsd/usleep.c: Likewise.
7421
029c7b25
JM
7422 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7423 ($(objpfx)libbsd-compat.a): Remove rule.
7424
7011c262
JM
7425 * include/features.h (__FAVOR_BSD): Do not define.
7426 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7427 features conflicting with POSIX.
7428 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7429 (_BSD_SOURCE): Remove description of not being a subset of other
7430 feature test macros.
7431 * manual/job.texi (getpgrp): Do not document BSD version.
7432 (getpgid): Do not document by reference to BSD getpgrp.
7433 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7434 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7435 * signal/signal.h [__FAVOR_BSD]: Likewise.
7436 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7437 instead of making contents conditional on [__FAVOR_BSD].
7438 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7439
affb6f78
AZ
74402013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7441
7442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7443
c88769dd
JM
74442013-12-17 Joseph Myers <joseph@codesourcery.com>
7445
6432a540
JM
7446 [BZ #16314]
7447 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7448 values below 2**-450, not 2**-500.
7449 * math/auto-libm-test-in: Don't allow spurious underflow from
7450 hypot.
7451 * math/auto-libm-test-out: Regenerated.
7452
c88769dd
JM
7453 [BZ #16316]
7454 [BZ #16330]
7455 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7456 values of ha and hb and sort them after adjusting subnormal
7457 arguments.
7458 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7459 Likewise.
7460 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7461 values of ea and eb and sort them after adjusting subnormal
7462 arguments.
7463 * math/auto-libm-test-in: Do not expect some hypot tests of
7464 subnormals to fail. Add more hypot tests.
7465 * math/auto-libm-test-out: Regenerated.
7466
29618f6b
KK
74672013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7468
7469 [BZ #13304]
7470 * sysdeps/sh/s_fma.c: New file.
7471 * sysdeps/sh/s_fmaf.c: New file.
7472 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7473 version.
7474 * sysdeps/sh/Implies: Add sh/soft-fp.
7475
eacfdfbf
RM
74762013-12-16 Roland McGrath <roland@hack.frob.com>
7477
7478 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7479 level of indirection to members `objname', `errstring', `malloced'.
7480 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7481 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7482 it as the __longjmp argument (just pass 1 instead).
7483 (_dl_catch_error): Initialize C with argument pointers and address of
7484 volatile local ERRCODE rather than copying values out of C at return.
7485
ff362e5b
JM
74862013-12-16 Joseph Myers <joseph@codesourcery.com>
7487
7488 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7489 * math/auto-libm-test-out: Regenerated.
7490 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7491 (hypot_test_data): Likewise.
7492 (pow_test_data): Likewise.
7493 (pow_tonearest_test_data): Likewise.
7494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7495 mpfr_ff_f.
7496 (func_calc_desc): Add mpfr_ff_f union field.
7497 (FUNC_mpfr_ff_f): New macro.
7498 (test_functions): Add atan2, hypot and pow.
7499 (special_fill_min): New function.
7500 (special_fill_minus_min): Likewise.
7501 (special_fill_min_subnorm): Likewise.
7502 (special_fill_minus_min_subnorm): Likewise.
7503 (special_real_inputs): Add min, -min, min_subnorm and
7504 -min_subnorm.
7505 (calc_generic_results): Handle mpfr_ff_f.
7506 * sysdeps/i386/fpu/libm-test-ulps: Update.
7507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7508
5764c27f
WN
75092013-12-16 Will Newton <will.newton@linaro.org>
7510
7511 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7512 (Aligned Memory Blocks): Add documentation for aligned_alloc
7513 and suggest it as an alternative to posix_memalign.
7514 (Hooks for Malloc): Document __memalign_hook is also called
7515 for aligned_alloc. (Summary of Malloc): Add summary for
7516 aligned alloc. Document __memalign_hook is also called
7517 for aligned_alloc.
7518
0a096e44
WN
75192013-12-16 Will Newton <will.newton@linaro.org>
7520
7521 * manual/memory.texi (Malloc Examples): Clarify default
7522 alignment documentation. Suggest posix_memalign rather
7523 than memalign or valloc.
7524 (Aligned Memory Blocks): Remove suggestion to use memalign
7525 or valloc. Remove obsolete comment about BSD.
7526 Document memalign errno values and mark the function obsolete.
7527 Document posix_memalign returned error codes. Mark valloc
7528 as obsolete. (Hooks for Malloc): __memalign_hook is also
7529 called for posix_memalign and valloc.
7530 (Summary of Malloc): Add posix_memalign to function summary.
7531 __memalign_hook is also called for posix_memalign and valloc.
7532
8d561986
SP
75332013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7534
7535 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7536 TAYLOR_SIN.
7537 (__sin): Adjust.
7538 (__cos): Likewise.
7539 (sloww): Use mynumber union. Expand ternary operator into
7540 if-else statements.
7541 (cslow): use mynumber union.
7542
73616a74
AM
75432013-12-16 Allan McRae <allan@archlinux.org>
7544
9e8ac24b
AM
7545 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7546 * configure: Regenerated.
7547
6f8e37eb
AM
7548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7549
8894bad3
AM
7550 [BZ #14120]
7551 * configure.ac: Added --enable-maintainer-mode. Check for
7552 autoconf when enabled.
7553 * configure: Regenerated.
7554
73616a74
AM
7555 * nscd/nscd.service: New file.
7556 * nscd/nscd.tmpfiles: New file.
7557
584b18eb
OB
75582013-12-14 Ondřej Bílka <neleai@seznam.cz>
7559
7560 [BZ #12100]
7561 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7562 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7563 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7564 (strstr): Add __strstr_sse2_unaligned ifunc.
7565 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7566 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7567 (strcasestr): Remove __strcasestr_sse42 ifunc.
7568 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7571
8a5c7897
KK
75722013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7573
7574 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7575 * sysdeps/sh/bits/fenv.h: ... here.
7576 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7577
fd712ef3
AZ
75782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7579
7580 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7581
42fcb46c
AZ
7582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7583 hypotf multiarch implementations.
7584 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7585 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7586 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7587 multiarch hypot for PPC64.
7588 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7589 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7590 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7591 multiarch hypotf for PPC64.
7592
83efded4
AZ
7593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7594 modff multiarch implementations.
7595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7598 multiarch modf for PPC64.
7599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7602 multiarch modff for PPC64.
7603
43e246d2
AZ
7604 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7605 and logl multiarch implementations.
7606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7609 multiarch logb for PPC64.
7610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7613 multiarch logb for PPC64.
7614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7617 multiarch logb for PPC64.
7618
8fdad123
AZ
7619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7620 isinff multiarch implementation.
7621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7622 file.
7623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7625 multiarch isinf for PPC64.
7626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7627 file.
7628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7629 multiarch isinff for PPC64.
7630
1481d706
AZ
7631 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7632 finitef multiarch implementation.
7633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7634 file.
7635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7637 multiarch finite for PPC64.
7638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7639 file.
7640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7641 multiarch finitef for PPC64.
7642
5ccd5fc8
AZ
7643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7644 lrint multiarch implementation.
7645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7646 file.
7647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7649 multiarch llrint for PPC64.
7650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7651 multiarch lrint for PPC64.
7652
2568f3fa
AZ
7653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7654 copysignf multiarch implementation.
7655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7656 file.
7657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7658 file.
7659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7660 multiarch copysign for PPC64.
7661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7662 multiarch copysignf for PPC64.
7663
1cb341fd
AZ
7664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7665 multiarch implementation.
7666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7667 file.
7668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7669 file.
7670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7671 file.
7672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7673 file.
7674 multiarch llround for PPC64.
7675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7676 multiarch trunc for PPC64.
7677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7678 multiarch truncf for PPC64.
7679
59a3e194
AZ
7680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7681 multiarch implementation.
7682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7683 file.
7684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7685 file.
7686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7687 file.
7688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7689 file.
7690 multiarch llround for PPC64.
7691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7692 multiarch round for PPC64.
7693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7694 multiarch roundf for PPC64.
7695
357fd3b4
AZ
7696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7697 multiarch implementation.
7698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7699 file.
7700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7701 file.
7702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7703 file.
7704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7705 file.
7706 multiarch llround for PPC64.
7707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7708 multiarch floor for PPC64.
7709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7710 multiarch floorf for PPC64.
7711
96770f12
AZ
7712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7713 multiarch implementation.
7714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7715 file.
7716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7717 file.
7718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7719 file.
7720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7721 file.
7722 multiarch llround for PPC64.
7723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7724 multiarch ceil for PPC64.
7725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7726 multiarch ceilf for PPC64.
7727
c3627f6e
AZ
7728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7729 multiarch implementation.
7730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7731 file.
7732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7733 file.
7734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7735 file.
7736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7737 multiarch llround for PPC64.
7738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7739 multiarch lround for PPC64.
7740
b2284ad7
AZ
7741 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7742 multiarch implementation.
7743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7746 file.
7747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7750 multiarch isnan for PPC64.
7751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7752 multiarch isnanf for PPC64.
7753
69bbc63d
AZ
7754 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7755 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7756 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7757 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7758 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7760
c24517c9
AZ
7761 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7762 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7763 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7765
a52374e8
AZ
7766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7767 multiarch implementations.
7768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7769 (__libc_ifunc_impl_list): Likewise.
7770 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7771 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7772 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7773 multiarch stpcpy for PPC64.
7774
7f5ec113
AZ
7775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7776 multiarch implementations.
7777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7778 (__libc_ifunc_impl_list): Likewise.
7779 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7780 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7781 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7782 multiarch strcpy for PPC64.
7783
e28bcd42
AZ
7784 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7785 redefine function name.
7786 (_wordcopy_fwd_dest_aligned): Likewise.
7787 (_wordcopy_bwd_aligned): Likewise.
7788 (_wordcopy_bwd_dest_aligned): Likewise.
7789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7790 multiarch implementations.
7791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7792 (__libc_ifunc_impl_list): Likewise.
7793 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7794 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7795 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7796 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7797 multiarch wcscpy for PPC64.
7798
92cacfce
AZ
7799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7800 multiarch implementations.
7801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7802 (__libc_ifunc_impl_list): Likewise.
7803 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7804 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7805 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7806 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7807 multiarch wcscpy for PPC64.
7808
7b714620
AZ
7809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7810 multiarch implementations.
7811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7812 (__libc_ifunc_impl_list): Likewise.
7813 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7814 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7815 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7816 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7817 multiarch wcsrchr for PPC64.
7818
16fd2ae3
AZ
7819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7820 multiarch implementations.
7821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7822 (__libc_ifunc_impl_list): Likewise.
7823 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7824 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7825 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7826 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7827 multiarch wcschr for PPC64.
7828
9ee2969b
AZ
7829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7830 multiarch implementations.
7831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7832 (__libc_ifunc_impl_list): Likewise.
7833 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7834 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7835 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7836 multiarch strchrnul for PPC64.
7837
372dc060
AZ
7838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7839 implementations.
7840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7841 (__libc_ifunc_impl_list): Likewise.
7842 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7843 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7844 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7845 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7846 strchr for PPC64.
7847
24c2c3b9
AZ
7848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7849 implementations.
7850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7851 (__libc_ifunc_impl_list): Likewise.
7852 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7853 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7854 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7855 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7856 strncmp for PPC64.
7857
1c92d9a0
AZ
7858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7859 multiarch implementations.
7860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7861 (__libc_ifunc_impl_list): Likewise.
7862 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7863 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7864 strncasecmp for PPC64.
7865 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7866 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7867 multiarch strncasecmp_l for PPC64.
7868
17de3ee3
AZ
7869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7870 multiarch implementations.
7871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7872 (__libc_ifunc_impl_list): Likewise.
7873 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7874 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7875 multiarch strcasecmp for PPC64.
7876 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7877 file.
7878 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7879 multiarch strcasecmp_l for PPC64.
7880
62982bf9
AZ
7881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7882 implementations.
7883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7884 (__libc_ifunc_impl_list): Likewise.
7885 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7886 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7887 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7888 strnlen for PPC64.
7889
a65f4904
AZ
7890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7891 implementations.
7892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7893 (__libc_ifunc_impl_list): Likewise.
7894 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7895 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7896 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7897 strlen for PPC64.
7898
1fd005ad
AZ
7899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7900 implementations.
7901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7902 (__libc_ifunc_impl_list): Likewise.
7903 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7904 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7905 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7906 rawmemrchr for PPC64.
7907
cd05ba91
AZ
7908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7909 implementation.
7910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7911 (__libc_ifunc_impl_list): Likewise.
7912 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7913 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7914 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7915 memrchr for PPC64.
7916
870f8676
AZ
7917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7918 implementation.
7919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7920 (__libc_ifunc_impl_list): Likewise.
7921 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7922 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7923 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7924 memchr for PPC64.
7925
f00be62b
AZ
7926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7927 implementation.
7928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7929 (__libc_ifunc_impl_list): Likewise.
7930 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7931 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7932 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7933 mempcpy for PPC64.
7934
8a29a3d0
AZ
7935 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7936 avoid cretion of __bzero symbol.
7937 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7938 Likewise.
7939 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7940 Likewise.
7941 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7942 Likewise.
7943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7944 multiarch implementations.
7945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7946 (__libc_ifunc_impl_list): Likewise.
7947 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7948 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7949 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7950 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7951 bzero for PPC32.
7952 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7953 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7954 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7955 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7956 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7957 memset for PPC64.
7958 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7959
07253fcf
AZ
7960 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7962 implementations.
7963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7964 (__libc_ifunc_impl_list): Likewise.
7965 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7966 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7967 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7968 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7969 memcmp for PPC64.
7970
b5beafbc
AZ
7971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7972 multiarch for POWER/PPC64.
7973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7974 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7975 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7976 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7977 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7978 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7979 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7981 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7982 memcpy for PPC64.
7983
5e6a4d4b
AZ
7984 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7985 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7986 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7987 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7988 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7989 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7990 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7991 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7992 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7993 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7994 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7995 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7996 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7997 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7998 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8006
ddfab6dc
KK
80072013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8008
8009 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8010
19b5525e
SP
80112013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8012
8013 * benchtests/Makefile (bench): Add exp2 and log2.
8014 (LDLIBS-bench-exp2): Add -lm.
8015 (LDLIBS-bench-log2): Likewise.
8016 * benchtests/exp2-inputs: New inputs file.
8017 * benchtests/log2-inputs: New inputs file.
8018 * benchtests/log-inputs: Add new inputs.
8019 * benchtests/tan-inputs: Likewise.
8020
196f7f5d
SP
80212013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8022
7a74607f
SP
8023 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8024 definition...
57f41c40
AS
8025 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8026 (csloww2): ... from here.
7a74607f 8027
196f7f5d
SP
8028 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8029 instead of structures.
8030 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8031 (POLYNOMIAL): Likewise.
8032 (TAYLOR_SLOW): Likewise.
8033 (__sin): Likewise.
8034 (__cos): Likewise.
8035 (slow1): Likewise.
8036 (slow2): Likewise.
8037 (sloww): Likewise.
8038 (sloww1); Likewise.
8039 (sloww2): Likewise.
8040 (bsloww1): Likewise.
8041 (bsloww2): Likewise.
8042 (cslow2): Likewise.
8043 (csloww): Likewise.
8044 (csloww1): Likewise.
8045 (csloww2): Likewise.
8046
0dfa665c
OB
80472013-12-10 Ondřej Bílka <neleai@seznam.cz>
8048
8049 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8050 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8051 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8052 * malloc/hooks.c (realloc_check): Likewise.
8053
5782a80f
OB
8054 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8055 * malloc/arena.c: Remove PER_THREAD conditional.
8056 [!PER_THREAD]: Remove code.
8057 (ptmalloc_unlock_all2): Likewise.
8058 (ptmalloc_init): Likewise.
8059 (_int_new_arena): Likewise.
8060 (arena_get2): Likewise.
8061 * malloc/hooks.c (__malloc_get_state): Likewise.
8062 (__malloc_set_state): Likewise.
8063 * malloc/malloc.c: Likewise.
8064 (struct malloc_state): Likewise.
8065 (struct malloc_par): Likewise.
8066 (__libc_realloc): Likewise.
8067 (__libc_mallopt): Likewise.
8068
aeb95445
AZ
80692013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8070
8071 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8072
e8349efd
OB
80732013-12-09 Ondřej Bílka <neleai@seznam.cz>
8074
8075 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8076 macro to a function. Check for zero perturb_byte.
8077 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8078
f3eeb3fc 8079 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8080 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8081 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8082 force_reg by atomic_forced_read.
8083 * malloc/arena.c (ptmalloc_init): Likewise.
8084 * malloc/hooks.c (top_check): Likewise.
8085
be2f9009
AZ
80862013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8087
8088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8089
e7b914bd
MT
80902013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8091
8092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8093
9f0be4f8
JM
80942013-12-08 Joseph Myers <joseph@codesourcery.com>
8095
8096 * math/auto-libm-test-in: Add tests of lgamma.
8097 * math/auto-libm-test-out: Regenerated.
8098 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8099 (M_LOG_2_SQRT_PIl): Likewise.
8100 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8101 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8102 mpfr_f_f1.
8103 (func_calc_desc): Add mpfr_f_f1 union field.
8104 (ARGS1): New macro.
8105 (ARGS2): Likewise.
8106 (ARGS3): Likewise.
8107 (ARGS4): Likewise.
8108 (RET1): Likewise.
8109 (RET2): Likewise.
8110 (CALC): Likewise.
8111 (FUNC): Likewise.
8112 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8113 (test_functions): Add lgamma.
8114 (calc_generic_results): Handle mpfr_f_f1.
8115 * sysdeps/i386/fpu/libm-test-ulps: Update.
8116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8117
24eeafdb
AZ
81182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8119
8120 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8121 __mpn_add_n for PowerPC64/POWER7.
8122 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8123 __mpn_sub_n for PowerPC64/POWER7.
8124
4a2c0fd4
AZ
8125 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8126 __mpn_addmul_1 for PowerPC64.
8127 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8128 __mpn_submul_1 for PowerPC64.
8129 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8130 for PowerPC64.
8131 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8132 for PowerPC64.
8133
4b5b548c
FS
81342013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8135
8136 [BZ #15089]
8137 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8138
0a3ac0aa
AZ
81392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8140
8141 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8142
ccdc8438
AZ
8143 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8144 add multiarch folders.
8145 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8146 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8147 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8148 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8149 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8150 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8151 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8152 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8153 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8154 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8155 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8162
2e973d99
AZ
8163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8164 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8166 New file.
8167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8168 New file.
8169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8170 multiarch __ieee754_hypot for PowerPC32.
8171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8172 New file.
8173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8174 New file.
8175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8176 multiarch __ieee754_hypotf for PowerPC32.
8177
2d9470b2
AZ
8178 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8179 long_double_symbol only if __logbl is defined.
8180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8181 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8182 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8183 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8184 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8185 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8186 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8187 path for implementation.
8188 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8189 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8191 logb, and logbl multiarch implementations for PowerPC32.
8192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8193 file.
8194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8195 file.
8196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8197 multiarch logb for PowerPC32.
8198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8199 file.
8200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8201 file.
8202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8203 multiarch logbf for PowerPC32.
8204 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8206 file.
8207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8208 multiarch logbl implementation for PowerPC32.
8209
5212ffce
AZ
8210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8211 and modff multiarch implementations.
8212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8213 New file.
8214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8215 New file.
8216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8217 multiarch modf for PowerPC32.
8218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8219 New file.
8220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8221 New file.
8222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8223 multiarch modff for PowerPC32.
8224
79dccf31
AZ
8225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8226 and lrintf multiarch implementations.
8227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8228 New file.
8229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8230 New file.
8231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8232 multiarch lrint for PowerPC32.
8233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8234 file: multiarch lrintf for PowerPC32.
8235
deb66480
AZ
8236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8237 and lroundf multiarch implementations.
8238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8239 New file.
8240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8241 New file.
8242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8243 New file.
8244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8245 multiarch lround for PowerPC32.
8246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8247 file: multiarch lroundf for PowerPC32.
8248
264b036b
AZ
8249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8250 copysign and copysignf multiarch implementations.
8251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8252 New file.
8253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8254 New file.
8255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8256 file: multiarch copysign for PowerPC32.
8257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8258 file: multiarch copysignf for PowerPC32.
8259
d47db6c9
AZ
8260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8261 and truncf multiarch implementations.
8262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8263 New file.
8264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8265 file.
8266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8267 multiarch trunc for PowerPC32.
8268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8269 New file.
8270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8271 New file.
8272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8273 multiarch truncf for PowerPC32.
8274
ddb60b5a
AZ
8275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8276 and roundf multiarch implementations.
8277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8278 New file.
8279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8280 file.
8281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8282 multiarch round for PowerPC32.
8283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8284 New file.
8285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8286 New file.
8287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8288 multiarch roundf for PowerPC32.
8289
bedcf49b
AZ
8290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8291 and floorf multiarch implementations.
8292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8293 New file.
8294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8295 file.
8296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8297 multiarch floor for PowerPC32.
8298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8299 New file.
8300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8301 New file.
8302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8303 multiarch floorf for PowerPC32.
8304
35ae5b40
AZ
8305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8306 and ceilf multiarch implementations.
8307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8308 New file.
8309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8310 file.
8311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8312 multiarch ceil for PowerPC32.
8313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8314 New file.
8315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8316 file.
8317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8318 multiarch ceilf for PowerPC32.
8319
ae1a4cd9
AZ
8320 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8321 is defined.
8322 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8323 FINITEF is defined.
8324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8325 and finitef multiarch implementations.
8326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8327 New file.
8328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8329 file.
8330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8331 multiarch finite for PowerPC32.
8332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8333 New file.
8334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8335 file: multiarch finitef for PowerPC32.
8336
64fffd65
AZ
8337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8338 and isinff multiarch implementations.
8339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8340 file.
8341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8342 file.
8343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8344 multiarch isinf for PowerPC32.
8345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8346 New file.
8347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8348 multiarch isinff for PowerPC32.
8349
8e4e7ba2
AZ
8350 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8351 alias when __isnan is defined.
8352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8353 and isnanf multiarch implementations.
8354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8355 file.
8356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8357 file.
8358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8359 file.
8360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8361 file.
8362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8363 multiarch isnan for PowerPC32.
8364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8365 New file.
8366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8367 New file.
8368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8369 multiarch isnanf for PowerPC32.
8370
ddba588e
AZ
8371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8372 and sqrtf multiarch implementations.
8373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8374 file.
8375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8376 file.
8377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8378 multiarch sqrt for PowerPC32.
8379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8380 file.
8381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8382 file.
8383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8384 multiarch sqrtf for PowerPC32.
8385
0f96a2f0
AZ
8386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8387 and llroundf multiarch implementations.
8388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8389 New file.
8390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8391 New file.
8392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8393 New file.
8394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8395 file: multiarch llround for PowerPC32.
8396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8397 file: multiarch llroundf for PowerPC32.
8398
c9b5d79e
AZ
8399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8400 multiarch PowerPC32 fpu implementations.
8401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8402 New file.
8403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8404 New file.
8405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8406 multiarch llrint for PowerPC32.
8407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8408 New file.
8409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8410 New file.
8411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8412 file.
8413
9cbb3aab
AZ
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8415
ea5a72f8
AZ
8416 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8417 file.
8418 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8419 file.
8420 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8421 file.
8422 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8423 multiarch wordcopy for PPC32.
8424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8425 wordcopy objects.
8426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8427 (__libc_ifunc_impl_list): Likewise.
8428 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8429 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8430 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8431 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8432 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8433 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8434
93be09e7
AZ
8435 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8437 file.
8438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8439 file.
8440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8441 file.
8442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8443 multiarch wcscpy for PPC32.
8444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8445 multiarch objects.
8446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8447 (__libc_ifunc_impl_list): Likewise.
8448 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8449 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8450 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8451 sysdeps/powerpc/power6/wcscpy.c.
8452
bb04e529
AZ
8453 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8454 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8455 file.
8456 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8457 file.
8458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8459 file.
8460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8461 multiarch wcsrchr for PPC32.
8462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8463 multiarch objects.
8464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8465 (__libc_ifunc_impl_list): Likewise.
8466 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8467 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8468 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8469 sysdeps/powerpc/power6/wcsrchr.c.
8470
05b5cd1c
AZ
8471 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8472 file.
8473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8474 file.
8475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8477 multiarch wcschr for PPc32.
8478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8479 multiarch objects.
8480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8481 (__libc_ifunc_impl_list): Likewise.
8482 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8483 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8484 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8485 sysdeps/powerpc/power6/wcschr.c.
8486
ba964147
AZ
8487 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8488 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8489 file.
8490 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8491 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8492 file: multiarch strchr for PPC32.
8493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8494 multiarch objects.
8495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8496 (__libc_ifunc_impl_list): Likewise.
8497
31c81aaa
AZ
8498 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8499 name.
8500 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8501 file.
8502 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8503 file.
8504 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8505 multiarch strchrnul for PPC32.
8506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8507 multiarch objects.
8508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8509 (__libc_ifunc_impl_list): Likewise.
8510
0d0607d9
AZ
8511 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8512 file.
8513 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8514 multiarch strncasecmp for PPC32.
8515 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8516 file.
8517 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8518 multiarch strncasecmp_l for PPC32.
8519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8520 strncasecmp multiarch objects.
8521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8522 (__libc_ifunc_impl_list): Likewise.
8523
4dfd5c86
AZ
8524 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8525 file.
8526 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8527 multiarch strncasecmp for PPC32.
8528 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8529 New file.
8530 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8531 multiarch strcasecmp_l for PPC32.
8532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8533 multiarch objects.
8534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8535 (__libc_ifunc_impl_list): Likewise.
8536
a19e01a3
AZ
8537 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8538 file.
8539 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8540 file.
8541 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8542 multiarch strncmp for PPC32.
8543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8544 multiarch objects.
8545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8546 (__libc_ifunc_impl_list): Likewise.
8547
ae9cf7a2
AZ
8548 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8549 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8550 file.
8551 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8552 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8554 multiarch objects.
8555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8556 (__libc_ifunc_impl_list): Likewise.
8557
3148bb7d
AZ
8558 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8559 file.
8560 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8561 file.
8562 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8564 multiarch objects.
8565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8566 (__libc_ifunc_impl_list): Likewise.
8567
7af8b946
AZ
8568 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8569 file.
8570 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8571 file.
8572 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8573 multiarch rawmemchr for PPC32.
8574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8575 multiarch objects.
8576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8577 (__libc_ifunc_impl_list): Likewise.
8578
03a6aa6a
AZ
8579 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8580 file.
8581 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8582 file.
8583 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8584 file: memrchr multiarch for PPC32.
8585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8586 multiarch objects.
8587 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8588 (__libc_ifunc_impl_list): Likewise.
8589
1c62e6d9
AZ
8590 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8591 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8592 file.
8593 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8594 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8595 multiarch memchr for PPC32.
8596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8597 multiarch objects.
8598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8599 (__libc_ifunc_impl_list): Likewise.
8600
87da8bdb
AZ
8601 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8602 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8603 file.
8604 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8605 file.
8606 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8607 file: multiarch mempcpy for PPC32.
8608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8609 multiarch objects.
8610 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8611 (__libc_ifunc_impl_list): Likewise.
8612
20ed4714
AZ
8613 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8614 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8615 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8616 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8617 multiarch bzero for PPC32.
8618 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8619 file.
8620 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8621 file.
8622 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8623 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8624 file: multiarch memset for PPC32.
8625 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8627 memset multiarch objects.
8628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8629 (__libc_ifunc_impl_list): Likewise.
8630
ab3e3a46
AZ
8631 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8632 file.
8633 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8634 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8635 memcmp for PPC32.
8636 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8638 multiarch objects.
8639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8640 (__libc_ifunc_impl_list): Likewise.
8641
930de6f0
AZ
8642 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8643 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8644 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8645 file.
8646 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8647 file.
8648 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8649 file.
8650 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8651 multiarch memcpy for PPC32.
8652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8653 multiarch objects.
8654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8655 (__libc_ifunc_impl_list): Likewise.
8656
4c628e00
AZ
8657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8658 support multiarch for POWER/PPC32.
8659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8660 Likewise.
8661 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8663 Implies file to make multiarch folder appers before the fpu and
8664 default folder for power4 configuration.
8665
f4479220
SP
86662013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8667
8668 * scripts/bench.pl: Append volatile keyword to type.
8669
8517800f
KK
86702013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8671
8672 * sysdeps/sh/sotruss-lib.c: New file.
8673 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8674
180138f1
AZ
86752013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8676
8677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8678
bbf37bdc
JM
86792013-12-05 Joseph Myers <joseph@codesourcery.com>
8680
e47cc4e0
JM
8681 [BZ #6810]
8682 * math/w_tgamma.c: Include <errno.h>.
8683 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8684 * math/w_tgammaf.c: Include <errno.h>.
8685 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8686 * math/w_tgammal.c: Include <errno.h>.
8687 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8688 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8689 underflow. Add more tgamma tests.
8690 * math/auto-libm-test-out: Regenerated.
8691 * sysdeps/i386/fpu/libm-test-ulps: Update.
8692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8693
bbf37bdc
JM
8694 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8695 sin, sinh, tan, tanh, tgamma, y0 and y1.
8696 * math/auto-libm-test-out: Regenerated.
8697 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8698 (TEST_COND_x86): Likewise.
8699 (M_E2l): Remove macro.
8700 (M_E3l): Likewise.
8701 (M_2_SQRT_PIl): Likewise.
8702 (M_SQRT_PIl): Likewise.
8703 (M_1_DIV_El): Likewise.
8704 (log_test_data): Use AUTO_TESTS_f_f.
8705 (log10_test_data): Likewise.
8706 (log1p_test_data): Likewise.
8707 (log2_test_data): Likewise.
8708 (sin_test_data): Likewise.
8709 (sin_tonearest_test_data): Likewise.
8710 (sin_towardzero_test_data): Likewise.
8711 (sin_downward_test_data): Likewise.
8712 (sin_upward_test_data): Likewise.
8713 (sinh_test_data): Likewise.
8714 (sinh_tonearest_test_data): Likewise.
8715 (sinh_towardzero_test_data): Likewise.
8716 (sinh_downward_test_data): Likewise.
8717 (sinh_upward_test_data): Likewise.
8718 (tan_test_data): Likewise.
8719 (tan_tonearest_test_data): Likewise.
8720 (tan_towardzero_test_data): Likewise.
8721 (tan_downward_test_data): Likewise.
8722 (tan_upward_test_data): Likewise.
8723 (tanh_test_data): Likewise.
8724 (tgamma_test_data): Likewise.
8725 (y0_test_data): Likewise.
8726 (y1_test_data): Likewise.
8727 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8728 (special_real_inputs): Add pi/4.
8729 * sysdeps/i386/fpu/libm-test-ulps: Update.
8730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8731
eb5ad6b9
AZ
87322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8733
8734 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8735 "longjmp_target" static probes.
8736 (__longjmp): Rename to __longjmp_symbol.
8737 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8738 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8739 on which longjmp to generate.
8740 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8741 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8742 probe.
8743 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8744 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8745 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8746 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8747 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8748 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8750 __longjmp_symbol based on which __longjmp to generate.
8751 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8752 probe.
8753 (setjmp): Rename to setjmp_symbol.
8754 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8755 (_setjmp): Rename to _setjmp_symbol.
8756 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8757 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8758 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8759 which setjmp to generate.
8760 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8761 "longjmp_target" static probes.
8762
d136c6dc
SP
87632013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8764
9298ecba
SP
8765 * benchtests/README: Add note about output arguments.
8766 * benchtests/bench-sincos.c: Remove file.
8767 * benchtests/sincos-inputs: New file.
8768 * scripts/bench.pl: Identify output arguments and define
8769 static variables for them.
8770
232983e9
SP
8771 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8772
d136c6dc
SP
8773 [BZ #15941]
8774 * Makefile (INSTALL): Add install-plain.texi as the primary
8775 dependency.
8776 * manual/install-plain.texi: New file.
8777 * manual/install.texi: Include node directive only for
8778 non-plaintext output.
8779
699ff837
JM
87802013-12-04 Joseph Myers <joseph@codesourcery.com>
8781
ab07cea8
JM
8782 * stdlib/longlong.h: Update from GCC.
8783
699ff837
JM
8784 [BZ #6807]
8785 [BZ #15901]
8786 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8787 * math/w_j0f.c (y0f): Likewise.
8788 * math/w_j0l.c (__y0l): Likewise.
8789 * math/w_j1.c (y1): Likewise.
8790 * math/w_j1f.c (y1f): Likewise.
8791 * math/w_j1l.c (__y1l): Likewise
8792 * math/w_jn.c (yn): Likewise.
8793 * math/w_jnf.c (ynf): Likewise.
8794 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8795 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8796 value for Bessel function domain errors outside _SVID_ mode.
8797 Adjust sign of return value for yn (negative integer, 0).
8798 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8799 by zero in return for negative x and set sign appropriately for
8800 negative n.
8801 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8802 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8803 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8804 expectations in error cases.
8805 (y1_test_data): Likewise.
8806 (yn_test_data): Likewise.
8807 * sysdeps/i386/fpu/libm-test-ulps: Update.
8808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809
5b118558
UW
88102013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8811
8812 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8813 "64" to "64-v1". Add "64-v2".
8814 (abi-64-options): Rename to ...
8815 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8816 (abi-64-condition): Rename to ...
8817 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8818 (abi-64-ld-soname): Rename to ...
8819 (abi-64-v1-ld-soname): ... this.
8820 (abi-64-v2-options): Define.
8821 (abi-64-v2-condition): Likewise.
8822 (abi-64-v2-ld-soname): Likewise.
8823 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8824 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8828
61cd8fe4
UW
88292013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8830 Alan Modra <amodra@gmail.com>
8831
8832 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8833 New versions for use with the ELFv2 ABI.
8834 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8835 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8836 declaration.
8837 (struct La_ppc64v2_retval): Likewise.
8838 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8839 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8840 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8841 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8842 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8843 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8844 Do not save or restore CR.
8845 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8846 (_dl_profile_resolve): Do no save or restore CR. Support extended
8847 return values for ELFv2 ABI. Fix location of FPR return registers.
8848 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8849 updated values for _CALL_ELF == 2.
8850 (La_regs, La_retval, int_retval): Likewise.
8851
8b8a692c
UW
88522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8853
8854 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8855 (FRAME_MIN_SIZE_PARM): Likewise.
8856 (FRAME_BACKCHAIN): Likewise.
8857 (FRAME_CR_SAVE): Likewise.
8858 (FRAME_LR_SAVE): Likewise.
8859 (FRAME_TOC_SAVE): Likewise.
8860 (FRAME_PARM_SAVE): Likewise.
8861 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8862 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8863 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8864 (call_mcount_parm_offset): New macro.
8865 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8866 (PROF): Use symbolic stack frame offsets.
8867 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8868 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8869 Redefine in terms of FRAME_MIN_SIZE.
8870 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8871 (_dl_profile_resolve): Likewise. Update comment.
8872 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8873 symbols stack frame offsets.
8874 (__sigsetjmp): Likewise.
8875 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8876 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8877 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8878 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8879
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8881 (FRAME_BACKCHAIN): Remove.
8882 (FRAME_CR_SAVE): Likewise.
8883 (FRAME_LR_SAVE): Likewise.
8884 (FRAME_COMPILER_DW): Likewise.
8885 (FRAME_LINKER_DW): Likewise.
8886 (FRAME_TOC_SAVE): Likewise.
8887 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8888 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8889 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8890 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8892 (CHECK_SP): Use symbolic stack frame offsets.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8894 zone" instead of caller's parameter save area for temp storage.
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8896 Likewise. Also, use symbolic stack frame offsets.
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8898 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8899 our own stack frame instead of the caller's.
8900 (__socket): Use symbolic stack frame offsets.
8901
122b66de
UW
89022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8903 Alan Modra <amodra@gmail.com>
8904
8905 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8906 Define.
57f41c40
AS
8907 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8908 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8909 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8910 New function.
8911 (elf_machine_fixup_plt): Call it.
8912 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8913 reloc arguments.
8914 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8915 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8916 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8917 r2 before calling target.
8918
696caf1d
UW
89192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8920 Alan Modra <amodra@gmail.com>
8921
8922 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8923 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8924 versions of macros to support ELFv2 ABI.
8925 (LOCALENTRY): New macro.
8926 (ENTRY, EALIGN): Use it.
8927 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8928 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8929 fall through into ENTRY entry point.
8930 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8931 Only define if _CALL_ELF != 2.
8932
8933 (elf_machine_matches_host): Verify ABI version matches.
8934 (RTLD_START): Use LOCALENTRY.
8935 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8936 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8937 (PLT_ENTRY_WORDS): New macro.
8938 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8939 (elf_machine_runtime_setup): Support ELFv2 ABI.
8940 (elf_machine_fixup_plt): Likewise.
8941 (elf_machine_plt_conflict): Likewise.
8942 (resolve_ifunc): Likewise.
8943 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8944 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8945 Likewise.
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8947 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8949 (makecontext): Support ELFv2 ABI.
8950 * elf/elf.h (EF_PPC64_ABI): Define.
8951
d31beafa
UW
89522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8953
57f41c40
AS
8954 * sysdeps/powerpc/powerpc64/sysdep.h
8955 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8956 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8957 (ENTRY) [ASSEMBLER]: ... but instead here ...
8958 (EALIGN) [ASSEMBLER]: ... and here.
8959 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8960 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8961 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8962 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8963 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8964 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8965 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8966 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8968 Use PPC64_LOAD_FUNCPTR.
8969
b525166b
UW
8970 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8971
7ec07d9a
AM
89722013-12-04 Alan Modra <amodra@gmail.com>
8973
8974 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8975 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8976 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8977 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8978
8979 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8980 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8981 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8982 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8983 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8984 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8985
5162e7dd
UW
89862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8987
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8989 (__makecontext): Fix incorrect CFI when backtracing out of
8990 context created via makecontext.
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8992 (__setcontext): Fix incorrect CFI during switch to new context.
8993 (__novec_setcontext): Likewise.
8994
19e3372b
OB
89952013-12-04 Ondřej Bílka <neleai@seznam.cz>
8996
8997 [BZ #4772]
8998 * time/strptime_l.c (__strptime_internal): Allow modifiers
8999 in strptime.
9000 * time/tst-strptime.c (day_tests): Add testcase.
9001
ecaf142d
SP
90022013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9003
9004 * scripts/bench.pl: Skip over blank lines.
9005
fbf964ae
PE
90062013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9007
9008 [BZ #926]
9009 * manual/time.texi (Calendar Time): Clarify what timezone functions
9010 use.
9011
fa60a674
AZ
90122013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9013
9014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9015
d674f0ef
OB
90162013-12-04 Ondřej Bílka <neleai@seznam.cz>
9017
9018 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9019 implementation.
9020 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9021 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9022 * debug/memset_chk.c (__memset_chk): Likewise.
9023 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9024 * debug/strncpy_chk.c: Likewise.
9025
17dea188
JM
90262013-12-03 Joseph Myers <joseph@codesourcery.com>
9027
749008ff
JM
9028 [BZ #15268]
9029 [BZ #15425]
9030 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9031 (__ieee754_exp): For possibly underflowing results, check size of
9032 result and force underflow exception if required.
9033 * math/auto-libm-test-in: Add more tests of exp.
9034 * math/auto-libm-test-out: Regenerated.
9035 * sysdeps/i386/fpu/libm-test-ulps: Update.
9036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9037
17dea188
JM
9038 [BZ #16283]
9039 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9040 * math/w_exp2f.c (__exp2f): Likewise.
9041 * math/w_exp2l.c (__exp2l): Likewise.
9042 * math/auto-libm-test-in: Do not allow missing errno on exp2
9043 underflow.
9044 * math/auto-libm-test-out: Regenerated.
9045
b20de2c3
OB
90462013-12-03 Ondřej Bílka <neleai@seznam.cz>
9047
9048 [BZ #16274]
9049 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9050 handle filename validation.
9051 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9052 (do_open): Delete.
9053
d8e2dbe3
JM
90542013-12-03 Joseph Myers <joseph@codesourcery.com>
9055
34e16df5
JM
9056 [BZ #6786]
9057 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9058 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9059 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9060 <float.h>.
9061 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9062 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9063 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9065 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9066 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9067 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9068 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9069 Add more erfc tests.
9070 * math/auto-libm-test-out: Regenerated.
9071 * sysdeps/i386/fpu/libm-test-ulps: Update.
9072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9073
d8e2dbe3
JM
9074 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9075 exp2, expm1, j0 and j1.
9076 * math/auto-libm-test-out: Regenerated.
9077 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9078 (erfc_test_data): Likewise.
9079 (exp_test_data): Likewise.
9080 (exp_tonearest_test_data): Likewise.
9081 (exp_towardzero_test_data): Likewise.
9082 (exp_downward_test_data): Likewise.
9083 (exp_upward_test_data): Likewise.
9084 (exp10_test_data): Likewise.
9085 (exp2_test_data): Likewise.
9086 (expm1_test_data): Likewise.
9087 (j0_test_data): Likewise.
9088 (j1_test_data): Likewise.
9089 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9090 (input_flag_type): Add flag_xfail_rounding.
9091 (input_flags): Add xfail-rounding.
9092 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9093 (output_for_one_input_case): Handle flag_xfail_rounding.
9094 * sysdeps/i386/fpu/libm-test-ulps: Update.
9095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9096
18d14251
AJ
90972013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9098
3d2e6075 9099 [BZ #16289]
18d14251
AJ
9100 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9101 division by 0.
9102
520d437b
SP
91032013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9104
9105 [BZ #16195]
9106 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9107 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9108 (STAP_PROBE0): New macro.
9109 (STAP_PROBE1): Likewise.
9110 (STAP_PROBE2): Likewise.
9111 (STAP_PROBE3): Likewise.
9112 (STAP_PROBE4): Likewise.
9113
416e0145
OB
91142013-12-02 Ondřej Bílka <neleai@seznam.cz>
9115
9116 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9117
9d17796a
SE
91182013-12-02 Steve Ellcey <sellcey@mips.com>
9119
9120 * benchtests/Makefile (bench): Add sqrt.
9121 (LDLIBS-bench-sqrt): New.
9122 * benchtests/sqrt-input: New.
9123
f524d6a8
PS
91242013-12-02 Pavel Simerda <psimerda@redhat.com>
9125
639a0ef8
PS
9126 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9127 (GAIH_EAI): Likewise.
9128 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9129 (gaih_inet): Likewise.
9130 (getaddrinfo): Don't use GAIH_EAI.
9131
f524d6a8
PS
9132 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9133 (struct gaih): Remove definition.
9134
df3aedaf
SP
91352013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9136
9137 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9138 Use HERRNOP directly.
9139
1ab19dec
AZ
91402013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9141
b42ad38d 9142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9143
176b0c79
JM
91442013-11-30 Joseph Myers <joseph@codesourcery.com>
9145
9146 * math/gen-auto-libm-tests.c (test_functions): Add more
9147 single-argument functions.
9148 (special_fill_pi_2): New function.
9149 (special_fill_minus_pi_2): Likewise.
9150 (special_fill_pi_6): Likewise.
9151 (special_fill_minus_pi_6): Likewise.
9152 (special_fill_pi_3): Likewise.
9153 (special_fill_2pi_3): Likewise.
9154 (special_fill_e): Likewise.
9155 (special_fill_1_e): Likewise.
9156 (special_fill_e_minus_1): Likewise.
9157 (special_real_inputs): Add more special inputs.
9158 (output_for_one_input_case): Do not require ERANGE on underflow to
9159 zero if round-to-nearest result does not underflow to zero, unless
9160 exact results required.
9161 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9162 atan, atanh, cbrt, cos and cosh.
9163 * math/auto-libm-test-out: Regenerated.
9164 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9165 (acos_tonearest_test_data): Likewise.
9166 (acos_towardzero_test_data): Likewise.
9167 (acos_downward_test_data): Likewise.
9168 (acos_upward_test_data): Likewise.
9169 (acosh_test_data): Likewise.
9170 (asin_test_data): Likewise.
9171 (asin_tonearest_test_data): Likewise.
9172 (asin_towardzero_test_data): Likewise.
9173 (asin_upward_test_data): Likewise.
9174 (asinh_test_data): Likewise.
9175 (atan_test_data): Likewise.
9176 (atanh_test_data): Likewise.
9177 (cbrt_test_data): Likewise.
9178 (cos_test_data): Likewise.
9179 (cos_tonearest_test_data): Likewise.
9180 (cos_towardzero_test_data): Likewise.
9181 (cos_downward_test_data): Likewise.
9182 (cos_upward_test_data): Likewise.
9183 (cosh_test_data): Likewise.
9184 (cosh_tonearest_test_data): Likewise.
9185 (cosh_towardzero_test_data): Likewise.
9186 (cosh_downward_test_data): Likewise.
9187 (cosh_upward_test_data): Likewise.
9188 * sysdeps/i386/fpu/libm-test-ulps: Update.
9189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9190
ffb536d0
JM
91912013-11-29 Joseph Myers <joseph@codesourcery.com>
9192
2a77a467
JM
9193 [BZ #6787]
9194 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9195 * math/w_exp10f.c (__exp10f): Likewise.
9196 * math/w_exp10l.c (__exp10l): Likewise.
9197 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9198 errno settings in existing tests.
9199
ea3bc4e8
JM
9200 [BZ #14032]
9201 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9202 precision control set to double precision.
9203 * sysdeps/i386/fpu/w_sqrt.c: New file.
9204 * math/auto-libm-test-in: Add more tests.
9205 * math/auto-libm-test-out: Update.
9206
0712c9d8
JM
9207 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9208 (sqrt_test_tonearest): New function.
9209 (sqrt_towardzero_test_data): New variable.
9210 (sqrt_test_towardzero): New function.
9211 (sqrt_downward_test_data): New variable.
9212 (sqrt_test_downward): New function.
9213 (sqrt_upward_test_data): New variable.
9214 (sqrt_test_upward): New function.
9215 (main): Call the new functions.
9216
ffb536d0
JM
9217 * math/gen-auto-libm-tests.c: New file.
9218 * math/auto-libm-test-in: Likewise.
9219 * math/auto-libm-test-out: New generated file.
9220 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9221 variables.
9222 (%beautify): Add generated representations of zero.
9223 (top level): Set $auto_input and call parse_auto_input.
9224 (beautify): Remove trailing "f" from hex float constants.
9225 (parse_args): Handle XFAIL_TEST.
9226 (convert_condition): New function.
9227 (or_value): Likewise.
9228 (or_cond_value): Likewise.
9229 (generate_testfile): Handle AUTO_TESTS_* lines.
9230 (parse_auto_input): New function.
9231 * math/libm-test.inc (XFAIL_TEST): New macro.
9232 (ERRNO_UNCHANGED): Update value.
9233 (ERRNO_EDOM): Likewise.
9234 (ERRNO_ERANGE): Likewise.
9235 (IGNORE_RESULT): Likewise.
9236 (TEST_COND_flt_32): New macro.
9237 (TEST_COND_dbl_64): Likewise.
9238 (TEST_COND_ldbl_96_intel): Likewise.
9239 (TEST_COND_ldbl_96_m68k): Likewise.
9240 (TEST_COND_ldbl_128): Likewise.
9241 (TEST_COND_ldbl_128ibm): Likewise.
9242 (TEST_COND_long32): Likewise.
9243 (TEST_COND_long64): Likewise.
9244 (TEST_COND_before_rounding): Likewise.
9245 (TEST_COND_after_rounding): Likewise.
9246 (enable_test): Handle XFAIL_TEST flag.
9247 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9248 with finite results.
9249 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9250 auto-libm-test-out.
9251
acd98a8e
AK
92522013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9253 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9254
9255 [BZ #16214]
9256 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9257 __tls_get_addr_internal instead of __tls_get_offset in order to
9258 avoid GOT pointer dependency. Make rtld export
9259 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9260 __tls_get_addr since we are a __tls_get_offset platform.
9261 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9262 GOT pointer being set up before.
9263 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9264
3c1c46a6
JM
92652013-11-28 Joseph Myers <joseph@codesourcery.com>
9266
7475aef5
JM
9267 * manual/math.texi (Errors in Math Functions): Document accuracy
9268 goals.
9269
8bca7cd8
JM
9270 [BZ #15004]
9271 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9272 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9277 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9278 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9287
91a1f3fe
JM
9288 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9289 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9290 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9291 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9292 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9293 Likewise.
9294 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9295 Likewise.
9296 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9297 Likewise.
9298 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9299 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9300 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9301 atomic-feupdateenv and flt-rounds.
9302 * sysdeps/powerpc/nofpu/Versions (libc): Add
9303 __atomic_feholdexcept, __atomic_feclearexcept,
9304 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9305 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9306 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9307 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9308 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9309 here.
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9311 Update.
9312
c5df7609
JM
9313 * manual/arith.texi (FP Exceptions): Document that exceptions may
9314 not be raised when matherr is used.
9315 (Math Error Reporting): Document overflow in directed rounding
9316 modes. Document that errno may not be set when finite values are
9317 returned on overflow. Document intent to set errno on underflow
9318 only for underflow to zero.
9319
3c1c46a6
JM
9320 [BZ #16271]
9321 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9322 round-to-nearest then adjust result for other rounding modes.
9323 * include/fenv.h (fegetround): Use libm_hidden_proto.
9324 * math/fegetround.c (fegetround): Use libm_hidden_def.
9325 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9326 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9327 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9328 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9329 Likewise.
9330 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9331 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9332 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9333 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9334
5a4c6d53
SP
93352013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9336
9337 [BZ #16077]
9338 * nss/Versions (libnss_files): Add
9339 _nss_files_gethostbyname3_r.
9340 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9341 New function.
9342 (HOST_DB_LOOKUP): Remove macro.
9343 (_nss_files_gethostbyname_r): Implement function without the
9344 HOST_DB_LOOKUP macro.
9345 (_nss_files_gethostbyname2_r): Likewise.
9346
897b98ba
OB
93472013-11-28 Ondřej Bílka <neleai@seznam.cz>
9348
9349 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9350
6f476861
UB
93512013-11-26 Uros Bizjak <ubizjak@gmail.com>
9352
9353 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9354 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9355 warning.
9356
bd12ab55
AZ
93572013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9358
9359 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9360 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9361 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9362 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9363 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9364 __fe_nomask_env_priv and attribute_hidden.
9365 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9366 (libc_feupdateenv_test_ppc): Likewise.
9367 (libc_feresetround_ppc): Likewise.
9368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9369 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9370 compat_symbol macro.
9371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9372 (__fe_nomask_env): Likewise.
9373 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9374
52bb6543
OB
93752013-11-26 Ondřej Bílka <neleai@seznam.cz>
9376
9377 * string/Makefile: Remove ifunc tests.
9378 * string/test-string.h: Define TEST_IFUNC.
9379 * string/test-bcopy-ifunc.c: Remove.
9380 * string/test-bzero-ifunc.c: Likewise.
9381 * string/test-memccpy-ifunc.c: Likewise.
9382 * string/test-memchr-ifunc.c: Likewise.
9383 * string/test-memcmp-ifunc.c: Likewise.
9384 * string/test-memcpy-ifunc.c: Likewise.
9385 * string/test-memmem-ifunc.c: Likewise.
9386 * string/test-memmove-ifunc.c: Likewise.
9387 * string/test-mempcpy-ifunc.c: Likewise.
9388 * string/test-memrchr-ifunc.c: Likewise.
9389 * string/test-memset-ifunc.c: Likewise.
9390 * string/test-rawmemchr-ifunc.c: Likewise.
9391 * string/test-stpcpy-ifunc.c: Likewise.
9392 * string/test-stpncpy-ifunc.c: Likewise.
9393 * string/test-strcasecmp-ifunc.c: Likewise.
9394 * string/test-strcasestr-ifunc.c: Likewise.
9395 * string/test-strcat-ifunc.c: Likewise.
9396 * string/test-strchr-ifunc.c: Likewise.
9397 * string/test-strchrnul-ifunc.c: Likewise.
9398 * string/test-strcmp-ifunc.c: Likewise.
9399 * string/test-strcpy-ifunc.c: Likewise.
9400 * string/test-strcspn-ifunc.c: Likewise.
9401 * string/test-strlen-ifunc.c: Likewise.
9402 * string/test-strncasecmp-ifunc.c: Likewise.
9403 * string/test-strncat-ifunc.c: Likewise.
9404 * string/test-strncmp-ifunc.c: Likewise.
9405 * string/test-strncpy-ifunc.c: Likewise.
9406 * string/test-strnlen-ifunc.c: Likewise.
9407 * string/test-strpbrk-ifunc.c: Likewise.
9408 * string/test-strrchr-ifunc.c: Likewise.
9409 * string/test-strspn-ifunc.c: Likewise.
9410 * string/test-strstr-ifunc.c: Likewise.
9411
ab260039 94122013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9413
9414 * benchtests/Makefile: Remove ifunc tests.
9415 * benchtests/bench-string.h: Define TEST_IFUNC.
9416 * benchtests/bench-bcopy-ifunc.c: Remove.
9417 * benchtests/bench-bzero-ifunc.c: Likewise.
9418 * benchtests/bench-memccpy-ifunc.c: Likewise.
9419 * benchtests/bench-memchr-ifunc.c: Likewise.
9420 * benchtests/bench-memcmp-ifunc.c: Likewise.
9421 * benchtests/bench-memcpy-ifunc.c: Likewise.
9422 * benchtests/bench-memmem-ifunc.c: Likewise.
9423 * benchtests/bench-memmove-ifunc.c: Likewise.
9424 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9425 * benchtests/bench-memrchr-ifunc.c: Likewise.
9426 * benchtests/bench-memset-ifunc.c: Likewise.
9427 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9428 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9429 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9430 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9431 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9432 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9433 * benchtests/bench-strcat-ifunc.c: Likewise.
9434 * benchtests/bench-strchr-ifunc.c: Likewise.
9435 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9436 * benchtests/bench-strcmp-ifunc.c: Likewise.
9437 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9438 * benchtests/bench-strcpy-ifunc.c: Likewise.
9439 * benchtests/bench-strcspn-ifunc.c: Likewise.
9440 * benchtests/bench-strlen-ifunc.c: Likewise.
9441 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9442 * benchtests/bench-strncat-ifunc.c: Likewise.
9443 * benchtests/bench-strncmp-ifunc.c: Likewise.
9444 * benchtests/bench-strncpy-ifunc.c: Likewise.
9445 * benchtests/bench-strnlen-ifunc.c: Likewise.
9446 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9447 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9448 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9449 * benchtests/bench-strspn-ifunc.c: Likewise.
9450 * benchtests/bench-strstr-ifunc.c: Likewise.
9451
94522013-11-26 Ondřej Bílka <neleai@seznam.cz>
9453
ab260039
OB
9454 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9455
d1d9eaf4 94562013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9457
d1d9eaf4
OB
9458 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9459 * rt/aio.h: Likewise.
9460 * sysdeps/gnu/bits/utmp.h: Likewise.
9461 * sysdeps/gnu/bits/utmpx.h: Likewise.
9462 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9463 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9464 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9465 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9466 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9467 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9468 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9469 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9470 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9471 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9472 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9473 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9474 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9476 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9477 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9478 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9479 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9480 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9481 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9482 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9483 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9484 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9485 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9486 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9488 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9489 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9490 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9491 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9492 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9493 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9494 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9495 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9496 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9497 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9498 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9499 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9500 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9501 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9502 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9503 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9504
a7624ed9
CD
95052013-11-25 Carlos O'Donell <carlos@redhat.com>
9506
9507 [BZ #16245]
9508 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9509 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9510
63cfe52b
JM
95112013-11-25 Joseph Myers <joseph@codesourcery.com>
9512
9513 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9514 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9515 Likewise.
9516
41e8926a
AZ
95172013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9518
9519 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9520 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9521 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9522 (__fesetround): Remove define.
9523 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9524 rounding and exceptions handling.
9525 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9526 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9527 (__fe_nomask_env): Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9529 __fegetround instead of fegetround.
9530 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9532
6851bd4d
RM
95332013-11-21 Roland McGrath <roland@hack.frob.com>
9534
070906ff
RM
9535 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9536 it's there.
9537
6851bd4d
RM
9538 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9539
84ae135d
MI
95402013-11-21 Meador Inge <meadori@codesourcery.com>
9541
9542 [BZ #11157]
9543 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9544 (encrypt_r): Likewise.
9545 * malloc/obstack.h (obstack_free): Likewise.
9546 * posix/unistd.h (encrypt): Likewise.
9547
daf75146
GM
95482013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9549
9550 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9551 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9552 DL_CALL_DT_FINI() that call the functions directly.
9553 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9554 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9555 * elf/dl-fini.c: Likewise.
9556
10ad46bc
OB
95572013-11-20 Ondřej Bílka <neleai@seznam.cz>
9558
9559 * malloc/hooks.c (memalign_check): Add alignment rounding.
9560 * malloc/malloc.c (_mid_memalign): New function.
9561 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9562 Implement by calling _mid_memalign.
9563 * manual/probes.texi (Memory Allocation Probes): Remove
9564 memory_valloc_retry and memory_pvalloc_retry.
9565
f3fd2628
SP
95662013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9567
4712799f
SP
9568 * locale/programs/locarchive.c (open_archive): Add const
9569 qualifier to ARCHIVEFNAME and copy default fname to
9570 DEFAULT_FNAME.
9571
0417b20f
SP
9572 [BZ #15601]
9573 * libio/tst-widetext.input: Rename Oriya to Odia.
9574 * locale/iso-639.def: Likewise.
9575
f3fd2628
SP
9576 * manual/probes.texi (Mathematical Function Probes): Add
9577 documentation for sin, cos, asin and acos probes.
9578 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9579 (__sin32): Add slowasin probe.
9580 (__cos32): Add slowacos probe.
9581 (__mpsin): Add slowsin probe.
9582 (__mpcos): Add slowcos probe.
9583
73c1ce4f
JM
95842013-11-19 Joseph Myers <joseph@codesourcery.com>
9585
9586 [BZ #15483]
9587 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9588 thread-local __sim_exceptions_thread and global
9589 __sim_exceptions_global.
9590 (__sim_disabled_exceptions): Change to thread-local
9591 __sim_disabled_exceptions_thread and global
9592 __sim_disabled_exceptions_global.
9593 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9594 and global __sim_round_mode_global.
9595 (__simulate_exceptions): Use thread-local floating-point state and
9596 set global state from it as needed.
9597 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9598 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9599 __sim_round_mode_thread.
9600 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9601 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9602 and global __sim_exceptions_global.
9603 (__sim_disabled_exceptions): Change to thread-local
9604 __sim_disabled_exceptions_thread and global
9605 __sim_disabled_exceptions_global.
9606 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9607 and global __sim_round_mode_global.
9608 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9609 (SIM_SET_GLOBAL): Likewise.
9610 * sysdeps/powerpc/soft-fp/sfp-machine.h
9611 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9612 __sim_round_mode_thread.
9613 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9614 __sim_disabled_exceptions_thread.
9615 (__sim_exceptions): Change to __sim_exceptions_thread.
9616 (__sim_disabled_exceptions): Change to
9617 __sim_disabled_exceptions_thread.
9618 (__sim_round_mode): Change to __sim_round_mode_thread.
9619 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9620 thread-local floating-point state and set global state from it as
9621 needed.
9622 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9623 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9624 (__sim_disabled_exceptions): Remove extern declaration.
9625 (feenableexcept): Use thread-local floating-point state and set
9626 global state from it as needed.
9627 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9628 extern declaration.
9629 (__sim_disabled_exceptions): Likewise.
9630 (__sim_round_mode): Likewise.
9631 (__fegetenv): Use thread-local floating-point state.
9632 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9633 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9634 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9635 floating-point state and set global state from it as needed.
9636 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9637 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9638 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9639 Likewise.
9640 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9641 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9642 Likewise.
9643 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9644 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9645 Use __sim_round_mode_thread.
9646 * math/test-fenv-tls.c: New file.
9647 * math/Makefile (tests): Add test-fenv-tls.
9648 ($(objpfx)test-fenv-tls): Depend on
9649 $(common-objpfx)nptl/libpthread.so.
9650
b5449b12
AS
96512013-11-19 Andreas Schwab <schwab@suse.de>
9652
9653 * locale/programs/locale.c (show_info): Decode wordarray elements.
9654 * locale/categories.def (LC_MONETARY): Add element for
9655 _NL_MONETARY_CRNCYSTR.
9656 * locale/C-monetary.c (conversion_rate): New variable.
9657 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9658 element.
9659
e186536b
CM
96602013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9661
9662 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9663 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9664
5c349950
PP
96652013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9666
9667 * elf/Makefile (tst-auxv): New test.
9668 * elf/tst-auxv.c: New
9669 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9670
699df45b
JM
96712013-11-18 Joseph Myers <joseph@codesourcery.com>
9672
9673 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9674 (hidden_proto): Caller changed.
9675 (hidden_tls_proto): New macro.
9676 (libc_hidden_tls_proto): Likewise.
9677 (rtld_hidden_tls_proto): Likewise.
9678 (libm_hidden_tls_proto): Likewise.
9679 (libresolv_hidden_tls_proto): Likewise.
9680 (librt_hidden_tls_proto): Likewise.
9681 (libdl_hidden_tls_proto): Likewise.
9682 (libnss_files_hidden_tls_proto): Likewise.
9683 (libnsl_hidden_tls_proto): Likewise.
9684 (libnss_nisplus_hidden_tls_proto): Likewise.
9685 (libutil_hidden_tls_proto): Likewise.
9686
b7589107
OB
96872013-11-18 Ondřej Bílka <neleai@seznam.cz>
9688
9689 [BZ #10253]
9690 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9691 (decompose_rpath): Defer expansion to fillin_rpath.
9692 (_dl_init_paths): Pass linkmap to fillin_rpath.
9693
250c23bd
RS
96942013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9695
9696 * benchtests/Makefile: Add strsep.
9697 * benchtests/bench-strsep.c: New file: strsep benchtest.
9698 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9699
a7931fcf
AS
97002013-11-18 Andreas Schwab <schwab@suse.de>
9701
9702 * locale/programs/locale.c (show_info) [case byte]: Check for
9703 '\377' instead of '\177'.
9704 * locale/C-monetary.c (not_available): Always use "\377".
9705 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9706 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9707 detect unavailable sign_posn locale elements.
9708 * locale/localeconv.c (__localeconv): For grouping and
9709 mon_grouping handle "\177" and "\377" like no grouping.
9710 (INT_ELEM): New macro. Use it to set all numeric members.
9711 * locale/programs/ld-monetary.c (monetary_read)
9712 <tok_mon_grouping>: Normalize single -1 to the empty string.
9713 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9714 Likewise.
9715
728dab0e
OB
97162013-11-07 Ondřej Bílka <neleai@seznam.cz>
9717
9718 [BZ #16055]
9719 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9720 when we match (nil).
9721 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9722
66294491
JM
97232013-11-16 Joseph Myers <joseph@codesourcery.com>
9724
ce665817
JM
9725 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9726 (NO_TEST_INLINE): Update value.
9727 (ERRNO_UNCHANGED): Likewise.
9728 (ERRNO_EDOM): Likewise.
9729 (ERRNO_ERANGE): Likewise.
9730 (IGNORE_RESULT): Likewise.
9731 (check_float_internal): Check signs of NaN results if
9732 TEST_NAN_SIGN used.
9733 (check_complex): Pass TEST_NAN_SIGN flag through to second
9734 check_float_internal call.
9735 (copysign_test_data): Add tests with quiet NaNs as second
9736 argument. Use TEST_NAN_SIGN.
9737 (fabs_test_data): Add test of negative quiet NaN argument. Use
9738 TEST_NAN_SIGN.
9739 (signbit_test_data): Add tests of quiet NaN argument.
9740 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9741
ee1466a9
JM
9742 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9743 $ignore_result.
9744 (parse_args): Handle function results specified as IGNORE.
9745 * math/libm-test.inc (IGNORE_RESULT): New macro.
9746 (check_float_internal): Do not check numerical result if flag
9747 IGNORE_RESULT set.
9748 (check_complex): Pass through IGNORE_RESULT to second
9749 check_float_internal call.
9750 (check_int): Do not check numerical result if flag IGNORE_RESULT
9751 set.
9752 (check_long): Likewise.
9753 (check_bool): Likewise.
9754 (check_longlong): Likewise.
9755 (lrint_test_data): Add tests of infinite and NaN arguments.
9756 (lrint_tonearest_test_data): Likewise.
9757 (lrint_towardzero_test_data): Likewise.
9758 (lrint_downward_test_data): Likewise.
9759 (lrint_upward_test_data): Likewise.
9760 (llrint_test_data): Likewise.
9761 (llrint_tonearest_test_data): Likewise.
9762 (llrint_towardzero_test_data): Likewise.
9763 (llrint_downward_test_data): Likewise.
9764 (llrint_upward_test_data): Likewise.
9765 (lround_test_data): Likewise.
9766 (llround_test_data): Likewise.
9767
14407b7e
JM
9768 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9769 (ERRNO_UNCHANGED): Update value.
9770 (ERRNO_EDOM): Likewise.
9771 (ERRNO_ERANGE): Likewise.
9772 (NO_TEST_INLINE_FLOAT): New macro.
9773 (NO_TEST_INLINE_DOUBLE): Likewise.
9774 (enable_test): New function.
9775 (RUN_TEST_f_f): Check enable_test before running test.
9776 (RUN_TEST_2_f): Likewise.
9777 (RUN_TEST_fff_f): Likewise.
9778 (RUN_TEST_c_f): Likewise.
9779 (RUN_TEST_f_f1): Likewise.
9780 (RUN_TEST_fF_f1): Likewise.
9781 (RUN_TEST_fI_f1): Likewise.
9782 (RUN_TEST_ffI_f1): Likewise.
9783 (RUN_TEST_c_c): Likewise.
9784 (RUN_TEST_cc_c): Likewise.
9785 (RUN_TEST_f_i): Likewise.
9786 (RUN_TEST_f_i_tg): Likewise.
9787 (RUN_TEST_ff_i_tg): Likewise.
9788 (RUN_TEST_f_b): Likewise.
9789 (RUN_TEST_f_b_tg): Likewise.
9790 (RUN_TEST_f_l): Likewise.
9791 (RUN_TEST_f_L): Likewise.
9792 (RUN_TEST_fFF_11): Likewise.
9793 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9794 conditionals.
9795 (cosh_test_data): Likewise.
9796 (exp_test_data): Likewise.
9797 (expm1_test_data): Likewise.
9798 (hypot_test_data): Likewise.
9799 (pow_test_data): Likewise.
9800 (sinh_test_data): Likewise.
9801 (tanh_test_data): Likewise.
9802 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9803 flags argument.
9804
ca07f197
JM
9805 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9806 tests with quiet NaN input and output.
9807 (acosh_test_data): Likewise.
9808 (asin_test_data): Likewise.
9809 (asinh_test_data): Likewise.
9810 (atan_test_data): Likewise.
9811 (atanh_test_data): Likewise.
9812 (atan2_test_data): Likewise.
9813 (cbrt_test_data): Likewise.
9814 (cos_test_data): Likewise.
9815 (cosh_test_data): Likewise.
9816 (erf_test_data): Likewise.
9817 (erfc_test_data): Likewise.
9818 (exp_test_data): Likewise.
9819 (exp10_test_data): Likewise.
9820 (exp2_test_data): Likewise.
9821 (expm1_test_data): Likewise.
9822 (hypot_test_data): Likewise.
9823 (j0_test_data): Likewise.
9824 (j1_test_data): Likewise.
9825 (jn_test_data): Likewise.
9826 (lgamma_test_data): Likewise.
9827 (log_test_data): Likewise.
9828 (log10_test_data): Likewise.
9829 (log1p_test_data): Likewise.
9830 (log2_test_data): Likewise.
9831 (pow_test_data): Likewise.
9832 (scalb_test_data): Likewise.
9833 (sin_test_data): Likewise.
9834 (sincos_test_data): Likewise.
9835 (sinh_test_data): Likewise.
9836 (tan_test_data): Likewise.
9837 (tanh_test_data): Likewise.
9838 (tgamma_test_data): Likewise.
9839 (y0_test_data): Likewise.
9840 (y1_test_data): Likewise.
9841 (yn_test_data): Likewise.
9842
66294491
JM
9843 [BZ #16167]
9844 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9845 argument being NaN and avoid computations with second argument in
9846 that case.
9847 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9848 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9849 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9850
1820b143
CL
98512013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9852
9853 * locale/iso-639.def: Add Chitwani Tharu (the).
9854
714bd261
AS
98552013-11-14 Andreas Schwab <schwab@suse.de>
9856
9857 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9858 word instead of empty string.
9859
7ab44563
AZ
98602013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9861
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9863 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9865 (__fe_nomask_env): Likewise.
9866
e8470ea2
SE
98672013-11-13 Steve Ellcey <sellcey@mips.com>
9868
9869 * benchtests/bench-timing.h: Include time.h.
9870
17c1d9f0
L
98712013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9872
9873 [BZ #15997]
9874 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9875 to 3.4.0 for x32.
9876 * sysdeps/unix/sysv/linux/configure: Regenerated.
9877
9310c284
JM
98782013-11-13 Joseph Myers <joseph@codesourcery.com>
9879
9880 [BZ #16151]
9881 * stdlib/strtod_l.c (round_and_return): Do not consider
9882 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9883 exponent one less than half the least subnormal exponent.
9884 * stdlib/test-strtod-round-data: Add more tests.
9885 * stdlib/tst-strtod-round.c (tests): Regenerated.
9886
7a2ad8cf
AZ
98872013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9888
9889 [BZ #14143]
9890 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9891 (__fe_mask_env): Likewise.
9892 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9893 libm_hidden_proto and add function prototype.
9894 (__fe_mask_env): Add function prototype.
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9896 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9898 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9900 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9901
50727aa7
MS
99022013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9903
b2f386c1 9904 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9905 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9906
a615be46
MS
99072013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9908
9909 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9910 of htab_find_slot().
9911
7ddace62
DM
99122013-11-11 David S. Miller <davem@davemloft.net>
9913
9914 [BZ #16150]
9915 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9916 symbol in the non-vis3 case in static builds.
9917 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9918 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9919 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9920 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9921
9182aa67
JK
99222013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9923
9924 [BZ #387]
9925 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9926 it is empty.
9927
450a2e2d
AZ
99282013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9929
b2f386c1
SP
9930 * benchtests/Makefile: Add bench-strtod.
9931 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9932
8ec3f656
AS
99332013-11-11 Andreas Schwab <schwab@suse.de>
9934
9935 [BZ #16153]
9936 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9937 terminating NUL in key length.
9938
76a9b998
AZ
99392013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9940
9941 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9942 Add artificial ODP entry for vDSO symbol for PPC64.
9943 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9944 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9945
e4368156
OB
99462013-11-07 Ondřej Bílka <neleai@seznam.cz>
9947
9948 [BZ #15374]
9949 * nss/getent.c (services_keys): Recognize services starting with digit.
9950
8d6bb57c
DM
99512013-11-06 David S. Miller <davem@davemloft.net>
9952
9953 [BZ #15985]
9954 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9955 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9956
e256c421
WN
99572013-11-06 Will Newton <will.newton@linaro.org>
9958
9959 * manual/memory.texi (Malloc Examples): Remove register
9960 keyword from examples.
9961
f6e12daa 99622013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9963
f6e12daa 9964 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9965
9d880655
AS
99662013-11-04 Joseph Myers <joseph@codesourcery.com>
9967
fd2f9486 9968 [BZ #6981]
9d880655
AS
9969 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9970 depending on [__GCC_IEC_559 > 0].
9971 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9972 depending on [__GCC_IEC_559_COMPLEX > 0].
9973
ae129d3c
CL
99742013-11-03 Chris Leonard <cjl@sugarlabs.org>
9975
9976 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9977 to iso-639.def.
9978
4a15c2a4 99792013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9980
9981 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9982
8b35e35d
OB
99832013-11-01 Ondřej Bílka <neleai@seznam.cz>
9984
9985 [BZ #16112]
9986 * malloc/malloc (malloc_info): Do not handle first bin as
9987 special case.
9988
1d70fd6c
CL
99892013-11-01 Chris Leonard <cjl@sugarlabs.org>
9990
9991 * locale/iso-639.def: Add Central Nahuatl (nhn).
9992
8c5c2600
BH
99932013-11-01 Bruno Haible <bruno@clisp.org>
9994
9995 [BZ #7003]
9996 * manual/math.texi (BSD Random): Specify range upper bound as
9997 in POSIX.
9998
da5579c2
CL
99992013-10-31 Chris Leonard <cjl@sugarlabs.org>
10000
10001 * locale/iso-639.def: Add Meadow Mari (mhr).
10002
5d30d853
OB
100032013-10-31 Ondřej Bílka <neleai@seznam.cz>
10004
10005 [BZ #14752], [BZ #15763]
10006 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10007 Validate name.
10008 * rt/tst_shm.c: Add test for escaping directory.
10009
a4966c61
AS
100102013-10-31 Andreas Schwab <schwab@suse.de>
10011
8a43e768 10012 [BZ #15917]
a4966c61
AS
10013 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10014 followed by 'x' as part of digit sequence.
10015 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10016
28d708c4
MAP
100172013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10018
10019 [BZ #16037]
10020 * configure.ac: allow GNU Make 4.0 and greater.
10021 * configure: Regenerated.
10022
a56ee40b
WN
100232013-10-30 Will Newton <will.newton@linaro.org>
10024
10025 [BZ #16038]
10026 * malloc/hooks.c (memalign_check): Limit alignment to the
10027 maximum representable power of two.
10028 * malloc/malloc.c (__libc_memalign): Likewise.
10029 * malloc/tst-memalign.c (do_test): Add test for very
10030 large alignment values.
10031 * malloc/tst-posix_memalign.c (do_test): Likewise.
10032
c6e4925d
OB
100332013-10-30 Ondřej Bílka <neleai@seznam.cz>
10034
10035 [BZ #11087]
10036 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10037 (munmap_chunk): Likewise.
10038 (mremap_chunk): Likewise.
10039
100402013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10041
8a43e768 10042 [BZ #15799]
bbea82f7
OB
10043 * stdlib/div.c (div): Remove obsolete code.
10044 * stdlib/ldiv.c (ldiv): Likewise.
10045 * stdlib/lldiv.c (lldiv): Likewise.
10046
977f4b31
SP
100472013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10048
10049 [BZ #16071]
10050 * nss/nss_files/files-XXX.c (get_contents_ret): New
10051 enumerator.
10052 (get_contents): New function.
10053 (internal_getent): Use it. Expand size of LINEBUFLEN.
10054
cb8a6dbd
MF
100552013-10-30 Mike Frysinger <vapier@gentoo.org>
10056
10057 * configure.in: Moved to ...
10058 * configure.ac: ... here. Change reference to configure.in
10059 to configure.ac.
10060 * sysdeps/arm/preconfigure.ac: ... here.
10061 configure.in to configure.ac.
10062 * sysdeps/gnu/configure.in: Moved to ...
10063 * sysdeps/gnu/configure.ac: ... here.
10064 * sysdeps/i386/configure.in: Moved to ...
10065 * sysdeps/i386/configure.ac: ... here.
10066 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10067 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10068 * sysdeps/mach/configure.in: Moved to ...
10069 * sysdeps/mach/configure.ac: ... here.
10070 * sysdeps/mach/hurd/configure.in: Moved to ...
10071 * sysdeps/mach/hurd/configure.ac: ... here.
10072 * sysdeps/powerpc/configure.in: Moved to ...
10073 * sysdeps/powerpc/configure.ac: ... here.
10074 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10075 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10076 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10077 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10078 * sysdeps/s390/s390-32/configure.in: Moved to ...
10079 * sysdeps/s390/s390-32/configure.ac: ... here.
10080 * sysdeps/s390/s390-64/configure.in: Moved to ...
10081 * sysdeps/s390/s390-64/configure.ac: ... here.
10082 * sysdeps/sh/configure.in: Moved to ...
10083 * sysdeps/sh/configure.ac: ... here.
10084 * sysdeps/sparc/configure.in: Moved to ...
10085 * sysdeps/sparc/configure.ac: ... here.
10086 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10087 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10088 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10089 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10090 * sysdeps/x86_64/configure.in: Moved to ...
10091 * sysdeps/x86_64/configure.ac: ... here.
10092 * sysdeps/x86_64/preconfigure.in: Moved to ...
10093 * sysdeps/x86_64/preconfigure.ac: ... here.
10094 * aclocal.m4: Change reference to configure.in to configure.ac.
10095 * config.h.in: Likewise.
10096 * manual/install.texi: Likewise.
10097 * manual/maint.texi: Likewise.
10098 * Makefile: Likewise.
10099 * malloc/Makefile: Likewise.
10100 * nscd/Makefile: Likewise.
10101 * Makeconfig: Change reference to configure.in and
10102 preconfigure.in to configure.ac and preconfigure.ac
10103 respectively.
10104 * INSTALL: Regenerated.
10105 * configure: Likewise.
10106 * sysdeps/gnu/configure: Likewise.
10107 * sysdeps/i386/configure: Likewise.
10108 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10109 * sysdeps/mach/configure: Likewise.
10110 * sysdeps/mach/hurd/configure: Likewise.
10111 * sysdeps/powerpc/configure: Likewise.
10112 * sysdeps/powerpc/powerpc32/configure: Likewise.
10113 * sysdeps/powerpc/powerpc64/configure: Likewise.
10114 * sysdeps/s390/s390-32/configure: Likewise.
10115 * sysdeps/s390/s390-64/configure: Likewise.
10116 * sysdeps/sh/configure: Likewise.
10117 * sysdeps/sparc/configure: Likewise.
10118 * sysdeps/unix/sysv/linux/configure: Likewise.
10119 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10120 * sysdeps/x86_64/configure: Likewise.
10121 * sysdeps/x86_64/preconfigure: Likewise.
10122
36a4953a
AS
101232013-10-29 Andreas Schwab <schwab@suse.de>
10124
10125 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10126
c79a1204
SP
101272013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10128
dfa1b402
SP
10129 * benchtests/pow-inputs: Add new inputs.
10130
54f73d9c
SP
10131 * benchtests/exp-inputs: Add new inputs.
10132
c79a1204
SP
10133 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10134 conditional check for return value.
10135 (__cos32): Likewise.
10136
67beb545 101372013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10138
10139 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10140 to provide a boost for large inputs with word alignment.
10141 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10142 implementation based on optimized PPC64 strcpy.
10143 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10144 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10145 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10146 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10147
151659f6
OB
101482013-10-25 Ondřej Bílka <neleai@seznam.cz>
10149
482a077e 10150 [BZ #2801]
151659f6
OB
10151 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10152
10b0f26b
OB
101532013-10-25 Ondřej Bílka <neleai@seznam.cz>
10154
10155 [BZ #14876]
10156 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10157 * time/tst-strptime.c (day_tests): Add testcase.
10158
ca42d35e
OB
101592013-10-25 Ondřej Bílka <neleai@seznam.cz>
10160
482a077e 10161 [BZ #14029]
ca42d35e
OB
10162 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10163
52e6d801
FB
101642013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10165
10166 [BZ #16074]
10167 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10168 MAP_FAILED on error.
10169
7cbcdb36
SP
101702013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10171
10172 [BZ #16072]
10173 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10174 heap for large requests.
10175
894f3f10
AM
101762013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10177
10178 [BZ #9954]
10179 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10180 result if the result has no associated interface.
10181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10182 interface for all 127.X.Y.Z addresses.
10183
b85545a6
CL
101842013-10-24 Chris Leonard <cjl@sugarlabs.org>
10185
10186 * locale/iso-639.def: Add Ligurian (lij)
10187
d1f23d46
OB
101882013-10-21 Ondřej Bílka <neleai@seznam.cz>
10189
10190 [BZ #15825]
10191 * sunrpc/rpc_main.c: Document rpcgen -5.
10192
4db5b08f
MS
101932013-10-19 Michael Stahl <mstahl@redhat.com>
10194
10195 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10196
a471e96a
OB
101972013-10-19 Ondřej Bílka <neleai@seznam.cz>
10198
d1f23d46 10199 [BZ #10278]
a471e96a
OB
10200 * posix/glob.c: Match only directories when trailing slash is present.
10201 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10202 (main): Add testcase.
10203
45c30c61
OB
102042013-10-19 Ondřej Bílka <neleai@seznam.cz>
10205
10206 [BZ #15670]
10207 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10208
484c12fb
CD
102092013-10-18 Carlos O'Donell <carlos@redhat.com>
10210
3d7dc513
CD
10211 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10212 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10213 AUTH_DES and cindex for FIPS 140-2.
10214 (DES Encryption): Add cindex FIPS 46-3.
10215
484c12fb
CD
10216 * locale/locarchive.h (struct locarhandle): Add fname.
10217 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10218 if an optional argument was specified to --list-archive,
10219 otherwise NULL.
10220 * locale/programs/locarchive.c (show_archive_content): Take new
10221 argument fname and pass it via ah.fname to open_archive.
10222 * locale/programs/localedef.h: Update decl.
10223 (open_archive): If AH->fname is non-null, open that file
10224 rather than the default file name, and don't ignore ENOENT.
10225 (create_archive): Set AH.fname to NULL.
10226 (delete_locales_from_archive): Likewise.
10227 (add_locales_to_archive): Likewise.
10228 * locale/programs/locfile.c (write_all_categories): Likewise.
10229
3c8325fb
JM
102302013-10-18 Joseph Myers <joseph@codesourcery.com>
10231 Aldy Hernandez <aldyh@redhat.com>
10232
10233 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10234 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10235 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10236 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10237 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10238 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10239 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10240 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10241 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10242 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10243 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10244 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10245 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10246 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10247 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10248 Likewise.
10249 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10250 Likewise.
10251 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10252 Likewise.
10253 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10254 Likewise.
10255 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10256 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10257 Likewise.
10258 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10259 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10260 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10261 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10262 Likewise.
10263 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10264 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10265 * sysdeps/powerpc/preconfigure: Likewise.
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10267 Likewise.
10268 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10269 Replace contents of file by #include of <fenv_libc.h>.
10270 * sysdeps/powerpc/soft-fp/sfp-machine.h
10271 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10272 and <sys/prctl.h>.
10273 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10274 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10275 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10276 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10277 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10278 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10280 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10281 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10282 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10283 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10284 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10286 Allow copysignl PLT reference to be missing.
10287
5abe0682
RS
102882013-10-18 Richard Sandiford <richard@codesourcery.com>
10289 Joseph Myers <joseph@codesourcery.com
10290
10291 [BZ #15948]
10292 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10293 single character.
10294 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10295
c7738d08
SP
102962013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10297
10298 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10299 * elf/tst-tls1.c: Likewise.
10300 * elf/tst-tls10.h: Likewise.
10301 * elf/tst-tls14.c: Likewise.
10302 * elf/tst-tls2.c: Likewise.
10303 * elf/tst-tls3.c: Likewise.
10304 * elf/tst-tls4.c: Likewise.
10305 * elf/tst-tls5.c: Likewise.
10306 * elf/tst-tls6.c: Likewise.
10307 * elf/tst-tls7.c: Likewise.
10308 * elf/tst-tls8.c: Likewise.
10309 * elf/tst-tls9.c: Likewise.
10310 * elf/tst-tlsmod1.c: Likewise.
10311 * elf/tst-tlsmod13.c: Likewise.
10312 * elf/tst-tlsmod13a.c: Likewise.
10313 * elf/tst-tlsmod14a.c: Likewise.
10314 * elf/tst-tlsmod16a.c: Likewise.
10315 * elf/tst-tlsmod16b.c: Likewise.
10316 * elf/tst-tlsmod2.c: Likewise.
10317 * elf/tst-tlsmod3.c: Likewise.
10318 * elf/tst-tlsmod4.c: Likewise.
10319 * elf/tst-tlsmod5.c: Likewise.
10320 * elf/tst-tlsmod6.c: Likewise.
10321
0bfcf2c7
OB
103222013-10-18 Ondřej Bílka <neleai@seznam.cz>
10323
10324 [BZ #12486]
10325 * malloc/malloc.c: remove checks for statistics.
10326
264aad1e
OB
103272013-10-17 Ondřej Bílka <neleai@seznam.cz>
10328
10329 [BZ #15277]
10330 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10331 * inet/tst-network.c: Add testcase.
10332
b957ced8
AS
103332013-10-17 Andreas Schwab <schwab@suse.de>
10334
10335 [BZ #15218]
10336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10337 to determine canonical name.
10338
c5d5d574
OB
103392013-10-17 Ondřej Bílka <neleai@seznam.cz>
10340
10341 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10342 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10365 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10366 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10371 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10399
e5c2c2d0
JM
104002013-10-17 Joseph Myers <joseph@codesourcery.com>
10401
10402 [BZ #16041]
10403 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10404 make result into a quiet NaN.
10405
51ca9e29
JM
104062013-10-16 Joseph Myers <joseph@codesourcery.com>
10407
10408 * soft-fp/adddf3.c: Fix horizontal whitespace.
10409 * soft-fp/addsf3.c: Likewise.
10410 * soft-fp/addtf3.c: Likewise.
10411 * soft-fp/divdf3.c: Likewise.
10412 * soft-fp/divsf3.c: Likewise.
10413 * soft-fp/divtf3.c: Likewise.
10414 * soft-fp/double.h: Likewise.
10415 * soft-fp/eqdf2.c: Likewise.
10416 * soft-fp/eqsf2.c: Likewise.
10417 * soft-fp/eqtf2.c: Likewise.
10418 * soft-fp/extenddftf2.c: Likewise.
10419 * soft-fp/extended.h: Likewise.
10420 * soft-fp/extendsfdf2.c: Likewise.
10421 * soft-fp/extendsftf2.c: Likewise.
10422 * soft-fp/extendxftf2.c: Likewise.
10423 * soft-fp/fixdfdi.c: Likewise.
10424 * soft-fp/fixdfsi.c: Likewise.
10425 * soft-fp/fixdfti.c: Likewise.
10426 * soft-fp/fixsfdi.c: Likewise.
10427 * soft-fp/fixsfsi.c: Likewise.
10428 * soft-fp/fixsfti.c: Likewise.
10429 * soft-fp/fixtfdi.c: Likewise.
10430 * soft-fp/fixtfsi.c: Likewise.
10431 * soft-fp/fixtfti.c: Likewise.
10432 * soft-fp/fixunsdfdi.c: Likewise.
10433 * soft-fp/fixunsdfsi.c: Likewise.
10434 * soft-fp/fixunsdfti.c: Likewise.
10435 * soft-fp/fixunssfdi.c: Likewise.
10436 * soft-fp/fixunssfsi.c: Likewise.
10437 * soft-fp/fixunssfti.c: Likewise.
10438 * soft-fp/fixunstfdi.c: Likewise.
10439 * soft-fp/fixunstfsi.c: Likewise.
10440 * soft-fp/fixunstfti.c: Likewise.
10441 * soft-fp/floatdidf.c: Likewise.
10442 * soft-fp/floatdisf.c: Likewise.
10443 * soft-fp/floatditf.c: Likewise.
10444 * soft-fp/floatsidf.c: Likewise.
10445 * soft-fp/floatsisf.c: Likewise.
10446 * soft-fp/floatsitf.c: Likewise.
10447 * soft-fp/floattidf.c: Likewise.
10448 * soft-fp/floattisf.c: Likewise.
10449 * soft-fp/floattitf.c: Likewise.
10450 * soft-fp/floatundidf.c: Likewise.
10451 * soft-fp/floatundisf.c: Likewise.
10452 * soft-fp/floatunditf.c: Likewise.
10453 * soft-fp/floatunsidf.c: Likewise.
10454 * soft-fp/floatunsisf.c: Likewise.
10455 * soft-fp/floatunsitf.c: Likewise.
10456 * soft-fp/floatuntidf.c: Likewise.
10457 * soft-fp/floatuntisf.c: Likewise.
10458 * soft-fp/floatuntitf.c: Likewise.
10459 * soft-fp/fmadf4.c: Likewise.
10460 * soft-fp/fmasf4.c: Likewise.
10461 * soft-fp/fmatf4.c: Likewise.
10462 * soft-fp/gedf2.c: Likewise.
10463 * soft-fp/gesf2.c: Likewise.
10464 * soft-fp/getf2.c: Likewise.
10465 * soft-fp/ledf2.c: Likewise.
10466 * soft-fp/lesf2.c: Likewise.
10467 * soft-fp/letf2.c: Likewise.
10468 * soft-fp/muldf3.c: Likewise.
10469 * soft-fp/mulsf3.c: Likewise.
10470 * soft-fp/multf3.c: Likewise.
10471 * soft-fp/negdf2.c: Likewise.
10472 * soft-fp/negsf2.c: Likewise.
10473 * soft-fp/negtf2.c: Likewise.
10474 * soft-fp/op-1.h: Likewise.
10475 * soft-fp/op-2.h: Likewise.
10476 * soft-fp/op-4.h: Likewise.
10477 * soft-fp/op-8.h: Likewise.
10478 * soft-fp/op-common.h: Likewise.
10479 * soft-fp/quad.h: Likewise.
10480 * soft-fp/single.h: Likewise.
10481 * soft-fp/soft-fp.h: Likewise.
10482 * soft-fp/sqrtdf2.c: Likewise.
10483 * soft-fp/sqrtsf2.c: Likewise.
10484 * soft-fp/sqrttf2.c: Likewise.
10485 * soft-fp/subdf3.c: Likewise.
10486 * soft-fp/subsf3.c: Likewise.
10487 * soft-fp/subtf3.c: Likewise.
10488 * soft-fp/truncdfsf2.c: Likewise.
10489 * soft-fp/trunctfdf2.c: Likewise.
10490 * soft-fp/trunctfsf2.c: Likewise.
10491 * soft-fp/trunctfxf2.c: Likewise.
10492 * soft-fp/unorddf2.c: Likewise.
10493 * soft-fp/unordsf2.c: Likewise.
10494 * soft-fp/unordtf2.c: Likewise.
10495
9ebb0332
JM
104962013-10-15 Joseph Myers <joseph@codesourcery.com>
10497
10498 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10499 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10500
4b1a6d8b
OB
105012013-10-15 Ondřej Bílka <neleai@seznam.cz>
10502
10503 * elf/dl-libc.c: Clear initfini list after freeing.
10504
1e145589
JM
105052013-10-14 Joseph Myers <joseph@codesourcery.com>
10506
10507 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10508 * soft-fp/addsf3.c: Likewise.
10509 * soft-fp/addtf3.c: Likewise.
10510 * soft-fp/divdf3.c: Likewise.
10511 * soft-fp/divsf3.c: Likewise.
10512 * soft-fp/divtf3.c: Likewise.
10513 * soft-fp/double.h: Likewise.
10514 * soft-fp/eqdf2.c: Likewise.
10515 * soft-fp/eqsf2.c: Likewise.
10516 * soft-fp/eqtf2.c: Likewise.
10517 * soft-fp/extenddftf2.c: Likewise.
10518 * soft-fp/extended.h: Likewise.
10519 * soft-fp/extendsfdf2.c: Likewise.
10520 * soft-fp/extendsftf2.c: Likewise.
10521 * soft-fp/extendxftf2.c: Likewise.
10522 * soft-fp/fixdfdi.c: Likewise.
10523 * soft-fp/fixdfsi.c: Likewise.
10524 * soft-fp/fixdfti.c: Likewise.
10525 * soft-fp/fixsfdi.c: Likewise.
10526 * soft-fp/fixsfsi.c: Likewise.
10527 * soft-fp/fixsfti.c: Likewise.
10528 * soft-fp/fixtfdi.c: Likewise.
10529 * soft-fp/fixtfsi.c: Likewise.
10530 * soft-fp/fixtfti.c: Likewise.
10531 * soft-fp/fixunsdfdi.c: Likewise.
10532 * soft-fp/fixunsdfsi.c: Likewise.
10533 * soft-fp/fixunsdfti.c: Likewise.
10534 * soft-fp/fixunssfdi.c: Likewise.
10535 * soft-fp/fixunssfsi.c: Likewise.
10536 * soft-fp/fixunssfti.c: Likewise.
10537 * soft-fp/fixunstfdi.c: Likewise.
10538 * soft-fp/fixunstfsi.c: Likewise.
10539 * soft-fp/fixunstfti.c: Likewise.
10540 * soft-fp/floatdidf.c: Likewise.
10541 * soft-fp/floatdisf.c: Likewise.
10542 * soft-fp/floatditf.c: Likewise.
10543 * soft-fp/floatsidf.c: Likewise.
10544 * soft-fp/floatsisf.c: Likewise.
10545 * soft-fp/floatsitf.c: Likewise.
10546 * soft-fp/floattidf.c: Likewise.
10547 * soft-fp/floattisf.c: Likewise.
10548 * soft-fp/floattitf.c: Likewise.
10549 * soft-fp/floatundidf.c: Likewise.
10550 * soft-fp/floatundisf.c: Likewise.
10551 * soft-fp/floatunsidf.c: Likewise.
10552 * soft-fp/floatunsisf.c: Likewise.
10553 * soft-fp/floatuntidf.c: Likewise.
10554 * soft-fp/floatuntisf.c: Likewise.
10555 * soft-fp/floatuntitf.c: Likewise.
10556 * soft-fp/fmadf4.c: Likewise.
10557 * soft-fp/fmasf4.c: Likewise.
10558 * soft-fp/fmatf4.c: Likewise.
10559 * soft-fp/gedf2.c: Likewise.
10560 * soft-fp/gesf2.c: Likewise.
10561 * soft-fp/getf2.c: Likewise.
10562 * soft-fp/ledf2.c: Likewise.
10563 * soft-fp/lesf2.c: Likewise.
10564 * soft-fp/letf2.c: Likewise.
10565 * soft-fp/muldf3.c: Likewise.
10566 * soft-fp/mulsf3.c: Likewise.
10567 * soft-fp/multf3.c: Likewise.
10568 * soft-fp/negdf2.c: Likewise.
10569 * soft-fp/negsf2.c: Likewise.
10570 * soft-fp/negtf2.c: Likewise.
10571 * soft-fp/op-1.h: Likewise.
10572 * soft-fp/op-2.h: Likewise.
10573 * soft-fp/op-4.h: Likewise.
10574 * soft-fp/op-8.h: Likewise.
10575 * soft-fp/op-common.h: Likewise.
10576 * soft-fp/quad.h: Likewise.
10577 * soft-fp/single.h: Likewise.
10578 * soft-fp/soft-fp.h: Likewise.
10579 * soft-fp/sqrtdf2.c: Likewise.
10580 * soft-fp/sqrtsf2.c: Likewise.
10581 * soft-fp/sqrttf2.c: Likewise.
10582 * soft-fp/subdf3.c: Likewise.
10583 * soft-fp/subsf3.c: Likewise.
10584 * soft-fp/subtf3.c: Likewise.
10585 * soft-fp/truncdfsf2.c: Likewise.
10586 * soft-fp/trunctfdf2.c: Likewise.
10587 * soft-fp/trunctfsf2.c: Likewise.
10588 * soft-fp/trunctfxf2.c: Likewise.
10589 * soft-fp/unorddf2.c: Likewise.
10590 * soft-fp/unordsf2.c: Likewise.
10591 * soft-fp/unordtf2.c: Likewise.
10592
17c48a60
OB
105932013-10-14 Ondřej Bílka <neleai@seznam.cz>
10594
10595 [BZ #15672]
10596 * misc/error.c (error_tail): Fix possible buffer overflow.
10597
cabba934
OB
105982013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10599
10600 [BZ #13028]
10601 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10602 address.
10603
94bf958a
PM
106042013-10-14 P. J. McDermott <pj@pehjota.net>
10605
10606 [BZ #832]
10607 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10608 testing pipefail option.
10609
71b4dea7
JM
106102013-10-12 Joseph Myers <joseph@codesourcery.com>
10611
10612 * soft-fp/double.h: Indent preprocessor directives inside #if.
10613 * soft-fp/extended.h: Likewise.
10614 * soft-fp/op-2.h: Likewise.
10615 * soft-fp/op-4.h: Likewise.
10616 * soft-fp/op-common.h: Likewise.
10617 * soft-fp/quad.h: Likewise.
10618 * soft-fp/single.h: Likewise.
10619 * soft-fp/soft-fp.h: Likewise.
10620
55602758
YC
106212013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10622
10623 * iconv/iconv_prog.c: Fix typos.
10624 * stdio-common/psiginfo-data.h: Likewise.
10625
9cd83302
RT
106262013-10-12 Reuben Thomas <rrt@sc3d.org>
10627
10628 [BZ #15764]
10629 * locale/setlocale.c: Fix typo.
10630
99fd9f47
JM
106312013-10-12 Joseph Myers <joseph@codesourcery.com>
10632
b7ea74f0
JM
10633 [BZ #16036]
10634 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10635 signaling NaN arguments.
10636 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10637 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10638
8a509447
JM
10639 [BZ #14910]
10640 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10641 unordered operands.
10642 * soft-fp/gesf2.c (__gesf2): Likewise.
10643 * soft-fp/getf2.c (__getf2): Likewise.
10644 * soft-fp/ledf2.c (__ledf2): Likewise.
10645 * soft-fp/lesf2.c (__lesf2): Likewise.
10646 * soft-fp/letf2.c (__letf2): Likewise.
10647
98998e9f
JM
10648 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10649 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10650 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10651 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10652 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10653 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10654 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10655 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10656 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10657 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10658 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10659 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10660 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10661 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10662 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10663 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10664 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10665 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10666 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10667 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10668 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10669 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10670 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10671 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10672 * soft-fp/floattidf.c (__floattidf): Likewise.
10673 * soft-fp/floattisf.c (__floattisf): Likewise.
10674 * soft-fp/floattitf.c (__floattitf): Likewise.
10675 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10676 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10677 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10678 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10679 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10680 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10681 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10682 * soft-fp/gesf2.c (__gesf2): Likewise.
10683 * soft-fp/getf2.c (__getf2): Likewise.
10684 * soft-fp/ledf2.c (__ledf2): Likewise.
10685 * soft-fp/lesf2.c (__lesf2): Likewise.
10686 * soft-fp/letf2.c (__letf2): Likewise.
10687
8edc4a11
JM
10688 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10689 Undefine and redefine.
10690 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10691 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10692 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10693 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10694 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10695 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10696 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10697 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10698 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10699 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10700 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10701 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10702 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10703 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10704 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10705
8399acaf
JM
10706 [BZ #16032]
10707 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10708 without decrementing exponent if mantissa >= that for the
10709 denominator, not >.
10710 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10711 denominator, not >. Decrement exponent in < case instead of
10712 incrementing in >= case.
10713 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10714 without decrementing exponent if mantissa >= that for the
10715 denominator, not >.
10716
99fd9f47
JM
10717 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10718 computing saturated result for unsigned overflow.
10719
10e1cf6b
SP
107202013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10721 Jeff Law <law@redhat.com>
10722
10723 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10724 (atan2Mp): Add systemtap probe marker.
10725 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10726 (__ieee754_log): Add systemtap probe marker.
10727 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10728 (atanMp): Add systemtap probe marker.
10729 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10730 (tanMp): Add systemtap probe marker.
10731 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10732 (__slowexp): Add systemtap probe marker.
10733 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10734 (__slowpow): Add systemtap probe marker.
10735 * manual/probes.texi: Document probes.
10736
3d110c7c
EB
107372013-10-11 Eric Biggers <ebiggers3@gmail.com>
10738
10739 [BZ #15362]
10740 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10741 written.
10742 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10743 written.
10744 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10745 written to buffer but not flushed.
10746 * libio/iofwrite_u.c: Likewise.
10747 * libio/iopadn.c: Return bytes returned even if EOF was
10748 encountered.
10749 * libio/iowpadn.c: Likewise.
10750 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10751 if _IO_padn does not write the whole buffer.
10752 [!COMPILE_WPRINTF] (PAD): Likewise.
10753
75b4202a
DM
107542013-10-10 David S. Miller <davem@davemloft.net>
10755
10756 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10757 directory block.
10758
6c6352e6
JM
107592013-10-10 Joseph Myers <joseph@codesourcery.com>
10760
33b853c3
JM
10761 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10762 instead of FSF address.
10763 * soft-fp/fixdfti.c: Likewise.
10764 * soft-fp/fixsfti.c: Likewise.
10765 * soft-fp/fixtfti.c: Likewise.
10766 * soft-fp/fixunsdfti.c: Likewise.
10767 * soft-fp/fixunssfti.c: Likewise.
10768 * soft-fp/fixunstfti.c: Likewise.
10769 * soft-fp/floattidf.c: Likewise.
10770 * soft-fp/floattisf.c: Likewise.
10771 * soft-fp/floattitf.c: Likewise.
10772 * soft-fp/floatuntidf.c: Likewise.
10773 * soft-fp/floatuntisf.c: Likewise.
10774 * soft-fp/floatuntitf.c: Likewise.
10775 * soft-fp/trunctfxf2.c: Likewise.
10776
6c6352e6
JM
10777 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10778 * soft-fp/fixdfti.c: Likewise.
10779 * soft-fp/fixsfti.c: Likewise.
10780 * soft-fp/fixtfti.c: Likewise.
10781 * soft-fp/fixunsdfti.c: Likewise.
10782 * soft-fp/fixunssfti.c: Likewise.
10783 * soft-fp/fixunstfti.c: Likewise.
10784 * soft-fp/floattidf.c: Likewise.
10785 * soft-fp/floattisf.c: Likewise.
10786 * soft-fp/floattitf.c: Likewise.
10787 * soft-fp/floatuntidf.c: Likewise.
10788 * soft-fp/floatuntisf.c: Likewise.
10789 * soft-fp/floatuntitf.c: Likewise.
10790 * soft-fp/trunctfxf2.c: Likewise.
10791
3bf78b71
DM
107922013-10-10 David S. Miller <davem@davemloft.net>
10793
10794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10795
6f10289e
JM
107962013-10-10 Joseph Myers <joseph@codsourcery.com>
10797
bd878fc0
JM
10798 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10799 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10800 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10801 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10802 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10803 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10804 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10805
6f10289e
JM
10806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10807 for NaNs before doing comparisons on argument.
10808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10809 Likewise.
10810
321e2684
WN
108112013-10-10 Will Newton <will.newton@linaro.org>
10812
10813 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10814 passed to _int_memalign does not overflow.
10815
40fefba1
TR
108162013-10-10 Torvald Riegel <triegel@redhat.com>
10817
10818 * scripts/bench.pl: Add include-sources directive.
10819 * benchtests/README: Update documentation.
10820
2ae21ed2
JM
108212013-10-10 Joseph Myers <joseph@codesourcery.com>
10822
dcc2dd3f
JM
10823 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10824 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10825 instead of FP_INIT_ROUNDMODE.
10826 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10827 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10828
2ae21ed2
JM
10829 [BZ #16034]
10830 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10831 copy class of input value.
10832 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10833 not handle exceptions.
10834 * soft-fp/negsf2.c (__negsf2): Likewise.
10835 * soft-fp/negtf2.c (__negtf2): Likewise.
10836 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10837
cb8f9562
JM
108382013-10-09 Joseph Myers <joseph@codesourcery.com>
10839
10840 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10841 semicolon. From Linux kernel.
10842
5b60c59d
AB
108432013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10844
10845 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10846
b86835ca
YC
108472013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10848
10849 [BZ #156]
10850 * manual/socket.texi: Added statement about buffer
10851 for gethostbyname2_r.
10852
e7044ea7
OB
108532013-10-08 Ondřej Bílka <neleai@seznam.cz>
10854
10855 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10856 Use .p2align directive instead, throughout.
10857 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10858 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10859 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10862 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10863 * sysdeps/x86_64/strchr.S: Likewise.
10864 * sysdeps/x86_64/strrchr.S: Likewise.
10865
09544cbc
SP
108662013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10867
88576635
SP
10868 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10869
e7b2d1dd
SP
10870 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10871
09544cbc
SP
10872 * sysdeps/generic/math_private.h (__mpsin1): Remove
10873 declaration.
10874 (__mpcos1): Likewise.
10875 (__mpsin): New argument __range_reduce.
10876 (__mpcos): Likewise.
10877 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10878 (slow): Use __mpsin and __mpcos.
10879 (slow1): Likewise.
10880 (slow2): Likewise.
10881 (sloww): Likewise.
10882 (sloww1): Likewise.
10883 (sloww2): Likewise.
10884 (bsloww): Likewise.
10885 (bsloww1): Likewise.
10886 (bsloww2): Likewise.
10887 (cslow2): Likewise.
10888 (csloww): Likewise.
10889 (csloww1): Likewise.
10890 (csloww2): Likewise.
10891 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10892 range_reduce. Merge in __mpsin1.
10893 (__mpcos): Likewise.
10894 (__mpsin1): Remove.
10895 (__mpcos1): Likewise.
10896
7602d070
JM
108972013-10-07 Joseph Myers <joseph@codesourcery.com>
10898
10899 * locale/loadlocale.c (_nl_intern_locale_data): Use
10900 LOCFILE_ALIGNED_P.
10901 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10902 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10903 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10904 obstack data is appropriately aligned.
10905 (obstack_int32_grow_fast): Likewise.
10906 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10907 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10908 (add_locale_uint32_array): Likewise.
10909
a357259b
SP
109102013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10911
10912 * benchtests/Makefile: Remove ARGLIST and RET variables.
10913 ($(objpfx)bench-%.c): Pass only function name to the script.
10914 * benchtests/README: Update documentation.
10915 * benchtests/acos-inputs: Add new directives.
10916 * benchtests/acosh-inputs: Likewise.
10917 * benchtests/asin-inputs: Likewise.
10918 * benchtests/asinh-inputs: Likewise.
10919 * benchtests/atan-inputs: Likewise.
10920 * benchtests/atanh-inputs: Likewise.
10921 * benchtests/cos-inputs: Likewise.
10922 * benchtests/cosh-inputs: Likewise.
10923 * benchtests/exp-inputs: Likewise.
10924 * benchtests/log-inputs: Likewise.
10925 * benchtests/pow-inputs: Likewise.
10926 * benchtests/rint-inputs: Likewise.
10927 * benchtests/sin-inputs: Likewise.
10928 * benchtests/sinh-inputs: Likewise.
10929 * benchtests/tan-inputs: Likewise.
10930 * benchtests/tanh-inputs: Likewise.
10931 * scripts/bench.pl: Add support for new directives.
10932
9ec1b13d
AM
109332013-10-07 Alan Modra <amodra@gmail.com>
10934
10935 * README: Fix careless merge.
10936
8b7d57cd
AM
109372013-10-05 Alan Modra <amodra@gmail.com>
10938
10939 * NEWS: Mention powerpc64le support and bugs fixed.
10940 * README: Both big-endian and little-endian powerpc64 supported.
10941
7b7bab13
ST
109422013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10943
57f41c40
AS
10944 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10945 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10946 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10947 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10948
d39baad1
RA
109492013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10950
10951 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10952 match prototype.
10953
cd78f7e7
JM
109542013-10-04 Joseph Myers <joseph@codesourcery.com>
10955
29d73d86
JM
10956 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10957 Move -mhard-float appending from
10958 ports/sysdeps/powerpc/powerpc32/Makefile.
10959 [$(with-fp) = yes] (ASFLAGS): Likewise.
10960 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10961 * sysdeps/powerpc/nofpu: Move directory from
10962 ports/sysdeps/powerpc/nofpu.
10963 * sysdeps/powerpc/soft-fp: Move directory from
10964 ports/sysdeps/powerpc/soft-fp.
10965 * sysdeps/powerpc/powerpc32/405: Move directory from
10966 ports/sysdeps/powerpc/powerpc32/405.
10967 * sysdeps/powerpc/powerpc32/440: Move directory from
10968 ports/sysdeps/powerpc/powerpc32/440.
10969 * sysdeps/powerpc/powerpc32/464: Move directory from
10970 ports/sysdeps/powerpc/powerpc32/464.
10971 * sysdeps/powerpc/powerpc32/476: Move directory from
10972 ports/sysdeps/powerpc/powerpc32/476.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10974 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10976 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10978 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10980 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10982 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10983 * README: Update for powerpc-*-linux-gnu software floating point
10984 support in libc.
10985
e246b347
JM
10986 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10987 case to powerpc/powerpc32*.
10988 * sysdeps/unix/sysv/linux/configure: Regenerated.
10989
89c2003e
JM
10990 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10991 (_FPU_MASK_OM): Define as 0x04.
10992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10994 0x00c10080.
10995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10996 0x0000003c.
10997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10998
cd78f7e7
JM
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11000 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11001 getcontext_e500.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11003 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11004 setcontext_e500.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11006 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11007 and setcontext_e500.
11008
c755294d
CL
110092013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11010
11011 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11012
e16d221c
SP
110132013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11014
11015 * manual/threads.texi (Default Thread Attributes): Fix typo.
11016
215c7d43
WN
110172013-10-04 Will Newton <will.newton@linaro.org>
11018
11019 * malloc/Makefile: Add tst-memalign.
11020 * malloc/tst-memalign.c: New file.
11021
27d0461b
WN
11022 * malloc/tst-posix_memalign.c: Add comments.
11023 (do_test): Add comments and call free on all potentially
11024 allocated pointers. Add space after cast.
11025
1bc92709
WN
11026 * malloc/tst-pvalloc.c: Add comments.
11027 (do_test): Add comments and call free on all potentially
11028 allocated pointers. Remove duplicate check for NULL pointer.
11029 Add space after cast.
11030
66a9be9d
WN
11031 * malloc/tst-valloc.c: Add comments.
11032 (do_test): Add comments and call free on all potentially
11033 allocated pointers. Remove duplicate check for NULL pointer.
11034 Add space after cast.
11035
4cb81307
AM
110362013-10-04 Alan Modra <amodra@gmail.com>
11037
11038 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11039 Use stdint types in rather than __attribute__((mode())).
11040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11041
f8e3e9f3
AM
110422013-10-04 Alan Modra <amodra@gmail.com>
11043
11044 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11045 Correct handling of unaligned relocs for little-endian.
11046 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11047
8f9ebb08
AM
110482013-10-04 Alan Modra <amodra@gmail.com>
11049
11050 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11051 * configure: Regenerate.
11052 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11053 * shlib-versions: Likewise.
11054
0edf96c2
AM
110552013-10-04 Alan Modra <amodra@gmail.com>
11056
11057 * string/tester.c (test_memrchr): Increment reported test cycle.
11058
e0f7a380
AM
110592013-10-04 Alan Modra <amodra@gmail.com>
11060
11061 * string/test-memcpy.c (do_one_test): When reporting errors, print
11062 string address and don't overrun end of string.
11063
466b0393
AM
110642013-10-04 Alan Modra <amodra@gmail.com>
11065
11066 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11067 insrdi. Make better use of reg selection to speed exit slightly.
11068 Schedule entry path a little better. Remove useless "are we done"
11069 checks on entry to main loop. Handle wrapping around zero address.
11070 Correct main loop count. Handle single left-over word from main
11071 loop inline rather than by using loop_small. Remove extra word
11072 case in loop_small caused by wrong loop count. Add little-endian
11073 support.
11074 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11076 cache hint.
11077 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11078 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11079 support. Avoid rlwimi.
11080 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11081
3be87c77
AM
110822013-10-04 Alan Modra <amodra@gmail.com>
11083
11084 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11085 insrdi. Formatting.
3be87c77
AM
11086 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11087 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11088 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11089 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11090 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11091 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11092
759cfef3
AM
110932013-10-04 Alan Modra <amodra@gmail.com>
11094
11095 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11096 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11097 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11098 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11099 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11100 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11101 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11102 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11103 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11104 use of regs. Use power7 mtocrf. Tidy function tails.
11105
fe6e95d7
AM
111062013-10-04 Alan Modra <amodra@gmail.com>
11107
11108 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11109 Formatting. Consistently use rXXX register defines or rN defines.
11110 Use early exit labels that avoid restoring unused non-volatile regs.
11111 Make cr field use more consistent with rWORDn compares. Rename
11112 regs used as shift registers for unaligned loop, using rN defines
11113 for short lifetime/multiple use regs.
11114 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11115 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11116 addi 1,1,64 to pop stack frame. Simplify return value code.
11117 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11118
664318c3
AM
111192013-10-04 Alan Modra <amodra@gmail.com>
11120
11121 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11122 support. Correct typos, formatting. Optimize tail. Use insrdi
11123 rather than rlwimi.
11124 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11125 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11126 little-endian support. Correct typos.
11127 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11128 rather than rlwimi.
11129 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11130 in loop and entry code to keep "and." results.
11131 (strchr): Add little-endian support. Comment. Move cntlzd
11132 earlier in tail.
11133 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11134
43b84013
AM
111352013-10-04 Alan Modra <amodra@gmail.com>
11136
11137 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11138 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11139 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11140 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11141
8a7413f9
AM
111422013-10-04 Alan Modra <amodra@gmail.com>
11143
11144 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11145 (rTMP): Define as r11.
11146 (strcmp): Add little-endian support. Optimise tail.
11147 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11148 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11149 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11150 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11151 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11154
33ee81de
AM
111552013-10-04 Alan Modra <amodra@gmail.com>
11156
11157 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11158 little-endian support. Remove unnecessary "are we done" tests.
11159 Handle "s" wrapping around zero and extremely large "size".
11160 Correct main loop count. Handle single left-over word from main
11161 loop inline rather than by using small_loop. Correct comments.
11162 Delete "zero" tail, use "end_max" instead.
11163 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11164
db9b4570
AM
111652013-10-04 Alan Modra <amodra@gmail.com>
11166
11167 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11168 support. Don't branch over align.
11169 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11170 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11171 support. Rearrange tmp reg use to suit. Comment.
11172 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11173
f7c399cf
AM
111742013-10-04 Alan Modra <amodra@gmail.com>
11175
11176 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11177
0b2c2ace
AM
111782013-10-04 Alan Modra <amodra@gmail.com>
11179
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11181 conditional form of branch and link when obtaining pc.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11183
02f04a6c
AM
111842013-10-04 Alan Modra <amodra@gmail.com>
11185
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11187 HIWORD/LOWORD.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11190
9b874b2f
AM
111912013-10-04 Alan Modra <amodra@gmail.com>
11192
11193 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11194 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11195 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11196 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11197 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11198 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11199 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11200 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11201 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11202 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11203
be1e5d31
AB
112042013-10-04 Anton Blanchard <anton@au1.ibm.com>
11205 Alistair Popple <alistair@ozlabs.au.ibm.com>
11206 Alan Modra <amodra@gmail.com>
11207
11208 [BZ #15723]
11209 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11210 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11211 _dl_hwcap access for little-endian.
11212 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11213 destroy vmx regs when saving unaligned.
11214 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11215 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11216 destroy vmx regs when saving unaligned.
11217
fef13a78
AM
112182013-10-04 Alan Modra <amodra@gmail.com>
11219
11220 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11221 Don't use a union to pack hi/low value.
11222
76a66d51
AB
112232013-10-04 Anton Blanchard <anton@au1.ibm.com>
11224
11225 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11226 for little-endian.
11227 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11228 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11229 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11230 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11231 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11232
6a31fe7f
AM
112332013-10-04 Alan Modra <amodra@gmail.com>
11234
11235 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11236 constants to usual value for .cst8 section, and remove redundant
11237 high address load.
11238 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11239 constant for 0x1p52. Load little-endian words of double from
11240 correct stack offsets.
11241
7b88401f
AM
112422013-10-04 Alan Modra <amodra@gmail.com>
11243
11244 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11245 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11246 words of double from correct stack offsets.
11247 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11248 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11249 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11250 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11251 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11252 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11253 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11254 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11255 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11256 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11259 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11260 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11261 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11262 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11263 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11264
9c008155
AM
112652013-10-04 Alan Modra <amodra@gmail.com>
11266
11267 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11268 64-bit int/double union.
11269 (_FPU_SETCW): Likewise.
11270 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11271 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11272
da13146d
AM
112732013-10-04 Alan Modra <amodra@gmail.com>
11274
11275 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11276 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11277
603e8410
AM
112782013-10-04 Alan Modra <amodra@gmail.com>
11279
11280 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11281 use vector int constants.
11282 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11283
4a28b3ca
AB
112842013-10-04 Anton Blanchard <anton@au1.ibm.com>
11285
11286 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11287 array with long long.
11288 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11289 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11290 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11291 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11292 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11293 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11294 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11295 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11296 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11297 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11298 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11299 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11300 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11301
2ca85d2b
AB
113022013-10-04 Anton Blanchard <anton@au1.ibm.com>
11303
11304 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11305 (__signbit): Likewise. Correct for little-endian.
11306 (__signbitl): Call __signbit.
11307 (lrint): Correct for little-endian.
11308 (lrintf): Call lrint.
11309
62a728ae
AM
113102013-10-04 Alan Modra <amodra@gmail.com>
11311
11312 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11313 union 32-bit int array member with 64-bit int array.
11314 (t515, tm256): Double rather than long double.
11315 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11316
32c301df
AM
113172013-10-04 Alan Modra <amodra@gmail.com>
11318
11319 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11320 Delete.
11321 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11323 version of math_ldbl.h.
11324
650ef4bd
AM
113252013-10-04 Alan Modra <amodra@gmail.com>
11326
11327 [BZ #15734], [BZ #15735]
11328 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11329 all uses of ieee875 long double macros and unions. Simplify test
11330 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11331 ldbl_extract_mantissa value for ix,iy exponents. Properly
11332 normalize after ldbl_extract_mantissa, and don't add hidden bit
11333 already handled. Don't treat low word of ieee854 mantissa like
11334 low word of IBM long double and mask off bit when testing for
11335 zero.
11336 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11337 all uses of ieee875 long double macros and unions. Simplify tests
11338 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11339 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11340 two1022, instead use their values. Recognise that tests for large
11341 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11342 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11343 Rewrite all uses of ieee875 long double macros and unions. Simplify
11344 test for 0.0L and nan. Correct negation.
11345 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11346 ieee875 long double macros and unions. Correct output for large
11347 magnitude x. Correct absolute value calculation.
11348 (__erfcl): Likewise.
11349 * math/libm-test.inc: Add tests for errors discovered in IBM long
11350 double versions of fmodl, remainderl, erfl and erfcl.
11351
765714ca
AM
113522013-10-04 Alan Modra <amodra@gmail.com>
11353
11354 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11355 all uses of ieee854 long double macros and unions. Simplify tests
11356 for long doubles that are fully specified by the high double.
11357 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11358 Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11360 Remove dead code too.
11361 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11362 (__ieee754_ynl): Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11366 Remove dead code too.
11367 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11371 Simplify.
11372 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11373 Simplify.
11374 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11377 Comment on variable precision.
11378 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11380 Likewise.
11381 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11382 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11383 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11384 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11385 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11386
4ebd120c
AM
113872013-10-04 Alan Modra <amodra@gmail.com>
11388
11389 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11390 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11391 all uses of ieee854 long double macros and unions.
11392 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11393 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11394 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11396 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11397 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11398 Likewise.
11399 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11400 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11401 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11402 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11403 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11405 Simplify sign and nan test too.
11406 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11407 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11408 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11409 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11410 Likewise.
11411 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11412 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11413 Likewise.
11414 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11415 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11416 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11417 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11418 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11420
1b6adf88
AM
114212013-10-04 Alan Modra <amodra@gmail.com>
11422
11423 * stdio-common/printf_size.c (__printf_size): Don't use
11424 union ieee854_long_double in fpnum union.
11425 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11426 signbit macro to retrieve sign from long double.
11427 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11428 retrieve sign from long double.
11429 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11430 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11431 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11432 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11433 * math/test-misc.c (main): Don't use union ieee854_long_double.
11434
4cf69995
AM
114352013-10-04 Alan Modra <amodra@gmail.com>
11436
11437 [BZ #15680]
11438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11439 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11440 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11441 calculation. Remove unnecessary test for denormal exponent.
11442 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11443 Correct handling of denormals. Avoid undefined shift behaviour.
11444 Correct normalisation of low mantissa when low double is denormal.
11445 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11446 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11447 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11448 Correct normalisation of low mantissa. Test for overflow of high
11449 mantissa and normalise.
11450 (ldbl_nearbyint): Use more readable constant for two52.
11451 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11452 (__mpn_construct_long_double): Fix test for overflow of high
11453 mantissa and correct normalisation. Avoid undefined shift.
11454
9605ca6c
AM
114552013-10-04 Alan Modra <amodra@gmail.com>
11456
11457 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11458 (union ibm_extended_long_double): Define as an array of ieee754_double.
11459 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11460 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11461 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11462 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11466 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11467 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11470
975569d0
JM
114712013-10-03 Joseph Myers <joseph@codesourcery.com>
11472
d3d23756
JM
11473 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11474 page size instead of calling getpagesize.
11475
975569d0
JM
11476 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11477 (LOCFILE_ALIGN_MASK): Likewise.
11478 (LOCFILE_ALIGN_UP): Likewise.
11479 (LOCFILE_ALIGNED_P): Likewise.
11480 * locale/programs/ld-collate.c (collate_output): Use the new
11481 macros instead of __alignof__ (int32_t).
11482 * locale/weight.h (findidx): Likewise.
11483
b1fe1f2b
OB
114842013-10-03 Ondřej Bílka <neleai@seznam.cz>
11485
11486 [BZ #431]
11487 * manual/string.texi: Fix strncat and wcsncat.
11488
5f855e35
BM
114892013-10-03 Brooks Moses <bmoses@google.com>
11490
11491 [BZ #15915]
11492 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11493 * Makerules: ...here, and adjust associated comments.
11494
3cef6009
WN
114952013-10-02 Will Newton <will.newton@linaro.org>
11496
11497 * malloc/Makefile: Add tst-pvalloc.
11498 * malloc/tst-pvalloc.c: New file.
11499
7815420b
WN
115002013-10-02 Will Newton <will.newton@linaro.org>
11501
11502 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11503 improve test coverage.
11504
4868b204
WN
115052013-10-02 Will Newton <will.newton@linaro.org>
11506
11507 * malloc/Makefile: Add tst-posix_memalign.
11508 * malloc/tst-posix_memalign.c: New file.
11509
29c793b3
EB
115102013-10-01 Eric Blake <eblake@redhat.com>
11511
11512 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11513 Use __THROWNL rather than __THROW on static functions.
11514
fd967522
PM
115152013-09-30 Petr Machata <pmachata@redhat.com>
11516
11517 * elf/elf.h (R_AARCH64_ABS16): New macro.
11518 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11519 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11520 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11521 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11522 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11523 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11524 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11525 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11526 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11527 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11528 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11529 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11530 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11531 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11532 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11533 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11534 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11535 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11536 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11537 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11538 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11539 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11540 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11541 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11542 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11543 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11544 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11545 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11546 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11547 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11548 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11549 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11550 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11551 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11552 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11553 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11554 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11555 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11556 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11557 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11558 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11559 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11560 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11561 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11562 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11563 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11564 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11565 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11566 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11567 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11568 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11569 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11570 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11571 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11572 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11573 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11574 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11575 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11576 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11577 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11578 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11579 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11580 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11581 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11582 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11583 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11584 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11585 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11586 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11587 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11588 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11589 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11590 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11591 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11592 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11593 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11594 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11595 (R_AARCH64_TLSDESC_LDR): Likewise.
11596 (R_AARCH64_TLSDESC_ADD): Likewise.
11597 (R_AARCH64_TLSDESC_CALL): Likewise.
11598
b2179107
AS
115992013-09-30 Andreas Schwab <schwab@suse.de>
11600
11601 [BZ #15048]
11602 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11603 the nss database lookup.
11604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11606
47f28d0a
MF
116072013-09-28 Mike Frysinger <vapier@gentoo.org>
11608
11609 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11610
116112013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11612
11613 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11614 ${Bash-specific parameter/pattern/string} parameter expansion.
11615 * sysdeps/unix/make-syscalls.sh: Likewise.
11616
f4518a17
KK
116172013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11618
11619 * sysdeps/sh/stackguard-macros.h: New file.
11620
dc1a95c7
OB
116212013-09-26 Ondřej Bílka <neleai@seznam.cz>
11622
11623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11624 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11625 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11626 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11627 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11628 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11629
5ebbff8f
AZ
116302013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11631
11632 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11633 Fix thread ID register.
11634
4fd2cf9f
JM
116352013-09-25 Joseph Myers <joseph@codesourcery.com>
11636
11637 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11638 [POSIX || UNIX98]: Require rather than permitting all symbols from
11639 <time.h>.
11640 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11641 element of struct sched_param.
11642 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11643 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11644 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11645 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11646 constant.
11647
12c22bc4
OL
116482013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11649
11650 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11651 argument calculation.
11652
a03d8ea7
JM
116532013-09-24 Joseph Myers <joseph@codesourcery.com>
11654
11655 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11656 Expect macro.
11657 [POSIX] (pthread_attr_t): Do not require type.
11658 [POSIX] (pthread_cond_t): Likewise.
11659 [POSIX] (pthread_condattr_t): Likewise.
11660 [POSIX] (pthread_key_t): Likewise.
11661 [POSIX] (pthread_mutex_t): Likewise.
11662 [POSIX] (pthread_mutexattr_t): Likewise.
11663 [POSIX] (pthread_once_t): Likewise.
11664 [POSIX] (pthread_t): Likewise.
11665 [POSIX-based standards] (pthread_atfork): Expect function.
11666
6055173a
JM
116672013-09-24 Joseph Myers <joseph@codesourcery.com>
11668 Richard Sandiford <richard@codesourcery.com>
11669
11670 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11671 (swap_endianness_p): New extern variable.
11672 (set_big_endian): New inline function.
11673 (maybe_swap_uint32): Likewise.
11674 (maybe_swap_uint32_array): Likewise.
11675 (maybe_swap_uint32_obstack): Likewise.
11676 * locale/programs/locfile.c: Include <stdbool.h>.
11677 (swap_endianness_p): New variable.
11678 (add_locale_uint32): Call maybe_swap_uint32.
11679 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11680 (write_locale_data): Call maybe_swap_uint32_array.
11681 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11682 maybe_swap_uint32.
11683 (obstack_int32_grow_fast): Likewise.
11684 (output_weightwc): Call maybe_swap_uint32_obstack.
11685 (collate_output): Likewise.
11686 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11687 (OPT_LITTLE_ENDIAN): Likewise.
11688 (options): Add --little-endian and --big-endian options.
11689 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11690 * locale/programs/locarchive.c: Include "locfile.h".
11691 (GET): New macro.
11692 (SET): Likewise.
11693 (INC): Likewise.
11694 (create_archive): Use the new macros to access fields of
11695 structures directly mapped from or written to locale archives.
11696 (oldlocrecentcmp): Likewise.
11697 (enlarge_archive): Likewise.
11698 (insert_name): Likewise.
11699 (add_alias): Likewise.
11700 (add_locale): Likewise.
11701 (delete_locales_from_archive): Likewise.
11702 (show_archive_content): Likewise.
11703 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11704 locale data.
11705
39bf0bb4
RM
117062013-09-24 Roland McGrath <roland@hack.frob.com>
11707
11708 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11709 http://www.gnu.org/doc/freemanuals.texi.
11710 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11711
f02eed10
WN
117122013-09-24 Will Newton <will.newton@linaro.org>
11713
11714 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11715 macro.
11716
a3a6c312
JM
117172013-09-23 Joseph Myers <joseph@codesourcery.com>
11718
11719 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11720 unsigned char.
11721
107375ac
MR
117222013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11723
11724 * manual/threads.texi (POSIX Threads): Fix a typo.
11725
141f3a77
SP
117262013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11727
303e567a
SP
11728 [BZ #14547]
11729 * string/tst-strcoll-overflow.c: New test case.
11730 * string/Makefile (xtests): Add tst-strcoll-overflow.
11731 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11732 cache if string sizes may cause integer overflow.
11733
141f3a77
SP
11734 [BZ #14547]
11735 * string/strcoll_l.c (coll_seq): New members rule, idx,
11736 save_idx and back_us.
11737 (get_next_seq_nocache): New function.
11738 (do_compare_nocache): New function.
11739 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11740 when malloc fails.
11741
c61b4d41
CD
117422013-09-23 Carlos O'Donell <carlos@redhat.com>
11743
0b1f8e35
CD
11744 [BZ #15754]
11745 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11746 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11747 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11748
c61b4d41
CD
11749 [BZ #15754]
11750 * elf/Makefile (tests): Add tst-ptrguard1.
11751 (tests-static): Add tst-ptrguard1-static.
11752 (tst-ptrguard1-ARGS): Define.
11753 (tst-ptrguard1-static-ARGS): Define.
11754 * elf/tst-ptrguard1.c: New file.
11755 * elf/tst-ptrguard1-static.c: New file.
11756 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11757 * sysdeps/i386/stackguard-macros.h: Likewise.
11758 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11759 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11760 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11761 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11762 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11763 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11764
117652013-09-23 Hector Marco <hecmargi@upv.es>
11766 Ismael Ripoll <iripoll@disca.upv.es>
11767 Carlos O'Donell <carlos@redhat.com>
11768
11769 [BZ #15754]
11770 * sysdeps/generic/stackguard-macros.h: Define
11771 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11772 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11773 Define __pointer_chk_guard_local.
11774 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11775 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11776
f5f4e7b4
VV
117772013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11778
11779 [BZ #15859]
11780 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11781
5bb43a43
AS
117822013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11783
11784 * include/string.h (__ffs): Declare as hidden.
11785 * string/ffs.c (__ffs): Define as hidden.
11786 * sysdeps/i386/ffs.c (__ffs): Likewise.
11787 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11788 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11789 * sysdeps/s390/ffs.c (__ffs): Likewise.
11790 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11791
3ea5be54
AO
117922013-09-20 Alexandre Oliva <aoliva@redhat.com>
11793
ffb89e53
AO
11794 * NEWS: Mention malloc probes.
11795
322dea08
AO
11796 * malloc/arena.c (new_heap): New memory_heap_new probe.
11797 (grow_heap): New memory_heap_more probe.
11798 (shrink_heap): New memory_heap_less probe.
11799 (heap_trim): New memory_heap_free probe.
11800 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11801 (systrim): New memory_sbrk_less probe.
11802 * manual/probes.texi: Document them.
11803
655673f3
AO
11804 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11805 * manual/probes.texi: Document it.
11806
35fed6f1
AO
11807 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11808 (__libc_realloc): Add memory_realloc_retry probe.
11809 (__libc_memalign): Add memory_memalign_retry probe.
11810 (__libc_valloc): Add memory_valloc_retry probe.
11811 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11812 (__libc_calloc): Add memory_calloc_retry probe.
11813 * manual/probes.texi: Document them.
11814
6999d38c
AO
11815 * malloc/arena.c (get_free_list): Add probe
11816 memory_arena_reuse_free_list.
11817 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11818 and memory_arena_reuse.
11819 (arena_get2) [!PER_THREAD]: Likewise.
11820 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11821 memory_arena_reuse_realloc.
11822 * manual/probes.texi: Document them.
11823
0653427f
AO
11824 * malloc/malloc.c (__libc_free): Add
11825 memory_mallopt_free_dyn_thresholds probe.
11826 (__libc_mallopt): Add multiple memory_mallopt probes.
11827 * manual/probes.texi: Document them.
11828
3ea5be54
AO
11829 * malloc/malloc.c: Include stap-probe.h.
11830 (__libc_mallopt): Add memory_mallopt probe.
11831 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11832 * manual/probes.texi: New.
11833 * manual/Makefile (chapters): Add probes.
11834 * manual/threads.texi: Set next node.
11835
e35696c3 118362013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11837
e35696c3
CL
11838 [BZ #15963, #13985]
11839 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11840 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11841 Add `Chinese' to `nan' entry name.
11842
4aafb73c
SP
118432013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11844
11845 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11846 (POLYNOMIAL): Likewise.
11847 (TAYLOR_SINCOS): Likewise.
11848 (TAYLOR_SLOW): Likewise.
11849 (__sin): Use TAYLOR_SINCOS.
11850 (__cos): Likewise.
11851 (slow): Use TAYLOR_SLOW.
11852 (sloww): Likewise.
11853 (bsloww): Likewise.
11854 (csloww): Likewise.
11855
d84f25c7
LD
118562013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11857
11858 * stdlib/strtod_l.c: Fix buffer overrun.
11859
5eea0404
SP
118602013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11861
7849ff93
SP
11862 * benchtests/Makefile (bench): Add sincos.
11863 * benchtests/bench-sincos.c: New file.
11864
cfa3c886
SP
11865 * math/libm-test.inc (cos_test_data): New test inputs.
11866 (sin_test_data): Likewise.
11867
b348e1e3
SP
11868 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11869 macro.
11870 (__sin): Use it.
11871 (__cos): Likewise.
11872 (slow1): Likewise.
11873 (slow2): Likewise.
11874 (sloww1): Likewise.
11875 (sloww2): Likewise.
11876 (bsloww1): Likewise.
11877 (bsloww2): Likewise.
11878 (cslow2): Likewise.
11879 (csloww1): Likewise.
11880 (csloww2): Likewise.
11881
6cce25f8
SP
11882 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11883 function.
11884 (__sin): Use it.
11885 (__cos): Likewise.
11886
5eea0404
SP
11887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11888 gotos.
11889 (__cos): Likewise.
11890
9c21573c
MR
118912013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11892
11893 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11894 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11895 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11896 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11897 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11898 * elf/cache.c (print_entry): Handle the new cache flags.
11899
24d22e65
JM
119002013-09-18 Joseph Myers <joseph@codesourcery.com>
11901 Aldy Hernandez <aldyh@redhat.com>
11902
11903 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11904 Change condition to [_SOFT_FLOAT].
11905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11909 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11911 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11912 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11913 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11917 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11920 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11921 declaration.
11922
d13ef066
JM
119232013-09-18 Joseph Myers <joseph@codesourcery.com>
11924
2e071de0
JM
11925 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11926 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11927 (__longjmp): Use LOAD_GP to load saved GPRs.
11928 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11929 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11930 (__sigsetjmp): Use SAVE_GP to save GPRs.
11931
d13ef066
JM
11932 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11933 Do not append -msoft-float.
11934 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11935
97a0650b
SP
119362013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11937
11938 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11939
11ca09e9
JM
119402013-09-17 Joseph Myers <joseph@codesourcery.com>
11941
11942 [BZ #15966]
11943 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11944 (_FPU_GETCW): Use initial "__" on variable and field names but not
11945 on macro parameter name.
11946 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11947 parentheses around reference to macro parameter.
11948
08ffcf34
RS
119492013-09-13 Richard Sandiford <richard@codesourcery.com>
11950
11951 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11952 prototype.
11953 (ctype_startup): Use uint32_t in cast and sizeof for
11954 ctype->charnames.
11955
ae7080d3
JL
119562013-09-11 Jia Liu <proljc@gmail.com>
11957
11958 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11959 __daddr_t_defined.
11960 [__FreeBSD__]: Likewise.
11961
5905e7b3
OB
119622013-09-11 Ondřej Bílka <neleai@seznam.cz>
11963
11964 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11965 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11966 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11967 (strchr): Remove __strchr_sse42 ifunc selection.
11968 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11969 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11970
b987c776
WN
119712013-09-11 Will Newton <will.newton@linaro.org>
11972
11973 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11974 parameter to RES. Remove hardcoded 1000 value.
11975 * benchtests/bench-skeleton.c (main): Pass RES parameter
11976 to TIMING_INIT and multiply result by 1000.
11977
ddf985af
AZ
119782013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11979
11980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11981
ffdd3181
AS
119822013-09-11 Andreas Schwab <schwab@suse.de>
11983
11984 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11985 if not defined.
11986 (O_TMPFILE) [__USE_GNU]: Define.
11987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11988 Define.
11989
b73ed247
WN
119902013-09-11 Will Newton <will.newton@linaro.org>
11991
11992 [BZ #15857]
11993 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11994 does not overflow.
11995
55e17aad
WN
119962013-09-11 Will Newton <will.newton@linaro.org>
11997
11998 [BZ #15856]
11999 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12000 does not overflow.
12001
1159a193
WN
120022013-09-11 Will Newton <will.newton@linaro.org>
12003
12004 [BZ #15855]
12005 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12006 does not overflow.
12007
5905e7b3 120082013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12009
12010 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12011 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12012 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12015
cdfc721b
AM
120162013-09-10 Allan McRae <allan@archlinux.org>
12017
aa04af00
AM
12018 [BZ #15748]
12019 * manual/arith.texi (Parsing of Floats): Clarify
12020 cross-reference.
12021
cdfc721b
AM
12022 [BZ #15849]
12023 * manual/install.texi (Running make install): Mention
12024 --enable-pt-chown.
12025 * INSTALL: Regenerated.
12026
95e7cf29
MR
120272013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12028
12029 * csu/init-first.c (_init): Remove the !SHARED condition around
12030 FPU control word initialization.
12031 * elf/dl-support.c (_dl_fpu_control): New variable.
12032 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12033 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12034 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12035 * math/test-fpucw-static.c: New file.
12036 * math/test-fpucw-ieee.c: New file.
12037 * math/test-fpucw-ieee-static.c: New file.
12038 * math/Makefile (tests): Add `test-fpucw-ieee' and
12039 `$(tests-static)'.
12040 (tests-static): New variable.
12041 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12042 dependency to...
12043 [($(build-shared),yes)]
12044 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12045 ... this.
12046 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12047 New dependency.
12048
83e43bf0
AM
120492013-09-09 Allan McRae <allan@archlinux.org>
12050
a9f5ce09
AM
12051 [BZ #15939]
12052 * manual/string.texi (Collation Functions): Fix typo in
12053 strcoll example.
12054 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12055
34829bc2
AM
12056 [BZ #15893]
12057 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12058
3932737d
AM
12059 [BZ #15892]
12060 * libio/memstream.c (open_memstream): Fix memory leak.
12061 * libio/wmemstream.c (open_wmemstream): Likewise.
12062
83e43bf0
AM
12063 [BZ #15895]
12064 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12065
0c66b8e9
WN
120662013-09-09 Will Newton <will.newton@linaro.org>
12067
12068 * malloc/Makefile: Add tst-realloc to tests.
12069 * malloc/tst-realloc.c: New file.
12070
f6b00fd1
AM
120712013-09-09 Allan McRae <allan@archlinux.org>
12072
12073 [BZ #15844]
12074 * COPYING: Update from GNU website to fix FSF address.
12075 * COPYING.LIB: Likewise.
12076
eec55e16
DM
120772013-09-06 David S. Miller <davem@davemloft.net>
12078
12079 * po/zh_TW.po: Update Chinese (traditional) translation from
12080 translation project.
12081
1ecbb381
RS
120822013-09-06 Richard Sandiford <richard@codesourcery.com>
12083 Joseph Myers <joseph@codesourcery.com>
12084
12085 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12086 "localeinfo.h".
12087 (obstack_chunk_alloc): New macro.
12088 (obstack_chunk_free): Likewise.
12089 (record_offset): New function.
12090 (init_locale_data): Likewise.
12091 (align_locale_data): Likewise.
12092 (add_locale_empty): Likewise.
12093 (add_locale_raw_data): Likewise.
12094 (add_locale_raw_obstack): Likewise.
12095 (add_locale_string): Likewise.
12096 (add_locale_wstring): Likewise.
12097 (add_locale_uint32): Likewise.
12098 (add_locale_uint32_array): Likewise.
12099 (add_locale_char): Likewise.
12100 (start_locale_structure): Likewise.
12101 (end_locale_structure): Likewise.
12102 (start_locale_prelude): Likewise.
12103 (end_locale_prelude): Likewise.
12104 (write_locale_data): Take locale_file structure rather than an
12105 iovec.
12106 * locale/programs/locfile.h: Include "obstack.h".
12107 (struct locale_file): Change to store locale file contents instead
12108 of header.
12109 (init_locale_data): New prototype.
12110 (align_locale_data): Likewise.
12111 (add_locale_empty): Likewise.
12112 (add_locale_raw_data): Likewise.
12113 (add_locale_raw_obstack): Likewise.
12114 (add_locale_string): Likewise.
12115 (add_locale_wstring): Likewise.
12116 (add_locale_uint32): Likewise.
12117 (add_locale_uint32_array): Likewise.
12118 (add_locale_char): Likewise.
12119 (start_locale_structure): Likewise.
12120 (end_locale_structure): Likewise.
12121 (start_locale_prelude): Likewise.
12122 (end_locale_prelude): Likewise.
12123 (write_locale_data): Update prototype.
12124 * locale/programs/3level.h (struct TABLE): Remove result field.
12125 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12126 Use new locale_file interface.
12127 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12128 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12129 * locale/programs/ld-address.c (address_output): Use new
12130 locale_file interface.
12131 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12132 NO_ADD_LOCALE.
12133 (collate_finish): Don't call collseq_table_finalize.
12134 (collate_output): Use new locale_file interface.
12135 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12136 in file.
12137 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12138 (TABLE): Move defines earlier in file.
12139 (ELEMENT): Likewise.
12140 (DEFAULT): Likewise.
12141 (wctrans_table_add): Move macro and inline function earlier in
12142 file.
12143 (struct wctype_table): Move type earlier in file.
12144 (add_locale_wctype_table): New static prototype.
12145 (struct locale_ctype_t): Use logical types instead of struct iovec
12146 pointers for members.
12147 (ctype_output): Use new locale_file interface.
12148 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12149 new locale_file interface.
12150 (allocate_arrays): Update for use of new locale_file interface.
12151 * locale/programs/ld-identification.c (identification_output): Use
12152 new locale_file interface.
12153 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12154 * locale/programs/ld-messages.c (messages_output): Likewise.
12155 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12156 * locale/programs/ld-name.c (name_output): Likewise.
12157 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12158 * locale/programs/ld-paper.c (paper_output): Likewise.
12159 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12160 * locale/programs/ld-time.c (time_output): Likewise.
12161
e029e2e5
AZ
121622013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12163
12164 * benchtests/Makefile: Add memrchr benchmark.
12165 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12166 benchmark as memrchr.
12167 * benchtests/bench-memrchr-ifunc.c: New file.
12168 * benchtests/bench-memrchr.c: New file.
12169
bbf6e8e4
WN
121702013-09-06 Will Newton <will.newton@linaro.org>
12171
12172 * benchtests/Makefile (string-bench): Add memcpy.
12173
6c82a2f8
CD
121742013-09-05 Carlos O'Donell <carlos@redhat.com>
12175 Cong Wang <amwang@redhat.com>
12176
e732c5f0 12177 [BZ #15850]
6c82a2f8
CD
12178 * sysdeps/unix/sysv/linux/bits/in.h
12179 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12180 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12181 before __USE_KERNEL_IPV6_DEFS uses.
12182 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12183 IPPROTO_BEETPH.
12184 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12185 sockaddr_in6, or ipv6_mreq.
12186
5430fc65
AZ
121872013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12188
12189 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12190 memory access for final bytes in some large inputs.
12191 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12192
4660856c
AZ
121932013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12194
12195 * string/test-memrchr.c: New file.
12196 * string/test-memrchr-ifunc.c: New file.
12197 * string/Makefile: Add new memrchr testcase.
12198
bb8ea713
MF
121992013-09-05 Mike Frysinger <vapier@gentoo.org>
12200
12201 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12202 fanotify_init returns EPERM.
12203
b92a20b5
JM
122042013-09-04 Joseph Myers <joseph@codesourcery.com>
12205
12206 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12207 errors.
12208 (top level): Treat second token from macro or constant entries for
12209 allowed headers as allowed.
12210 * include/complex.h: Condition internal declarations on
12211 [!_ISOMAC].
12212 * include/fenv.h: Condition include of <stdbool.h> and internal
12213 declarations on [!_ISOMAC].
7447ccd9
CL
12214
122152013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12216
3e181dda 12217 [BZ #15923]
7447ccd9
CL
12218 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12219
3f2e46a4
JM
122202013-09-04 Joseph Myers <joseph@codesourcery.com>
12221
12222 * configure.in (--enable-versioning): Remove configure option.
12223 (libc_cv_asm_symver_directive): Remove configure test.
12224 (libc_cv_ld_version_script_option): Likewise.
12225 (VERSIONING): Remove variable and AC_SUBST.
12226 (DO_VERSIONING): Remove AC_DEFINE.
12227 * configure: Regenerated.
12228 * config.h.in (DO_VERSIONING): Remove macro.
12229 * Makerules [$(versioning) = yes]: Change conditionals to
12230 [$(build-shared) = yes].
12231 * config.make.in (versioning): Remove variable.
12232 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12233 [$(build-shared) = yes].
12234 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12235 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12236 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12237 [$(build-shared) = yes].
12238 * extra-lib.mk [$(versioning) = yes]: Likewise.
12239 * hurd/Makefile [$(versioning) = yes]: Likewise.
12240 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12241 [SHARED].
12242 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12243 [SHARED].
12244 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12245 [SHARED && !NO_HIDDEN].
12246 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12247 [SHARED].
12248 [SHARED && DO_VERSIONING]: Likewise..
12249 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12250 [$(build-shared) = yes].
12251 * manual/install.texi (--disable-versioning): Remove
12252 documentation.
12253 * INSTALL: Regenerated.
12254 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12255 to [SHARED].
12256 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12257 [$(build-shared) = yes].
12258 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12259 * sysdeps/i386/i686/multiarch/strstr-c.c
12260 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12261 [SHARED && !NO_HIDDEN].
12262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12263 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12264 * sysdeps/powerpc/powerpc32/dl-machine.c
12265 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12266 * sysdeps/powerpc/powerpc32/sysdep.h
12267 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12268 to [SHARED && PIC && !NO_HIDDEN].
12269 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12270 conditional to [SHARED].
12271
44558701
WN
122722013-09-04 Will Newton <will.newton@linaro.org>
12273
12274 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12275 * benchtests/bench-string.h: Include bench-timing.h instead
12276 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12277 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12278 call to HP_TIMING_DIFF_INIT.
12279 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12280 instead of hp-timing.h macros.
12281 * benchtests/bench-memchr.c: Likewise.
12282 * benchtests/bench-memcmp.c: Likewise.
12283 * benchtests/bench-memcpy.c: Likewise.
12284 * benchtests/bench-memmem.c: Likewise.
12285 * benchtests/bench-memmove.c: Likewise.
12286 * benchtests/bench-memset.c: Likewise.
12287 * benchtests/bench-rawmemchr.c: Likewise.
12288 * benchtests/bench-strcasecmp.c: Likewise.
12289 * benchtests/bench-strcasestr.c: Likewise.
12290 * benchtests/bench-strcat.c: Likewise.
12291 * benchtests/bench-strchr.c: Likewise.
12292 * benchtests/bench-strcmp.c: Likewise.
12293 * benchtests/bench-strcpy.c: Likewise.
12294 * benchtests/bench-strcpy_chk.c: Likewise.
12295 * benchtests/bench-strlen.c: Likewise.
12296 * benchtests/bench-strncasecmp.c: Likewise.
12297 * benchtests/bench-strncat.c: Likewise.
12298 * benchtests/bench-strncmp.c: Likewise.
12299 * benchtests/bench-strncpy.c: Likewise.
12300 * benchtests/bench-strnlen.c: Likewise.
12301 * benchtests/bench-strpbrk.c: Likewise.
12302 * benchtests/bench-strrchr.c: Likewise.
12303 * benchtests/bench-strspn.c: Likewise.
12304 * benchtests/bench-strstr.c: Likewise.
12305
cae16d66
WN
123062013-09-04 Will Newton <will.newton@linaro.org>
12307
12308 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12309
ffa3cd7f
JM
123102013-09-03 Joseph Myers <joseph@codesourcery.com>
12311
12312 [BZ #15427]
12313 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12314 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12315 * math/libm-test.inc (lgamma_test_data): Add more tests.
12316 * sysdeps/i386/fpu/libm-test-ulps: Update.
12317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12318
8f02859f
OB
123192013-09-03 Ondřej Bílka <neleai@seznam.cz>
12320
12321 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12323 Add ifunc.
12324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12325 Add strcmp-sse2-unaligned
12326 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12327
18d43716
MF
123282013-09-02 Mike Frysinger <vapier@gentoo.org>
12329
12330 * Versions.def (libc): Add GLIBC_2.19.
12331
ac444012
MF
123322013-09-02 Mike Frysinger <vapier@gentoo.org>
12333
12334 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12335 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12336
b7835e32
JM
123372013-09-02 Joseph Myers <joseph@codesourcery.com>
12338
12339 [BZ #14155]
12340 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12341 intermediate calculations in recurrence.
12342 (__ieee754_ynf): Likewise.
12343 * math/libm-test.inc (jn_test_data): Do not allow spurious
12344 underflow exception. Add more tests.
12345 (yn_test_data): Add more tests.
12346 * sysdeps/i386/fpu/libm-test-ulps: Update.
12347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12348
8220f4f0
OB
123492013-09-02 Ondřej Bílka <neleai@seznam.cz>
12350
12351 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12352
f24a6d08
OB
123532013-08-30 Ondřej Bílka <neleai@seznam.cz>
12354
12355 * csu/init-first.c: Fix then/than typos.
12356 * locale/programs/ld-collate.c: Likewise.
12357 * locale/programs/linereader.h: Likewise.
12358 * manual/charset.texi: Likewise.
12359 * manual/filesys.texi: Likewise.
12360 * manual/stdio.texi: Likewise.
12361 * manual/string.texi: Likewise.
12362 * stdlib/fmtmsg.c: Likewise.
12363 * sysdeps/i386/stpncpy.S: Likewise.
12364 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12365 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12366 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12367 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12368
382466e0
OB
123692013-08-30 Ondřej Bílka <neleai@seznam.cz>
12370
12371 * elf/dl-open.c: Fix typos.
12372 * iconvdata/gbbig5.c: Likewise.
12373 * iconvdata/iso-2022-jp.c: Likewise.
12374 * iconv/gconv_int.h: Likewise.
12375 * iconv/loop.c: Likewise.
12376 * nis/rpcsvc/nis.h: Likewise.
12377 * resolv/ns_name.c: Likewise.
12378 * stdio-common/vfscanf.c: Likewise.
12379 * streams/stropts.h: Likewise.
12380 * sunrpc/rpc_thread.c: Likewise.
12381 * sysdeps/i386/strpbrk.S: Likewise.
12382 * sysdeps/ieee754/k_standard.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12384 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12385 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12386 * sysdeps/mach/hurd/profil.c: Likewise.
12387 * sysdeps/s390/dl-procinfo.h: Likewise.
12388 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12389 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12390 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12391 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12392 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12393
0186c6e9
OB
123942013-08-30 Ondřej Bílka <neleai@seznam.cz>
12395
12396 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12397 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12398
d4e16af1
OB
123992013-08-29 Ondřej Bílka <neleai@seznam.cz>
12400
12401 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12402 aix specific files.
12403 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12404 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12405 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12407 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12408 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12411
88335980
TS
124122013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12413 Roland McGrath <roland@hack.frob.com>
12414
12415 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12416 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12417
ed479b02
ST
124182013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12419
12420 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12421 __executable_start symbol instead of _start.
12422
f1cc4c86
TS
124232013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12424
d821f07c
TS
12425 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12426 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12427 Move macros to...
12428 * sysdeps/gnu/ldsodefs.h: ... this new file.
12429
c54290cf
TS
12430 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12431 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12432 instead of ELFOSABI_LINUX.
12433
0007fc9b 12434 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12435 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12436 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12437 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12438 Likewise.
12439 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12440 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12441 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12442 Likewise.
12443 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12444 (ibm_extended_long_double): Add ieee_nan member.
12445 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12446 (do_test): New function.
12447
f1cc4c86
TS
12448 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12449 TEST_TRUNC.
12450 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12451 functions, renamed from truncdfsf_test, trunctfsf_test,
12452 trunctfdf_test.
12453 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12454 functions.
12455 (do_test): Run all these.
12456
6f65e668
OB
124572013-08-29 Ondřej Bílka <neleai@seznam.cz>
12458
12459 * argp/argp-help.c: Fix typos.
12460 * argp/argp-parse.c: Likewise.
12461 * debug/backtracesyms.c: Likewise.
12462 * elf/elf.h: Likewise.
12463 * malloc/malloc.c: Likewise.
12464 * nis/nis_print.c: Likewise.
12465 * resolv/res_comp.c: Likewise.
12466 * stdlib/stdlib.h: Likewise.
12467 * sunrpc/clnt_tcp.c: Likewise.
12468 * sunrpc/clnt_udp.c: Likewise.
12469 * sunrpc/clnt_unix.c: Likewise.
12470 * sysdeps/unix/bsd/ptsname.c: Likewise.
12471 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12472 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12474 Likewise.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12476 Likewise.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12478 Likewise.
6f65e668
OB
12479 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12480
3a309239
SP
124812013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12482
12483 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12485
3b813b29
MF
124862013-08-27 Mike Frysinger <vapier@gentoo.org>
12487
12488 [BZ #15897]
12489 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12490 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12491 ($(objpfx)bug-dl-leaf): New rule.
12492 ($(objpfx)bug-dl-leaf.so): Likewise.
12493 ($(objpfx)bug-dl-leaf.out): Likewise.
12494 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12495 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12496 * dlfcn/bug-dl-leaf.c: New test.
12497 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12498 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12499 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12500 (dlclose): Likewise.
12501 (dlmopen): Likewise.
12502
8cc3269f
RM
125032013-08-27 Roland McGrath <roland@hack.frob.com>
12504
7f9d0034
RM
12505 * include/netdb.h [!_ISOMAC]:
12506 Don't include <tls.h>.
12507 (h_errno, __libc_h_errno): Move declaration and macros out of
12508 [_LIBC_REENTRANT].
12509
fb431262
RM
12510 * include/resolv.h [_RESOLV_H_]:
12511 Don't include <tls.h>.
12512 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12513 * resolv/res_libc.c: Don't include <tls.h>.
12514 (_res): Use __attribute__ ((nocommon)) in place of
12515 __attribute__ ((section (".bss"))).
12516
bd81123a
RM
12517 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12518 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12519
c4e42566
RM
12520 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12521
f890a59b
RM
12522 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12523 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12524
12525 * resolv/res_mkquery.c: Include <sys/time.h>.
12526
5d1f0a09
RM
12527 * inet/ifreq.c: Moved to ...
12528 * sysdeps/unix/ifreq.c: ... here.
12529 * inet/ifreq.c: New file, true stub version.
12530
6fcf28b3
RM
12531 * socket/sa_len.c: New file.
12532 * socket/Makefile (aux): Add it.
12533 * sysdeps/unix/sysv/linux/Makefile
12534 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12535 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12536 and #include <socket/sa_len.c>.
12537 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12538 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12539
e041fb8b
RM
12540 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12541 * bits/socket.h: ... here.
12542
8cc3269f
RM
12543 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12544 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12545 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12546
5d228a43
AS
125472013-08-27 Andreas Schwab <schwab@suse.de>
12548
45b8accc
AS
12549 [BZ #15736]
12550 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12551 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12552 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12553 * string/test-strcasecmp.c (test_main): Run tests in several
12554 locales.
12555 * string/test-strncasecmp.c (test_main): Likewise.
12556
5d228a43
AS
12557 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12558 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12559 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12561 (__strncasecmp_ssse3) [PIC]: Likewise.
12562
59d112a4
RM
125632013-08-26 Roland McGrath <roland@hack.frob.com>
12564
53234cc3
RM
12565 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12566
59d112a4
RM
12567 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12568 instead of explicitly declaring xdecrypt.
12569 * nis/nss_nis/nis-publickey.c: Likewise.
12570
595aba70
SP
125712013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12572
12573 [BZ #15890]
12574 * nscd/aicache.c: Include res_hconf.h.
12575 (addhstaiX): Initialize res_hconf.
12576
ffabd393
AS
125772013-08-26 Andreas Schwab <schwab@suse.de>
12578
12579 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12580 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12581
e0a69f5c
SP
125822013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12583
12584 * nscd/aicache.c (addhstaiX): Fix indentation.
12585
8c12f01d
MF
125862013-08-25 Mike Frysinger <vapier@gentoo.org>
12587
12588 * configure.ac: Quote $build_pt_chown test.
12589 * configure: Regenerated.
12590
8fe89494
JM
125912013-08-23 Joseph Myers <joseph@codesourcery.com>
12592
12593 [BZ #15532]
12594 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12595 * math/s_cexpf.c (__cexpf): Likewise.
12596 * math/s_cexpl.c (__cexpl): Likewise.
12597 * math/libm-test.inc (cexp_test_data): Correct expected return
12598 value for NaN + i0. Add another test.
12599
75b181d6
DM
126002013-08-22 David S. Miller <davem@davemloft.net>
12601
12602 * po/ca.po: Update Catalan translation from translation project.
936241e4 12603 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12604
acd06bb1
JM
126052013-08-21 Joseph Myers <joseph@codesourcery.com>
12606
12607 [BZ #15797]
12608 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12609 is infinite, not alongside NaN test.
12610 * math/s_fdimf.c (__fdimf): Likewise.
12611 * math/s_fdiml.c (__fdiml): Likewise.
12612 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12613 errno is unchanged.
12614
c0c3f78a
OB
126152013-08-21 Ondřej Bílka <neleai@seznam.cz>
12616
12617 * argp/argp-help.c: Fix typos.
12618 * crypt/speeds.c: Likewise.
12619 * csu/check_fds.c: Likewise.
12620 * elf/dl-load.c: Likewise.
12621 * elf/dl-open.c: Likewise.
12622 * elf/reldep3.c: Likewise.
12623 * elf/reldep.c: Likewise.
12624 * elf/sprof.c: Likewise.
12625 * iconv/iconv_charmap.c: Likewise.
12626 * iconv/skeleton.c: Likewise.
12627 * iconv/strtab.c: Likewise.
12628 * io/lockf64.c: Likewise.
12629 * libio/libioP.h: Likewise.
12630 * resolv/gai_notify.c: Likewise.
12631 * resolv/ns_name.c: Likewise.
12632 * resolv/ns_samedomain.c: Likewise.
12633 * resolv/res_send.c: Likewise.
12634 * stdlib/random.c: Likewise.
12635 * sunrpc/rpc/xdr.h: Likewise.
12636 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12637 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12638 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12639 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12640 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12641 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12643 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12644 * sysdeps/mach/hurd/check_fds.c: Likewise.
12645 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12646 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12647 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12648 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12649 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12650 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12651 * sysdeps/pthread/aio_notify.c: Likewise.
12652 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12653 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12654 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12655 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12656 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12657
46ed1038
LD
126582013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12659
12660 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12661 version if bit_Slow_SSE4_2 is set.
12662 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12663 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12664
d400dcac
AZ
126652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12666
12667 [BZ #15867]
12668 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12669 trampoline stack frame information.
12670 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12671 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12672 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12673 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12674 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12675 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12676 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12677 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12678 sa_flags value.
12679 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12680 interrupting a syscall and set with option SA_SIGINFO.
12681
42c8fdd8
JM
126822013-08-20 Joseph Myers <joseph@codesourcery.com>
12683
c980f2f4
JM
12684 [BZ #15531]
12685 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12686 argument is infinite.
12687 * math/s_cprojf.c (__cprojf): Likewise.
12688 * math/s_cprojl.c (__cprojl): Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12690 * math/libm-test.inc (cproj_test_data): Add more tests.
12691
0716c4fc
JM
12692 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12693
42c8fdd8
JM
12694 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12695 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12696 size. Use __ffs to determine corresponding shift.
12697
b31469d0
JM
126982013-08-20 Joseph Myers <joseph@codesourcery.com>
12699 Roland McGrath <roland@hack.frob.com>
12700
12701 * Makefile (INSTALL): Remove trailing blank lines from output of
12702 makeinfo.
12703
4e39af6e
AK
127042013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12705
12706 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12707 Align 32 bit compat elf_greg to 8 bytes.
12708
f315524e
AA
127092013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12710
12711 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12712
1326ba1a
SP
127132013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12714
12715 * string/strcoll_l.c (coll_seq): New structure.
12716 (get_next_seq_cached): New function.
12717 (get_next_seq): New function.
12718 (do_compare): New function.
12719 (STRCOLL): Use GNU style definition. Simplify implementation
12720 by using get_next_seq, get_next_seq_cached and do_compare.
12721
91ce4085
FW
127222013-08-16 Florian Weimer <fweimer@redhat.com>
12723
12724 [BZ #14699]
12725 CVE-2013-4237
12726 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12727 member.
12728 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12729 member.
12730 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12731 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12732 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12733 conditional.
12734 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12735 GETDENTS_64BIT_ALIGNED.
12736 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12737 * manual/filesys.texi (Reading/Closing Directory): Document
12738 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12739 strongly.
12740 * manual/conf.texi (Limits for Files): Add portability note to
12741 NAME_MAX, PATH_MAX.
12742 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12743
ca0a6bc4
AS
127442013-08-13 Andreas Schwab <schwab@suse.de>
12745
12746 [BZ #15749]
12747 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12748 of fabs.
12749 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12750 LDBL_MAX_EXP >= 16384]: Add tests for it.
12751
6c1fd795
DM
127522013-08-12 David S. Miller <davem@davemloft.net>
12753
12754 * version.h (RELEASE): Set to "development".
12755 (VERSION): Set to "2.18.90".
12756 * NEWS: Add 2.19 section.
12757
31ad488d
DM
127582013-08-03 David S. Miller <davem@davemloft.net>
12759
12760 * po/ko.po: Update Korean translation from translation project.
12761
db24e684
DM
127622013-08-01 David S. Miller <davem@davemloft.net>
12763
12764 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12765 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12766 Bilka.
12767
f723285b
DM
127682013-07-30 David S. Miller <davem@davemloft.net>
12769
12770 * po/fr.po: Update French translation from translation project.
12771
3cbc52db
DM
127722013-07-28 David S. Miller <davem@davemloft.net>
12773
30bbc0cc
DM
12774 * po/cs.po: Update Czech translation from translation project.
12775
3cbc52db
DM
12776 * po/sv.po: Update Swedish translation from translation project.
12777
d492e6d0
DM
127782013-07-27 David S. Miller <davem@davemloft.net>
12779
f1a7f492
DM
12780 * po/eo.po: Update Esperanto translation from translation project.
12781
90e62a4a
DM
12782 * po/vi.po: Update Vietnamese translation from translation project.
12783
d492e6d0
DM
12784 * po/de.po: Update German translation from translation project.
12785
d4baa62d
DM
127862013-07-26 David S. Miller <davem@davemloft.net>
12787
641aa7b4
DM
12788 * po/bg.po: Update Bulgarian translation from translation project.
12789
d4baa62d
DM
12790 * po/nl.po: Update Dutch translation from translation project.
12791 * po/pl.po: Update Polish translation from translation project.
12792 * po/ru.po: Update Russian translation from translation project.
12793
61a9dcb9
DM
127942013-07-24 David S. Miller <davem@davemloft.net>
12795
12796 * po/libc.pot: Update.
12797
7b1f8b58
AZ
127982013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12799
12800 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12801 variable page size.
12802 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12803 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12804 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12805
a8fc7a03
AK
128062013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12807
12808 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12809
e4608715
CD
128102013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12811 Andreas Schwab <schwab@suse.de>
12812 Roland McGrath <roland@hack.frob.com>
12813 Joseph Myers <joseph@codesourcery.com>
12814 Carlos O'Donell <carlos@redhat.com>
12815
12816 [BZ #15755]
12817 * config.h.in: Define HAVE_PT_CHOWN.
12818 * config.make.in (build-pt-chown): New variable.
12819 * configure.in (--enable-pt_chown): New configure option.
12820 * configure: Regenerate.
12821 * login/Makefile: Include Makeconfig. Build pt_chown only if
12822 build-pt-chown is enabled.
12823 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12824 pt_chown to fix pty ownership.
12825 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12826 CLOSE_ALL_FDS.
12827 * manual/install.texi (Configuring and compiling): Mention
12828 --enable-pt_chown. Add @findex for grantpt.
12829 * INSTALL: Regenerate.
12830
da2d62df
DM
128312013-07-20 David S. Miller <davem@davemloft.net>
12832
12833 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12834 difference between 32-bit and 64-bit.
12835
d7e06450
CD
128362013-07-15 Carlos O'Donell <carlos@redhat.com>
12837
12838 [BZ #15711]
12839 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12840 Avoid system header dependency with -ffreestanding.
12841 ($(objpfx)bits/syscall%d): Likewise.
12842
f959cfd7
DM
128432013-07-13 David S. Miller <davem@davemloft.net>
12844
12845 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12846 underflows from atanl/atan2l due to bug 15319.
12847 (casinh_test_data): Likewise.
12848
c61f8513
DM
128492013-07-07 David S. Miller <davem@davemloft.net>
12850
12851 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12852
72c90ed0
JA
128532013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12854
12855 * sysdeps/i386/fpu/libm-test-ulps: Update.
12856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12857
52dfbe13
SP
128582013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12859
12860 * configure.in (--enable-lock-elision): Fix message text.
12861 * INSTALL: Regenerate.
12862 * configure: Regenerate.
12863
3f169543
AZ
128642013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12865
12866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12867
521c6785
AJ
128682013-07-03 Andreas Jaeger <aj@suse.de>
12869
12870 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12871 define.
12872 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12873 (ptrace_peeksiginfo_args): Add.
12874 (__ptrace_peeksiginfo_flags): Add.
12875 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12877 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12878
d2cc15cb
AM
128792013-07-03 Allan McRae <allan@archlinux.org>
12880
12881 * sysdeps/i386/fpu/libm-test-ulps: Update.
12882
3aaeeca7
DM
128832013-07-02 David S. Miller <davem@davemloft.net>
12884
12885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12886
5314ed1a
MT
128872013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12888
12889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12890
67338156
JM
128912013-07-02 Joseph Myers <joseph@codesourcery.com>
12892
12893 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12895
1717da59
AK
128962013-07-02 Andi Kleen <ak@linux.intel.com>
12897
12898 * config.h.in (ENABLE_LOCK_ELISION): Add.
12899 * configure.in (--enable-lock-elision): Add option.
12900 * manual/install.texi: Document --enable lock elision.
12901 * configure: Regenerate
12902 * INSTALL: Regenerate.
12903
1c81621c
L
129042013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12905
12906 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12907 SSE4.2 strcasecmp for libc.a.
12908 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12909
77f01ab5
JM
129102013-07-02 Joseph Myers <joseph@codesourcery.com>
12911
12912 [BZ #13304]
12913 * soft-fp/op-common.h (_FP_FMA): New macro.
12914 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12915 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12916 (_FP_MUL_MEAT_1_imm): ... here.
12917 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12918 (_FP_MUL_MEAT_1_wide): ... here.
12919 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12920 (_FP_MUL_MEAT_1_hard): ... here.
12921 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12922 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12923 (_FP_MUL_MEAT_2_wide): ... here.
12924 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12925 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12926 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12927 (_FP_MUL_MEAT_2_gmp): ... here.
12928 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12929 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12930 (_FP_MUL_MEAT_4_wide): ... here.
12931 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12932 (_FP_MUL_MEAT_4_gmp): ... here.
12933 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12934 (_FP_WFRACBITS_DW_S): Likewise.
12935 (_FP_WFRACXBITS_DW_S): Likewise.
12936 (_FP_HIGHBIT_DW_S): Likewise.
12937 (FP_FMA_S): Likewise.
12938 (_FP_FRAC_HIGH_DW_S): Likewise.
12939 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12940 (_FP_WFRACBITS_DW_D): Likewise.
12941 (_FP_WFRACXBITS_DW_D): Likewise.
12942 (_FP_HIGHBIT_DW_D): Likewise.
12943 (FP_FMA_D): Likewise.
12944 (_FP_FRAC_HIGH_DW_D): Likewise.
12945 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12946 (_FP_WFRACBITS_DW_E): Likewise.
12947 (_FP_WFRACXBITS_DW_E): Likewise.
12948 (_FP_HIGHBIT_DW_E): Likewise.
12949 (FP_FMA_E): Likewise.
12950 (_FP_FRAC_HIGH_DW_E): Likewise.
12951 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12952 (_FP_WFRACBITS_DW_Q): Likewise.
12953 (_FP_WFRACXBITS_DW_Q): Likewise.
12954 (_FP_HIGHBIT_DW_Q): Likewise.
12955 (FP_FMA_Q): Likewise.
12956 (_FP_FRAC_HIGH_DW_Q): Likewise.
12957 * soft-fp/fmasf4.c: New file.
12958 * soft-fp/fmadf4.c: Likewise.
12959 * soft-fp/fmatf4.c: Likewise.
12960
6308fd9a
LD
129612013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12962
12963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12964 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12965 Silvermont.
12966 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12967 macro.
12968 (index_Slow_SSE4_2): Likewise.
12969 (index_Prefer_PMINUB_for_stringop): Likewise.
12970 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12971 bit_Slow_SSE4_2 is set.
12972 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12973 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12974
89cd9569
RA
129752013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12976
12977 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12978 rtld_global._dl_hwcap2.
12979 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12980 POWER8.
12981 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12982 POWER8 feature descriptions defined in _dl_hwcap2.
12983 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12984 string handling for POWER8 feature bits.
12985 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12986 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12987 _dl_powerpc_cap_flags.
12988 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12989 * sysdeps/powerpc/rtld-global-offsets.sym
12990 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12991 _dl_hwcap2 in the rtld_global_ro structure.
12992
1ae8bfe0
RA
129932013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12994
12995 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12996 hardware capabilities in support of AT_HWCAP2.
12997 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12998 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12999 GLRO(dl_hwcap2).
13000 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13001 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13002 explicitly the unknown a_type display mechanism is used.
13003 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13004 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13005 struct member.
13006 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13007 to macro prototype for AT_HWCAP2 support.
13008 * sysdeps/i386/dl-procinfo.h: Likewise.
13009 * sysdeps/s390/dl-procinfo.h: Likewise.
13010 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13011 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13012 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13013 return -1 for unknown a_type display fallback.
13014 * sysdeps/sparc/dl-procinfo.h: Likewise.
13015 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13016 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13017
8fbec010
JM
130182013-06-28 Joseph Myers <joseph@codesourcery.com>
13019
13020 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13021 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13022
0432680e
PY
130232013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13024
13025 [BZ #12492]
13026 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13027 mprotect making __stack_prot writable.
13028
ce61a2ad
NF
130292013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13030 Joseph Myers <joseph@codesourcery.com>
13031
13032 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13033 as being properly aligned.
13034
f91f1c0f
MR
130352013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13036
3d0f5d0c
MR
13037 * dlfcn/modstatic5.c: New file.
13038 * dlfcn/tststatic5.c: New file.
13039 * dlfcn/Makefile (tests): Add tststatic5.
13040 (tests-static): Likewise.
13041 (modules-names): Add modstatic5.
13042 (tststatic5-ENV): New variable.
13043 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13044
f91f1c0f
MR
13045 [BZ #15022]
13046 * elf/dl-support.c (_dl_main_map): New variable.
13047 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13048 (_dl_nns, _dl_load_adds): Set to 1.
13049 (_dl_initial_searchlist): Refer to _dl_main_map.
13050 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13051 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13052 call to _dl_get_origin.
13053 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13054 around call_map.
13055 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13056 * dlfcn/modstatic3.c: New file.
13057 * dlfcn/tststatic3.c: New file.
13058 * dlfcn/tststatic4.c: New file.
13059 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13060 (tests-static): Likewise.
13061 (modules-names): Add modstatic3.
13062 (tststatic3-ENV, tststatic4-ENV): New variables.
13063 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13064 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13065
cbe7d24b
JM
130662013-06-26 Joseph Myers <joseph@codesourcery.com>
13067
13068 * configure.in (CC): Require GCC version 4.4 or later.
13069 * configure: Regenerated.
13070 * manual/install.texi (Tools for Compilation): Update GCC version
13071 requirement.
13072 * INSTALL: Regenerated.
13073
11b8a0e1
LD
130742013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13075
13076 [BZ #15674]
bb5bb87c
L
13077 * string/test-memcmp.c (check2): New.
13078 (main): Call check2.
13079
11b8a0e1
LD
13080 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13081
b0037103
MR
130822013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13083
13084 [BZ #15022]
13085 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13086 over to...
13087 (dl_open_worker) [!SHARED]: ... here.
13088
c18c701d
RA
130892013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13090
13091 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13092
1d17fa5f
RH
130932013-06-25 Richard Henderson <rth@redhat.com>
13094
13095 * locale/programs/locarchive.c: Include <libc-internal.h>
13096
8fcb833a
JM
130972013-06-25 Joseph Myers <joseph@codesourcery.com>
13098
13099 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13100 trailing whitespace removed.
13101
17db6e8d
MF
131022013-06-24 Mike Frysinger <vapier@gentoo.org>
13103
13104 [BZ #10283]
17db6e8d
MF
13105 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13106 * locale/programs/locarchive.c: Include libc-mmap.h.
13107 (prepare_address_space): Take two new outputs (the mmap base and len).
13108 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13109 values.
13110 (create_archive): Declare new mmap base and len values for
13111 prepare_address_space, and store the result in ah.
13112 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13113 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13114 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13115 Declare new mmap base and len values for
13116 prepare_address_space, and store the result in new_ah.
13117 (open_archive): Declare new mmap base and len values for
13118 prepare_address_space, and store the result in ah.
13119 (close_archive): If ah->mmap_base is not NULL, use that and
13120 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13121 * sysdeps/generic/libc-mmap.h: New file.
13122
d605071e
MF
131232013-06-24 Mike Frysinger <vapier@gentoo.org>
13124
13125 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13126 (ALIGN_UP): Likewise.
13127 (PTR_ALIGN_DOWN): Likewise.
13128 (PTR_ALIGN_UP): Likewise.
13129
2f063a6e
RA
131302013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13131
13132 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13133 entry mapped to PPC_PLATFORM_POWER8.
13134 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13135 POWER8.
13136 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13137 (_dl_string_platform): Add case for exporting platform position for
13138 POWER8.
13139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13140 search path to sysdeps/powerpc/powerpc32/power8 directory.
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13142 search path to sysdeps/powerpc/powerpc64/power8 directory.
13143 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13144 power7 directories.
13145 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13146 power7 directories.
13147
a31ee4b3
SP
131482013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13149
a74ca98f
SP
13150 * INSTALL: Regenerate.
13151
a31ee4b3
SP
13152 * nscd/connections.c (nscd_init): Fix comment.
13153
695c378f
JM
131542013-06-22 Joseph Myers <joseph@codesourcery.com>
13155
d8412221
JM
13156 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13157
695c378f
JM
13158 [BZ #15667]
13159 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13160 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13161
d1d54715
MR
131622013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13163
13164 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13165 DL_DST_REQ_STATIC.
13166 (DL_DST_REQ_STATIC): Remove macro.
13167
8fdda7af
JM
131682013-06-21 Joseph Myers <joseph@codesourcery.com>
13169
13170 [BZ #7006]
13171 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13172 with a shift of 0 bits.
13173
f3bc5e5a
MR
131742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13175
13176 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13177 $(tststatic-ENV).
13178
be09e8c9
KK
131792013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13180
13181 [BZ #15655]
13182 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13183
85c2e611
AZ
131842013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13185
13186 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13187 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13188 accepts -fno-tree-loop-distribute-patterns.
13189 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13190 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13191 recursive call.
13192 * string/memset.c (memset): Likewise.
13193 * string/test-memmove.c (simple_memmove): Disable loop transformation
13194 to library calls.
13195 * string/test-memset.c (simple_memset): Likewise.
13196 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13197 * benchtests/bench-memset.c (simple_memset): Likewise.
13198 * configure: Regenerated.
13199
c91e0825
JM
132002013-06-20 Joseph Myers <joseph@codesourcery.com>
13201
b8c792af
JM
13202 * math/test-misc.c (main): Ignore fesetround failure when failures
13203 of subsequent rounding tests would be ignored.
13204
c91e0825
JM
13205 [BZ #15654]
13206 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13207 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13208 * math/fegetenv.c (__fegetenv): Return 0.
13209 * math/fegetexcept.c (fegetexcept): Return 0.
13210 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13211 FE_TONEAREST.
13212 * math/feholdexcpt.c (feholdexcept): Return 0.
13213 * math/fesetenv.c (__fesetenv): Return 0.
13214 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13215 argument FE_TONEAREST.
13216 * math/feupdateenv.c (__feupdateenv): Return 0.
13217 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13218
bfcacbde
RM
132192013-06-18 Roland McGrath <roland@hack.frob.com>
13220
13221 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13222 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13223 ($(objpfx)rtld-%.os rules): Use them.
13224
e55a9b25
AZ
132252013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13226
13227 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13228 fields.
13229
346d65b3
RM
132302013-06-17 Roland McGrath <roland@hack.frob.com>
13231
12086fb4
RM
13232 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13233 length of target pattern, then descending length of dependency pattern.
13234 * configure.in (AWK): Require gawk 3.1.2 or newer.
13235 * manual/install.texi (Tools for Compilation): Say that we do.
13236 * configure: Regenerated.
13237
346d65b3
RM
13238 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13239 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13240 * scripts/sysd-rules.awk: ... this new script.
13241 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13242 than a glob-style pattern.
13243
1a846317
JM
132442013-06-17 Joseph Myers <joseph@codesourcery.com>
13245
13246 * math/test-misc.c (main): Do not treat incorrectly rounded
13247 conversions as failure unless ROUNDING_TESTS passes.
13248
8fc75e6f
JM
132492013-06-15 Joseph Myers <joseph@codesourcery.com>
13250
3711a167
JM
13251 [BZ #15631]
13252 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13253 restore exception state around main square root computation, then
13254 check for inexactness explicitly.
13255
8fc75e6f
JM
13256 * math/libm-test.inc (fma_test_data): Add another test.
13257
61dd6208
SP
132582013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13259
adf23d2c
SP
13260 * manual/threads.texi (Non-POSIX Extensions): New document
13261 node. Document pthread_getattr_default_np and
13262 pthread_setattr_default_np.
13263
61dd6208
SP
13264 * Versions.def (libpthread): Add GLIBC_2.18.
13265 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13267 Likewise.
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13269 Likewise.
13270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13271 Likewise.
13272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13273 Likewise.
13274 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13275 Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13277 Likewise.
13278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13279 Likewise.
13280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13281 Likewise.
13282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13283 Likewise.
13284
d086fc7b
LD
132852013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13286
13287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13288 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13289
747ef469
SP
132902013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13291 H.J. Lu <hjl.tools@gmail.com>
13292
13293 [BZ #15627]
13294 * sysdeps/x86_64/rtld-memset.c: Remove file.
13295 * sysdeps/x86_64/rtld-memset.S: New file.
13296
1b2feed2
JM
132972013-06-14 Joseph Myers <joseph@codesourcery.com>
13298
13299 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13300 (test_in_one_mode): Take arguments for whether the rounding mode
13301 is supported for each floating-point type.
13302 (do_test): Pass new arguments to test_in_one_mode using
13303 ROUNDING_TESTS.
13304
a58ad3f8
RM
133052013-06-13 Roland McGrath <roland@hack.frob.com>
13306
13307 * posix/tst-waitid.c (do_test): Distinguish different instances of
13308 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13309 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13310 before entering the kernel for waitpid.
13311
c204ab28
SP
133122013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13313
13314 * NEWS: Fix note on clock function precision. Text by Roland
13315 McGrath.
13316
f4a29fba
RM
133172013-06-13 Roland McGrath <roland@hack.frob.com>
13318
13319 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13320 it into place only when and if the sanity check passes.
13321
1f24b9ad
JM
133222013-06-13 Joseph Myers <joseph@codesourcery.com>
13323
13324 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13325 output for whether conversion result is exact. Take argument
13326 indicating whether type is IBM long double.
13327 (round_for_all): Change need_exact field to ibm_ld.
13328 * stdlib/tst-strtod-round.c (struct exactness): New type.
13329 (struct test): Change bool ld_ok field to struct exactness exact.
13330 (TEST): Update all definitions for change to field.
13331 (tests): Regenerate array contents.
13332 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13333 field value. Check for IBM long double here.
13334 (do_test): Update calls to test_in_one_mode.
13335
58206c68
SP
133362013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13337
13338 [BZ #12515]
13339 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13340 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13341
2d6f4c5b 133422013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13343
13344 [BZ #15605]
13345 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13346 generated by the compiler on loop optimizations.
13347 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13348 general definitions.
13349
94f2c076
JM
133502013-06-12 Joseph Myers <joseph@codesourcery.com>
13351
13352 * math/bug-nextafter.c: Include <math-tests.h>.
13353 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13354 the relevant type.
13355 * math/bug-nexttoward.c: Include <math-tests.h>.
13356 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13357 the relevant type.
13358 * math/test-misc.c: Include <math-tests.h>.
13359 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13360 the relevant type.
13361
e0e50a0a
AJ
133622013-06-12 Andreas Jaeger <aj@suse.de>
13363
13364 * po/ia.po: Update Interlingua translation from translation
13365 project.
13366
25061094
SP
133672013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13368
13369 * include/fenv.h: Include stdbool.h.
13370 (struct rm_ctx): New structure.
13371 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13372 Define macro.
13373 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13374 (SET_RESTORE_ROUNDF): Likewise.
13375 (SET_RESTORE_ROUNDL): Likewise.
13376 (SET_RESTORE_ROUND_NOEX): Likewise.
13377 (SET_RESTORE_ROUND_NOEXF): Likewise.
13378 (SET_RESTORE_ROUND_NOEXL): Likewise.
13379 (SET_RESTORE_ROUND_53BIT): Likewise.
13380 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13381 (libc_feresetround_noexf_ctx): Likewise.
13382 (libc_feresetround_noexl_ctx): Likewise.
13383 (libc_feholdsetround_53bit_ctx): Likewise.
13384 (libc_feresetround_53bit_ctx): Likewise.
13385 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13386 (libc_feholdexcept_setround_sse_ctx): New function.
13387 (libc_fesetenv_sse_ctx): Likewise.
13388 (libc_feupdateenv_sse_ctx): Likewise.
13389 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13390 (libc_feholdexcept_setround_387_ctx): Likewise.
13391 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13392 (libc_feholdsetround_387_prec_ctx): Likewise.
13393 (libc_feholdsetround_387_ctx): Likewise.
13394 (libc_feholdsetround_387_53bit_ctx): Likewise.
13395 (libc_feholdsetround_sse_ctx): Likewise.
13396 (libc_feresetround_sse_ctx): Likewise.
13397 (libc_feresetround_387_ctx): Likewise.
13398 (libc_feupdateenv_387_ctx): Likewise.
13399 (libc_feholdexcept_setroundf_ctx): Define macro.
13400 (libc_fesetenvf_ctx): Likewise.
13401 (libc_feupdateenvf_ctx): Likewise.
13402 (libc_feholdsetroundf_ctx): Likewise.
13403 (libc_feresetroundf_ctx): Likewise.
13404 (libc_feholdexcept_setround_ctx): Likewise.
13405 (libc_fesetenv_ctx): Likewise.
13406 (libc_feupdateenv_ctx): Likewise.
13407 (libc_feholdsetround_ctx): Likewise.
13408 (libc_feresetround_ctx): Likewise.
13409 (libc_feholdexcept_setroundl_ctx): Likewise.
13410 (libc_feupdateenvl_ctx): Likewise.
13411 (libc_feholdsetroundl_ctx): Likewise.
13412 (libc_feresetroundl_ctx): Likewise.
13413 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13414 (libc_feresetround_53bit_ctx): Likewise.
13415
59b30555
SP
134162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13417
13418 * locale/iso-639.def: Convert to UTF-8.
13419
f1d73d30
JM
134202013-06-11 Joseph Myers <joseph@codesourcery.com>
13421
13422 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13423 (EXCEPTION_TESTS_double): Likewise.
13424 (EXCEPTION_TESTS_long_double): Likewise.
13425 (EXCEPTION_TESTS): Likewise.
13426 * math/libm-test.inc (test_exceptions): Only test exceptions if
13427 EXCEPTION_TESTS (FLOAT).
13428
94aca5e7
SP
134292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13430
13431 * benchtests/Makefile (string-bench): Add strcpy_chk and
13432 stpcpy_chk.
13433 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13434 * benchtests/bench-stpcpy_chk.c: New file.
13435 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13436 * benchtests/bench-strcpy_chk.c: New file.
13437 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13438 code.
13439 (do_test): Likewise.
13440
fac0c5f2
RA
134412013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13442
13443 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13444 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13445 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13446 with tabs where appropriate.
13447 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13448 dl-procinfo.h.
13449 [PPC_PLATFORM_PPC440]: Likewise.
13450 [PPC_PLATFORM_PPC464]: Likewise.
13451 [PPC_PLATFORM_PPC476]: Likewise.
13452 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13453 ppc464, and ppc476 platform strings merging from ports/
13454 dl-procinfo.h.
13455
f22bc486
AS
134562013-06-11 Andreas Schwab <schwab@suse.de>
13457
13458 [BZ #14991]
13459 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13460 (from_ucs4_idx): Regenerate.
13461 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13462 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13463 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13464 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13465 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13466 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13467 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13468 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13469 from FROM_LOOP and TO_LOOP specific macros.
13470 (BODY): Handle combining characters.
13471 * iconvdata/BIG5HKSCS.irreversible: Update.
13472 * iconvdata/BIG5HKSCS.precomposed: New file.
13473 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13474 characters.
13475 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13476
c1f75dc3
SP
134772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13478
4eacded2
SP
13479 * include/sys/time.h: Fix indentation and add copyright header.
13480
fec799f8
SP
13481 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13482 (do_test): Likewise.
13483 * string/test-memchr.c (do_one_test): Likewise.
13484 (do_test): Likewise.
13485 * string/test-memcmp.c (do_one_test): Likewise.
13486 (do_test): Likewise.
13487 * string/test-memcpy.c (do_one_test): Likewise.
13488 (do_test): Likewise.
13489 * string/test-memmem.c (do_one_test): Likewise.
13490 (do_test): Likewise.
13491 (do_random_tests): Likewise.
13492 * string/test-memmove.c (do_one_test): Likewise.
13493 (do_test): Likewise.
13494 * string/test-memset.c (do_one_test): Likewise.
13495 (do_test): Likewise.
13496 * string/test-rawmemchr.c (do_one_test): Likewise.
13497 (do_test): Likewise.
13498 * string/test-strcasecmp.c (do_one_test): Likewise.
13499 (do_test): Likewise.
13500 * string/test-strcasestr.c (do_one_test): Likewise.
13501 (do_test): Likewise.
13502 * string/test-strcat.c (do_one_test): Likewise.
13503 (do_test): Likewise.
13504 * string/test-strchr.c (do_one_test): Likewise.
13505 (do_test): Likewise.
13506 * string/test-strcmp.c (do_one_test): Likewise.
13507 (do_test): Likewise.
13508 * string/test-strcpy.c (do_one_test): Likewise.
13509 (do_test): Likewise.
13510 * string/test-string.h: Likewise.
13511 (test_init): Likewise.
13512 * string/test-strlen.c (do_one_test): Likewise.
13513 (do_test): Likewise.
13514 * string/test-strncasecmp.c (do_one_test): Likewise.
13515 (do_test): Likewise.
13516 * string/test-strncat.c (do_one_test): Likewise.
13517 (do_test): Likewise.
13518 * string/test-strncmp.c (do_one_test): Likewise.
13519 (do_test_limit): Likewise.
13520 (do_test): Likewise.
13521 * string/test-strncpy.c (do_one_test): Likewise.
13522 (do_test): Likewise.
13523 * string/test-strnlen.c (do_one_test): Likewise.
13524 (do_test): Likewise.
13525 * string/test-strpbrk.c (do_one_test): Likewise.
13526 (do_test): Likewise.
13527 * string/test-strrchr.c (do_one_test): Likewise.
13528 (do_test): Likewise.
13529 * string/test-strspn.c (do_one_test): Likewise.
13530 (do_test): Likewise.
13531 * string/test-strstr.c (do_one_test): Likewise.
13532 (do_test): Likewise.
13533
97020474
SP
13534 * benchtests/Makefile (string-bench): Add string benchmarks.
13535 * benchtests/bench-bcopy-ifunc.c: New file.
13536 * benchtests/bench-bcopy.c: New file.
13537 * benchtests/bench-bzero-ifunc.c: New file.
13538 * benchtests/bench-bzero.c: New file.
13539 * benchtests/bench-memccpy-ifunc.c: New file.
13540 * benchtests/bench-memccpy.c: New file.
13541 * benchtests/bench-memchr-ifunc.c: New file.
13542 * benchtests/bench-memchr.c: New file.
13543 * benchtests/bench-memcmp-ifunc.c: New file.
13544 * benchtests/bench-memcmp.c: New file.
13545 * benchtests/bench-memmem-ifunc.c: New file.
13546 * benchtests/bench-memmem.c: New file.
13547 * benchtests/bench-memmove-ifunc.c: New file.
13548 * benchtests/bench-memmove.c: New file.
13549 * benchtests/bench-mempcpy-ifunc.c: New file.
13550 * benchtests/bench-mempcpy.c: New file.
13551 * benchtests/bench-memset-ifunc.c: New file.
13552 * benchtests/bench-memset.c: New file.
13553 * benchtests/bench-rawmemchr-ifunc.c: New file.
13554 * benchtests/bench-rawmemchr.c: New file.
13555 * benchtests/bench-stpcpy-ifunc.c: New file.
13556 * benchtests/bench-stpcpy.c: New file.
13557 * benchtests/bench-stpncpy-ifunc.c: New file.
13558 * benchtests/bench-stpncpy.c: New file.
13559 * benchtests/bench-strcasecmp-ifunc.c: New file.
13560 * benchtests/bench-strcasecmp.c: New file.
13561 * benchtests/bench-strcasestr-ifunc.c: New file.
13562 * benchtests/bench-strcasestr.c: New file.
13563 * benchtests/bench-strcat-ifunc.c: New file.
13564 * benchtests/bench-strcat.c: New file.
13565 * benchtests/bench-strchr-ifunc.c: New file.
13566 * benchtests/bench-strchr.c: New file.
13567 * benchtests/bench-strchrnul-ifunc.c: New file.
13568 * benchtests/bench-strchrnul.c: New file.
13569 * benchtests/bench-strcmp-ifunc.c: New file.
13570 * benchtests/bench-strcmp.c: New file.
13571 * benchtests/bench-strcpy-ifunc.c: New file.
13572 * benchtests/bench-strcpy.c: New file.
13573 * benchtests/bench-strcspn-ifunc.c: New file.
13574 * benchtests/bench-strcspn.c: New file.
13575 * benchtests/bench-strlen-ifunc.c: New file.
13576 * benchtests/bench-strlen.c: New file.
13577 * benchtests/bench-strncasecmp-ifunc.c: New file.
13578 * benchtests/bench-strncasecmp.c: New file.
13579 * benchtests/bench-strncat-ifunc.c: New file.
13580 * benchtests/bench-strncat.c: New file.
13581 * benchtests/bench-strncmp-ifunc.c: New file.
13582 * benchtests/bench-strncmp.c: New file.
13583 * benchtests/bench-strncpy-ifunc.c: New file.
13584 * benchtests/bench-strncpy.c: New file.
13585 * benchtests/bench-strnlen-ifunc.c: New file.
13586 * benchtests/bench-strnlen.c: New file.
13587 * benchtests/bench-strpbrk-ifunc.c: New file.
13588 * benchtests/bench-strpbrk.c: New file.
13589 * benchtests/bench-strrchr-ifunc.c: New file.
13590 * benchtests/bench-strrchr.c: New file.
13591 * benchtests/bench-strspn-ifunc.c: New file.
13592 * benchtests/bench-strspn.c: New file.
13593 * benchtests/bench-strstr-ifunc.c: New file.
13594 * benchtests/bench-strstr.c: New file.
13595
c1f75dc3
SP
13596 * benchtests/Makefile: Disable parallel execution of targets.
13597 (string-bench): Add memcpy.
13598 (benchset): New variable to store a list of benchmark sets.
13599 (bench-func): Renamed from bench.
13600 (bench-set): New target.
13601 (bench): Depend on bench-func and bench-set.
13602 * benchtests/README: Add section on benchmark sets.
13603 * benchtests/bench-memcpy-ifunc.c: New file.
13604 * benchtests/bench-memcpy.c: New file.
13605 * benchtests/bench-string.h: New file.
13606
50fd745b
AS
136072013-06-11 Andreas Schwab <schwab@suse.de>
13608
13609 [BZ #15577]
13610 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13611 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13612 values in the triple.
13613 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13614 terminator in the group key.
13615
3ee7e9fe
AJ
136162013-06-11 Andreas Jaeger <aj@suse.de>
13617
13618 * po/zh_TW.po: Update Chinese (traditional) translation from
13619 translation project.
13620
89fb6835
SP
136212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13622
13623 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13624 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13625 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13626 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13627 (clock_getcpuclockid): Likewise.
13628 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13629 Add weak_alias and libc_hidden_def.
13630 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13631 * rt/clock_gettime.c (clock_gettime): Rename to
13632 __clock_gettime. Add weak_alias and libc_hidden_def.
13633 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13634 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13635 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13636 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13637 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13638 Likewise.
13639 * rt/clock_settime.c (clock_settime): Rename to
13640 __clock_settime. Add weak_alias and libc_hidden_def.
13641 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13642
0efa6f8b
JM
136432013-06-10 Joseph Myers <joseph@codesourcery.com>
13644
b8c61b4b
JM
13645 * mach/err_boot.sub: Remove trailing whitespace.
13646 * mach/err_ipc.sub: Likewise.
13647 * mach/err_mach.sub: Likewise.
13648
0efa6f8b
JM
13649 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13650 (ROUNDING_TESTS_double): Likewise.
13651 (ROUNDING_TESTS_long_double): Likewise.
13652 (ROUNDING_TESTS): Likewise.
13653 * math/libm-test.inc: Include <math-tests.h>.
13654 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13655 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13656 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13657 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13658
50b818bf
SP
136592013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13660
13661 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13662 of assigning.
13663
60d2f8f3
JM
136642013-06-08 Joseph Myers <joseph@codesourcery.com>
13665
4902d2c3
JM
13666 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13667 otherwise empty TRANS lines.
13668 * sysdeps/gnu/errlist.c: Regenerated.
13669
60d2f8f3
JM
13670 * catgets/gencat.c (error_print): Use (void) in function
13671 definition.
13672 * crypt/crypt_util.c (__init_des): Likewise.
13673 * crypt/speeds.c (Stop): Likewise.
13674 (main): Likewise.
13675 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13676 * inet/ruserpass.c (token): Likewise.
13677 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13678 * intl/localealias.c (extend_alias_table): Likewise.
13679 * intl/plural-exp.c (init_germanic_plural): Likewise.
13680 * libio/fcloseall.c (__fcloseall): Likewise.
13681 * libio/genops.c (_IO_flush_all): Likewise.
13682 (_IO_flush_all_linebuffered): Likewise.
13683 (_IO_cleanup): Likewise.
13684 (_IO_iter_begin): Likewise.
13685 (_IO_iter_end): Likewise.
13686 (_IO_list_lock): Likewise.
13687 (_IO_list_unlock): Likewise.
13688 (_IO_list_resetlock): Likewise.
13689 * libio/getchar.c (getchar): Likewise.
13690 * libio/getchar_u.c (getchar_unlocked): Likewise.
13691 * libio/getwchar.c (getwchar): Likewise.
13692 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13693 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13694 * login/getpt.c (__getpt): Likewise.
13695 * login/tst-utmp.c (main): Likewise.
13696 * malloc/hooks.c (__malloc_check_init): Likewise.
13697 * malloc/malloc.c (__malloc_stats): Likewise.
13698 * malloc/mtrace.c (tr_break): Likewise.
13699 (mtrace): Likewise.
13700 (muntrace): Likewise.
13701 * misc/fstab.c (endfsent): Likewise.
13702 * misc/getclktck.c (__getclktck): Likewise.
13703 * misc/getdtsz.c (__getdtablesize): Likewise.
13704 * misc/gethostid.c (gethostid): Likewise.
13705 * misc/getpagesize.c (__getpagesize): Likewise.
13706 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13707 (__get_nprocs): Likewise.
13708 (__get_phys_pages): Likewise.
13709 (__get_avphys_pages): Likewise.
13710 * misc/getttyent.c (getttyent): Likewise.
13711 (setttyent): Likewise.
13712 (endttyent): Likewise.
13713 * misc/getusershell.c (getusershell): Likewise.
13714 (endusershell): Likewise.
13715 (setusershell): Likewise.
13716 (initshells): Likewise.
13717 * misc/hsearch.c (__hdestroy): Likewise.
13718 * misc/sync.c (sync): Likewise.
13719 * misc/syslog.c (closelog_internal): Likewise.
13720 (closelog): Likewise.
13721 * misc/ttyslot.c (ttyslot): Likewise.
13722 * misc/vhangup.c (vhangup): Likewise.
13723 * posix/fork.c (__fork): Likewise.
13724 * posix/getegid.c (__getegid): Likewise.
13725 * posix/geteuid.c (__geteuid): Likewise.
13726 * posix/getgid.c (__getgid): Likewise.
13727 * posix/getpid.c (__getpid): Likewise.
13728 * posix/getppid.c (__getppid): Likewise.
13729 * posix/getuid.c (__getuid): Likewise.
13730 * posix/pause.c (pause): Likewise.
13731 * posix/setpgrp.c (setpgrp): Likewise.
13732 * posix/setsid.c (__setsid): Likewise.
13733 * posix/test-vfork.c (noop): Likewise.
13734 * resolv/gethnamaddr.c (_endhtent): Likewise.
13735 (_gethtent): Likewise.
13736 (ht_endhostent): Likewise.
13737 (gethostent): Likewise.
13738 (dns_service): Likewise.
13739 * stdlib/drand48.c (drand48): Likewise.
13740 * stdlib/lrand48.c (lrand48): Likewise.
13741 * stdlib/mrand48.c (mrand48): Likewise.
13742 * stdlib/rand.c (rand): Likewise.
13743 * stdlib/random.c (__random): Likewise.
13744 * stdlib/setenv.c (clearenv): Likewise.
13745 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13746 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13747 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13748 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13749 (__get_nprocs): Likewise.
13750 (__get_phys_pages): Likewise.
13751 (__get_avphys_pages): Likewise.
13752 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13753 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13754 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13755 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13756 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13757 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13758 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13759 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13760 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13761 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13762 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13763 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13764 * sysdeps/posix/clock.c (clock): Likewise.
13765 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13766 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13767 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13768 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13769 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13770 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13771 (__get_nprocs_conf): Likewise.
13772 (__get_phys_pages): Likewise.
13773 (__get_avphys_pages): Likewise.
13774 * time/clock.c (clock): Likewise.
13775 * time/tzset.c (__tzname_max): Likewise.
13776
2e09a79a
JM
137772013-06-07 Joseph Myers <joseph@codesourcery.com>
13778
13779 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13780 (__bswap_32): Do not use "register".
13781 * crypt/crypt.c (_ufc_doit_r): Likewise.
13782 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13783 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13784 * gmon/gmon.c (__monstartup): Likewise.
13785 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13786 * hurd/hurdmalloc.c (more_memory): Likewise.
13787 (malloc): Likewise.
13788 (free): Likewise.
13789 (realloc): Likewise.
13790 (malloc_fork_prepare): Likewise.
13791 (malloc_fork_parent): Likewise.
13792 (malloc_fork_child): Likewise.
13793 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13794 (_svcauth_des): Likewise.
13795 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13796 * inet/inet_net.c (inet_network): Likewise.
13797 * inet/inet_netof.c (inet_netof): Likewise.
13798 * inet/rcmd.c (__validuser2_sa): Likewise.
13799 * io/fts.c (fts_open): Likewise.
13800 (fts_load): Likewise.
13801 (fts_close): Likewise.
13802 (fts_read): Likewise.
13803 (fts_children): Likewise.
13804 (fts_build): Likewise.
13805 (fts_stat): Likewise.
13806 (fts_sort): Likewise.
13807 (fts_alloc): Likewise.
13808 (fts_lfree): Likewise.
13809 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13810 (_IO_file_xsgetn): Likewise.
13811 (_IO_file_xsgetn_mmap): Likewise.
13812 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13813 (_IO_cookie_write): Likewise.
13814 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13815 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13816 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13817 * malloc/obstack.c (_obstack_begin): Likewise.
13818 (_obstack_begin_1): Likewise.
13819 (_obstack_newchunk): Likewise.
13820 (_obstack_allocated_p): Likewise.
13821 (obstack_free): Likewise.
13822 (_obstack_memory_used): Likewise.
13823 * misc/getttyent.c (getttynam): Likewise.
13824 (getttyent): Likewise.
13825 (skip): Likewise.
13826 (value): Likewise.
13827 * misc/getusershell.c (initshells): Likewise.
13828 * misc/syslog.c (__vsyslog_chk): Likewise.
13829 * misc/ttyslot.c (ttyslot): Likewise.
13830 * nis/nis_hash.c (__nis_hash): Likewise.
13831 * posix/fnmatch_loop.c (FCT): Likewise.
13832 * posix/getconf.c (print_all): Likewise.
13833 (main): Likewise.
13834 * posix/getopt.c (exchange): Likewise.
13835 * posix/glob.c (globfree): Likewise.
13836 (prefix_array): Likewise.
13837 (__glob_pattern_type): Likewise.
13838 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13839 (NS_GET32): Likewise.
13840 (NS_PUT16): Likewise.
13841 (NS_PUT32): Likewise.
13842 * resolv/gethnamaddr.c (getanswer): Likewise.
13843 (gethostbyname2): Likewise.
13844 (gethostbyaddr): Likewise.
13845 (_gethtent): Likewise.
13846 (_gethtbyname2): Likewise.
13847 (_gethtbyaddr): Likewise.
13848 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13849 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13850 * resolv/res_init.c (__res_vinit): Likewise.
13851 (net_mask): Likewise.
13852 * resolv/res_mkquery.c (outchar): Likewise.
13853 (PRINT): Likewise.
13854 * stdio-common/printf_fp.c (outchar): Likewise.
13855 (PRINT): Likewise.
13856 * stdio-common/printf_fphex.c (outchar): Likewise.
13857 (PRINT): Likewise.
13858 * stdio-common/printf_size.c (outchar): Likewise.
13859 (PRINT): Likewise.
13860 * stdio-common/test_rdwr.c (main): Likewise.
13861 * stdio-common/tfformat.c (matches): Likewise.
13862 * stdio-common/vfprintf.c (outchar): Likewise.
13863 (printf_unknown): Likewise.
13864 (buffered_vfprintf): Likewise.
13865 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13866 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13867 (ReadFile): Likewise.
13868 * stdlib/qsort.c (SWAP): Likewise.
13869 (_quicksort): Likewise.
13870 * stdlib/setenv.c (__add_to_environ): Likewise.
13871 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13872 * stdlib/strtol_l.c (__strtol_l): Likewise.
13873 * stdlib/tst-strtod.c (main): Likewise.
13874 * stdlib/tst-strtol.c (main): Likewise.
13875 * stdlib/tst-strtoll.c (main): Likewise.
13876 * string/bits/string2.h (__strcmp_cc): Likewise.
13877 (__strcmp_cg): Likewise.
13878 (__strcspn_c1): Likewise.
13879 (__strcspn_c2): Likewise.
13880 (__strcspn_c3): Likewise.
13881 (__strspn_c1): Likewise.
13882 (__strspn_c2): Likewise.
13883 (__strspn_c3): Likewise.
13884 (__strsep_1c): Likewise.
13885 (__strsep_2c): Likewise.
13886 (__strsep_3c): Likewise.
13887 * string/memccpy.c (__memccpy): Likewise.
13888 * string/stpcpy.c (__stpcpy): Likewise.
13889 * string/strcmp.c (strcmp): Likewise.
13890 * string/strrchr.c (strrchr): Likewise.
13891 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13892 Likewise.
13893 * sysdeps/mach/hurd/getcwd.c
13894 (_hurd_canonicalize_directory_name_internal): Likewise.
13895 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13896 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13897 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13898 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13899 Likewise, in both definitions.
13900 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13901 definitions.
13902 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13903 64] (__bswap_64): Likewise.
13904 * time/test_time.c (main): Likewise.
13905 * time/tzfile.c (__tzfile_read): Likewise.
13906 (__tzfile_compute): Likewise.
13907 * time/tzset.c (__tzset_parse_tz): Likewise.
13908 (tzset_internal): Likewise.
13909 (compute_change): Likewise.
13910 * wcsmbs/wcscat.c (__wcscat): Likewise.
13911 * wcsmbs/wcschr.c (wcschr): Likewise.
13912 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13913 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13914 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13915 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13916 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13917 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13918 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13919 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13920 * wcsmbs/wmemset.c (wmemset): Likewise.
13921
9e54314b
JM
139222013-06-06 Joseph Myers <joseph@codesourcery.com>
13923
13924 * scripts/config.guess: Update to version 2013-05-16.
13925 * scripts/config.sub: Update to version 2013-04-24.
13926 * scripts/install-sh: Update to version 2011-11-20.07.
13927 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13928 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13929
350635a5
OB
139302013-06-06 Ondřej Bílka <neleai@seznam.cz>
13931
13932 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13933 * elf/sln.c: Likewise.
13934 * hurd/hurd/ioctl.h: Likewise.
13935 * hurd/hurdmalloc.c: Likewise.
13936 * hurd/xattr.c: Likewise.
13937 * include/shlib-compat.h: Likewise.
13938 * inet/ruserpass.c: Likewise.
13939 * libio/iofgets_u.c: Likewise.
13940 * libio/iofgetws_u.c: Likewise.
13941 * locale/programs/ld-identification.c: Likewise.
13942 * locale/programs/ld-time.c: Likewise.
13943 * mach/msg-destroy.c: Likewise.
13944 * nss/nss_files/files-netgrp.c: Likewise.
13945 * resolv/res_data.c: Likewise.
13946 * soft-fp/op-1.h: Likewise.
13947 * soft-fp/op-2.h: Likewise.
13948 * soft-fp/op-4.h: Likewise.
13949 * soft-fp/op-common.h: Likewise.
13950 * stdio-common/printf_fphex.c: Likewise.
13951 * stdlib/strtod_l.c: Likewise.
13952 * sunrpc/rpc/clnt.h: Likewise.
13953 * sysdeps/generic/framestate.c: Likewise.
13954 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13955 * sysdeps/i386/bsd-setjmp.S: Likewise.
13956 * sysdeps/i386/__longjmp.S: Likewise.
13957 * sysdeps/i386/setjmp.S: Likewise.
13958 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13959 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13960 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13974 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13976 * sysdeps/ieee754/support.c: Likewise.
13977 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13978 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13979 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13980 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13981 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13982 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13983 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13984 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13985 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13986 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13987 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13988 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13989 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13990 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13991 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13992 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13993 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13995
44a988af
OB
139962013-06-05 Ondřej Bílka <neleai@seznam.cz>
13997
25506f09 13998 * posix/transbug.c: Remove executable mode.
44a988af 13999
9c84384c
JM
140002013-06-05 Joseph Myers <joseph@codesourcery.com>
14001
14002 * crypt/speeds.c: Remove trailing whitespace.
14003 * dlfcn/default.c: Likewise.
14004 * elf/ifuncdep2.c: Likewise.
14005 * elf/ifuncmain1.c: Likewise.
14006 * elf/ifuncmain1vis.c: Likewise.
14007 * elf/testobj.h: Likewise.
14008 * elf/tst-stackguard1.c: Likewise.
14009 * gmon/sys/gmon.h: Likewise.
14010 * hurd/hurdmsg.c: Likewise.
14011 * hurd/new-fd.c: Likewise.
14012 * hurd/ports-get.c: Likewise.
14013 * iconvdata/ibm1008_420.c: Likewise.
14014 * inet/tst-getni1.c: Likewise.
14015 * inet/tst-getni2.c: Likewise.
14016 * libio/ioungetc.c: Likewise.
14017 * libio/wfiledoalloc.c: Likewise.
14018 * manual/libm-err-tab.pl: Likewise.
14019 * math/w_dremf.c: Likewise.
14020 * misc/ftruncate.c: Likewise.
14021 * posix/bug-glob2.c: Likewise.
14022 * posix/tst-pcre.c: Likewise.
14023 * posix/wait4.c: Likewise.
14024 * resolv/README: Likewise.
14025 * resolv/res_debug.h: Likewise.
14026 * resolv/tst-inet_ntop.c: Likewise.
14027 * setjmp/bug269-setjmp.c: Likewise.
14028 * soft-fp/extended.h: Likewise.
14029 * soft-fp/op-1.h: Likewise.
14030 * soft-fp/op-2.h: Likewise.
14031 * soft-fp/op-4.h: Likewise.
14032 * soft-fp/op-8.h: Likewise.
14033 * soft-fp/testit.c: Likewise.
14034 * stdio-common/bug16.c: Likewise.
14035 * stdlib/random.c: Likewise.
14036 * sunrpc/rpcsvc/rquota.x: Likewise.
14037 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14038 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14039 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14040 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14041 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14042 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14043 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14044 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14045 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14047 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14048 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14049 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14050 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14051 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14052 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14059 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14061 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14064 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14065 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14066 * sysdeps/ieee754/s_lib_version.c: Likewise.
14067 * sysdeps/mach/hurd/check_fds.c: Likewise.
14068 * sysdeps/mach/hurd/getsockname.c: Likewise.
14069 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14070 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14071 * sysdeps/powerpc/bits/link.h: Likewise.
14072 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14073 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14074 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14075 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14076 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14077 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14078 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14079 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14080 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14081 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14082 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14083 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14084 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14085 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14086 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14087 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14091 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14092 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14093 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14094 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14095 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14096 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14097 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14098 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14099 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14100 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14102 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14103 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14104 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14105 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14106 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14107 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14108 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14109 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14110 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14111 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14112 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14113 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14114 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14115 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14116 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14117 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14118 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14119 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14120 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14121 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14122 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14123 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14124 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14125 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14126 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14127 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14128 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14129 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14130 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14131 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14132 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14133 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14134 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14135 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14136 * sysdeps/powerpc/sysdep.h: Likewise.
14137 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14138 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14139 * sysdeps/sh/dl-trampoline.S: Likewise.
14140 * sysdeps/sh/memset.S: Likewise.
14141 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14142 * sysdeps/sh/strlen.S: Likewise.
14143 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14144 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14145 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14146 * sysdeps/sparc/sparc32/rem.S: Likewise.
14147 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14148 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14149 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14150 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14151 * sysdeps/sparc/sparc32/urem.S: Likewise.
14152 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14153 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14154 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14155 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14156 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14157 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14158 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14159 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14160 * sysdeps/unix/bsd/times.c: Likewise.
14161 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14162 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14166 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14167 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14168 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14169 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14170 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14171 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14172 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14173 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14174 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14175 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14176 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14177 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14178 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14179 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14180 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14181 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14182 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14183 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14184 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14185 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14186 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14187 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14188 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14189 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14190 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14191 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14192 * sysdeps/x86_64/strcspn.S: Likewise.
14193
869378a5
RA
141942013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14195
14196 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14197 generated file. Regenerate properly from gen-translit.pl.
14198 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14199 locale/C-translit.h.
14200
840e2943
AS
142012013-06-05 Andreas Schwab <schwab@suse.de>
14202
14203 [BZ #15100]
14204 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14205 week as 6 instead of -1.
14206 * time/tst-strptime.c (day_tests): Add test case.
14207
4c60cb0c
SP
142082013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14209
14210 * sysdeps/generic/math_private.h
14211 (libc_feholdexcept_setround_53bit): Replace with
14212 libc_feholdsetround_53bit.
14213 (libc_feupdateenv_53bit): Replace with
14214 libc_feresetround_53bit.
14215 (SET_RESTORE_ROUND_53BIT): Adjust.
14216
d180203e
SP
142172013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14218
96df079a
SP
14219 * string/test-strchrnul.c: Add copyright header.
14220
d180203e
SP
14221 * posix/tst-getaddrinfo4.c: Increase test timeout.
14222
8b0ccb2d
CD
142232013-06-03 Carlos O'Donell <carlos@redhat.com>
14224
14225 [BZ #15536]
14226 * math/libm-test.inc (MAX_EXP): Remove
14227 (MIN_EXP): Define.
14228 (ulp): Use MIN_EXP - MANT_DIG.
14229 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14230
3b3c4d40
CD
142312013-05-31 Carlos O'Donell <carlos@redhat.com>
14232
14233 * po/be.po: Revert last change.
14234 * po/zh_CN.po: Likewise.
14235 * po/header.pot: Likewise.
14236
fab7ce3f
JM
142372013-05-31 Joseph Myers <joseph@codesourcery.com>
14238
14239 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14240 link-libc-deps to empty as target-specific variable.
14241 * Makerules (link-libc-args): New variable.
14242 (libc-for-link): Likewise.
14243 (link-libc-deps): Likewise.
14244 (lib%.so): Depend on $(link-libc-deps). Link with
14245 $(link-libc-args).
14246 (build-module): Link with $(link-libc-args).
14247 (build-module-asneeded): Likewise.
14248 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14249 list of objects.
14250 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14251 target-specific variable.
14252 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14253 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14254 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14255 libc.
14256 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14257 libc and ld.so.
14258 ($(objpfx)libpcprofile.so): Likewise.
14259 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14260 libc_nonshared.a.
14261 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14262 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14263 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14264 $(link-libc-deps).
14265 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14266 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14267 * login/Makefile ($(objpfx)libutil.so): Likewise.
14268 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14269 * math/Makefile ($(objpfx)libm.so): Likewise.
14270 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14271 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14272 variable instead of depending directly on libc.
14273 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14274 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14275 $(link-libc-deps).
14276 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14277 libc.
14278 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14279 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14280 ($(objpfx)libanl.so): Likewise.
14281 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14282 ld.so.
14283 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14284 $(link-libc-deps).
14285 * sysdeps/i386/fpu/Makefile: Remove file.
14286 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14287 ($(objpfx)libm.so): Remove dependency on ld.so.
14288
eca5920c
PF
142892013-05-30 Patsy Franklin <pfrankli@redhat.com>
14290
14291 [BZ # 15553]
14292 * nis/yp_xdr.c (XDRMAXNAME): Define.
14293 (XDRMAXRECORD): Define.
14294 (xdr_domainname): Use XDRMAXNAME.
14295 (xdr_mapname): Likewise.
14296 (xdr_peername): Likewise.
14297 (xdr_keydat): Use XDRMAXRECORD.
14298 (xdr_valdat): Likewise.
14299
143002013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14301
14302 [BZ #14256]
14303 * manual/errno.texi (ESTALE): Update to account for more than
14304 just NFS file systems.
14305 * sysdeps/gnu/errlist.c: Regenerated.
14306
b9375348
SP
143072013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14308
14309 [BZ #15465]
14310 * elf/Makefile (tests): Add tst-null-argv.
14311 (modules-names): Add tst-null-argv-lib.
14312 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14313 (tst-null-argv-ENV): Set environment for tst-null-argv.
14314 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14315 (RTLD_PROGNAME): New macro.
14316 * elf/tst-null-argv.c: New test case.
14317 * elf/tst-null-argv-lib.c: Library for test case.
14318 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14319 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14320 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14321 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14322 * elf/dl-init.c (call_init): Likewise.
14323 (_dl_init): Likewise.
14324 * elf/dl-load.c (print_search_path): Likewise.
14325 (_dl_map_object): Likewise.
14326 * elf/dl-lookup.c (do_lookup_x): Likewise.
14327 (add_dependency): Likewise.
14328 (_dl_lookup_symbol_x): Likewise.
14329 (_dl_debug_bindings): Likewise.
14330 * elf/dl-open.c (_dl_show_scope): Likewise.
14331 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14332 * elf/dl-version.c (match_symbol): Likewise.
14333 (_dl_check_map_versions): Likewise.
14334 * elf/rtld.c (dl_main): Likewise.
14335 (print_unresolved): Use RTLD_PROGNAME.
14336 (print_missing_version): Likewise.
14337 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14338 (elf_machine_rela): Likewise.
14339 * sysdeps/powerpc/powerpc32/dl-machine.c
14340 (__process_machine_rela): Likewise.
14341 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14342 Likewise.
14343 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14344 Likewise.
14345 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14346 Likewise.
14347 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14349 Likewise.
14350 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14351 Likewise.
14352 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14353
8a9f20c8
CD
143542013-05-28 Carlos O'Donell <carlos@redhat.com>
14355
14356 * po/be.po: Add descriptive title.
14357 * po/zh_CN.po: Likewise.
14358 * po/header.pot: Likewise.
14359
0e60d68e
MF
143602013-05-28 Mike Frysinger <vapier@gentoo.org>
14361
14362 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14363 error message.
14364 (enlarge_archive): Likewise.
14365
56b672e9
BN
143662013-05-28 Ben North <ben@redfrontdoor.org>
14367
14368 * manual/arith.texi (frexp): It is the magnitude of the return
14369 value which lies in [0.5, 1), not the return value itself.
14370
5e056687
AZ
143712013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14372
14373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14374
2b66ef5d
TS
143752013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14376
528c2405
TS
14377 * stdio-common/bug26.c (main): Correct fscanf template.
14378
07b4c13d
TS
14379 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14380 declare _dl_skip_args.
14381
ec9dd97c
TS
14382 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14383 Don't declare.
14384
2b66ef5d
TS
14385 * manual/platform.texi: Add missing @end deftypefun.
14386
4f8dfe27
JM
143872013-05-24 Joseph Myers <joseph@codesourcery.com>
14388
0323d086
JM
14389 [BZ #15529]
14390 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14391 bit of mantissa of 2^16382.
14392 * math/libm-test.inc (hypot_test_data): Add more tests.
14393
dd4259b9
JM
14394 * math/libm-test.inc: Add drem and pow10 to list of tested
14395 functions.
14396 (pow10_test): New function.
14397 (drem_test): Likewise.
14398 (drem_test_tonearest): Likewise.
14399 (drem_test_towardzero): Likewise.
14400 (drem_test_downward): Likewise.
14401 (drem_test_upward): Likewise.
14402 (main): Call the new functions.
14403
4f8dfe27
JM
14404 * math/libm-test.inc (finite_test_data): Remove.
14405 (finite_test): Run tests from isfinite_test_data.
14406 (gamma_test_data): Remove.
14407 (gamma_test): Run tests from lgamma_test_data.
14408 * sysdeps/i386/fpu/libm-test-ulps: Update.
14409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14410
d116b7c4
AZ
144112013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14412
14413 * manual/platform.texi: Add PowerPC PPR function set documentation.
14414 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14415 implementation.
14416
e96e3767
CD
144172013-05-24 Carlos O'Donell <carlos@redhat.com>
14418
14419 * math/libm-test.inc (MAX_EXP): Define.
14420 (ULPDIFF): Define.
14421 (ulp): New function.
14422 (check_float_internal): Use ULPDIFF.
14423 (cpow_test): Disable failing test.
14424 (check_ulp): Test ulp() implemetnation.
14425 (main): Call check_ulp before starting tests.
14426
b679a606
JM
144272013-05-24 Joseph Myers <joseph@codesourcery.com>
14428
e8bdba36
JM
14429 * math/gen-libm-test.pl (generate_testfile): Do not handle
14430 START_DATA and END_DATA.
14431 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14432 END_DATA.
14433 (acos_tonearest_test_data): Likewise.
14434 (acos_towardzero_test_data): Likewise.
14435 (acos_downward_test_data): Likewise.
14436 (acos_upward_test_data): Likewise.
14437 (acosh_test_data): Likewise.
14438 (asin_test_data): Likewise.
14439 (asin_tonearest_test_data): Likewise.
14440 (asin_towardzero_test_data): Likewise.
14441 (asin_downward_test_data): Likewise.
14442 (asin_upward_test_data): Likewise.
14443 (asinh_test_data): Likewise.
14444 (atan_test_data): Likewise.
14445 (atanh_test_data): Likewise.
14446 (atan2_test_data): Likewise.
14447 (cabs_test_data): Likewise.
14448 (cacos_test_data): Likewise.
14449 (cacosh_test_data): Likewise.
14450 (carg_test_data): Likewise.
14451 (casin_test_data): Likewise.
14452 (casinh_test_data): Likewise.
14453 (catan_test_data): Likewise.
14454 (catanh_test_data): Likewise.
14455 (cbrt_test_data): Likewise.
14456 (ccos_test_data): Likewise.
14457 (ccosh_test_data): Likewise.
14458 (ceil_test_data): Likewise.
14459 (cexp_test_data): Likewise.
14460 (cimag_test_data): Likewise.
14461 (clog_test_data): Likewise.
14462 (clog10_test_data): Likewise.
14463 (conj_test_data): Likewise.
14464 (copysign_test_data): Likewise.
14465 (cos_test_data): Likewise.
14466 (cos_tonearest_test_data): Likewise.
14467 (cos_towardzero_test_data): Likewise.
14468 (cos_downward_test_data): Likewise.
14469 (cos_upward_test_data): Likewise.
14470 (cosh_test_data): Likewise.
14471 (cosh_tonearest_test_data): Likewise.
14472 (cosh_towardzero_test_data): Likewise.
14473 (cosh_downward_test_data): Likewise.
14474 (cosh_upward_test_data): Likewise.
14475 (cpow_test_data): Likewise.
14476 (cproj_test_data): Likewise.
14477 (creal_test_data): Likewise.
14478 (csin_test_data): Likewise.
14479 (csinh_test_data): Likewise.
14480 (csqrt_test_data): Likewise.
14481 (ctan_test_data): Likewise.
14482 (ctan_tonearest_test_data): Likewise.
14483 (ctan_towardzero_test_data): Likewise.
14484 (ctan_downward_test_data): Likewise.
14485 (ctan_upward_test_data): Likewise.
14486 (ctanh_test_data): Likewise.
14487 (ctanh_tonearest_test_data): Likewise.
14488 (ctanh_towardzero_test_data): Likewise.
14489 (ctanh_downward_test_data): Likewise.
14490 (ctanh_upward_test_data): Likewise.
14491 (erf_test_data): Likewise.
14492 (erfc_test_data): Likewise.
14493 (exp_test_data): Likewise.
14494 (exp_tonearest_test_data): Likewise.
14495 (exp_towardzero_test_data): Likewise.
14496 (exp_downward_test_data): Likewise.
14497 (exp_upward_test_data): Likewise.
14498 (exp10_test_data): Likewise.
14499 (exp2_test_data): Likewise.
14500 (expm1_test_data): Likewise.
14501 (fabs_test_data): Likewise.
14502 (fdim_test_data): Likewise.
14503 (finite_test_data): Likewise.
14504 (floor_test_data): Likewise.
14505 (fma_test_data): Likewise.
14506 (fma_towardzero_test_data): Likewise.
14507 (fma_downward_test_data): Likewise.
14508 (fma_upward_test_data): Likewise.
14509 (fmax_test_data): Likewise.
14510 (fmin_test_data): Likewise.
14511 (fmod_test_data): Likewise.
14512 (fpclassify_test_data): Likewise.
14513 (frexp_test_data): Likewise.
14514 (gamma_test_data): Likewise.
14515 (hypot_test_data): Likewise.
14516 (ilogb_test_data): Likewise.
14517 (isfinite_test_data): Likewise.
14518 (isgreater_test_data): Likewise.
14519 (isgreaterequal_test_data): Likewise.
14520 (isinf_test_data): Likewise.
14521 (isless_test_data): Likewise.
14522 (islessequal_test_data): Likewise.
14523 (islessgreater_test_data): Likewise.
14524 (isnan_test_data): Likewise.
14525 (isnormal_test_data): Likewise.
14526 (issignaling_test_data): Likewise.
14527 (isunordered_test_data): Likewise.
14528 (j0_test_data): Likewise.
14529 (j1_test_data): Likewise.
14530 (jn_test_data): Likewise.
14531 (ldexp_test_data): Likewise.
14532 (lgamma_test_data): Likewise.
14533 (lrint_test_data): Likewise.
14534 (lrint_tonearest_test_data): Likewise.
14535 (lrint_towardzero_test_data): Likewise.
14536 (lrint_downward_test_data): Likewise.
14537 (lrint_upward_test_data): Likewise.
14538 (llrint_test_data): Likewise.
14539 (llrint_tonearest_test_data): Likewise.
14540 (llrint_towardzero_test_data): Likewise.
14541 (llrint_downward_test_data): Likewise.
14542 (llrint_upward_test_data): Likewise.
14543 (log_test_data): Likewise.
14544 (log10_test_data): Likewise.
14545 (log1p_test_data): Likewise.
14546 (log2_test_data): Likewise.
14547 (logb_test_data): Likewise.
14548 (logb_downward_test_data): Likewise.
14549 (lround_test_data): Likewise.
14550 (llround_test_data): Likewise.
14551 (modf_test_data): Likewise.
14552 (nearbyint_test_data): Likewise.
14553 (nextafter_test_data): Likewise.
14554 (nexttoward_test_data): Likewise.
14555 (pow_test_data): Likewise.
14556 (pow_tonearest_test_data): Likewise.
14557 (pow_towardzero_test_data): Likewise.
14558 (pow_downward_test_data): Likewise.
14559 (pow_upward_test_data): Likewise.
14560 (remainder_test_data): Likewise.
14561 (remainder_tonearest_test_data): Likewise.
14562 (remainder_towardzero_test_data): Likewise.
14563 (remainder_downward_test_data): Likewise.
14564 (remainder_upward_test_data): Likewise.
14565 (remquo_test_data): Likewise.
14566 (rint_test_data): Likewise.
14567 (rint_tonearest_test_data): Likewise.
14568 (rint_towardzero_test_data): Likewise.
14569 (rint_downward_test_data): Likewise.
14570 (rint_upward_test_data): Likewise.
14571 (round_test_data): Likewise.
14572 (scalb_test_data): Likewise.
14573 (scalbn_test_data): Likewise.
14574 (scalbln_test_data): Likewise.
14575 (signbit_test_data): Likewise.
14576 (sin_test_data): Likewise.
14577 (sin_tonearest_test_data): Likewise.
14578 (sin_towardzero_test_data): Likewise.
14579 (sin_downward_test_data): Likewise.
14580 (sin_upward_test_data): Likewise.
14581 (sincos_test_data): Likewise.
14582 (sinh_test_data): Likewise.
14583 (sinh_tonearest_test_data): Likewise.
14584 (sinh_towardzero_test_data): Likewise.
14585 (sinh_downward_test_data): Likewise.
14586 (sinh_upward_test_data): Likewise.
14587 (sqrt_test_data): Likewise.
14588 (tan_test_data): Likewise.
14589 (tan_tonearest_test_data): Likewise.
14590 (tan_towardzero_test_data): Likewise.
14591 (tan_downward_test_data): Likewise.
14592 (tan_upward_test_data): Likewise.
14593 (tanh_test_data): Likewise.
14594 (tgamma_test_data): Likewise.
14595 (trunc_test_data): Likewise.
14596 (y0_test_data): Likewise.
14597 (y1_test_data): Likewise.
14598 (yn_test_data): Likewise.
14599 (significand_test_data): Likewise.
14600
b679a606
JM
14601 * math/gen-libm-test.pl (@functions): Remove variable.
14602 (generate_testfile): Don't handle START and END lines.
14603 * math/libm-test.inc (START): New macro.
14604 (END): Likewise.
14605 (END_COMPLEX): Likewise.
14606 (acos_test): Use END macro without arguments.
14607 (acos_test_tonearest): Likewise.
14608 (acos_test_towardzero): Likewise.
14609 (acos_test_downward): Likewise.
14610 (acos_test_upward): Likewise.
14611 (acosh_test): Likewise.
14612 (asin_test): Likewise.
14613 (asin_test_tonearest): Likewise.
14614 (asin_test_towardzero): Likewise.
14615 (asin_test_downward): Likewise.
14616 (asin_test_upward): Likewise.
14617 (asinh_test): Likewise.
14618 (atan_test): Likewise.
14619 (atanh_test): Likewise.
14620 (atan2_test): Likewise.
14621 (cabs_test): Likewise.
14622 (cacos_test): Use END_COMPLEX macro without arguments.
14623 (cacosh_test): Likewise.
14624 (carg_test): Use END macro without arguments.
14625 (casin_test): Use END_COMPLEX macro without arguments.
14626 (casinh_test): Likewise.
14627 (catan_test): Likewise.
14628 (catanh_test): Likewise.
14629 (cbrt_test): Use END macro without arguments.
14630 (ccos_test): Use END_COMPLEX macro without arguments.
14631 (ccosh_test): Likewise.
14632 (ceil_test): Use END macro without arguments.
14633 (cexp_test): Use END_COMPLEX macro without arguments.
14634 (cimag_test): Use END macro without arguments.
14635 (clog_test): Use END_COMPLEX macro without arguments.
14636 (clog10_test): Likewise.
14637 (conj_test): Likewise.
14638 (copysign_test): Use END macro without arguments.
14639 (cos_test): Likewise.
14640 (cos_test_tonearest): Likewise.
14641 (cos_test_towardzero): Likewise.
14642 (cos_test_downward): Likewise.
14643 (cos_test_upward): Likewise.
14644 (cosh_test): Likewise.
14645 (cosh_test_tonearest): Likewise.
14646 (cosh_test_towardzero): Likewise.
14647 (cosh_test_downward): Likewise.
14648 (cosh_test_upward): Likewise.
14649 (cpow_test): Use END_COMPLEX macro without arguments.
14650 (cproj_test): Likewise.
14651 (creal_test): Use END macro without arguments.
14652 (csin_test): Use END_COMPLEX macro without arguments.
14653 (csinh_test): Likewise.
14654 (csqrt_test): Likewise.
14655 (ctan_test): Likewise.
14656 (ctan_test_tonearest): Likewise.
14657 (ctan_test_towardzero): Likewise.
14658 (ctan_test_downward): Likewise.
14659 (ctan_test_upward): Likewise.
14660 (ctanh_test): Likewise.
14661 (ctanh_test_tonearest): Likewise.
14662 (ctanh_test_towardzero): Likewise.
14663 (ctanh_test_downward): Likewise.
14664 (ctanh_test_upward): Likewise.
14665 (erf_test): Use END macro without arguments.
14666 (erfc_test): Likewise.
14667 (exp_test): Likewise.
14668 (exp_test_tonearest): Likewise.
14669 (exp_test_towardzero): Likewise.
14670 (exp_test_downward): Likewise.
14671 (exp_test_upward): Likewise.
14672 (exp10_test): Likewise.
14673 (exp2_test): Likewise.
14674 (expm1_test): Likewise.
14675 (fabs_test): Likewise.
14676 (fdim_test): Likewise.
14677 (finite_test): Likewise.
14678 (floor_test): Likewise.
14679 (fma_test): Likewise.
14680 (fma_test_towardzero): Likewise.
14681 (fma_test_downward): Likewise.
14682 (fma_test_upward): Likewise.
14683 (fmax_test): Likewise.
14684 (fmin_test): Likewise.
14685 (fmod_test): Likewise.
14686 (fpclassify_test): Likewise.
14687 (frexp_test): Likewise.
14688 (gamma_test): Likewise.
14689 (hypot_test): Likewise.
14690 (ilogb_test): Likewise.
14691 (isfinite_test): Likewise.
14692 (isgreater_test): Likewise.
14693 (isgreaterequal_test): Likewise.
14694 (isinf_test): Likewise.
14695 (isless_test): Likewise.
14696 (islessequal_test): Likewise.
14697 (islessgreater_test): Likewise.
14698 (isnan_test): Likewise.
14699 (isnormal_test): Likewise.
14700 (issignaling_test): Likewise.
14701 (isunordered_test): Likewise.
14702 (j0_test): Likewise.
14703 (j1_test): Likewise.
14704 (jn_test): Likewise.
14705 (ldexp_test): Likewise.
14706 (lgamma_test): Likewise.
14707 (lrint_test): Likewise.
14708 (lrint_test_tonearest): Likewise.
14709 (lrint_test_towardzero): Likewise.
14710 (lrint_test_downward): Likewise.
14711 (lrint_test_upward): Likewise.
14712 (llrint_test): Likewise.
14713 (llrint_test_tonearest): Likewise.
14714 (llrint_test_towardzero): Likewise.
14715 (llrint_test_downward): Likewise.
14716 (llrint_test_upward): Likewise.
14717 (log_test): Likewise.
14718 (log10_test): Likewise.
14719 (log1p_test): Likewise.
14720 (log2_test): Likewise.
14721 (logb_test): Likewise.
14722 (logb_test_downward): Likewise.
14723 (lround_test): Likewise.
14724 (llround_test): Likewise.
14725 (modf_test): Likewise.
14726 (nearbyint_test): Likewise.
14727 (nextafter_test): Likewise.
14728 (nexttoward_test): Likewise.
14729 (pow_test): Likewise.
14730 (pow_test_tonearest): Likewise.
14731 (pow_test_towardzero): Likewise.
14732 (pow_test_downward): Likewise.
14733 (pow_test_upward): Likewise.
14734 (remainder_test): Likewise.
14735 (remainder_test_tonearest): Likewise.
14736 (remainder_test_towardzero): Likewise.
14737 (remainder_test_downward): Likewise.
14738 (remainder_test_upward): Likewise.
14739 (remquo_test): Likewise.
14740 (rint_test): Likewise.
14741 (rint_test_tonearest): Likewise.
14742 (rint_test_towardzero): Likewise.
14743 (rint_test_downward): Likewise.
14744 (rint_test_upward): Likewise.
14745 (round_test): Likewise.
14746 (scalb_test): Likewise.
14747 (scalbn_test): Likewise.
14748 (scalbln_test): Likewise.
14749 (signbit_test): Likewise.
14750 (sin_test): Likewise.
14751 (sin_test_tonearest): Likewise.
14752 (sin_test_towardzero): Likewise.
14753 (sin_test_downward): Likewise.
14754 (sin_test_upward): Likewise.
14755 (sincos_test): Likewise.
14756 (sinh_test): Likewise.
14757 (sinh_test_tonearest): Likewise.
14758 (sinh_test_towardzero): Likewise.
14759 (sinh_test_downward): Likewise.
14760 (sinh_test_upward): Likewise.
14761 (sqrt_test): Likewise.
14762 (tan_test): Likewise.
14763 (tan_test_tonearest): Likewise.
14764 (tan_test_towardzero): Likewise.
14765 (tan_test_downward): Likewise.
14766 (tan_test_upward): Likewise.
14767 (tanh_test): Likewise.
14768 (tgamma_test): Likewise.
14769 (trunc_test): Likewise.
14770 (y0_test): Likewise.
14771 (y1_test): Likewise.
14772 (yn_test): Likewise.
14773 (significand_test): Likewise.
14774
bae143d2
OB
147752013-05-24 Ondřej Bílka <neleai@seznam.cz>
14776
14777 [BZ #15381]
14778 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14779
9323d39b
EM
147802013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14781
d4ea44a0 14782 [BZ #14894]
9323d39b
EM
14783 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14784 __ppc_mdoio and __ppc_mdoom.
14785 * manual/platform.texi: Document new functions __ppc_yield,
14786 __ppc_mdoio and __ppc_mdoom.
14787
13e23af7
CD
147882013-05-22 Carlos O'Donell <carlos@redhat.com>
14789
14790 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14791 (main): Mention "tls" pseudo-hwcap is legacy.
14792 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14793
351fe550
JM
147942013-05-22 Joseph Myers <joseph@codesourcery.com>
14795
14796 * math/gen-libm-test.pl (parse_args): Output only string of
14797 arguments as text for test name, not full call or descriptions of
14798 tests for extra outputs.
14799 (generate_testfile): Do not pass function name to parse_args.
14800 Generate this_func variable from START.
14801 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14802 field to arg_str.
14803 (struct test_ff_f_data): Likewise.
14804 (test_ff_f_data_nexttoward): Likewise.
14805 (struct test_fi_f_data): Likewise.
14806 (struct test_fl_f_data): Likewise.
14807 (struct test_if_f_data): Likewise.
14808 (struct test_fff_f_data): Likewise.
14809 (struct test_c_f_data): Likewise.
14810 (struct test_f_f1_data): Likewise. Remove field extra_name.
14811 (struct test_fF_f1_data): Likewise.
14812 (struct test_ffI_f1_data): Likewise.
14813 (struct test_c_c_data): Rename test_name field to arg_str.
14814 (struct test_cc_c_data): Likewise.
14815 (struct test_f_i_data): Likewise.
14816 (struct test_ff_i_data): Likewise.
14817 (struct test_f_l_data): Likewise.
14818 (struct test_f_L_data): Likewise.
14819 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14820 and extra2_name.
14821 (COMMON_TEST_SETUP): New macro.
14822 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14823 (COMMON_TEST_CLEANUP): Likewise.
14824 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14825 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14826 macros.
14827 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14828 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14829 macros.
14830 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14831 (RUN_TEST_fff_f): Take argument string. Call new setup and
14832 cleanup macros.
14833 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14834 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14835 macros.
14836 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14837 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14838 macros.
14839 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14840 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14841 cleanup macros.
14842 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14843 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14844 cleanup macros.
14845 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14846 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14847 cleanup macros.
14848 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14849 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14850 macros.
14851 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14852 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14853 macros.
14854 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14855 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14856 macros.
14857 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14858 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14859 cleanup macros.
14860 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14861 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14862 cleanup macros.
14863 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14864 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14865 macros.
14866 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14867 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14868 cleanup macros.
14869 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14870 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14871 macros.
14872 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14873 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14874 macros.
14875 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14876 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14877 cleanup macros.
14878 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14879
85118d4d
EBM
148802013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14881
14882 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14883 to _sifields.sigfault.
14884 (si_addr_lsb): Define new macro.
14885 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14886 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14887 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14888
7a44c18f
CD
148892013-05-03 Carlos O'Donell <carlos at redhat.com>
14890
14891 [BZ #15441]
14892 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14893 returns -1.
14894 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14895 null return -1.
14896 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14897 loading the domain.
14898
b50a7181
JM
148992013-05-22 Joseph Myers <joseph@codesourcery.com>
14900
14901 * math/gen-libm-test.pl (parse_args): Do not include expected
14902 result in test name.
14903 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14905 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14906 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14907 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14909
051063c8
SP
149102013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14911
3ce9e010
SP
14912 * benchtests/Makefile: Sort function entries.
14913
051063c8
SP
14914 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14915 tanh, asinh, acosh, atanh.
14916 * benchtests/acos-inputs: New file.
14917 * benchtests/acosh-inputs: New file.
14918 * benchtests/asin-inputs: New file.
14919 * benchtests/asinh-inputs: New file.
14920 * benchtests/atanh-inputs: New file.
14921 * benchtests/cosh-inputs: New file.
14922 * benchtests/log-inputs: New file.
14923 * benchtests/sinh-inputs: New file.
14924 * benchtests/tanh-inputs: New file.
14925
47c22455
DL
149262013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14927
14928 [BZ #15339]
14929 * posix/tst-getaddrinfo4.c: New test.
14930 * posix/Makefile (tests): Add it.
14931
3d04f5db
SP
149322013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14933
14934 [BZ #15339]
14935 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14936 when no services were used.
14937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14938 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14939
d5dd6189
AS
149402013-05-21 Andreas Schwab <schwab@suse.de>
14941
14942 [BZ #15014]
14943 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14944 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14945 successful.
14946 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14947 redundant variable declarations and reallocation of buffer when
14948 parsing as IPv6 address. Always set NSS status when called from
14949 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14950 buffer too small. Correct computation of needed size.
14951 * nss/Makefile (tests): Add test-digits-dots.
14952 * nss/test-digits-dots.c: New test.
14953
fef94eab
SP
149542013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14955
14956 * benchtests/Makefile: Remove instructions for adding
14957 benchmark tests.
14958 * benchtests/README: New file to explain how to execute and
14959 enhance the benchmark tests.
14960
e39adf43
AS
149612013-05-21 Andreas Schwab <schwab@suse.de>
14962
14963 [BZ #15493]
14964 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14965 * setjmp/tst-sigsetjmp.c: New test.
14966
b2b671b6
OB
149672013-05-20 Ondřej Bílka <neleai@seznam.cz>
14968
14969 * sysdeps/x86_64/memset.S (memset): New implementation.
14970 (__bzero): Likewise.
14971 (__memset_tail): New function.
14972
2d48b41c
OB
149732013-05-20 Ondřej Bílka <neleai@seznam.cz>
14974
14975 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14976 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14977 __memcpy_sse2_unaligned ifunc selection.
14978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14979 Add memcpy-sse2-unaligned.S.
14980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14981 Add: __memcpy_sse2_unaligned.
14982
f16cc3eb
JM
149832013-05-19 Joseph Myers <joseph@codesourcery.com>
14984
3e694268
JM
14985 [BZ #15490]
14986 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14987 math_force_eval before restoring floating-point envrionment.
14988 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14989 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14990 Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14992 <math_private.h>.
14993 (__nearbyintl): Use math_force_eval before restoring
14994 floating-point environment.
14995 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14996
db62a907
JM
14997 * math/gen-libm-test.pl (special_functions): Remove.
14998 (parse_args): Don't handle TEST_extra. Handle functions with no
14999 return value.
15000 * math/libm-test.inc (struct test_sincos_data): Replace with
15001 struct test_fFF_11_data.
15002 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15003 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15004 (sincos_test_data): Change element type to struct
15005 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15006 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15007 RUN_TEST_LOOP_sincos.
15008 * math/README.libm-test: Don't mention special handling of
15009 individual functions.
15010 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15011 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15012 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15013 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15014 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15016
f16cc3eb
JM
15017 * math/gen-libm-test.pl (get_variable): Remove function.
15018 (parse_args): Don't show pointer parameters to call in test
15019 names. Use "extra output N" in test names for extra outputs
15020 rather than naming variables.
15021
3779b5b6
JM
150222013-05-18 Joseph Myers <joseph@codesourcery.com>
15023
2ee094ff
JM
15024 [BZ #15488]
15025 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15026 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15027 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15028 double tests.
15029 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15030 disable.
15031 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15032 check_long_double.
15033
3779b5b6
JM
15034 * math/gen-libm-test.pl (@tests): Remove variable.
15035 ($count): Likewise.
15036 (new_test): Remove function.
15037 (show_exceptions): New function.
15038 (special_functions): Use show_exceptions instead of new_test.
15039 (parse_args): Likewise.
15040 (generate_testfile): Pass only function name in generated call to
15041 print_max_error or print_complex_max_error.
15042 (get_ulps): Do not handle complex tests specially.
15043 (output_test): Rename to ...
15044 (get_all_ulps_for_test): ... this. Return a string rather than
15045 printing to a file. Require ulps to be present.
15046 (output_ulps): Generate arrays rather than #defines.
15047 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15048 (struct ulp_data): New type.
15049 (BUILD_COMPLEX_ULP): Remove macro.
15050 (compare_ulp_data): New function.
15051 (find_ulps): Likewise.
15052 (find_test_ulps): Likewise.
15053 (find_function_ulps): Likewise.
15054 (find_complex_function_ulps): Likewise.
15055 (print_max_error): Determine allowed ulps using
15056 find_function_ulps.
15057 (print_complex_max_error): Determine allowed ulps using
15058 find_complex_function_ulps.
15059 (check_float_internal): Determine max ulps using find_test_ulps.
15060 (check_float): Do not take max_ulp parameter. Update call to
15061 check_float_internal.
15062 (check_complex): Likewise.
15063 (check_int): Do not take max_ulp parameter.
15064 (check_long): Likewise.
15065 (check_bool): Likewise.
15066 (check_longlong): Likewise.
15067 (struct test_f_f_data): Remove max_ulp field.
15068 (struct test_ff_f_data): Likewise.
15069 (struct test_ff_f_data_nexttoward): Likewise.
15070 (struct test_fi_f_data): Likewise.
15071 (struct test_fl_f_data): Likewise.
15072 (struct test_if_f_data): Likewise.
15073 (struct test_fff_f_data): Likewise.
15074 (struct test_c_f_data): Likewise.
15075 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15076 (struct test_fF_f1_data): Likewise.
15077 (struct test_ffI_f1_data): Likewise.
15078 (struct test_c_c_data): Remove max_ulp field.
15079 (struct test_cc_c_data): Likewise.
15080 (struct test_f_i_data): Likewise.
15081 (struct test_ff_i_data): Likewise.
15082 (struct test_f_l_data): Likewise.
15083 (struct test_f_L_data): Likewise.
15084 (struct test_sincos_data): Likewise.
15085 (RUN_TEST_f_f): Do not handle ulps.
15086 (RUN_TEST_LOOP_f_f): Likewise.
15087 (RUN_TEST_2_f): Likewise.
15088 (RUN_TEST_LOOP_2_f): Likewise.
15089 (RUN_TEST_fff_f): Likewise.
15090 (RUN_TEST_LOOP_fff_f): Likewise.
15091 (RUN_TEST_c_f): Likewise.
15092 (RUN_TEST_LOOP_c_f): Likewise.
15093 (RUN_TEST_f_f1): Likewise.
15094 (RUN_TEST_LOOP_f_f1): Likewise.
15095 (RUN_TEST_fF_f1): Likewise.
15096 (RUN_TEST_LOOP_fF_f1): Likewise.
15097 (RUN_TEST_fI_f1): Likewise.
15098 (RUN_TEST_LOOP_fI_f1): Likewise.
15099 (RUN_TEST_ffI_f1): Likewise.
15100 (RUN_TEST_LOOP_ffI_f1): Likewise.
15101 (RUN_TEST_c_c): Likewise.
15102 (RUN_TEST_LOOP_c_c): Likewise.
15103 (RUN_TEST_cc_c): Likewise.
15104 (RUN_TEST_LOOP_cc_c): Likewise.
15105 (RUN_TEST_f_i): Likewise.
15106 (RUN_TEST_LOOP_f_i): Likewise.
15107 (RUN_TEST_f_i_tg): Likewise.
15108 (RUN_TEST_LOOP_f_i_tg): Likewise.
15109 (RUN_TEST_ff_i_tg): Likewise.
15110 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15111 (RUN_TEST_f_b): Likewise.
15112 (RUN_TEST_LOOP_f_b): Likewise.
15113 (RUN_TEST_f_b_tg): Likewise.
15114 (RUN_TEST_LOOP_f_b_tg): Likewise.
15115 (RUN_TEST_f_l): Likewise.
15116 (RUN_TEST_LOOP_f_l): Likewise.
15117 (RUN_TEST_f_L): Likewise.
15118 (RUN_TEST_LOOP_f_L): Likewise.
15119 (RUN_TEST_sincos): Likewise.
15120 (RUN_TEST_LOOP_sincos): Likewise.
15121
8269107f
JM
151222013-05-17 Joseph Myers <joseph@codesourcery.com>
15123
bb38759d
JM
15124 [BZ #15480]
15125 [BZ #15485]
15126 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15127 main case of finite arguments, set rounding mode to FE_TONEAREST
15128 and discard exceptions.
15129 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15130 exceptions.
15131 (remainder_tonearest_test_data): New variable.
15132 (remainder_test_tonearest): New function.
15133 (remainder_towardzero_test_data): New variable.
15134 (remainder_test_towardzero): New function.
15135 (remainder_downward_test_data): New variable.
15136 (remainder_test_downward): New function.
15137 (remainder_upward_test_data): New variable.
15138 (remainder_test_upward): New function.
15139 (main): Call the new test functions.
15140
a00bdcf0
JM
15141 * math/libm-test.inc (struct test_f_f1_data): Remove field
15142 extra_init.
15143 (struct test_fF_f1_data): Likewise.
15144 (struct test_ffI_f1_data): Likewise.
15145 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15146 based on value of EXTRA_EXPECTED.
15147 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15148 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15149 EXTRA_VAR based on value of EXTRA_EXPECTED.
15150 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15151 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15152 EXTRA_VAR based on value of EXTRA_EXPECTED.
15153 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15154 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15155 EXTRA_VAR based on value of EXTRA_EXPECTED.
15156 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15157 * math/gen-libm-test.pl (parse_args): Don't output initializers
15158 for extra output values.
15159
de407f79
JM
15160 * math/libm-test.inc (check_int): Expect result to be exactly
15161 equal to expected value and do not handle ulps.
15162 (check_long): Likewise.
15163 (check_longlong): Likewise.
15164
8269107f
JM
15165 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15166 exceptions.
15167 (cimag_test_data): Likewise.
15168 (conj_test_data): Likewise.
15169 (copysign_test_data): Likewise.
15170 (cproj_test_data): Likewise.
15171 (creal_test_data): Likewise.
15172 (fabs_test_data): Likewise.
15173 (fdim_test_data): Likewise.
15174 (finite_test_data): Likewise.
15175 (floor_test_data): Likewise.
15176 (fmax_test_data): Likewise.
15177 (fmin_test_data): Likewise.
15178 (fmod_test_data): Likewise.
15179 (fpclassify_test_data): Likewise.
15180 (frexp_test_data): Likewise.
15181 (ilogb_test_data): Likewise.
15182 (isfinite_test_data): Likewise.
15183 (isgreater_test_data): Likewise.
15184 (isgreaterequal_test_data): Likewise.
15185 (isinf_test_data): Likewise.
15186 (isless_test_data): Likewise.
15187 (islessequal_test_data): Likewise.
15188 (islessgreater_test_data): Likewise.
15189 (isnan_test_data): Likewise.
15190 (isnormal_test_data): Likewise.
15191 (issignaling_test_data): Likewise.
15192 (isunordered_test_data): Likewise.
15193 (ldexp_test_data): Likewise.
15194 (lrint_test_data): Likewise.
15195 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15196 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15197 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15198 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15199 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15200 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15201 test input.
15202 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15203 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15204 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15205 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15206 that test input.
15207 (lrint_downward_test_data): Test for "inexact" exceptions.
15208 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15209 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15210 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15211 test input.
15212 (lrint_upward_test_data): Test for "inexact" exceptions.
15213 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15214 test input.
15215 (llrint_test_data): Test for "inexact" exceptions.
15216 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15217 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15218 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15219 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15220 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15221 (llrint_downward_test_data): Test for "inexact" exceptions.
15222 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15223 (llrint_upward_test_data): Test for "inexact" exceptions.
15224 (logb_test_data): Likewise.
15225 (logb_downward_test_data): Likewise.
15226 (nextafter_test_data): Likewise.
15227 (nexttoward_test_data): Likewise.
15228 (remainder_test_data): Likewise.
15229 (remquo_test_data): Likewise.
15230 (scalbn_test_data): Likewise.
15231 (scalbln_test_data): Likewise.
15232 (signbit_test_data): Likewise.
15233 (sqrt_test_data): Likewise.
15234 (significand_test_data): Likewise.
15235
48a18de1
SP
152362013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15237
15238 [BZ #15424]
15239 * benchtests/bench-modf.c (struct args): Mark arg0 as
15240 volatile.
15241 * scripts/bench.pl: Mark members of struct args as volatile.
15242
13d3b41a
AZ
152432013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15244
68191c1d 15245 [BZ # 15497]
13d3b41a
AZ
15246 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15247 negative infinity on POWER6 or lower.
15248 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15249
2848b105
MR
152502013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15251
15252 [BZ #15442]
15253 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15254 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15255 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15256 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15257 (_FP_SETQNAN): New macro.
15258 (_FP_SETQNAN_SEMIRAW): Likewise.
15259 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15260 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15261 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15262 (FP_EXTEND): Use _FP_FRAC_SNANP.
15263 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15264 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15265 into account.
15266 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15267 New macro.
15268 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15269 Likewise.
15270
323e5cb7
JM
152712013-05-16 Joseph Myers <joseph@codesourcery.com>
15272
c58b274f
JM
15273 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15274 with DIVIDE_BY_ZERO_EXCEPTION.
15275 (gamma_test_data): Likewise.
15276 (lgamma_test_data): Likewise.
15277 (log_test_data): Likewise.
15278 (log10_test_data): Likewise.
15279 (log2_test_data): Likewise.
15280 (tgamma_test_data): Likewise.
15281
0ab34904
JM
15282 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15283 (acos_test_tonearest): Likewise.
15284 (acos_test_towardzero): Likewise.
15285 (acos_test_downward): Likewise.
15286 (acos_test_upward): Likewise.
15287 (acosh_test): Likewise.
15288 (asin_test): Likewise.
15289 (asin_test_tonearest): Likewise.
15290 (asin_test_towardzero): Likewise.
15291 (asin_test_downward): Likewise.
15292 (asin_test_upward): Likewise.
15293 (asinh_test): Likewise.
15294 (atan_test): Likewise.
15295 (atanh_test): Likewise.
15296 (atan2_test): Likewise.
15297 (cabs_test): Likewise.
15298 (cacos_test): Likewise.
15299 (cacosh_test): Likewise.
15300 (casin_test): Likewise.
15301 (casinh_test): Likewise.
15302 (catan_test): Likewise.
15303 (catanh_test): Likewise.
15304 (cbrt_test): Likewise.
15305 (ccos_test): Likewise.
15306 (ccosh_test): Likewise.
15307 (cexp_test): Likewise.
15308 (clog_test): Likewise.
15309 (clog10_test): Likewise.
15310 (cos_test): Likewise.
15311 (cos_test_tonearest): Likewise.
15312 (cos_test_towardzero): Likewise.
15313 (cos_test_downward): Likewise.
15314 (cos_test_upward): Likewise.
15315 (cosh_test): Likewise.
15316 (cosh_test_tonearest): Likewise.
15317 (cosh_test_towardzero): Likewise.
15318 (cosh_test_downward): Likewise.
15319 (cosh_test_upward): Likewise.
15320 (cpow_test): Likewise.
15321 (csin_test): Likewise.
15322 (csinh_test): Likewise.
15323 (csqrt_test): Likewise.
15324 (ctan_test): Likewise.
15325 (ctan_test_tonearest): Likewise.
15326 (ctan_test_towardzero): Likewise.
15327 (ctan_test_downward): Likewise.
15328 (ctan_test_upward): Likewise.
15329 (ctanh_test): Likewise.
15330 (ctanh_test_tonearest): Likewise.
15331 (ctanh_test_towardzero): Likewise.
15332 (ctanh_test_downward): Likewise.
15333 (ctanh_test_upward): Likewise.
15334 (erf_test): Likewise.
15335 (erfc_test): Likewise.
15336 (exp_test): Likewise.
15337 (exp_test_tonearest): Likewise.
15338 (exp_test_towardzero): Likewise.
15339 (exp_test_downward): Likewise.
15340 (exp_test_upward): Likewise.
15341 (exp10_test): Likewise.
15342 (exp2_test): Likewise.
15343 (expm1_test): Likewise.
15344 (fmod_test): Likewise.
15345 (gamma_test): Likewise.
15346 (hypot_test): Likewise.
15347 (j0_test): Likewise.
15348 (j1_test): Likewise.
15349 (jn_test): Likewise.
15350 (lgamma_test): Likewise.
15351 (log_test): Likewise.
15352 (log10_test): Likewise.
15353 (log1p_test): Likewise.
15354 (log2_test): Likewise.
15355 (logb_test_downward): Likewise.
15356 (pow_test): Likewise.
15357 (pow_test_tonearest): Likewise.
15358 (pow_test_towardzero): Likewise.
15359 (pow_test_downward): Likewise.
15360 (pow_test_upward): Likewise.
15361 (remainder_test): Likewise.
15362 (remquo_test): Likewise.
15363 (sin_test): Likewise.
15364 (sin_test_tonearest): Likewise.
15365 (sin_test_towardzero): Likewise.
15366 (sin_test_downward): Likewise.
15367 (sin_test_upward): Likewise.
15368 (sincos_test): Likewise.
15369 (sinh_test): Likewise.
15370 (sinh_test_tonearest): Likewise.
15371 (sinh_test_towardzero): Likewise.
15372 (sinh_test_downward): Likewise.
15373 (sinh_test_upward): Likewise.
15374 (sqrt_test): Likewise.
15375 (tan_test): Likewise.
15376 (tan_test_tonearest): Likewise.
15377 (tan_test_towardzero): Likewise.
15378 (tan_test_downward): Likewise.
15379 (tan_test_upward): Likewise.
15380 (tanh_test): Likewise.
15381 (tgamma_test): Likewise.
15382 (y0_test): Likewise.
15383 (y1_test): Likewise.
15384 (yn_test): Likewise.
15385
323e5cb7
JM
15386 * math/gen-libm-test.pl (adjust_arg): Remove function.
15387 (special_function): Remove argument $in_func. Only handle
15388 generating output for tables of tests, not inside functions.
15389 (parse_args): Likewise.
15390 (generate_testfile): Remove variable $in_func. Update call to
15391 parse_args.
15392 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15393 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15394 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15395 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15396 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15397 (MAX_VALUE_INIT): Rename macro to max_value.
15398 (MIN_VALUE_INIT): Rename macro to min_value.
15399 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15400 (plus_zero): Remove variable.
15401 (minus_zero): Likewise.
15402 (plus_infty): Likewise.
15403 (minus_infty): Likewise.
15404 (qnan_value): Likewise.
15405 (max_value): Likewise.
15406 (min_value): Likewise.
15407 (min_subnorm_value): Likewise.
15408
e054f494
RA
154092013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15410
15411 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15412 uint64_t or uint32_t usage.
15413 * crypt/sha256-block.c: Likewise.
15414 * crypt/sha256-crypt.c: Likewise.
15415 * crypt/sha256.c: Likewise.
15416 * crypt/sha512-block.c: Likewise.
15417 * crypt/sha512-crypt.c: Likewise.
15418 * crypt/sha512.c: Likewise.
15419 * debug/backtrace-tst.c: Likewise.
15420 * debug/pcprofiledump.c: Likewise.
15421 * elf/cache.c: Likewise.
15422 * elf/dl-cache.c: Likewise.
15423 * elf/dl-misc.c: Likewise.
15424 * elf/dl-profile.c: Likewise.
15425 * elf/dl-support.c: Likewise.
15426 * elf/ldconfig.c: Likewise.
15427 * elf/sprof.c: Likewise.
15428 * iconv/dummy-repertoire.c: Likewise.
15429 * iconv/iconv_charmap.c: Likewise.
15430 * iconv/skeleton.c: Likewise.
15431 * iconvdata/8bit-generic.c: Likewise.
15432 * iconvdata/cp737.h: Likewise.
15433 * iconvdata/cp775.h: Likewise.
15434 * iconvdata/ibm1008.h: Likewise.
15435 * iconvdata/ibm1025.h: Likewise.
15436 * iconvdata/ibm1046.h: Likewise.
15437 * iconvdata/ibm1097.h: Likewise.
15438 * iconvdata/ibm1112.h: Likewise.
15439 * iconvdata/ibm1122.h: Likewise.
15440 * iconvdata/ibm1123.h: Likewise.
15441 * iconvdata/ibm1124.h: Likewise.
15442 * iconvdata/ibm1129.h: Likewise.
15443 * iconvdata/ibm1130.h: Likewise.
15444 * iconvdata/ibm1132.h: Likewise.
15445 * iconvdata/ibm1133.h: Likewise.
15446 * iconvdata/ibm1137.h: Likewise.
15447 * iconvdata/ibm1140.h: Likewise.
15448 * iconvdata/ibm1141.h: Likewise.
15449 * iconvdata/ibm1142.h: Likewise.
15450 * iconvdata/ibm1143.h: Likewise.
15451 * iconvdata/ibm1144.h: Likewise.
15452 * iconvdata/ibm1145.h: Likewise.
15453 * iconvdata/ibm1146.h: Likewise.
15454 * iconvdata/ibm1147.h: Likewise.
15455 * iconvdata/ibm1148.h: Likewise.
15456 * iconvdata/ibm1149.h: Likewise.
15457 * iconvdata/ibm1153.h: Likewise.
15458 * iconvdata/ibm1154.h: Likewise.
15459 * iconvdata/ibm1155.h: Likewise.
15460 * iconvdata/ibm1156.h: Likewise.
15461 * iconvdata/ibm1157.h: Likewise.
15462 * iconvdata/ibm1158.h: Likewise.
15463 * iconvdata/ibm1160.h: Likewise.
15464 * iconvdata/ibm1161.h: Likewise.
15465 * iconvdata/ibm1162.h: Likewise.
15466 * iconvdata/ibm1163.h: Likewise.
15467 * iconvdata/ibm1164.h: Likewise.
15468 * iconvdata/ibm1166.h: Likewise.
15469 * iconvdata/ibm1167.h: Likewise.
15470 * iconvdata/ibm12712.h: Likewise.
15471 * iconvdata/ibm1390.h: Likewise.
15472 * iconvdata/ibm1399.h: Likewise.
15473 * iconvdata/ibm16804.h: Likewise.
15474 * iconvdata/ibm4517.h: Likewise.
15475 * iconvdata/ibm4899.h: Likewise.
15476 * iconvdata/ibm4909.h: Likewise.
15477 * iconvdata/ibm4971.h: Likewise.
15478 * iconvdata/ibm5347.h: Likewise.
15479 * iconvdata/ibm803.h: Likewise.
15480 * iconvdata/ibm856.h: Likewise.
15481 * iconvdata/ibm901.h: Likewise.
15482 * iconvdata/ibm902.h: Likewise.
15483 * iconvdata/ibm9030.h: Likewise.
15484 * iconvdata/ibm9066.h: Likewise.
15485 * iconvdata/ibm921.h: Likewise.
15486 * iconvdata/ibm922.h: Likewise.
15487 * iconvdata/ibm9448.h: Likewise.
15488 * iconvdata/isiri-3342.h: Likewise.
15489 * iconvdata/jis0201.h: Likewise.
15490 * include/link.h: Likewise.
15491 * include/netdb.h: Likewise.
15492 * inet/check_native.c: Likewise.
15493 * inet/check_pf.c: Likewise.
15494 * inet/getipv4sourcefilter.c: Likewise.
15495 * inet/getnameinfo.c: Likewise.
15496 * inet/getsourcefilter.c: Likewise.
15497 * inet/htonl.c: Likewise.
15498 * inet/setipv4sourcefilter.c: Likewise.
15499 * inet/setsourcefilter.c: Likewise.
15500 * inet/test-inet6_opt.c: Likewise.
15501 * inet/tst-network.c: Likewise.
15502 * locale/C-collate.c: Likewise.
15503 * locale/C-ctype.c: Likewise.
15504 * locale/C-time.c: Likewise.
15505 * locale/C-translit.h: Likewise.
15506 * locale/loadarchive.c: Likewise.
15507 * locale/programs/3level.h: Likewise.
15508 * locale/programs/charmap.c: Likewise.
15509 * locale/programs/charmap.h: Likewise.
15510 * locale/programs/ld-address.c: Likewise.
15511 * locale/programs/ld-collate.c: Likewise.
15512 * locale/programs/ld-ctype.c: Likewise.
15513 * locale/programs/ld-identification.c: Likewise.
15514 * locale/programs/ld-measurement.c: Likewise.
15515 * locale/programs/ld-messages.c: Likewise.
15516 * locale/programs/ld-monetary.c: Likewise.
15517 * locale/programs/ld-name.c: Likewise.
15518 * locale/programs/ld-numeric.c: Likewise.
15519 * locale/programs/ld-paper.c: Likewise.
15520 * locale/programs/ld-telephone.c: Likewise.
15521 * locale/programs/ld-time.c: Likewise.
15522 * locale/programs/linereader.c: Likewise.
15523 * locale/programs/locale.c: Likewise.
15524 * locale/programs/locarchive.c: Likewise.
15525 * locale/programs/locfile.h: Likewise.
15526 * locale/programs/repertoire.c: Likewise.
15527 * locale/programs/simple-hash.c: Likewise.
15528 * locale/programs/simple-hash.h: Likewise.
15529 * malloc/memusage.c: Likewise.
15530 * malloc/memusagestat.c: Likewise.
15531 * nis/nis_defaults.c: Likewise.
15532 * nis/nis_hash.c: Likewise.
15533 * nis/nis_print.c: Likewise.
15534 * nis/nis_xdr.c: Likewise.
15535 * nscd/connections.c: Likewise.
15536 * nscd/hstcache.c: Likewise.
15537 * nscd/nscd_gethst_r.c: Likewise.
15538 * nscd/nscd_getserv_r.c: Likewise.
15539 * nscd/nscd_helper.c: Likewise.
15540 * nscd/servicescache.c: Likewise.
15541 * nss/makedb.c: Likewise.
15542 * nss/nss_db/db-XXX.c: Likewise.
15543 * nss/nss_db/db-initgroups.c: Likewise.
15544 * nss/nss_db/db-netgrp.c: Likewise.
15545 * nss/nss_files/files-network.c: Likewise.
15546 * nss/nss_files/files-parse.c: Likewise.
15547 * posix/bug-regex5.c: Likewise.
15548 * posix/fnmatch_loop.c: Likewise.
15549 * posix/regcomp.c: Likewise.
15550 * posix/regexec.c: Likewise.
15551 * posix/tst-rfc3484-2.c: Likewise.
15552 * posix/tst-rfc3484-3.c: Likewise.
15553 * posix/tst-rfc3484.c: Likewise.
15554 * resolv/nss_dns/dns-canon.c: Likewise.
15555 * resolv/nss_dns/dns-network.c: Likewise.
15556 * resolv/res_init.c: Likewise.
15557 * resolv/res_mkquery.c: Likewise.
15558 * resolv/tst-aton.c: Likewise.
15559 * stdlib/cxa_atexit.c: Likewise.
15560 * stdlib/cxa_finalize.c: Likewise.
15561 * stdlib/gen-fpioconst.c: Likewise.
15562 * stdlib/strtol_l.c: Likewise.
15563 * string/tst-endian.c: Likewise.
15564 * sunrpc/auth_des.c: Likewise.
15565 * sunrpc/clnt_udp.c: Likewise.
15566 * sunrpc/rtime.c: Likewise.
15567 * sunrpc/svcauth_des.c: Likewise.
15568 * sunrpc/xdr.c: Likewise.
15569 * sunrpc/xdr_intXX_t.c: Likewise.
15570 * sunrpc/xdr_rec.c: Likewise.
15571 * sysdeps/generic/ldconfig.h: Likewise.
15572 * sysdeps/generic/ldsodefs.h: Likewise.
15573 * sysdeps/generic/memusage.h: Likewise.
15574 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15575 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15576 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15577 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15580 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15581 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15582 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15584 * sysdeps/posix/getaddrinfo.c: Likewise.
15585 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15586 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15587 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15588 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15589 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15590 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15591 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15592 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15593 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15594 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15595 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15596 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15597 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15598 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15599 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15600 * sysdeps/x86_64/dl-tls.h: Likewise.
15601 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15602 * time/alt_digit.c: Likewise.
15603 * time/era.c: Likewise.
15604 * wcsmbs/tst-c16c32-1.c: Likewise.
15605
8c75f674
JM
156062013-05-16 Joseph Myers <joseph@codesourcery.com>
15607
15608 * math/libm-test.inc (struct test_sincos_data): New type.
15609 (RUN_TEST_LOOP_sincos): New macro.
15610 (sincos_test_data): New variable.
15611 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15612
e6e49e59
RH
156132013-05-16 Richard Henderson <rth@redhat.com>
15614
15615 * math/atest-exp2.c (LIMB64): New macro.
15616 (CONSTSZ): New macro.
15617 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15618 (hexdig): Move ...
15619 (print_mpn_fp): ... to function scope.
15620 (read_mpn_hex): Remove.
15621 (get_log2): Remove.
15622 (exp2_mpn): Use mp_log2.
15623 (main): Use mp_exp1.
15624
15c7c18d
JM
156252013-05-16 Joseph Myers <joseph@codesourcery.com>
15626
105a07df
JM
15627 * math/libm-test.inc: Remove comment about not testing "inexact"
15628 exceptions.
15629 (INEXACT_EXCEPTION): New macro.
15630 (NO_INEXACT_EXCEPTION): Likewise.
15631 (INVALID_EXCEPTION_OK): Update value.
15632 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15633 (OVERFLOW_EXCEPTION_OK): Likewise.
15634 (UNDERFLOW_EXCEPTION_OK): Likewise.
15635 (IGNORE_ZERO_INF_SIGN): Likewise.
15636 (ERRNO_UNCHANGED): Likewise.
15637 (ERRNO_EDOM): Likewise.
15638 (ERRNO_ERANGE): Likewise.
15639 (test_exceptions): Handle testing "inexact" exceptions.
15640 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15641 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15642 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15643 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15644 INEXACT_EXCEPTION.
15645 (rint_towardzero_test_data): Likewise.
15646 (rint_downward_test_data): Likewise.
15647 (rint_upward_test_data): Likewise.
15648
e9eee333
JM
15649 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15650 with OVERFLOW_EXCEPTION.
15651 (exp10_test_data): Likewise.
15652 (exp2_test_data): Likewise.
15653 (expm1_test_data): Likewise.
15654 (lgamma_test_data): Likewise.
15655 (pow_test_data): Likewise.
15656 (tgamma_test_data): Likewise.
15657 (yn_test_data): Remove duplicate test of overflow.
15658
1c38ff73
JM
15659 * math/libm-test.inc (struct test_cc_c_data): New type.
15660 (RUN_TEST_LOOP_cc_c): New macro.
15661 (cpow_test_data): New variable.
15662 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15663
15c7c18d
JM
15664 * math/libm-test.inc (struct test_f_L_data): New type.
15665 (RUN_TEST_LOOP_f_L): New macro.
15666 (llrint_test_data): New variable.
15667 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15668 (llrint_tonearest_test_data): New variable.
15669 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15670 (llrint_towardzero_test_data): New variable.
15671 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15672 (llrint_downward_test_data): New variable.
15673 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15674 (llrint_upward_test_data): New variable.
15675 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15676 (llround_test_data): New variable.
15677 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15678
f137ff13
PC
156792013-05-13 Peter Collingbourne <pcc@google.com>
15680
15681 * math/atest-exp2.c (get_log2): Remove const attribute.
15682
3608cb24
JM
156832013-05-15 Joseph Myers <joseph@codesourcery.com>
15684
15685 * math/libm-test.inc (struct test_f_l_data): New type.
15686 (RUN_TEST_LOOP_f_l): New macro.
15687 (lrint_test_data): New variable.
15688 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15689 (lrint_tonearest_test_data): New variable.
15690 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15691 (lrint_towardzero_test_data): New variable.
15692 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15693 (lrint_downward_test_data): New variable.
15694 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15695 (lrint_upward_test_data): New variable.
15696 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15697 (lround_test_data): New variable.
15698 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15699
39b1f617
PC
157002013-05-15 Peter Collingbourne <pcc@google.com>
15701
1deff3dc
PC
15702 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15703 (EXTRACT_WORDS64) Use where appropriate.
15704 (INSERT_WORDS64) Likewise.
15705
791f3ba0
PC
15706 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15707 constraints with x constraints.
15708 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15709
39b1f617
PC
15710 * malloc/obstack.c (_obstack_compat): Add initializer.
15711
12fba011
EM
157122013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15713
15714 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15715 si_trapno and add si_addr_lsb to _sifields.sigfault.
15716 (si_trapno): Remove macro.
15717 (si_addr_lsb): Define new macro.
15718 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15719
d369f531
JM
157202013-05-15 Joseph Myers <joseph@codesourcery.com>
15721
b861c6c4
JM
15722 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15723 instead of TEST_f_l.
15724 (llrint_test_tonearest): Likewise.
15725 (llrint_test_towardzero): Likewise.
15726 (llrint_test_downward): Likewise.
15727 (llrint_test_upward): Likewise.
15728 (llround_test): Likewise.
15729
7abeee12
JM
15730 * math/libm-test.inc (struct test_f_i_data): Add comment.
15731 (RUN_TEST_LOOP_f_b): New macro.
15732 (RUN_TEST_LOOP_f_b_tg): Likewise.
15733 (finite_test_data): New variable.
15734 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15735 (isfinite_test_data): New variable.
15736 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15737 (isinf_test_data): New variable.
15738 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15739 (isnan_test_data): New variable.
15740 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15741 (isnormal_test_data): New variable.
15742 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15743 (issignaling_test_data): New variable.
15744 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15745 (signbit_test_data): New variable.
15746 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15747
cbe8c4d3
JM
15748 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15749 with INVALID_EXCEPTION.
15750 (acosh_test_data): Likewise.
15751 (asin_test_data): Likewise.
15752 (atanh_test_data): Likewise.
15753 (fmod_test_data): Likewise.
15754 (log_test_data): Likewise.
15755 (log10_test_data): Likewise.
15756 (log2_test_data): Likewise.
15757 (pow_test_data): Likewise.
15758 (sqrt_test_data): Likewise.
15759 (y0_test_data): Likewise.
15760 (y1_test_data): Likewise.
15761 (yn_test_data): Likewise.
15762
5575c0e5
JM
15763 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15764 function contents.
15765
d369f531
JM
15766 * math/libm-test.inc (struct test_ff_i_data): New type.
15767 (RUN_TEST_LOOP_ff_i_tg): New macro.
15768 (isgreater_test_data): New variable.
15769 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15770 (isgreaterequal_test_data): New variable.
15771 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15772 (isless_test_data): New variable.
15773 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15774 (islessequal_test_data): New variable.
15775 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15776 (islessgreater_test_data): New variable.
15777 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15778 (isunordered_test_data): New variable.
15779 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15780
781fd748
DM
157812013-05-14 David S. Miller <davem@davemloft.net>
15782
15783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15784
87aa21df
JM
157852013-05-14 Joseph Myers <joseph@codesourcery.com>
15786
5e908270
JM
15787 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15788
f71172e5
JM
15789 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15790 extra_test to int.
15791 (struct test_f_i_data): Change type of max_ulp to int.
15792
8cfa635a
JM
15793 * math/libm-test.inc (test_ffI_f1_data): New type.
15794 (RUN_TEST_LOOP_ffI_f1): New macro.
15795 (remquo_test_data): New variable.
15796 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15797
2bcb36b2
JM
15798 * setjmp/tst-setjmp-fp.c: New file.
15799 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15800 (link-libm): New variable.
15801 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15802
acbd839a
JM
15803 * math/libm-test.inc (struct test_f_i_data): New type.
15804 (RUN_TEST_LOOP_f_i): New macro.
15805 (RUN_TEST_LOOP_f_i_tg): Likewise.
15806 (fpclassify_test_data): New variable.
15807 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15808 (ilogb_test_data): New variable.
15809 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15810
e414d745
JM
15811 * math/libm-test.inc (scalbln_test): Correct function name in END
15812 call.
15813
d9c2a0fd
JM
15814 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15815 (RUN_TEST_LOOP_fI_f1): New macro.
15816 (frexp_test_data): New variable.
15817 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15818
9dc9095d
JM
15819 * math/libm-test.inc (struct test_fF_f1_data): New type.
15820 (RUN_TEST_LOOP_fF_f1): New macro.
15821 (modf_test_data): New variable.
15822 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15823
87aa21df
JM
15824 * math/libm-test.inc (struct test_f_f1_data): New type.
15825 (RUN_TEST_LOOP_f_f1): New macro.
15826 (gamma_test_data): New variable.
15827 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15828 (lgamma_test_data): New variable.
15829 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15830
141af660
CD
158312013-05-13 Carlos O'Donell <carlos@redhat.com>
15832
15833 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15834 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15835 (main): Comment "tls" pseudo-hwcap.
15836
6d33265c
JM
158372013-05-13 Joseph Myers <joseph@codesourcery.com>
15838
68fc074c
JM
15839 * math/libm-test.inc (struct test_fl_f_data): New type.
15840 (RUN_TEST_LOOP_fl_f): New variable.
15841 (scalbln_test_data): New variable.
15842 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15843
243216e1
JM
15844 * math/libm-test.inc (struct test_fi_f_data): New type.
15845 (RUN_TEST_LOOP_fi_f): New macro.
15846 (ldexp_test_data): New variable.
15847 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15848 (scalbn_test_data): New variable.
15849 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15850
6a1992e2
JM
15851 * math/libm-test.inc (struct test_c_f_data): New type.
15852 (RUN_TEST_LOOP_c_f): New macro.
15853 (cabs_test_data): New variable.
15854 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15855 (carg_test_data): New variable.
15856 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15857 (cimag_test_data): New variable.
15858 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15859 (creal_test_data): New variable.
15860 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15861
0e400df5
JM
15862 * math/libm-test.inc (struct test_if_f_data): New type.
15863 (RUN_TEST_LOOP_if_f): New macro.
15864 (jn_test_data): New variable.
15865 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15866 (yn_test_data): New variable.
15867 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15868
6d33265c
JM
15869 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15870
f98ece5f
AZ
158712013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15872
15873 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15874 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15875
0f7d347b
SP
158762013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15877
43fe811b
SP
15878 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15879 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15880 (bench-deps): Add bench-timing.h.
15881 * benchtests-bench-skeleton.c: Include bench-timing.h.
15882 (main): Use TIMING_* macros instead of clock_gettime.
15883 * benchtests/bench-timing.h: New file.
15884
0f7d347b
SP
15885 [BZ #14582]
15886 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15887 Renamed from _LIB_VERSION.
15888 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15889
601a3a5f
JM
158902013-05-12 Joseph Myers <joseph@codesourcery.com>
15891
4f184d30
JM
15892 * math/libm-test.inc (struct test_fff_f_data): New type.
15893 (RUN_TEST_LOOP_fff_f): New macro.
15894 (fma_test_data): New variable.
15895 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15896 (fma_towardzero_test_data): New variable.
15897 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15898 (fma_downward_test_data): New variable.
15899 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15900 (fma_upward_test_data): New variable.
15901 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15902
08198877
JM
15903 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15904 (struct test_c_c_data): New type.
15905 (RUN_TEST_LOOP_c_c): New macro.
15906 (cacos_test_data): New variable.
15907 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15908 (cacosh_test_data): New variable.
15909 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15910 (casin_test_data): New variable.
15911 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15912 (casinh_test_data): New variable.
15913 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15914 (catan_test_data): New variable.
15915 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15916 (catanh_test_data): New variable.
15917 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15918 (ccos_test_data): New variable.
15919 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15920 (ccosh_test_data): New variable.
15921 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15922 (cexp_test_data): New variable.
15923 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15924 (clog_test_data): New variable.
15925 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15926 (clog10_test_data): New variable.
15927 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15928 (conj_test_data): New variable.
15929 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15930 (cproj_test_data): New variable.
15931 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15932 (csin_test_data): New variable.
15933 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15934 (csinh_test_data): New variable.
15935 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15936 (csqrt_test_data): New variable.
15937 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15938 (ctan_test_data): New variable.
15939 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15940 (ctan_tonearest_test_data): New variable.
15941 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15942 (ctan_towardzero_test_data): New variable.
15943 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15944 (ctan_downward_test_data): New variable.
15945 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15946 (ctan_upward_test_data): New variable.
15947 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15948 (ctanh_test_data): New variable.
15949 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15950 (ctanh_tonearest_test_data): New variable.
15951 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15952 (ctanh_towardzero_test_data): New variable.
15953 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15954 (ctanh_downward_test_data): New variable.
15955 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15956 (ctanh_upward_test_data): New variable.
15957 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15958 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15959 of BUILD_COMPLEX.
15960
601a3a5f
JM
15961 * math/libm-test.inc (struct test_ff_f_data): New type.
15962 (struct test_ff_f_data_nexttoward): Likewise.
15963 (RUN_TEST_LOOP_2_f): New macro.
15964 (RUN_TEST_LOOP_ff_f): Likewise.
15965 (atan2_test_data): New variable.
15966 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15967 (copysign_test_data): New variable.
15968 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15969 (fdim_test_data): New variable.
15970 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15971 (fmax_test_data): New variable.
15972 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15973 (fmin_test_data): New variable.
15974 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15975 (fmod_test_data): New variable.
15976 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15977 (hypot_test_data): New variable.
15978 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15979 (nextafter_test_data): New variable.
15980 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15981 (nexttoward_test_data): New variable.
15982 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15983 (pow_test_data): New variable.
15984 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15985 (pow_tonearest_test_data): New variable.
15986 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15987 (pow_towardzero_test_data): New variable.
15988 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15989 (pow_downward_test_data): New variable.
15990 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15991 (pow_upward_test_data): New variable.
15992 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15993 (remainder_test_data): New variable.
15994 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15995 (scalb_test_data): New variable.
15996 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15997 * sysdeps/i386/fpu/libm-test-ulps: Update.
15998
74c57478
JM
159992013-05-11 Joseph Myers <joseph@codesourcery.com>
16000
8329e4da
JM
16001 * math/libm-test.inc (fma_test): Use max_value instead of local
16002 variable fltmax.
16003 (nextafter_test): Likewise.
16004
74c57478
JM
16005 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16006 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16007 (acos_downward_test_data): New variable.
16008 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16009 (acos_upward_test_data): New variable.
16010 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16011 (acosh_test_data): New variable.
16012 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16013 (asin_test_data): New variable.
16014 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16015 (asin_tonearest_test_data): New variable.
16016 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16017 (asin_towardzero_test_data): New variable.
16018 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16019 (asin_downward_test_data): New variable.
16020 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16021 (asin_upward_test_data): New variable.
16022 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16023 (asinh_test_data): New variable.
16024 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16025 (atan_test_data): New variable.
16026 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16027 (atanh_test_data): New variable.
16028 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16029 (cbrt_test_data): New variable.
16030 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16031 (ceil_test_data): New variable.
16032 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16033 (cos_test_data): New variable.
16034 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16035 (cos_tonearest_test_data): New variable.
16036 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16037 (cos_towardzero_test_data): New variable.
16038 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16039 (cos_downward_test_data): New variable.
16040 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16041 (cos_upward_test_data): New variable.
16042 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16043 (cosh_test_data): New variable.
16044 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16045 (cosh_tonearest_test_data): New variable.
16046 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16047 (cosh_towardzero_test_data): New variable.
16048 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16049 (cosh_downward_test_data): New variable.
16050 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16051 (cosh_upward_test_data): New variable.
16052 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16053 (erf_test_data): New variable.
16054 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16055 (erfc_test_data): New variable.
16056 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16057 (exp_test_data): New variable.
16058 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16059 (exp_tonearest_test_data): New variable.
16060 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16061 (exp_towardzero_test_data): New variable.
16062 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16063 (exp_downward_test_data): New variable.
16064 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16065 (exp_upward_test_data): New variable.
16066 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16067 (exp10_test_data): New variable.
16068 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16069 (exp2_test_data): New variable.
16070 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16071 (expm1_test_data): New variable.
16072 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16073 (fabs_test_data): New variable.
16074 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16075 (floor_test_data): New variable.
16076 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16077 (j0_test_data): New variable.
16078 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16079 (j1_test_data): New variable.
16080 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16081 (log_test_data): New variable.
16082 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16083 (log10_test_data): New variable.
16084 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16085 (log1p_test_data): New variable.
16086 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16087 (log2_test_data): New variable.
16088 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16089 (logb_test_data): New variable.
16090 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16091 (logb_downward_test_data): New variable.
16092 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16093 (nearbyint_test_data): New variable.
16094 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16095 (rint_test_data): New variable.
16096 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16097 (rint_tonearest_test_data): New variable.
16098 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16099 (rint_towardzero_test_data): New variable.
16100 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16101 (rint_downward_test_data): New variable.
16102 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16103 (rint_upward_test_data): New variable.
16104 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16105 (round_test_data): New variable.
16106 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16107 (sin_test_data): New variable.
16108 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16109 (sin_tonearest_test_data): New variable.
16110 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16111 (sin_towardzero_test_data): New variable.
16112 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16113 (sin_downward_test_data): New variable.
16114 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16115 (sin_upward_test_data): New variable.
16116 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16117 (sinh_test_data): New variable.
16118 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16119 (sinh_tonearest_test_data): New variable.
16120 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16121 (sinh_towardzero_test_data): New variable.
16122 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16123 (sinh_downward_test_data): New variable.
16124 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16125 (sinh_upward_test_data): New variable.
16126 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16127 (sqrt_test_data): New variable.
16128 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16129 (tan_test_data): New variable.
16130 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16131 (tan_tonearest_test_data): New variable.
16132 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16133 (tan_towardzero_test_data): New variable.
16134 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16135 (tan_downward_test_data): New variable.
16136 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16137 (tan_upward_test_data): New variable.
16138 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16139 (tanh_test_data): New variable.
16140 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16141 (tgamma_test_data): New variable.
16142 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16143 (trunc_test_data): New variable.
16144 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16145 (y0_test_data): New variable.
16146 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16147 (y1_test_data): New variable.
16148 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16149 (significand_test_data): New variable.
16150 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16151
7187d844
CG
161522013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16153
16154 [BZ #12387]
16155 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16156
f63fae73
PT
161572013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16158
16159 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16160
8a67a4b3
AJ
161612013-05-10 Andreas Jaeger <aj@suse.de>
16162
16163 [BZ #15448]
16164 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16165 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16166
51df539d
JM
161672013-05-10 Joseph Myers <joseph@codesourcery.com>
16168
16169 * math/gen-libm-test.pl (adjust_arg): New function.
16170 (special_functions): Handle generating output in both functions
16171 and arrays.
16172 (parse_args): Likewise.
16173 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16174 $in_func argument to parse_args.
16175 * math/libm-test.inc (struct test_f_f_data): New type.
16176 (IF_ROUND_INIT_): New macro.
16177 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16178 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16179 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16180 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16181 (ROUND_RESTORE_): Likewise.
16182 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16183 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16184 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16185 (ROUND_RESTORE_FE_UPWARD): Likewise.
16186 (RUN_TEST_LOOP_f_f): New macro.
16187 (acos_test_data): New variable.
16188 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16189 (acos_tonearest_test_data): New variable.
16190 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16191
5c637fe5
SP
161922013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16193
16194 * benchtests/bench-skeleton.c (startup): Fix coding style.
16195
ab2b9461
JM
161962013-05-10 Joseph Myers <joseph@codesourcery.com>
16197
16198 [BZ #6809]
16199 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16200 negative infinity argument.
16201 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16202 negative infinity argument.
16203 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16204 negative infinity argument.
16205 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16206 domain errors.
16207
4c0fe6fe
FW
162082013-05-10 Florian Weimer <fweimer@redhat.com>
16209
16210 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16211 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16212 * iconv/iconv_prog.c (main): Likewise.
16213 * locale/programs/charmap-dir.c (charmap_readdir)
16214 (fopen_uncompressed): Likewise.
16215 * locale/programs/locfile.c (siblings_uncached)
16216 (write_locale_data): Use lstat64 instead of lstat.
16217 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16218 stat.
16219
a3375d29
AJ
162202013-05-10 Andreas Jaeger <aj@suse.de>
16221
16222 [BZ #15395]
16223 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16224 localization.
16225 Include <locale.h>.
16226
36129722
CD
162272013-05-09 Carlos O'Donell <carlos@redhat.com>
16228
16229 * elf/dl-close.c (_dl_close_worker): Add comments.
16230
faa7f811
JM
162312013-05-09 Joseph Myers <joseph@codesourcery.com>
16232
ed41ffef
JM
16233 [BZ #15359]
16234 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16235 high part of pi/2.
16236 (__ieee754_rem_pio2l): Update comments.
16237
d0213cd0
JM
16238 [BZ #15429]
16239 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16240 high part of pi/2.
16241 (__ieee754_rem_pio2l): Update comments.
16242
0d3e777a
JM
16243 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16244 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16245
24f56066
JM
16246 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16247 M_PI_4l.
16248
faa7f811
JM
16249 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16250 (M_PI_34_LOG10El): Likewise.
16251 (M_PI2_LOG10El): Likewise.
16252 (M_PI4_LOG10El): Likewise.
16253 (M_PI_LOG10El): Likewise.
16254
e9a5e0fd
AZ
162552013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16256
16257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16258
d8cd06db
JM
162592013-05-08 Joseph Myers <joseph@codesourcery.com>
16260
a0d9f9d7
JM
16261 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16262 (MINUS_ZERO_INIT): Likewise.
16263 (PLUS_INFTY_INIT): Likewise.
16264 (MINUS_INFTY_INIT): Likewise.
16265 (QNAN_VALUE_INIT): Likewise.
16266 (MAX_VALUE_INIT): Likewise.
16267 (MIN_VALUE_INIT): Likewise.
16268 (MIN_SUBNORM_VALUE_INIT): Likewise.
16269 (plus_zero): Initialize with PLUS_ZERO_INIT.
16270 (minus_zero): Initialize with MINUS_ZERO_INIT.
16271 (plus_infty): Initialize with PLUS_INFTY_INIT.
16272 (minus_infty): Initialize with MINUS_INFTY_INIT.
16273 (qnan_value): Initialize with QNAN_VALUE_INIT.
16274 (max_value): Initialize with MAX_VALUE_INIT.
16275 (min_value): Initialize with MIN_VALUE_INIT.
16276 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16277
ae08db3b
JM
16278 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16279 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16280 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16281 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16282
f44bf14a
JM
16283 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16284 (RUN_TEST_2_f): Likewise.
16285 (RUN_TEST_ff_f): Likewise.
16286 (RUN_TEST_fi_f): Likewise.
16287 (RUN_TEST_fl_f): Likewise.
16288 (RUN_TEST_fff_f): Likewise.
16289 (RUN_TEST_c_f): Likewise.
16290 (RUN_TEST_f_f1): Likewise.
16291 (RUN_TEST_fF_f1): Likewise.
16292 (RUN_TEST_fI_f1): Likewise.
16293 (RUN_TEST_ffI_f1): Likewise.
16294 (RUN_TEST_c_c): Likewise.
16295 (RUN_TEST_cc_c): Likewise.
16296 (RUN_TEST_f_i): Likewise.
16297 (RUN_TEST_f_i_tg): Likewise.
16298 (RUN_TEST_ff_i_tg): Likewise.
16299 (RUN_TEST_f_b): Likewise.
16300 (RUN_TEST_f_b_tg): Likewise.
16301 (RUN_TEST_f_l): Likewise.
16302 (RUN_TEST_f_L): Likewise.
16303 (RUN_TEST_sincos): Likewise.
16304 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16305 whether to show exceptions. Do not include ");\n" in return
16306 value.
16307 (special_functions): Output call to RUN_TEST_sincos instead of
16308 check_float calls. Update calls to new_test.
16309 (parse_args): Output call to single RUN_TEST_* macro instead of
16310 check_* calls and other assignments. Update calls to new_test.
16311
d8cd06db
JM
16312 [BZ #2546]
16313 [BZ #2560]
16314 [BZ #5159]
16315 [BZ #15426]
16316 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16317 input to result for tgamma overflow.
16318 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16319 (gamma_coeff): New variable.
16320 (NCOEFF): New macro.
16321 (gamma_positive): New function.
16322 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16323 underflow here. Use gamma_positive instead of exp (lgamma) for
16324 other arguments.
16325 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16326 (gamma_coeff): New variable.
16327 (NCOEFF): New macro.
16328 (gammaf_positive): New function.
16329 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16330 underflow here. Use gamma_positive instead of exp (lgamma) for
16331 other arguments.
16332 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16333 (gamma_coeff): New variable.
16334 (NCOEFF): New macro.
16335 (gammal_positive): New function.
16336 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16337 underflow here. Use gamma_positive instead of exp (lgamma) for
16338 other arguments.
16339 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16340 (gamma_coeff): New variable.
16341 (NCOEFF): New macro.
16342 (gammal_positive): New function.
16343 (__ieee754_gammal_r): Handle positive infinity, overflow and
16344 underflow here. Handle NaN the same as positive infinity. Remove
16345 check x < 0xffffffff for negative integers. Use gamma_positive
16346 instead of exp (lgamma) for other arguments.
16347 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16348 (gamma_coeff): New variable.
16349 (NCOEFF): New macro.
16350 (gammal_positive): New function.
16351 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16352 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16353 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16355 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16356 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16357 * sysdeps/generic/math_private.h (__gamma_productf): New
16358 prototype.
16359 (__gamma_product): Likewise.
16360 (__gamma_productl): Likewise.
16361 * math/Makefile (libm-calls): Add gamma_product.
16362 * math/libm-test.inc (tgamma_test): Add more tests.
16363 * sysdeps/i386/fpu/libm-test-ulps: Update.
16364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16365
bb7cf681
OB
163662013-05-08 Ondřej Bílka <neleai@seznam.cz>
16367
16368 * benchtests/bench-skeleton.c (main): Preheat CPU.
16369
ba853947
AJ
163702013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16371
16372 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16373
8347c74c
RM
163742013-05-07 Roland McGrath <roland@hack.frob.com>
16375
16376 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16377 and _dl_skip_args_internal.
16378
e8dd4791
CD
163792013-05-07 Carlos O'Donell <carlos@redhat.com>
16380
16381 * manual/message.texi (Message Translation): Talk about users.
16382 Message to key mapping impacts design.
16383
c7405830
RM
163842013-05-06 Roland McGrath <roland@hack.frob.com>
16385
a9173057
RM
16386 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16387
976e2f03
RM
16388 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16389
9723ffc5
RM
16390 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16391 * sysdeps/wordsize-64/glob64.c: ... here.
16392
962e6658
RM
16393 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16394 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16395 New macros.
16396
ee586a6d
RM
16397 * debug/getlogin_r_chk.c: Moved to ...
16398 * login/getlogin_r_chk.c: ... here.
16399 * debug/Makefile (routines): Move getlogin_r_chk to ...
16400 * login/Makefile (routines): ... here.
16401 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16402 * login/Versions (libc: GLIBC_2.4): ... here.
16403
355f9165
RM
16404 * io/poll.c (__poll): Renamed from poll.
16405 Add libc_hidden_def.
16406 (poll): Define as weak alias.
16407
bd9ffde6
RM
16408 * debug/ptsname_r_chk.c: Moved to ...
16409 * login/ptsname_r_chk.c: ... here.
16410 * debug/Makefile (routines): Move ptsname_r_chk to ...
16411 * login/Makefile (routines): ... here.
16412 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16413 * login/Versions (libc: GLIBC_2.4): ... here.
16414
8fb16a04
RM
16415 * posix/getlogin.c: Moved to ...
16416 * login/getlogin.c: ... here.
16417 * posix/getlogin_r.c: Moved to ...
16418 * login/getlogin_r.c: ... here.
16419 * posix/getlogin_r.c: Moved to ...
16420 * login/getlogin_r.c: ... here.
16421 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16422 * login/Makefile (routines): ... here.
16423 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16424 * login/Versions (libc: GLIBC_2.0): ... here.
16425
b99b892f
RM
16426 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16427 (setrlimit): Define as weak alias.
16428
c7405830
RM
16429 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16430 Call __ names for open, ftruncate, and close.
16431 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16432 (truncate): Define as weak alias.
16433
5bf96de5
JM
164342013-05-06 Joseph Myers <joseph@codesourcery.com>
16435
9ea3513c
JM
16436 * math/gen-libm-test.pl (parse_args): Initialize x before each
16437 test of frexp, modf and remquo.
16438
5bf96de5
JM
16439 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16440 test signgam value.
16441
16e616a7
AZ
164422013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16443
16444 [BZ #15418]
16445 [BZ #15419]
16446 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16447 internal tests.
16448 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16449
d5e82754
RM
164502013-05-06 Roland McGrath <roland@hack.frob.com>
16451
16452 * elf/dl-writev.h: New file.
16453 * elf/dl-misc.c: Include it.
16454 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16455 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16456
a7548d41
JM
164572013-05-04 Joseph Myers <joseph@codesourcery.com>
16458
b7dab1e4
JM
16459 * math/libm-test.inc (noXFails): Remove variable.
16460 (noXPasses): Likewise.
16461 (BUILD_COMPLEX_INT): Remove macro.
16462 (print_screen): Remove xfail argument.
16463 (print_screen_max_error): Likewise.
16464 (update_stats): Likewise.
16465 (print_max_error): Likewise. Update calls to other affected
16466 functions.
16467 (print_complex_max_error): Likewise.
16468 (test_single_exception): Update calls to print_screen.
16469 (test_single_errno): Likewise.
16470 (check_float_internal): Remove xfail argument. Update calls to
16471 other affected functions.
16472 (check_float): Likewise.
16473 (check_complex): Likewise.
16474 (check_int): Likewise.
16475 (check_long): Likewise.
16476 (check_bool): Likewise.
16477 (check_longlong): Likewise.
16478 (main): Don't print noXFails and noXPasses.
16479 * math/gen-libm-test.pl (top level): Don't mention expected
16480 failure handling in comment.
16481 (new_test): Don't handle expected failures.
16482 (parse_args): Don't mention expected failure handling in comment.
16483 (generate_testfile): Don't handle expected failures.
16484 (parse_ulps): Likewise.
16485 (print_ulps_file): Likewise.
16486 (get_failure): Remove function.
16487 (output_test): Don't handle expected failures.
16488 * make/README.libm-test: Don't mention expected failure handling.
16489
a7548d41
JM
16490 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16491 (minus_zero): Likewise.
16492 (plus_infty): Likewise.
16493 (minus_infty): Likewise.
16494 (qnan_value): Likewise.
16495 (max_value): Likewise.
16496 (min_value): Likewise.
16497 (min_subnorm_value): Likewise.
16498 (initialize): Do not initialize those variables dynamically.
16499
60bfd54c
RM
165002013-05-03 Roland McGrath <roland@hack.frob.com>
16501
cc0e6ed8
RM
16502 * io/open.c (__open_2): Moved to ...
16503 * io/open_2.c: ... this new file.
16504 * io/open64.c (__open64_2): Moved to ...
16505 * io/open64_2.c: ... this new file.
16506 * io/openat.c (__openat_2): Moved to ...
16507 * io/openat_2.c: ... this new file.
16508 * io/openat64.c (__openat64_2): Moved to ...
16509 * io/openat64_2.c: ... this new file.
16510 * io/Makefile (routines): Add them.
16511 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16512 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16513 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16514 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16515 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16516 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16517 (__openat64): Add hidden_ver.
16518 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16519 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16520
60bfd54c
RM
16521 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16522 Separately conditionalize setting of GLRO(dl_sysinfo) so
16523 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16524 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16525
83e7640f
AZ
165262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16527
16528 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16529 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16530 definition.
16531 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16532 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16533 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16534 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16535 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16536
d5dc2af3
JM
165372013-05-03 Joseph Myers <joseph@codesourcery.com>
16538
c31a5b1e
JM
16539 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16540 test signgam value.
16541
d5dc2af3
JM
16542 * math/libm-test.inc (hypot_test): Do not use
16543 IGNORE_ZERO_INF_SIGN.
16544
164fd39d
AJ
165452013-05-03 Andreas Jaeger <aj@suse.de>
16546
16547 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16548 Linux 3.9.
16549 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16550 (PF_MAX): Adjust for VSOCK change.
16551
8237f48c
AZ
165522013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16553
16554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16555
9df02941
CD
165562013-05-02 Carlos O'Donell <carlos@redhat.com>
16557
16558 [BZ #15264]
16559 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16560 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16561 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16562
d422395e
DM
165632013-05-02 David S. Miller <davem@davemloft.net>
16564
16565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16566
a07c5731
OB
165672013-05-01 Ondřej Bílka <neleai@seznam.cz>
16568
16569 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16570
1324e37f
RM
165712013-05-01 Roland McGrath <roland@hack.frob.com>
16572
16573 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16574
0695940b
RS
165752013-05-01 Richard Smith <richard@metafoo.co.uk>
16576
bb5f27ad 16577 [BZ #14952]
0695940b
RS
16578 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16579 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16580 Use __attribute__ ((__gnu_inline__)).
16581 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16582 Don't use __attribute__ ((__gnu_inline__)).
16583
10de07f5
JM
165842013-05-01 Joseph Myers <joseph@codesourcery.com>
16585
16586 [BZ #15423]
16587 * math/s_catan.c (__catan): Handle small real or imaginary part of
16588 input specially to avoid spurious underflow.
16589 * math/s_catanf.c (__catanf): Likewise.
16590 * math/s_catanh.c (__catanh): Likewise.
16591 * math/s_catanhf.c (__catanhf): Likewise.
16592 * math/s_catanhl.c (__catanhl): Likewise.
16593 * math/s_catanl.c (__catanl): Likewise.
16594 * math/libm-test.inc (catan_test): Add more tests.
16595 (catanh_test): Likewise.
16596 * sysdeps/i386/fpu/libm-test-ulps: Update.
16597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16598
cb4d5414
AZ
165992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16600
16601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16602
caf84319
JM
166032013-04-30 Joseph Myers <joseph@codesourcery.com>
16604
16605 [BZ #15416]
16606 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16607 accurately for denominator in atan2.
16608 * math/s_catanf.c (__catanf): Likewise.
16609 * math/s_catanh.c (__catanh): Likewise.
16610 * math/s_catanhf.c (__catanhf): Likewise.
16611 * math/s_catanhl.c (__catanhl): Likewise.
16612 * math/s_catanl.c (__catanl): Likewise.
16613 * math/libm-test.inc (catan_test): Add more tests.
16614 (catanh_test): Likewise.
16615 * sysdeps/i386/fpu/libm-test-ulps: Update.
16616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16617
d569c6ee
SP
166182013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16619
6dbe713d
SP
16620 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16621
f0ee064b
SP
16622 * benchtests/Makefile (bench): Remove slow benchmarks.
16623 * benchtests/atan-inputs: Add slow benchmark inputs.
16624 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16625 (BENCH_FUNC): Accept variant offset.
16626 (VARIANT): Define.
16627 * benchtests/bench-skeleton.c (main): Run benchmark for each
16628 variant.
16629 * benchtests/cos-inputs: Add slow benchmark inputs.
16630 * benchtests/exp-inputs: Likewise.
16631 * benchtests/pow-inputs: Likewise.
16632 * benchtests/sin-inputs: Likewise.
16633 * benchtests/slowatan-inputs: Remove.
16634 * benchtests/slowatan.c: Remove.
16635 * benchtests/slowcos-inputs: Remove.
16636 * benchtests/slowcos.c: Remove.
16637 * benchtests/slowexp-inputs: Remove.
16638 * benchtests/slowexp.c: Remove.
16639 * benchtests/slowpow-inputs: Remove.
16640 * benchtests/slowpow.c: Remove.
16641 * benchtests/slowsin-inputs: Remove.
16642 * benchtests/slowsin.c: Remove.
16643 * benchtests/slowtan-inputs: Remove.
16644 * benchtests/slowtan.c: Remove.
16645 * benchtests/tan-inputs: Add slow benchmark inputs.
16646 * scripts/bench.pl: Parse comments and directives.
16647
d569c6ee
SP
16648 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16649 in CPPFLAGS.
16650 ($(objpfx)bench-%.c): Remove *-ITER.
16651 * benchtests/bench-modf.c: Remove definition of ITER.
16652 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16653 (main): Loop for DURATION seconds instead of fixed number of
16654 iterations.
16655 * scripts/bench.pl: Don't expect iterations in parameters.
16656
a6a242fe
RM
166572013-04-29 Roland McGrath <roland@hack.frob.com>
16658
16659 * io/fchdir.c (__fchdir): Renamed from fchdir.
16660 (fchdir): Define as weak alias.
16661
f2da7793
JM
166622013-04-29 Joseph Myers <joseph@codesourcery.com>
16663
16664 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16665 (ERRNO_EDOM): Likewise.
16666 (ERRNO_ERANGE): Likewise.
16667 (noErrnoTests): New variable.
16668 (init_max_error): Set errno to 0.
16669 (test_single_errno): New function.
16670 (test_errno): Likewise.
16671 (check_float_internal): Call test_errno. Set errno to 0.
16672 (check_complex): Refer to errno tests in comment.
16673 (check_int): Call test_errno. Set errno to 0.
16674 (check_long): Likewise.
16675 (check_bool): Likewise.
16676 (check_longlong): Likewise.
16677 (cos_test): Use ERRNO_* flags for errno tests instead of
16678 check_int.
16679 (expm1_test): Likewise.
16680 (fmod_test): Likewise.
16681 (ilogb_test): Likewise.
16682 (lgamma_test): Likewise.
16683 (pow_test): Likewise.
16684 (remainder_test): Likewise.
16685 (sin_test): Likewise.
16686 (tan_test): Likewise.
16687 (yn_test): Likewise.
16688 (initialize): Set errno to 0.
16689 (main): Print number of errno tests.
16690 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16691
b1a36ceb
AJ
166922013-04-29 Andreas Jaeger <aj@suse.de>
16693
c3ed8088
AJ
16694 [BZ #15084]
16695 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16696 and RES_USEVC.
16697
f1a24198
AJ
16698 [BZ #15085]
16699 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16700 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16701 unimplemented.
16702
9ce3b2cb
AJ
16703 [BZ #15380]
16704 * stdlib/random.c (__initstate): Return NULL if
16705 __initstate fails.
16706
f1a24198 16707 [BZ #15086]
b1a36ceb
AJ
16708 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16709 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16710 RES_SNGLKUPREOP.
16711
7e7b6f36
AZ
167122013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16713
16714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16715
4d14f449
JM
167162013-04-29 Joseph Myers <joseph@codesourcery.com>
16717
16718 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16719 of individual tests.
16720 (casin_test): Likewise.
16721 (casinh_test): Likewise.
16722
5b4217d7
JM
167232013-04-27 Joseph Myers <joseph@codesourcery.com>
16724
16725 [BZ #15409]
16726 * math/s_catan.c (__catan): Handle arguments with large real or
16727 imaginary part separately without squaring.
16728 * math/s_catanf.c (__catanf): Likewise.
16729 * math/s_catanh.c (__catanh): Likewise.
16730 * math/s_catanhf.c (__catanhf): Likewise.
16731 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16732 and redefine.
16733 (__catanhl): Handle arguments with large real or imaginary part
16734 separately without squaring.
16735 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16736 and redefine.
16737 (__catanl): Handle arguments with large real or imaginary part
16738 separately without squaring.
16739 * math/libm-test.inc (catan_test): Add more tests.
16740 (catanh_test): Likewise.
16741 * sysdeps/i386/fpu/libm-test-ulps: Update.
16742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16743
4220c3ef
AJ
167442013-04-27 Andreas Jaeger <aj@suse.de>
16745
16746 [BZ #15007]
16747 * stdlib/stdlib.h: Update guards for qecvt.
16748 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16749 <stdlib.h>.
16750
4721b2d1
AM
167512013-04-27 Allan McRae <allan@archlinux.org>
16752
16753 * sysdeps/i386/fpu/libm-test-ulps: Update.
16754
f0302940
JM
167552013-04-26 Joseph Myers <joseph@codesourcery.com>
16756
9457fd95
JM
16757 [BZ #15406]
16758 * math/s_catan.c: Include <float.h>.
16759 (__catan): Ensure underflow exception occurs for underflowed
16760 result.
16761 * math/s_catanf.c: Include <float.h>.
16762 (__catanf): Ensure underflow exception occurs for underflowed
16763 result.
16764 * math/s_catanh.c: Include <float.h>.
16765 (__catanh): Ensure underflow exception occurs for underflowed
16766 result.
16767 * math/s_catanhf.c: Include <float.h>.
16768 (__catanhf): Ensure underflow exception occurs for underflowed
16769 result.
16770 * math/s_catanhl.c: Include <float.h>.
16771 (__catanhl): Ensure underflow exception occurs for underflowed
16772 result.
16773 * math/s_catanl.c: Include <float.h>.
16774 (__catanl): Ensure underflow exception occurs for underflowed
16775 result.
16776 * math/libm-test.inc (catan_test): Add more tests.
16777 (catanh_test): Likewise.
16778
f0302940
JM
16779 [BZ #15405]
16780 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16781 underflowed result.
16782 * math/s_ccoshf.c (__ccoshf): Likewise.
16783 * math/s_ccoshl.c (__ccoshl): Likewise.
16784 * math/s_csin.c (__csin): Likewise.
16785 * math/s_csinf.c (__csinf): Likewise.
16786 * math/s_csinh.c (__csinh): Likewise.
16787 * math/s_csinhf.c (__csinhf): Likewise.
16788 * math/s_csinhl.c (__csinhl): Likewise.
16789 * math/s_csinl.c (__csinl): Likewise.
16790 * math/libm-test.inc (ccos_test): Add more tests.
16791 (ccosh_test): Likewise.
16792 (csin_test): Likewise.
16793 (csinh_test): Likewise.
16794
aa630f59
AZ
167952013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16796
16797 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16798 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16799 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16800 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16801 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16802 powerpc/power5+/fpu folders.
16803 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16804
16805
1b835983
MT
168062013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16807
16808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16809
73709b26
JM
168102013-04-25 Joseph Myers <joseph@codesourcery.com>
16811
16812 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16813 additions to variable.
16814 [$(config-machine) = x86_64] (modules-names): Likewise.
16815 ($(objpfx)tst-audit3): Remove dependency.
16816 ($(objpfx)tst-audit3.out): Likewise.
16817 ($(objpfx)tst-audit4): Likewise.
16818 ($(objpfx)tst-audit4.out): Likewise.
16819 ($(objpfx)tst-audit5): Likewise.
16820 ($(objpfx)tst-audit5.out): Likewise.
16821 ($(objpfx)tst-audit6): Likewise.
16822 ($(objpfx)tst-audit6.out): Likewise.
16823 ($(objpfx)tst-audit7): Likewise.
16824 ($(objpfx)tst-audit7.out): Likewise.
16825 (tst-audit3-ENV): Remove variable.
16826 (tst-audit4-ENV): Likewise.
16827 (tst-audit5-ENV): Likewise.
16828 (tst-audit6-ENV): Likewise.
16829 (tst-audit7-ENV): Likewise.
16830 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16831 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16832 addition to variable.
16833 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16834 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16835 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16836 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16837 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16838 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16839 tst-audit3, tst-audit4 and tst-audit5.
16840 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16841 tst-audit6 and tst-audit7.
16842 [$(subdir) = elf] (modules-names): Add audit modules for those
16843 tests.
16844 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16845 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16846 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16847 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16848 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16849 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16850 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16851 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16852 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16853 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16854 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16855 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16856 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16857 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16858 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16859 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16860 Likewise.
16861 [$(subdir) = elf && $(config-cflags-avx) = yes]
16862 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16863 [$(subdir) = elf && $(config-cflags-avx) = yes]
16864 (CFLAGS-tst-auditmod4a.c): Likewise.
16865 [$(subdir) = elf && $(config-cflags-avx) = yes]
16866 (CFLAGS-tst-auditmod4b.c): Likewise.
16867 [$(subdir) = elf && $(config-cflags-avx) = yes]
16868 (CFLAGS-tst-auditmod6b.c): Likewise.
16869 [$(subdir) = elf && $(config-cflags-avx) = yes]
16870 (CFLAGS-tst-auditmod6c.c): Likewise.
16871 [$(subdir) = elf && $(config-cflags-avx) = yes]
16872 (CFLAGS-tst-auditmod7b.c): Likewise.
16873 * elf/tst-audit3.c: Move to ...
16874 * sysdeps/x86_64/tst-audit3.c: ... here.
16875 * elf/tst-audit4.c: Move to ...
16876 * sysdeps/x86_64/tst-audit4.c: ... here.
16877 * elf/tst-audit5.c: Move to ...
16878 * sysdeps/x86_64/tst-audit5.c: ... here.
16879 * elf/tst-audit6.c: Move to ...
16880 * sysdeps/x86_64/tst-audit6.c: ... here.
16881 * elf/tst-audit7.c: Move to ...
16882 * sysdeps/x86_64/tst-audit7.c: ... here.
16883 * elf/tst-auditmod3a.c: Move to ...
16884 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16885 * elf/tst-auditmod3b.c: Move to ...
16886 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16887 * elf/tst-auditmod4a.c: Move to ...
16888 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16889 * elf/tst-auditmod4b.c: Move to ...
16890 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16891 * elf/tst-auditmod5a.c: Move to ...
16892 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16893 * elf/tst-auditmod5b.c: Move to ...
16894 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16895 * elf/tst-auditmod6a.c: Move to ...
16896 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16897 * elf/tst-auditmod6b.c: Move to ...
16898 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16899 * elf/tst-auditmod6c.c: Move to ...
16900 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16901 * elf/tst-auditmod7a.c: Move to ...
16902 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16903 * elf/tst-auditmod7b.c: Move to ...
16904 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16905
1ef74943
PP
169062013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16907
16908 [BZ #15366]
16909 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16910 define unconditionally.
16911 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16912 define unconditionally.
16913 (INT8_C, INT16_C, etc.): Likewise.
16914
93fd48c5
MR
169152013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16916
ae9552cf
MR
16917 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16918 __ehdr_start with hidden visibility.
16919
93fd48c5
MR
16920 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16921
418601aa
CD
169222013-04-24 Carlos O'Donell <carlos@redhat.com>
16923
16924 * math/libm-test.inc (cos_test): Use accurate hex constants.
16925 (sincost_test): Likewise.
16926
2f38fbfe
JM
169272013-04-24 Joseph Myers <joseph@codesourcery.com>
16928
5e221800
JM
16929 * math/libm-test.inc (catan_test): Add more tests.
16930 (catanh_test): Likewise.
16931
77f143fd
JM
16932 * math/s_catanf.c (__catanf): Use suffixed floating-point
16933 constants.
16934 * math/s_catanhf.c (__catanhf): Likewise.
16935 * math/s_catanhl.c (__catanhl): Likewise.
16936 * math/s_catanl.c (__catanl): Likewise.
16937
2f38fbfe
JM
16938 [BZ #15394]
16939 * math/s_catan.c (__catan): Calculate imaginary part of result
16940 with log1p not log unless computing log of number close to 0.
16941 * math/s_catanf.c (__catanf): Likewise.
16942 * math/s_catanl.c (__catanl): Likewise.
16943 * math/s_catanh.c (__catanh): Calculate real part of result with
16944 log1p not log unless computing log of number close to 0.
16945 * math/s_catanhf.c (__catanhf): Likewise.
16946 * math/s_catanhl.c (__catanhl): Likewise.
16947 * math/libm-test.inc (catan_test): Add more tests.
16948 (catanh_test): Likewise.
16949 * sysdeps/i386/fpu/libm-test-ulps: Update.
16950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16951
45d69176
SP
169522013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16953
16954 * benchtests/Makefile: Mention files in which fast and slow
16955 paths of math functions are implemented.
16956
87f51853
RM
169572013-04-23 Roland McGrath <roland@hack.frob.com>
16958
16959 * sysdeps/posix/timespec_get.c: New file.
16960
3c026539
AZ
169612013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16962
16963 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16964 POWER.
16965 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16966 for POWER.
16967 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16968 powerpc/power5/fpu folders.
16969 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16970 * benchtests/Makefile: Add modf testcase.
16971 * benchtests/bench-modf.c: New file: Benchmark test for mo
16972
ff491d14
SP
169732013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16974
16975 [BZ #14888]
16976 * time/Makefile (tests): Add tst-strptime-whitespace.
16977 * time/strptime_l.c (get_number): Use ISSPACE.
16978 (__strptime_internal): Likewise.
16979 * time/tst-strptime-whitespace.c: New test case.
16980
7ed3f4e8
AS
169812013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16982
16983 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16984 member.
16985 (_nss_files_init): Set it here.
16986
5c95f7b6
HC
169872013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16988
16989 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16990 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16991 unsigned.
16992
d34c9158
JBG
169932013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16994
16995 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16996
2169712d
SP
169972013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16998
16999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17000 size just once.
17001
29c5de99
DM
170022013-04-21 David S. Miller <davem@davemloft.net>
17003
17004 * po/ru.po: Update Russion translation from translation project.
17005
ccdad15d
AC
170062013-04-17 Adam Conrad <adconrad@0c3.net>
17007
17008 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17009 and setfsgid.
17010
0f122b8d
CD
170112013-04-17 Carlos O'Donell <carlos@redhat.com>
17012
5c5b07da 17013 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17014 * configure: Regenerate.
5c5b07da 17015 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17016 Add example to error message.
17017 * sysdeps/i386/configure: Regenerate.
17018
037714dd
SP
170192013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17020
17021 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17022 slowtan.
17023 * benchtests/cos-inputs: New file.
17024 * benchtests/slowcos-inputs: New file.
17025 * benchtests/slowcos.c: New file.
17026 * benchtests/slowtan-inputs: New file.
17027 * benchtests/slowtan.c: New file.
17028 * benchtests/tan-inputs: New file.
17029
e913141d
RM
170302013-04-16 Roland McGrath <roland@hack.frob.com>
17031
17032 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17033 considered kosher.
17034
a2964074
SP
170352013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17036
4856bcd2
SP
17037 * benchtests/Makefile: Include cppflags-iterator.mk to add
17038 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17039
a2964074
SP
17040 * Makefile.in (bench-clean): New target.
17041 * benchtests/Makefile (bench-clean): Likewise.
17042
9fbf9aca
DH
170432013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17044
17045 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17046
207d1e2a
TS
170472013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17048
17049 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17050
306dfba9
AS
170512013-04-15 Andreas Schwab <schwab@suse.de>
17052
17053 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17054 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17055 * nscd/pwdcache.c (cache_addpw): Likewise.
17056 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17057 more than recsize.
17058
206a6699
SP
170592013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17060
17061 * benchtests/Makefile (bench): Write all output to
17062 bench-out.tmp together.
17063
0582f6b3
AS
170642013-04-15 Andreas Schwab <schwab@suse.de>
17065
17066 * nscd/nscd.c (main): Don't fork again after closing files.
17067
acb4325f
SP
170682013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17069
5cb26d0a
SP
17070 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17071
acb4325f
SP
17072 * benchtests/Rules (bench-deps): Collect dependencies into a
17073 single variable. Add Makefile to dependencies.
17074 ($(objpfx)bench-%.c): Depend on bench-deps.
17075
47792506
RM
170762013-04-12 Roland McGrath <roland@hack.frob.com>
17077 Xavier Roche <roche+kml2@exalead.com>
17078
17079 [BZ #15361]
17080 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17081 just that it's a file descriptor.
17082 * manual/llio.texi (Synchronizing AIO Operations): Update description
17083 for EBADF error from aio_fsync.
17084
8fc1bee5
SP
170852013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17086
17087 * Rules (bench): Move target definition...
17088 * benchtests/Makefile: ... here.
17089
aba5e333
CD
170902013-04-11 Carlos O'Donell <carlos@redhat.com>
17091
17092 * math/libm-test.inc (cos_test): Fix PI/2 test.
17093 (sincos_test): Likewise.
17094 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17095 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17096
273cdee8
AS
170972013-04-11 Andreas Schwab <schwab@suse.de>
17098
6ecec3b6
AS
17099 [BZ #13988]
17100 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17101 accept exponent character only when digits were seen.
17102 * stdio-common/Makefile (tests): Add bug26.
17103 * stdio-common/bug26.c: New file.
17104
273cdee8
AS
17105 [BZ #14293]
17106 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17107 non-freeable.
17108
8da491f5
SP
171092013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17110
01dc6df9
SP
17111 * Makeconfig (rtld-prefix): Define built linker prefix.
17112 * Rules (run-bench): Use it.
17113 * math/Makefile (run-regen-ulps): Likewise.
17114
8da491f5
SP
17115 * Rules (bench): Remove eval.
17116
abe7f530
SP
171172013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17118 Roland McGrath <roland@hack.frob.com>
17119 Ondrej Bilka <neleai@seznam.cz>
17120
17121 [BZ #15346]
17122 * time/getdate.c: Include ctype.h and alloca.h.
17123 (__getdate_r): Trim leading and trailing spaces of input.
17124 * time/tst-getdate.c (tests): Add tests with leading and
17125 trailing spaces.
17126
61c23e62
RM
171272013-04-08 Roland McGrath <roland@hack.frob.com>
17128
17129 [BZ #14280]
17130 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17131 when computing value.
17132
7208a313
CD
171332013-04-06 Carlos O'Donell <carlos@redhat.com>
17134
085b2d41
CD
17135 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17136 Use testrun.sh to run libm tests.
17137
7208a313
CD
17138 [BZ #15309]
17139 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17140
872c0acd
MM
171412013-04-06 Marko Myllynen <myllynen@redhat.com>
17142
17143 [BZ #15264]
17144 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17145
26510bdd
CD
171462013-04-06 Carlos O'Donell <carlos@redhat.com>
17147
17148 * Makefile.in (regen-ulps): New target.
17149 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17150 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17151 [ifneq (no,$(PERL)] (regen-ulps): New target.
17152 [ifeq (no,$(PERL)] (regen-ulps): New target.
17153 * math/libm-test.inc (ulps_file_name): Define.
17154 (output_dir): New variable.
17155 (options): Add "output-dir" option.
17156 (parse_opt): Handle 'o' case.
17157 (main): If output_dir is non-NULL use it as a prefix
17158 otherwise use "".
17159 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17160
a01f19c8
CD
171612013-04-06 Carlos O'Donell <carlos@redhat.com>
17162
17163 [BZ #10060, #10062]
17164 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17165 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17166 fail configure if __sync_val_compare_and_swap is not inlined.
17167 * sysdeps/i386/configure: Regenerate.
17168 * configure.in: Build for i686 when configured for i386.
17169 * configure: Regenerate.
17170 * README: Remove i386 reference.
17171
b7a329a5
CD
171722013-04-06 Carlos O'Donell <carlos@redhat.com>
17173
17174 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17175 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17176
bf0f50df
TS
171772013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17178
ee091edf
TS
17179 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17180 (lmsnanval): New variables.
17181 (F): Add conversion tests.
17182 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17183 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17184
a8b792d6
TS
17185 * stdio-common/tstdiomisc.c (F): Properly collect individual
17186 tests' results.
17187
a1cbf437
TS
17188 [BZ #14686, #15336]
17189 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17190 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17191 Instead, use input NaN values or generate a qNaN by arithmetic
17192 operation. Also fix bugs to comply with the standard.
17193 * math/libm-test.inc (remainder_test): Add more tests.
17194
8b43a0c9
TS
17195 [BZ #15335, #15342]
17196 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17197 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17198 input NaN values or generate a qNaN by arithmetic operation.
17199
d91da4ce
TS
17200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17201 unreachable code.
17202
bf0f50df
TS
17203 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17204 definitions.
17205
05e166c8
JM
172062013-04-03 Joseph Myers <joseph@codesourcery.com>
17207
17208 [BZ #14478]
17209 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17210 underflowed result.
17211 * math/s_cexpf.c (__cexpf): Likewise.
17212 * math/s_cexpl.c (__cexpl): Likewise.
17213 * math/libm-test.inc (cexp_test): Add more tests.
17214
1cef1b19
AS
172152013-04-03 Andreas Schwab <schwab@suse.de>
17216
17217 [BZ #15330]
17218 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17219 order arrays from heap if bigger than alloca cutoff.
17220
74d87055
TS
172212013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17222
17223 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17224 (SNAN_TESTS_double): Refer to GCC PR56831.
17225 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17226 GCC PR56828.
17227
d755bba4
SP
172282013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17229
90d5d5bb
SP
17230 * Rules (bench): Move bench.out after the run is complete.
17231
73e0cd5d
SP
17232 * Rules (bench): Echo currently running benchmark.
17233
64aabd4b
SP
17234 * benchtests/Makefile (bench): Add atan and slowatan.
17235 * benchtests/atan-inputs: New file.
17236 * benchtests/slowatan-inputs: New file.
17237 * benchtests/slowatan.c: New file.
17238
c871eccd
SP
17239 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17240 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17241 its value.
17242
d755bba4
SP
17243 [BZ #15305]
17244 * sysdeps/unix/sysv/linux/kernel-features.h
17245 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17246 __ASSUME_XFS_RESTRICTED_CHOWN.
17247 * sysdeps/unix/sysv/linux/pathconf.c
17248 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17249 Save and restore errno.
17250
52ce4860
JM
172512013-04-02 Joseph Myers <joseph@codesourcery.com>
17252
17253 [BZ #15327]
17254 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17255 arguments using __kernel_casinh.
17256 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17257 arguments using __kernel_casinhf.
17258 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17259 arguments using __kernel_casinhl.
17260 * math/libm-test.inc (cacosh_test): Add more tests.
17261 * sysdeps/i386/fpu/libm-test-ulps: Update.
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17263
81f311c2
SP
172642013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17265
e7906a47
SP
17266 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17267 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17268
92e3664b
SP
17269 * bench/Makefile (bench): Add sin and slowsin.
17270 * benchtests/sin-inputs: New file.
17271 * benchtests/slowsin-inputs: New file.
17272 * benchtests/slowsin.c: New file.
17273
81f311c2
SP
17274 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17275 (bench): Add slowexp and slowpow.
17276 (exp-ITER): Increase iterations.
17277 (pow-ITER): Likewise.
17278 * benchtests/exp-inputs: Change input.
17279 * benchtests/pow-inputs: Likewise.
17280 * benchtests/slowexp-inputs: New file.
17281 * benchtests/slowexp.c: New file.
17282 * benchtests/slowpow-inputs: New file.
17283 * benchtests/slowpow.c: New file.
17284
ab0f1aa9
AZ
172852013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17286
17287 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17288 instructions.
17289 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17290 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17291 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17292 * benchtests/Makefile: Add rint benchtest.
17293 * benchtests/rint-inputs: Input for rint benchtest.
17294
57267616
TS
172952013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17296
17297 * Versions.def (libm): Add GLIBC_2.18.
17298 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17299 hidden libm prototypes.
17300 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17301 * math/Makefile (libm-calls): Add s_issignaling.
17302 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17303 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17304 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17305 declaration.
17306 * math/math.h [__USE_GNU] (issignaling): New macro.
17307 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17308 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17310 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17313 * manual/arith.texi (issignaling): New section.
17314 * manual/libm-err-tab.pl (@all_functions): Update comment.
17315 * math/gen-libm-test.pl (parse_args): Apply special handling for
17316 issignaling.
17317 * math/libm-test.inc (print_float, issignaling_test): New
17318 functions.
17319 (check_float_internal): Add issignaling checks.
17320 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17321 default definition.
17322 * sysdeps/powerpc/math-tests.h: New file.
17323 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17324 tests.
17325 * math/test-snan.c (TEST_FUNC): Likewise.
17326
6142896d
DM
173272013-03-30 David S. Miller <davem@davemloft.net>
17328
17329 * po/de.po: Update from translation team.
17330
ccc8cadf
JM
173312013-03-30 Joseph Myers <joseph@codesourcery.com>
17332
17333 [BZ #10357]
17334 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17335 imaginary part less than 1.0 and real part less than 0.5
17336 specially.
17337 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17338 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17339 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17340 (cacos_test): Add more tests.
17341 (casin_test): Likewise.
17342 (casinh_test): Likewise.
17343 * sysdeps/i386/fpu/libm-test-ulps: Update.
17344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17345
0f6a8d4b
SP
173462013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17347
0d1029de
SP
17348 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17349 ONE with its value.
17350
c2d94018
SP
17351 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17352 (__pow_mp): Replace ONE and MONE with their values.
17353 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17354 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17355 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17356 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17357 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17358 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17359
27ec37f1
SP
17360 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17361
a64d7e0e
SP
17362 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17363 (__pow_mp): Replace ZERO and MZERO with their values.
17364 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17365 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17366 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17368 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17369 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17370 (__sqr): Likewise.
17371
d26dd3eb
SP
17372 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17373
0f6a8d4b
SP
17374 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17375
e57b0c61
RM
173762013-03-28 Roland McGrath <roland@hack.frob.com>
17377
17378 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17379 Declare with __attribute__ ((weak)).
17380 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17381 Call __call_tls_dtors only if it's not NULL.
17382
356b3480
RM
173832013-03-28 Roland McGrath <roland@hack.frob.com>
17384
288f7d79
RM
17385 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17386 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17387 magic __ehdr_start linker symbol if it's defined.
17388 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17389 them up here if it was already done.
17390
dc0a0263
RM
17391 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17392 (_dl_aux_init): Use const in cast when setting it.
17393 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17394 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17395 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17396
3d3436ae
RM
17397 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17398 Declare them here.
17399 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17400 * csu/libc-tls.c: Nor here.
17401 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17402
356b3480
RM
17403 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17404 (__libc_message): Never call vsyslog.
17405
b0f1246a
AM
174062013-03-28 Alan Modra <amodra@gmail.com>
17407
17408 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17409 Define as empty.
17410 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17411 Likewise.
17412
fbbe2b9a
AZ
174132013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17414
17415 [BZ #15214]
17416 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17417 underflow.
17418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17419
1728ab37
SP
174202013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17421
7a86be6e
SP
17422 [BZ #15304]
17423 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17424 Don't add gid passed as argument.
17425
1728ab37
SP
17426 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17427
3a7182a1
JM
174282013-03-27 Joseph Myers <joseph@codesourcery.com>
17429
17430 [BZ #15307]
17431 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17432 imaginary part between 1.0 and 1.5 and real part less than 0.5
17433 specially.
17434 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17435 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17436 * math/libm-test.inc (cacos_test): Add more tests.
17437 (casin_test): Likewise.
17438 (casinh_test): Likewise.
17439 * sysdeps/i386/fpu/libm-test-ulps: Update.
17440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17441
6f2e90e7
SP
174422013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17443
5739f705
SP
17444 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17445 constants.
17446 (norm): Likewise.
17447 (denorm): Likewise.
17448 (__dbl_mp): Likewise.
17449 (add_magnitudes): Likewise.
17450 (sub_magnitudes): Likewise.
17451 (__add): Likewise.
17452 (__sub): Likewise.
17453 (__mul): Likewise.
17454 (__sqr): Likewise.
17455 (__inv): Likewise.
17456 (__dvd): Likewise.
17457
e375e83d
SP
17458 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17459 commented code.
17460 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17461 (__dubcos): Likewise.
17462 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17463 (__ieee754_acos): Likewise.
17464 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17465 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17466 (__exp1): Likewise.
17467 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17468 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17469 (log1): Likewise.
17470 (my_log2): Likewise.
17471 (checkint): Likewise.
17472 * sysdeps/ieee754/dbl-64/e_remainder.c
17473 (__ieee754_remainder): Likewise.
17474 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17476 (bsloww): Likewise.
17477 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17478
6f2e90e7
SP
17479 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17480 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17481 MANTISSA_STORE_T to store computations on mantissa. Use
17482 macros for rounding and division.
17483 (denorm): Likewise.
17484 (__dbl_mp): Likewise.
17485 (add_magnitudes): Likewise.
17486 (sub_magnitudes): Likewise.
17487 (__mul): Likewise.
17488 (__sqr): Likewise.
17489 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17490 powers of two in terms of TWOPOW macro.
17491 (mp_no): Make type of mantissa as MANTISSA_T.
17492 [!RADIXI]: Define RADIXI.
17493 [!TWO52]: Define TWO52.
17494 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17495
fce14d4e
AZ
174962013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17497
17498 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17499 llroundl symbol when building for PPC32.
17500
9ad027fb
MW
175012013-03-24 Mark H Weaver <mhw@netris.org>
17502
17503 * manual/arith.texi (Normalization Functions): Fix prototypes for
17504 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17505
e42a38dd
AZ
175062013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17507
17508 [BZ #13889]
17509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17510 high value to check if expl overflow.
17511 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17512 to check for underflow and overflow.
17513 * math/libm-test.inc: Add exp test.
17514
2e0fb521
DL
175152013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17516
17517 [BZ #11120]
17518 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17519 with NOT_IN_libc.
17520
b5784d95
AZ
175212013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17522
17523 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17524 symbol.
17525
5aa4a1a1
TS
175262013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17527
bdef0be7
TS
17528 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17529 wrap blocks consisting of several statements.
17530
5aa4a1a1
TS
17531 * sysdeps/generic/math-tests.h: New file.
17532 * sysdeps/i386/fpu/math-tests.h: Likewise.
17533 * math/test-snan.c: Include it.
17534 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17535
98c48fe5
JM
175362013-03-21 Joseph Myers <joseph@codesourcery.com>
17537
17538 [BZ #15285]
17539 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17540 (__ieee754_j0l): Do not improve calculations using cos of twice
17541 input for inputs above LDBL_MAX / 2.0L.
17542 (__ieee754_y0l): Likewise.
17543 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17544 (__ieee754_j1l): Do not improve calculations using cos of twice
17545 input for inputs above LDBL_MAX / 2.0L.
17546 (__ieee754_y1l): Likewise.
17547 * math/libm-test.inc (j0_test): Add another test.
17548 (j1_test): Likewise.
17549 (y0_test): Likewise.
17550 (y1_test): Likewise.
17551 * sysdeps/i386/fpu/libm-test-ulps: Update.
17552
3775a8bc
SP
175532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17554
17555 * Rules ($(objpfx)bench-%.c): Include code from a C source
17556 file.
17557
0a1b2ae6
JM
175582013-03-21 Joseph Myers <joseph@codesourcery.com>
17559
17560 [BZ #15287]
17561 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17562 imaginary part 1.0 and real part less than 0.5 specially.
17563 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17564 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17565 * math/libm-test.inc (cacos_test): Add more tests.
17566 (casin_test): Likewise.
17567 (casinh_test): Likewise.
17568 * sysdeps/i386/fpu/libm-test-ulps: Update.
17569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17570
b33d4ce4
SP
175712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17572
17573 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17574 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17575
bef0b507
JM
175762013-03-20 Joseph Myers <joseph@codesourcery.com>
17577
17578 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17579 * config.make.in (config-cflags-sse4): Remove variable.
17580 (config-cflags-avx): Likewise.
17581 (config-cflags-sse2avx): Likewise.
17582 (config-cflags-novzeroupper): Likewise.
17583 (config-asflags-i686): Likewise.
17584 (have-mfma4): Likewise.
17585 (have-as-vis3): Likewise.
17586 (MIG): Likewise.
17587 * configure.in (MIG): Do not AC_SUBST.
17588 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17589 (libc_cv_cc_sse4): Do not AC_SUBST.
17590 (libc_cv_cc_avx): Likewise.
17591 (libc_cv_cc_sse2avx): Likewise.
17592 (libc_cv_cc_novzeroupper): Likewise.
17593 (libc_cv_cc_fma4): Likewise.
17594 (libc_cv_as_i686): Likewise.
17595 (libc_cv_sparc_as_vis3): Likewise.
17596 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17597 LIBC_CONFIG_VAR.
17598 (config-asflags-i686): Likewise.
17599 (config-cflags-avx): Likewise.
17600 (config-cflags-sse2avx): Likewise.
17601 (have-mfma4): Likewise.
17602 (config-cflags-novzeroupper): Likewise.
17603 * sysdeps/mach/configure.in (MIG): Likewise.
17604 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17605 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17606 LIBC_CONFIG_VAR.
17607 (config-cflags-avx): Likewise.
17608 (config-cflags-sse2avx): Likewise.
17609 (have-mfma4): Likewise.
17610 (config-cflags-novzeroupper): Likewise.
17611 * configure: Regenerated.
17612 * sysdeps/i386/configure: Likewise.
17613 * sysdeps/mach/configure: Likewise.
17614 * sysdeps/sparc/configure: Likewise.
17615 * sysdeps/x86_64/configure: Likewise.
17616
912cc4b3
RM
176172013-03-20 Roland McGrath <roland@hack.frob.com>
17618
17619 [BZ #14812]
17620 * locale/programs/localedef.c (options): Put N_ translation marker
17621 on argument names, not just descriptions.
17622
04eed2b0
MS
176232013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17624
17625 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17626
a065ceff
OB
176272013-03-20 Ondřej Bílka <neleai@seznam.cz>
17628
9bb2a810 17629 [BZ #14176]
a065ceff
OB
17630 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17631
a600e5ce
RM
176322013-03-19 Roland McGrath <roland@hack.frob.com>
17633
17634 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17635 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17636 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17637 [!BEFORE_ABORT] (before_abort): New function.
17638 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17639 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17640 (writev_for_fatal): New function.
17641 (WRITEV_FOR_FATAL): New macro; call that.
17642 (backtrace_and_maps): New function.
17643 (BEFORE_ABORT): New macro; call that.
17644 (struct str_list): Type removed.
17645 (__libc_message, __libc_fatal): Functions removed.
17646 Include <sysdeps/posix/libc_fatal.c> instead.
17647
6b18bea6
JM
176482013-03-19 Joseph Myers <joseph@codesourcery.com>
17649
17650 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17651 constants.
17652 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17653 double constants.
17654
aaa8cb4b
AS
176552013-03-19 Andreas Schwab <schwab@suse.de>
17656
44673770
AS
17657 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17658 * sysdeps/gnu/configure: Regenerate.
17659
aaa8cb4b
AS
17660 * configure.in: Substitute libc_cv_rtlddir.
17661 * configure: Regenerate.
17662 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17663 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17664 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17665 * elf/Makefile (install-others, CFLAGS-interp.c)
17666 (ldso_install, common-ldd-rewrite): Likewise.
17667 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17668 $(inst_slibdir)/$(rtld-installed-name).
17669 * scripts/rellns-sh: Add -p option.
17670 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17671 for source.
17672
d3cfc668
SP
176732013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17674
17675 * manual/nptl.texi: Renamed to ...
17676 * manual/threads.texi: ... this.
17677 * manual/Makefile (chapters): Update.
17678
0e2b9cdd
RM
176792013-03-18 Roland McGrath <roland@hack.frob.com>
17680
17681 [BZ #14812]
17682 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17683 on argument names, not just descriptions.
0e2b9cdd
RM
17684 * malloc/memusagestat.c (options): Likewise.
17685 * nss/getent.c (options): Likewise.
63270c24
RM
17686
176872013-03-18 Benno Schulenberg <bensberg@justemail.net>
17688
17689 [BZ #14812]
17690 * iconv/iconv_prog.c (options): Put N_ translation marker
17691 on argument names, not just descriptions.
17692 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17693
b2e1393c
OB
176942013-03-18 Ondrej Bilka <neleai@seznam.cz>
17695
17696 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17697 implementation which is faster on all x86_64 architectures.
17698 Tested on AMD, Intel Nehalem, SNB, IVB.
17699 * sysdeps/x86_64/strnlen.S: Likewise.
17700
17701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17702 Remove all multiarch strlen and strnlen versions.
17703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17704 Remove strlen and strnlen related parts.
17705
17706 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17707 Inline strlen part.
17708 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17709
17710 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17711 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17712 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17713 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17714 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17715 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17716
ec4ff04d
CD
177172013-03-17 Carlos O'Donell <carlos@redhat.com>
17718
17719 * manual/memory.texi (Malloc Tunable Parameters):
17720 Sort parameters alphabetically. Add comments for missing entries.
17721
cd18e90a
DM
177222013-03-17 David S. Miller <davem@davemloft.net>
17723
17724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17725
2a185d32
JM
177262013-03-16 Joseph Myers <joseph@codesourcery.com>
17727
d2f9799e
JM
17728 [BZ #15283]
17729 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17730 for arguments at most half maximum finite value.
17731 * math/libm-test.inc (j0_test): Add more tests.
17732 (j1_test): Likewise.
17733 (y0_test): Likewise.
17734 (y1_test): Likewise.
17735 * sysdeps/i386/fpu/libm-test-ulps: Update.
17736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17737
2a185d32
JM
17738 [BZ #14155]
17739 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17740 1 / x and functions P and Q for arguments above 0x1p256L.
17741 (__ieee754_y0l): Likewise.
17742 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17743 (__ieee754_y1l): Likewise.
17744 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17745 (j1_test): Likewise.
17746 (y0_test): Likewise.
17747 (y1_test): Likewise.
17748
6cbec759
TS
177492013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17750
17751 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17752 variable.
17753
bc16e260
RM
177542013-03-15 Roland McGrath <roland@hack.frob.com>
17755
aefc9b8c
RM
17756 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17757 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17758 zero since it's initialized to EXEC_PAGESIZE.
17759
bc16e260
RM
17760 * sysdeps/unix/sysv/linux/ldsodefs.h
17761 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17762 * sysdeps/generic/ldsodefs.h: ... here.
17763
a57da955
TS
177642013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17765
af00a34d
TS
17766 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17767
495ded2c
TS
17768 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17769 math/test-snan.c.
17770 * math/test-snan.c: Renamed from
17771 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17772 * math/Makefile (tests): Add test-snan.
17773 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17774 test-powerpc-snan.
17775
777b0332
TS
17776 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17777 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17778 functions.
17779 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17780 __builtin_nan family of functions.
17781 * math/libm-test.inc (initialize): Initialize qnan_value with
17782 __builtin_nan family of functions.
17783 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17784 Remove variables.
17785 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17786 Remove functions.
17787 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17788 storage class. Initialize qNaN_var and sNaN_var with
17789 __builtin_nan and __builtin_nans families of functions,
17790 respectively.
17791
64d063b8
TS
17792 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17793 (sqrt_test): Remove duplicate test with qNaN input.
17794 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17795 (round_test, signbit_test, significand_test): Note missing +/-Inf
17796 as well as qNaN tests.
17797
67e971f1
TS
17798 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17799 qNaN_var. Fix a few strings, too.
17800 * math/libm-test.inc (nan_value): Rename to qnan_value.
17801 * math/gen-libm-test.pl (%beautify): Adjust to that.
17802 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17803 * math/test-misc.c (main): Likewise.
17804 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17805 to __qnan_bytes, and __qnan_union, respectively.
17806 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17807 Likewise.
17808 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17809 and lqnanval, respectively.
17810 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17811 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17812 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17813 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17814
64487e12
TS
17815 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17816 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17817 doubles.
17818
e015e27b
TS
17819 * math/test-misc.c (main): Fix copy'n'pastos.
17820 * misc/tst-efgcvt.c (special): Likewise.
17821
a57da955
TS
17822 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17823 Remove declarations.
17824
1e380345
SP
178252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17826
17827 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17828 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17829 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17830 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17831
ef26eece
AZ
178322013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17833
17834 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17835 macro to return vdso values correctly in IFUNC implementations.
17836 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17837 Optimization by using IFUNC.
17838
8cfdb7e0
SP
178392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17840 Richard Henderson <rth@redhat.com>
17841 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17842
17843 * Makefile.in (bench): New target.
17844 * NEWS: Mention the benchmark framework.
17845 * Rules (bench): Likewise.
17846 (binaries-bench): Generate binaries for functions to
17847 benchmark.
17848 * benchtests/Makefile: New makefile for benchmark tests.
17849 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17850 programs.
17851 * benchtests/exp-inputs: New input file for EXP function.
17852 * benchtests/pow-inputs: New input file for POW function.
17853 * scripts/bench.pl: New script to generate source files for
17854 benchmark programs.
17855
bcda9880
SP
178562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17857
d22ca8cd
SP
17858 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17859 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17860 computations on mantissa. Use macros for rounding and
17861 division.
17862 (denorm): Likewise.
17863 (__dbl_mp): Likewise.
17864 (add_magnitudes): Likewise.
17865 (sub_magnitudes): Likewise.
17866 (__mul): Likewise.
17867 (__sqr): Likewise.
17868 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17869 powers of two in terms of TWOPOW macro.
17870 (mp_no): Make type of mantissa as MANTISSA_T.
17871 [!RADIXI]: Define RADIXI.
17872 [!TWO52]: Define TWO52.
17873 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17874
bcda9880
SP
17875 * manual/nptl.texi (cindex): Modify threads to pthreads.
17876
06d5adfb
JM
178772013-03-15 Joseph Myers <joseph@codesourcery.com>
17878
17879 * sysdeps/x86_64/preconfigure: Regenerated.
17880
41c7328e
JM
178812013-03-14 Joseph Myers <joseph@codesourcery.com>
17882
17883 [BZ #14155]
17884 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17885 0x1p28 and above.
17886 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17887 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17888 0x1p28 and above.
17889 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17890 * math/libm-test.inc (j0_test): Do not allow one spurious
17891 underflow exception.
17892 (y1_test): Likewise.
17893
e25cfa60
SP
178942013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17895
0409959c
SP
17896 * manual/Makefile (chapters): Add nptl.
17897 * manual/debug.texi (Debugging Support): Add link to Threads
17898 chapter.
17899 * manual/nptl.texi: New file.
17900
e25cfa60
SP
17901 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17902
58a1335e
PB
179032013-03-14 Petr Baudis <pasky@ucw.cz>
17904
17905 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17906 for non-NULL pointer before the memory validity test. Pointed
17907 out by Holger Brunck <holger.brunck@keymile.com>.
17908
9dc7c64f
AS
179092013-03-13 Andreas Schwab <schwab@suse.de>
17910
17911 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17912 instead of .os.
17913
54206aa6
JM
179142013-03-13 Joseph Myers <joseph@codesourcery.com>
17915
17916 * timezone/zic.c: Update from tzcode 2013b.
17917
e98cdb38
CD
179182013-03-12 Carlos O'Donell <carlos@redhat.com>
17919
17920 * manual/install.texi (Configuring and compiling):
17921 Mention i686 and i586.
17922 * INSTALL: Regenerate.
17923
9967e003
RM
179242013-03-12 Roland McGrath <roland@hack.frob.com>
17925
17926 * sysdeps/init_array/elf-init.c: New file.
17927 * csu/elf-init.c
17928 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17929 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17930
17931 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17932 __gmon_start__ as global, but as static with a .preinit_array pointer.
17933 * sysdeps/init_array/gmon-start.c: New file. Use that.
17934 * sysdeps/init_array/crti.S: New file, empty except for comments.
17935 * sysdeps/init_array/crtn.S: Likewise.
17936
e6b5a293 179372013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17938
17939 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17940 definining bcopy.
80f844c9
OB
17941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17942 Remove Prefer_SSE_for_memop.
17943 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17944 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17945 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17947 memset-x86-64.
80f844c9 17948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17949 Remove bzero, memset ifunc support.
80f844c9
OB
17950 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17951 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17952 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17953 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17954
fb6b0fcb
AS
179552013-03-11 Andreas Schwab <schwab@suse.de>
17956
17957 [BZ #15234]
17958 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17959 by SHLIB_COMPAT.
17960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17961 (GLIBC_2.16): Remove pthread_atfork.
17962
3e6bd4b1
PP
179632013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17964
17965 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17966 (ptestcases.h): Likewise.
17967
222d7f00
RM
179682013-03-08 Roland McGrath <roland@hack.frob.com>
17969
17970 * Makeconfig ($(common-objpfx)config.status): Depend on
17971 sysdeps/*/preconfigure{,.in} too.
17972
1ba4f030
JM
179732013-03-08 Joseph Myers <joseph@codesourcery.com>
17974
a222d91a
JM
17975 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17976 (__free_hook): Use void * instead of __malloc_ptr_t.
17977 (__malloc_hook): Likewise.
17978 (__realloc_hook): Likewise.
17979 (__memalign_hook): Likewise.
17980 (__after_morecore_hook): Likewise.
17981 * malloc/arena.c (save_malloc_hook): Likewise.
17982 (save_free_hook): Likewise.
17983 * malloc/hooks.c (malloc_hook_ini): Likewise.
17984 (realloc_hook_ini): Likewise.
17985 (memalign_hook_ini): Likewise.
17986 * malloc/malloc.c (malloc_hook_ini): Likewise.
17987 (realloc_hook_ini): Likewise.
17988 (memalign_hook_ini): Likewise.
17989 (__free_hook): Likewise.
17990 (__malloc_hook): Likewise.
17991 (__realloc_hook): Likewise.
17992 (__memalign_hook): Likewise.
17993 (__libc_malloc): Likewise.
17994 (__libc_free): Likewise.
17995 (__libc_realloc): Likewise.
17996 (__libc_memalign): Likewise.
17997 (__libc_valloc): Likewise.
17998 (__libc_pvalloc): Likewise.
17999 (__libc_calloc): Likewise.
18000 (__posix_memalign): Likewise.
18001 * malloc/morecore.c (__sbrk): Likewise.
18002 (__default_morecore): Likewise.
18003
5cc45e10
JM
18004 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18005
dd54b864
JM
18006 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18007 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18008 __malloc_ptrdiff_t.
18009
1ba4f030
JM
18010 * malloc/malloc.h (__malloc_size_t): Remove macro.
18011 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18012 __malloc_size_t.
18013 (old_memalign_hook): Likewise.
18014 (old_realloc_hook): Likewise.
18015 (struct hdr): Likewise.
18016 (flood): Likewise.
18017 (mallochook): Likewise.
18018 (memalignhook): Likewise.
18019 (reallochook): Likewise.
18020 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18021 (tr_old_realloc_hook): Likewise.
18022 (tr_old_memalign_hook): Likewise.
18023 (tr_mallochook): Likewise.
18024 (tr_reallochook): Likewise.
18025 (tr_memalignhook): Likewise.
18026
edf66e57
AZ
180272013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18028
18029 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18030 default_ldbl_pack and using as default implementation.
18031 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18032 implementation.
18033 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18034 redundant definition.
18035 (ldbl_insert_mantissa): Likewise.
18036 (ldbl_canonicalize): Likewise.
18037 (ldbl_nearbyint): Likewise.
18038 (ldbl_pack): Rename to ldbl_pack_ppc.
18039 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18040 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18041 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18042
6d9145d8
SP
180432013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18044
18045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18046 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18047 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18048 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18050 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18051 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18052 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18053
4dd4e157
AJ
180542013-03-07 Andreas Jaeger <aj@suse.de>
18055
18056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18057 bits/mman-linux.h.
18058
adbb8027
SP
180592013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18060
ce544b5b
SP
18061 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18062 Include mpa.h and declare __MPEXP.
18063 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18064 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18065 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18066 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18067 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18068 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18069 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18070
4cc149fd
SP
18071 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18072 (__slowpow): Use long double EXPL and LOGL functions to
18073 compute POW.
18074 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18075 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18076 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18077 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18078 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18079 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18080
e6ebd4a7
SP
18081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18082 intermediate variable to calculate exponent.
18083 (__sqr): Likewise.
18084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18085 Likewise.
18086 (__sqr): Likewise.
18087
82a9811d
SP
18088 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18089 [!NO__SQR]: Define __sqr.
18090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18091 and NO__SQR. Remove all code except __mul and __sqr. Include
18092 sysdeps/ieee754/dbl-64/mpa.c.
18093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18094
adbb8027
SP
18095 [BZ #12723]
18096 * posix/Makefile (tests): Add tst-pathconf.
18097 * posix/tst-pathconf.c: New test case.
18098 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18099 _PC_PIPE_BUF.
18100 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18101
39120df9
PF
181022013-03-06 Patsy Franklin <pfrankli@redhat.com>
18103
18104 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18105
67525cb8
AJ
181062013-03-06 Andreas Jaeger <aj@suse.de>
18107
664a9ce4
AJ
18108 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18109 definition via __MAP_ANONYMOUS.
18110
8e39047d
AJ
18111 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18112 it's not part of Linux headers.
18113
67525cb8
AJ
18114 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18115 (MAP_HUGE_MASK): Define.
18116
18117 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18118 Define.
18119 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18120 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18121 Define.
18122 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18123 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18124 Define.
18125 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18126 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18127 Define.
18128 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18129
18130 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18131 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18132 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18133 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18134 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18135 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18136
18137 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18138 Handle f2fs.
18139
18140 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18141 Handle f2fs and efivarfs.
18142
18143 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18144 f2fs.
18145
18146 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18147 (EFIVARFS_MAGIC): Add.
18148 (F2FS_LINK_MAX): Add.
18149
e1b42695
PP
181502013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18151
18152 * stdio-common/vfprintf.c: Replace __builtin_expect with
18153 __glibc_unlikely.
18154
2d67d91a
JM
181552013-03-06 Joseph Myers <joseph@codesourcery.com>
18156
18157 [BZ #13550]
18158 * sysdeps/generic/bp-sym.h: Remove file.
18159 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18160 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18161 <bp-sym.h> and <bp-asm.h>.
18162 (__longjmp): Don't use BP_SYM.
18163 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18164 and <bp-asm.h>.
18165 (memcpy): Don't use BP_SYM.
18166 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18167 <bp-sym.h> and <bp-asm.h>.
18168 (memcpy): Don't use BP_SYM.
18169 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18170 <bp-asm.h>.
18171 (memcpy): Don't use BP_SYM.
18172 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18173 <bp-asm.h>.
18174 (memset): Don't use BP_SYM.
18175 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18176 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18177 (__bzero): Don't use BP_SYM.
18178 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18179 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18180 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18181 <bp-sym.h> and <bp-asm.h>.
18182 (memcmp): Don't use BP_SYM. Remove comment about bounded
18183 pointers.
18184 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18185 <bp-sym.h> and <bp-asm.h>.
18186 (memcpy): Don't use BP_SYM.
18187 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18188 <bp-sym.h> and <bp-asm.h>.
18189 (memset): Don't use BP_SYM.
18190 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18191 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18192 (__bzero): Don't use BP_SYM.
18193 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18194 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18195 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18196 <bp-sym.h> and <bp-asm.h>.
18197 (strncmp): Don't use BP_SYM. Remove comment about bounded
18198 pointers.
18199 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18200 <bp-sym.h> and <bp-asm.h>.
18201 (memcpy): Don't use BP_SYM.
18202 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18203 <bp-sym.h> and <bp-asm.h>.
18204 (memset): Don't use BP_SYM.
18205 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18206 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18207 (__bzero): Don't use BP_SYM.
18208 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18209 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18210 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18211 <bp-sym.h> and <bp-asm.h>.
18212 (__memchr): Don't use BP_SYM.
18213 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18214 <bp-sym.h> and <bp-asm.h>.
18215 (memcmp): Don't use BP_SYM. Remove comment about bounded
18216 pointers.
18217 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18218 <bp-sym.h> and <bp-asm.h>.
18219 (memcpy): Don't use BP_SYM.
18220 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18221 <bp-sym.h> and <bp-asm.h>.
18222 (__mempcpy): Don't use BP_SYM.
18223 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18224 <bp-sym.h> and <bp-asm.h>.
18225 (__memrchr): Don't use BP_SYM.
18226 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18227 <bp-sym.h> and <bp-asm.h>.
18228 (memset): Don't use BP_SYM.
18229 (__bzero): Likewise.
18230 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18231 <bp-sym.h> and <bp-asm.h>.
18232 (__rawmemchr): Don't use BP_SYM.
18233 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18234 <bp-sym.h> and <bp-asm.h>.
18235 (__STRCMP): Don't use BP_SYM.
18236 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18237 <bp-sym.h> and <bp-asm.h>.
18238 (strchr): Don't use BP_SYM.
18239 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18240 <bp-sym.h> and <bp-asm.h>.
18241 (__strchrnul): Don't use BP_SYM.
18242 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18243 <bp-sym.h> and <bp-asm.h>.
18244 (strlen): Don't use BP_SYM.
18245 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18246 <bp-sym.h> and <bp-asm.h>.
18247 (strncmp): Don't use BP_SYM. Remove comment about bounded
18248 pointers.
18249 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18250 <bp-sym.h> and <bp-asm.h>.
18251 (__strnlen): Don't use BP_SYM.
18252 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18253 <bp-sym.h> and <bp-asm.h>.
18254 (__GI__setjmp): Don't use BP_SYM.
18255 (_setjmp): Likewise.
18256 (__sigsetjmp): Likewise.
18257 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18258 (L(start_addresses)): Don't use BP_SYM.
18259 (_start): Likewise.
18260 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18261 <bp-asm.h>.
18262 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18263 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18264 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18265 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18266 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18267 <bp-asm.h>.
18268 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18269 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18270 about bounded pointers.
18271 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18272 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18273 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18274 <bp-asm.h>.
18275 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18276 about bounded pointers. Remove GKM FIXME comments.
18277 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18278 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18279 <bp-asm.h>.
18280 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18281 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18282 Remove GKM FIXME comments.
18283 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18284 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18285 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18286 <bp-asm.h>.
18287 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18288 about bounded pointers. Remove GKM FIXME comment.
18289 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18290 and <bp-asm.h>.
18291 (strncmp): Don't use BP_SYM. Remove comment about bounded
18292 pointers.
18293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18294 <bp-sym.h> and <bp-asm.h>.
18295 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18297 <bp-sym.h> and <bp-asm.h>.
18298 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18299 comment.
18300
cdcf361f
PP
183012013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18302
18303 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18304 call free(NULL).
18305
3c4a2b15
DM
183062013-03-05 David S. Miller <davem@davemloft.net>
18307
18308 * po/es.po: Update from translation team.
18309
cdcf361f 183102013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18311
18312 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18313 <bits/mman-linux.h>.
18314 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18315 is fine.
18316 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18317 <bits/mman-linux.h> to end of file.
18318 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18319 is fine.
18320 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18321 <bits/mman-linux.h> to end of file.
18322 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18323 is fine.
18324 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18325 <bits/mman-linux.h> to end of file.
18326
18327 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18328 (MCL_CURRENT, MCL_FUTURE): Define here.
18329
5f67c04f
AK
183302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18331
8a4473cc 18332 [BZ #15232]
5f67c04f
AK
18333 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18334 attribute_hidden.
18335 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18336
c3e94a95
AK
183372013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18338
18339 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18340 fourth parameter needed for rt_sigprocmask syscall.
18341 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18342 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18343 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18344 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18345 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18346 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18347
cfb6382a
JM
183482013-03-04 Joseph Myers <joseph@codesourcery.com>
18349
18350 [BZ #13550]
18351 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18352 comment about bounded pointers.
18353 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18354 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18355
539d8e01
AJ
183562013-03-04 Andreas Jaeger <aj@suse.de>
18357
18358 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18359 common definitions.
18360
18361 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18362 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18363 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18364 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18365 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18366 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18367
2e167a70 183682013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18369
18370 [BZ #15055]
18371 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18372 __ieee754_sqrl instead of __sqrl.
18373
68508633
JM
183742013-03-01 Joseph Myers <joseph@codesourcery.com>
18375
18376 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18377 * sysdeps/powerpc/fpu_control.h: ... here.
18378 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18379 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18380 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18381 * sysdeps/powerpc/bits/mathinline.h: ... here.
18382
7775448e
RM
183832013-03-01 Roland McGrath <roland@hack.frob.com>
18384
18385 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18386 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18387 to just [NEED_DL_SYSINFO_DSO].
18388 * elf/dl-support.c: Likewise.
18389 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18390 * elf/rtld.c (dl_main): Likewise.
18391 * elf/setup-vdso.h (setup_vdso): Likewise.
18392 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18393 * sysdeps/unix/sysv/linux/dl-sysdep.c
18394 (_dl_discover_osversion): Likewise.
18395
4e9b5995
CD
183962013-03-01 Carlos O'Donell <carlos@redhat.com>
18397
18398 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18399 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18400
e23872c8
SP
184012013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18402
e5c74c63
SP
18403 * NEWS: Mention libm performance improvements and non-x86 PI
18404 futex support.
18405
e23872c8
SP
18406 * csu/libc-start.c (__pthread_initialize_minimal): Change
18407 function arguments.
18408 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18409
b5510883
JM
184102013-02-28 Joseph Myers <joseph@codesourcery.com>
18411
18412 [BZ #13550]
18413 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18414 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18415 <bp-sym.h> and <bp-asm.h>.
18416 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18417 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18418 and <bp-asm.h>.
18419 (memcpy): Don't use BP_SYM.
18420 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18421 <bp-asm.h>.
18422 (__mpn_add_n): Don't use BP_SYM.
18423 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18424 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18425 and <bp-asm.h>.
18426 (__mpn_addmul_1): Don't use BP_SYM.
18427 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18428 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18429 <bp-sym.h>.
18430 (_setjmp): Don't use BP_SYM.
18431 (__novmx_setjmp): Likewise.
18432 (__GI__setjmp): Likewise.
18433 (__vmx_setjmp): Likewise.
18434 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18435 <bp-sym.h>.
18436 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18437 (__bzero): Don't use BP_SYM.
18438 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18439 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18440 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18441 <bp-sym.h> and <bp-asm.h>.
18442 (memcpy): Don't use BP_SYM.
18443 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18444 <bp-sym.h> and <bp-asm.h>.
18445 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18446 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18447 <bp-sym.h> and <bp-asm.h>.
18448 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18449 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18450 <bp-asm.h>.
18451 (__mpn_lshift): Don't use BP_SYM.
18452 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18453 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18454 <bp-asm.h>.
18455 (memset): Don't use BP_SYM.
18456 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18457 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18458 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18459 <bp-asm.h>.
18460 (__mpn_mul_1): Don't use BP_SYM.
18461 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18462 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18463 <bp-sym.h> and <bp-asm.h>.
18464 (memcmp): Don't use BP_SYM.
18465 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18466 <bp-sym.h> and <bp-asm.h>.
18467 (memcpy): Don't use BP_SYM.
18468 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18469 <bp-sym.h> and <bp-asm.h>.
18470 (memset): Don't use BP_SYM.
18471 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18472 <bp-sym.h> and <bp-asm.h>.
18473 (strncmp): Don't use BP_SYM.
18474 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18475 <bp-sym.h> and <bp-asm.h>.
18476 (memcpy): Don't use BP_SYM.
18477 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18478 <bp-sym.h> and <bp-asm.h>.
18479 (memset): Don't use BP_SYM.
18480 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18481 <bp-sym.h> and <bp-asm.h>.
18482 (__memchr): Don't use BP_SYM.
18483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18484 <bp-sym.h> and <bp-asm.h>.
18485 (memcmp): Don't use BP_SYM.
18486 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18487 <bp-sym.h> and <bp-asm.h>.
18488 (memcpy): Don't use BP_SYM.
18489 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18490 <bp-sym.h> and <bp-asm.h>.
18491 (__mempcpy): Don't use BP_SYM.
18492 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18493 <bp-sym.h> and <bp-asm.h>.
18494 (__memrchr): Don't use BP_SYM.
18495 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18496 <bp-sym.h> and <bp-asm.h>.
18497 (memset): Don't use BP_SYM.
18498 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18499 <bp-sym.h> and <bp-asm.h>.
18500 (__rawmemchr): Don't use BP_SYM.
18501 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18502 <bp-sym.h> and <bp-asm.h>.
18503 (__STRCMP): Don't use BP_SYM.
18504 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18505 <bp-sym.h> and <bp-asm.h>.
18506 (strchr): Don't use BP_SYM.
18507 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18508 <bp-sym.h> and <bp-asm.h>.
18509 (__strchrnul): Don't use BP_SYM.
18510 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18511 <bp-sym.h> and <bp-asm.h>.
18512 (strlen): Don't use BP_SYM.
18513 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18514 <bp-sym.h> and <bp-asm.h>.
18515 (strncmp): Don't use BP_SYM.
18516 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18517 <bp-sym.h> and <bp-asm.h>.
18518 (__strnlen): Don't use BP_SYM.
18519 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18520 <bp-asm.h>.
18521 (__mpn_rshift): Don't use BP_SYM.
18522 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18523 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18524 <bp-sym.h> and <bp-asm.h>.
18525 (__sigsetjmp): Don't use BP_SYM.
18526 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18527 (L(start_addresses)): Don't use BP_SYM.
18528 (_start): Likewise.
18529 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18530 <bp-asm.h>.
18531 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18532 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18533 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18534 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18535 <bp-asm.h>.
18536 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18537 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18538 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18539 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18540 <bp-asm.h>.
18541 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18542 comments.
18543 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18544 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18545 <bp-asm.h>.
18546 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18547 FIXME comments.
18548 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18549 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18550 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18551 <bp-asm.h>.
18552 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18553 comment.
18554 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18555 and <bp-asm.h>.
18556 (strncmp): Don't use BP_SYM,
18557 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18558 <bp-asm.h>.
18559 (__mpn_sub_n): Don't use BP_SYM.
18560 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18561 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18562 and <bp-asm.h>.
18563 (__mpn_submul_1): Don't use BP_SYM.
18564 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18566 <bp-sym.h> and <bp-asm.h>.
18567 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18569 <bp-sym.h> and <bp-asm.h>.
18570 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18571 comment.
18572
8d19fe64
SP
185732013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18574
18575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18576 Use ZK to minimize writes to Z.
18577 (sub_magnitudes): Simplify code a bit.
18578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18579 Use ZK to minimize writes to Z.
18580 (sub_magnitudes): Simplify code a bit.
18581
85bd816a
RM
185822013-02-27 Roland McGrath <roland@hack.frob.com>
18583
18584 * csu/gmon-start.c: Add special exception to license text.
18585
b5977bf2
RH
185862013-02-27 Richard Henderson <rth@redhat.com>
18587
18588 * scripts/config.guess: Update from config.git.
18589 * scripts/config.sub: Likewise.
18590
11d6e2f2
SP
185912013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18592
09c14ed2
SP
18593 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18594
a688864e
SP
18595 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18596
6295157a
SP
18597 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18598
b8de2202
SP
18599 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18600
11d6e2f2
SP
18601 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18602
7e80ddb8
RM
186032013-02-26 Roland McGrath <roland@hack.frob.com>
18604
18605 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18606 [$(build-shared = yes].
7e80ddb8 18607
7da6d9ed
SP
186082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18609
45f05884
SP
18610 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18611 (__mul): Reduce iterations for calculating mantissa.
18612
2236d359
SP
18613 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18614 MPTWO.
18615 (__mpranred): Likewise.
18616
7da6d9ed
SP
18617 [BZ #15160]
18618 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18619 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18620
b7688c42
PE
186212013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18622
18623 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18624 Define __attribute__.
18625
53a5c423
SP
186262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18627
18628 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18629 unused.
18630 * posix/regex_internal.h (__attribute): Remove.
18631 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18632 (re_string_context_at): Likewise.
18633 (bitset_not): Use __attribute__ and mark function as possibly
18634 unused.
18635 (bitset_merge): Likewise.
18636 (bitset_mask): Likewise.
18637 (re_string_char_size_at): Likewise.
18638 (re_string_wchar_at): Likewise.
18639 (re_string_elem_size_at): Likewise.
18640
60f5a8b5
SP
186412013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18642
2a983a2e
SP
18643 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18644 code.
18645 (cc32): Likewise.
18646
e69804d1
SP
18647 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18648 (__acr): Likewise.
18649 (__cpy): Likewise.
18650 (norm): Likewise.
18651 (denorm): Likewise.
18652 (__dbl_mp): Likewise.
18653 (add_magnitudes): Likewise.
18654 (sub_magnitudes): Likewise.
18655 (__mul): Likewise.
18656 (__inv): Likewise.
18657
2f22a1e8
SP
18658 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18659 style.
18660
8930ddc7
SP
18661 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18662 style.
18663
dc60cb11
SP
18664 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18665 code.
18666
60f5a8b5
SP
18667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18668 up changes with default code.
18669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18670 Likewise.
18671
b4d1fd33
AM
186722013-02-24 Allan McRae <allan@archlinux.org>
18673
faf6f8bc
AM
18674 * manual/socket.texi (The Internet Namespace): Order menu items
18675 to match that in the file.
18676
b4d1fd33
AM
18677 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18678 node listing of the info page menu.
18679
2366713d
JM
186802013-02-21 Joseph Myers <joseph@codesourcery.com>
18681
18682 [BZ #13550]
18683 * sysdeps/i386/bp-asm.h: Remove file.
18684 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18685 (PARMS): Do not use macros from bp-asm.h.
18686 (S1): Likewise.
18687 (S2): Likewise.
18688 (SIZE): Likewise.
18689 (__mpn_add_n): Do not use BP_SYM
18690 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18691 "bp-asm.h".
18692 (PARMS): Do not use macros from bp-asm.h.
18693 (S1): Likewise.
18694 (SIZE): Likewise.
18695 (__mpn_addmul_1): Do not use BP_SYM
18696 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18697 "bp-asm.h".
18698 (PARMS): Do not use macros from bp-asm.h.
18699 (SIGMSK): Likewise.
18700 (_setjmp): Likewise. Do not use BP_SYM.
18701 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18702 "bp-asm.h".
18703 (PARMS): Do not use macros from bp-asm.h.
18704 (SIGMSK): Likewise.
18705 (setjmp): Likewise. Do not use BP_SYM.
18706 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18707 "bp-asm.h".
18708 (PARMS): Do not use macros from bp-asm.h.
18709 (__frexp): Do not use BP_SYM.
18710 (frexp): Likewise.
18711 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18712 "bp-asm.h".
18713 (PARMS): Do not use macros from bp-asm.h.
18714 (__frexpf): Do not use BP_SYM.
18715 (frexpf): Likewise.
18716 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18717 "bp-asm.h".
18718 (PARMS): Do not use macros from bp-asm.h.
18719 (__frexpl): Do not use BP_SYM.
18720 (frexpl): Likewise.
18721 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18722 "bp-asm.h".
18723 (PARMS): Do not use macros from bp-asm.h.
18724 (__remquo): Do not use BP_SYM.
18725 (remquo): Likewise.
18726 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18727 "bp-asm.h".
18728 (PARMS): Do not use macros from bp-asm.h.
18729 (__remquof): Do not use BP_SYM.
18730 (remquof): Likewise.
18731 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18732 "bp-asm.h".
18733 (PARMS): Do not use macros from bp-asm.h.
18734 (__remquol): Do not use BP_SYM.
18735 (remquol): Likewise.
18736 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18737 "bp-asm.h".
18738 (PARMS): Do not use macros from bp-asm.h.
18739 (DEST): Likewise.
18740 (SRC): Likewise.
18741 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18742 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18743 "bp-asm.h".
18744 (PARMS): Do not use macros from bp-asm.h.
18745 (strlen): Do not use BP_SYM.
18746 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18747 "bp-asm.h".
18748 (PARMS): Do not use macros from bp-asm.h.
18749 (S1): Likewise.
18750 (S2): Likewise.
18751 (SIZE): Likewise.
18752 (__mpn_add_n): Do not use BP_SYM.
18753 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18754 "bp-asm.h".
18755 (PARMS): Do not use macros from bp-asm.h.
18756 (S1): Likewise.
18757 (SIZE): Likewise.
18758 (__mpn_addmul_1): Do not use BP_SYM.
18759 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18760 weak_alias.
18761 (bzero): Likewise.
18762 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18763 "bp-asm.h".
18764 (PARMS): Do not use macros from bp-asm.h.
18765 (S): Likewise.
18766 (SIZE): Likewise.
18767 (__mpn_lshift): Do not use BP_SYM.
18768 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18769 "bp-asm.h".
18770 (PARMS): Do not use macros from bp-asm.h.
18771 (DEST): Likewise.
18772 (SRC): Likewise.
18773 (LEN): Likewise.
18774 (memcpy): Likewise. Do not use BP_SYM.
18775 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18776 libc_hidden_def and weak_alias.
18777 (mempcpy): Do not use BP_SYM in weak_alias.
18778 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18779 "bp-asm.h".
18780 (PARMS): Do not use macros from bp-asm.h.
18781 (DEST): Likewise.
18782 (LEN): Likewise.
18783 [!BZERO_P] (CHR): Likewise.
18784 (memset): Likewise. Do not use BP_SYM.
18785 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18786 "bp-asm.h".
18787 (PARMS): Do not use macros from bp-asm.h.
18788 (S1): Likewise.
18789 (SIZE): Likewise.
18790 (__mpn_mul_1): Do not use BP_SYM.
18791 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18792 "bp-asm.h".
18793 (PARMS): Do not use macros from bp-asm.h.
18794 (S): Likewise.
18795 (SIZE): Likewise.
18796 (__mpn_rshift): Do not use BP_SYM.
18797 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18798 "bp-asm.h".
18799 (PARMS): Do not use macros from bp-asm.h.
18800 (STR): Likewise.
18801 (CHR): Likewise.
18802 (strchr): Likewise. Do not use BP_SYM.
18803 (index): Do not use BP_SYM in weak_alias.
18804 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18805 "bp-asm.h".
18806 (PARMS): Do not use macros from bp-asm.h.
18807 (DEST): Likewise.
18808 (SRC): Likewise.
18809 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18810 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18811 "bp-asm.h".
18812 (PARMS): Do not use macros from bp-asm.h.
18813 (strlen): Do not use BP_SYM.
18814 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18815 "bp-asm.h".
18816 (PARMS): Do not use macros from bp-asm.h.
18817 (S1): Likewise.
18818 (S2): Likewise.
18819 (SIZE): Likewise.
18820 (__mpn_sub_n): Do not use BP_SYM.
18821 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18822 "bp-asm.h".
18823 (PARMS): Do not use macros from bp-asm.h.
18824 (S1): Likewise.
18825 (SIZE): Likewise.
18826 (__mpn_submul_1): Do not use BP_SYM.
18827 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18828 "bp-asm.h".
18829 (PARMS): Do not use macros from bp-asm.h.
18830 (S1): Likewise.
18831 (S2): Likewise.
18832 (SIZE): Likewise.
18833 (__mpn_add_n): Do not use BP_SYM.
18834 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18835 weak_alias.
18836 (bzero): Likewise.
18837 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18838 "bp-asm.h".
18839 (PARMS): Do not use macros from bp-asm.h.
18840 (BLK2): Likewise.
18841 (LEN): Likewise.
18842 (memcmp): Do not use BP_SYM.
18843 (bcmp): Do not use BP_SYM in weak_alias.
18844 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18845 "bp-asm.h".
18846 (PARMS): Do not use macros from bp-asm.h.
18847 (DEST): Likewise.
18848 (SRC): Likewise.
18849 (LEN): Likewise.
18850 (memcpy): Likewise. Do not use BP_SYM.
18851 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18852 "bp-asm.h".
18853 (PARMS): Do not use macros from bp-asm.h.
18854 (DEST): Likewise.
18855 (SRC): Likewise.
18856 (LEN): Likewise.
18857 (memmove): Likewise. Do not use BP_SYM.
18858 * sysdeps/i386/i686/mempcpy.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 (SRC): Likewise.
18863 (LEN): Likewise.
18864 (__mempcpy): Likewise. Do not use BP_SYM.
18865 (mempcpy): Do not use BP_SYM in weak_alias.
18866 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18867 "bp-asm.h".
18868 (PARMS): Do not use macros from bp-asm.h.
18869 (DEST): Likewise.
18870 (LEN): Likewise.
18871 [!BZERO_P] (CHR): Likewise.
18872 (memset): Likewise. Do not use BP_SYM.
18873 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18874 "bp-asm.h".
18875 (PARMS): Do not use macros from bp-asm.h.
18876 (STR2): Likewise.
18877 (strcmp): Do not use BP_SYM.
18878 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18879 "bp-asm.h".
18880 (PARMS): Do not use macros from bp-asm.h.
18881 (STR): Likewise.
18882 (DELIM): Likewise.
18883 [USE_AS_STRTOK_R] (SAVE): Likewise.
18884 (FUNCTION): Likewise. Do not use BP_SYM.
18885 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18886 aliases.
18887 (strtok_r): Likewise.
18888 (__GI___strtok_r): Likewise.
18889 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18890 (PARMS): Do not use macros from bp-asm.h.
18891 (S): Likewise.
18892 (SIZE): Likewise.
18893 (__mpn_lshift): Do not use BP_SYM.
18894 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18895 (PARMS): Do not use macros from bp-asm.h.
18896 (STR): Likewise.
18897 (CHR): Likewise.
18898 (__memchr): Do not use BP_SYM.
18899 (memchr): Do not use BP_SYM in weak_alias.
18900 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18901 (PARMS): Do not use macros from bp-asm.h.
18902 (BLK2): Likewise.
18903 (LEN): Likewise.
18904 (memcmp): Do not use BP_SYM.
18905 (bcmp): Do not use BP_SYM in weak_alias.
18906 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18907 (PARMS): Do not use macros from bp-asm.h.
18908 (S1): Likewise.
18909 (SIZE): Likewise.
18910 (__mpn_mul_1): Do not use BP_SYM.
18911 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18912 "bp-asm.h".
18913 (PARMS): Do not use macros from bp-asm.h.
18914 (STR): Likewise.
18915 (CHR): Likewise.
18916 (__rawmemchr): Do not use BP_SYM.
18917 (rawmemchr): Do not use BP_SYM in weak_alias.
18918 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18919 (PARMS): Do not use macros from bp-asm.h.
18920 (S): Likewise.
18921 (SIZE): Likewise.
18922 (__mpn_rshift): Do not use BP_SYM.
18923 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18924 (PARMS): Do not use macros from bp-asm.h.
18925 (SIGMSK): Likewise.
18926 (__sigsetjmp): Likewise. Do not use BP_SYM.
18927 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18928 (_start): Do not use BP_SYM.
18929 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18930 (PARMS): Do not use macros from bp-asm.h.
18931 (DEST): Likewise.
18932 (SRC): Likewise.
18933 (__stpcpy): Likewise. Do not use BP_SYM.
18934 (stpcpy): Do not use BP_SYM in weak_alias.
18935 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18936 "bp-asm.h".
18937 (PARMS): Do not use macros from bp-asm.h.
18938 (DEST): Likewise.
18939 (SRC): Likewise.
18940 (LEN): Likewise.
18941 (__stpncpy): Likewise. Do not use BP_SYM.
18942 (stpncpy): Do not use BP_SYM in weak_alias.
18943 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18944 (PARMS): Do not use macros from bp-asm.h.
18945 (STR): Likewise.
18946 (CHR): Likewise.
18947 (strchr): Likewise. Do not use BP_SYM.
18948 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18949 "bp-asm.h".
18950 (PARMS): Do not use macros from bp-asm.h.
18951 (STR): Likewise.
18952 (CHR): Likewise.
18953 (__strchrnul): Likewise. Do not use BP_SYM.
18954 (strchrnul): Do not use BP_SYM in weak_alias.
18955 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18956 "bp-asm.h".
18957 (PARMS): Do not use macros from bp-asm.h.
18958 (STOP): Likewise.
18959 (strcspn): Do not use BP_SYM.
18960 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18961 "bp-asm.h".
18962 (PARMS): Do not use macros from bp-asm.h.
18963 (STR): Likewise.
18964 (STOP): Likewise.
18965 (strpbrk): Likewise. Do not use BP_SYM.
18966 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18967 "bp-asm.h".
18968 (PARMS): Do not use macros from bp-asm.h.
18969 (STR): Likewise.
18970 (CHR): Likewise.
18971 (strrchr): Likewise. Do not use BP_SYM.
18972 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18973 (PARMS): Do not use macros from bp-asm.h.
18974 (SKIP): Likewise.
18975 (strspn): Do not use BP_SYM.
18976 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18977 (PARMS): Do not use macros from bp-asm.h.
18978 (STR): Likewise.
18979 (DELIM): Likewise.
18980 (SAVE): Likewise.
18981 (FUNCTION): Likewise. Do not use BP_SYM.
18982 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18983 aliases.
18984 (strtok_r): Likewise.
18985 (__GI___strtok_r): Likewise.
18986 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18987 (PARMS): Do not use macros from bp-asm.h.
18988 (S1): Likewise.
18989 (S2): Likewise.
18990 (SIZE): Likewise.
18991 (__mpn_sub_n): Do not use BP_SYM.
18992 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18993 "bp-asm.h".
18994 (PARMS): Do not use macros from bp-asm.h.
18995 (S1): Likewise.
18996 (SIZE): Likewise.
18997 (__mpn_submul_1): Do not use BP_SYM.
18998 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18999 <bp-sym.h>.
19000 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19001 and <bp-asm.h>.
19002 (PARMS): Do not use macros from bp-asm.h.
19003 (FLAGS): Likewise.
19004 (PTID): Likewise.
19005 (TLS): Likewise.
19006 (CTID): Likewise.
19007 (__clone): Do not use BP_SYM.
19008 (clone): Do not use BP_SYM in weak_alias.
19009 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19010 and <bp-asm.h>.
19011 (PARMS): Do not use macros from bp-asm.h.
19012 (LEN): Likewise.
19013 (__mmap64): Do not use BP_SYM.
19014 (mmap64): Do not use BP_SYM in weak_alias.
19015 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19016 <bp-sym.h> and <bp-asm.h>.
19017 (PARMS): Do not use macros from bp-asm.h.
19018 (__posix_fadvise64_l64): Do not use BP_SYM.
19019 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19020 (PARMS): Do not use macros from bp-asm.h.
19021 (NSOPS): Likewise.
19022 (semtimedop): Do not use BP_SYM.
19023 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19024 and <bp-asm.h>.
19025
582a3cff
AM
190262013-02-21 Allan McRae <allan@archlinux.org>
19027
19028 * manual/message.texi (Charset conversion in gettext):
19029 Move @end statement to beginning of line.
19030
bab8a695
SP
190312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19032
80945231
SP
19033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19034 static.
19035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19036 Likewise.
19037
bab8a695
SP
19038 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19039 (denorm): Likewise.
19040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19042
e21d7aa7
AK
190432013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19044
19045 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19046 tail-call to the resolved function if pltexit isn't needed.
19047
4c7a4263
SP
190482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19049
19050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19051 or Y being zero as being unlikely.
19052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19053 Likewise.
19054
41f49342
CD
190552013-02-20 Carlos O'Donell <carlos@redhat.com>
19056
19057 * manual/nss.texi (System Databases and Name Service Switch):
19058 Remove frobnicate @pxref.
19059
50022a93
TS
190602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19061
19062 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19063 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19064
08cbd996
PM
190652013-02-20 Petr Machata <pmachata@redhat.com>
19066
19067 * elf/elf.h (R_ARM_TARGET1): New macro.
19068 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19069 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19070 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19071 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19072 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19073 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19074 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19075 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19076 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19077 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19078 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19079 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19080 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19081 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19082 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19083 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19084 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19085 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19086 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19087 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19088 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19089 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19090 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19091 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19092 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19093 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19094 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19095 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19096 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19097 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19098 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19099 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19100 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19101 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19102 (R_ARM_THM_GOT_BREL12): Likewise.
19103 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19104 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19105 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19106 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19107 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19108 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19109 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19110 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19111 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19112
c7b275d6
TS
191132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19114
19115 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19116 __attribute_used__ to __attribute__ ((unused)).
19117
20cd7fb3
SP
191182013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19119
19120 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19121 powerpc mpa.c.
19122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19123 comment formatting.
19124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19125
92945b52
JM
191262013-02-19 Joseph Myers <joseph@codesourcery.com>
19127
19128 [BZ #13550]
19129 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19130 Remove macro.
19131 (ENTER): Remove both macro definitions.
19132 (LEAVE): Likewise.
19133 (CHECK_BOUNDS_LOW): Likewise.
19134 (CHECK_BOUNDS_HIGH): Likewise.
19135 (CHECK_BOUNDS_BOTH): Likewise.
19136 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19137 (RETURN_BOUNDED_POINTER): Likewise.
19138 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19139 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19140 (POP_ERRNO_LOCATION_RETURN): Likewise.
19141 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19142 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19143 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19144 macros.
19145 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19146 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19147 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19148 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19149 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19150 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19151 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19152 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19153 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19154 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19155 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19156 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19157 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19158 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19159 removed macros.
19160 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19161 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19162 macros.
19163 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19164 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19165 * sysdeps/i386/i586/memset.S (memset): Likewise.
19166 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19167 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19168 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19169 macros.
19170 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19171 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19172 Change uses of L(2) to L(out).
19173 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19174 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19175 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19176 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19177 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19178 removed macros.
19179 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19180 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19181 macros.
19182 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19183 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19184 (RETURN): Do not use macro LEAVE.
19185 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19186 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19187 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19188 * sysdeps/i386/i686/memset.S (memset): Likewise.
19189 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19190 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19191 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19192 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19193 Likewise.
19194 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19195 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19196 L(1_2) and L(1_3) into L(1).
19197 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19198 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19199 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19200 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19201 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19202 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19203 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19204 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19205 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19206 macros.
19207 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19208 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19209 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19210 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19211 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19212 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19213 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19214 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19215 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19216 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19217 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19218 * sysdeps/i386/strspn.S (strspn): Likewise.
19219 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19220 conditional code.
19221 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19222 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19223 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19224 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19225 L(1_3) into L(1_1).
19226 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19227 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19228 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19229 macros.
19230 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19231
2389741a
JJ
192322013-02-19 Jakub Jelinek <jakub@redhat.com>
19233
19234 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19235 macro.
19236
2016b3cd
SP
192372013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19238
e4f22324
SP
19239 * math/atest-exp.c (exp_mpn): Remove ROUND.
19240 * math/atest-exp2.c (exp_mpn): Likewise.
19241 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19242
2016b3cd
SP
19243 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19244 * stdlib/tst-tls-atexit-lib.c: Likewise.
19245 * stdlib/tst-tls-atexit.c: Likewise.
19246
4be9b544
MF
192472013-02-18 Mike Frysinger <vapier@gentoo.org>
19248
19249 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19250 and __attribute_alloc_size__.
19251
2f62b9ee
MF
192522013-02-18 Mike Frysinger <vapier@gentoo.org>
19253
19254 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19255 __attribute_alloc_size__.
19256 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19257 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19258
6ff444c4
MF
192592013-02-18 Mike Frysinger <vapier@gentoo.org>
19260
19261 * include/programs/xmalloc.h: New file.
19262 * catgets/gencat.c: Include it.
19263 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19264 * elf/pldd.c: Likewise.
19265 * iconv/iconv_charmap.c: Likewise.
19266 * iconv/iconvconfig.c: Likewise.
19267 * iconv/strtab.c: Likewise.
19268 * locale/programs/locale.c: Likewise.
19269 * locale/programs/localedef.h: Likewise.
19270 * locale/programs/simple-hash.c: Likewise.
19271 * nscd/nscd.h: Likewise.
19272 * nss/makedb.c: Likewise.
19273 * sysdeps/generic/ldconfig.h: Likewise.
19274
be179c8a
SP
192752013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19276
ba384f6e
SP
19277 * Versions.def: Add GLIBC_2.18.
19278 * include/link.h (struct link_map): New member l_tls_dtor_count.
19279 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19280 (__call_tls_dtors): Likewise.
19281 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19282 __cxa_thread_atexit_impl.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19284 Likewise.
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19286 Likewise.
19287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19288 Likewise.
19289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19290 Likewise.
19291 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19293 Likewise.
19294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19295 Likewise.
19296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19298 Likewise.
19299 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19300 (tests): Add test case tst-tls-atexit.
19301 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19302 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19303 (GLIBC_PRIVATE): Add __call_tls_dtors.
19304 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19305 for libstdc++.
19306 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19307 * stdlib/tst-tls-atexit.c: New test case.
19308 * stdlib/tst-tls-atexit-lib.c: New test case.
19309
ffaa74cf 19310 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19311
be179c8a
SP
19312 * elf/Versions (ld): Add _dl_find_dso_for_object.
19313 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19314 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19315 (dl_open_worker): Use _dl_find_dso_for_object.
19316 * elf/dl-sym.c (do_sym): Likewise.
19317 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19318
f78b5caa
AK
193192013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19320
19321 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19322 Syntactic changes only.
19323 (_dl_runtime_profile): Do a tail-call to the resolved function.
19324
29691210
JM
193252013-02-17 Joseph Myers <joseph@codesourcery.com>
19326
19327 [BZ #13550]
19328 * sysdeps/x86_64/bp-asm.h: Remove file.
19329 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19330 <bp-sym.h> and <bp-asm.h>.
19331 (__clone): Do not use BP_SYM.
19332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19333 <bp-sym.h> and <bp-asm.h>.
19334 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19335 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19336 "bp-asm.h".
19337 (_setjmp): Do not use BP_SYM.
19338 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19339 "bp-asm.h".
19340 (setjmp): Do not use BP_SYM.
19341 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19342 libc_hidden_def.
19343 (mempcpy): Do not use BP_SYM in weak_alias.
19344 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19345 "bp-asm.h".
19346 (strchr): Do not use BP_SYM.
19347 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19348 "bp-asm.h".
19349 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19350 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19351 (_start): Do not use BP_SYM.
19352 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19353 "bp-asm.h".
19354 (strcat): Do not use BP_SYM.
19355 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19356 "bp-asm.h".
19357 (STRCMP): Do not use BP_SYM.
19358 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19359 "bp-asm.h".
19360 (STRCPY): Do not use BP_SYM.
19361 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19362 "bp-asm.h".
19363 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19364 "bp-asm.h".
19365 (FUNCTION): Do not use BP_SYM.
19366 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19367 weak_alias.
19368 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19369
f238fd19
AJ
193702013-02-17 Andreas Jaeger <aj@suse.de>
19371
19372 * time/Versions: Sort entries.
19373 * string/Versions: Likewise.
19374 * resolv/Versions: Likewise.
19375 * posix/Versions: Likewise.
19376 * iconv/Versions: Likewise.
19377 * elf/Versions: Likewise.
19378 * wcsmbs/Versions: Likewise.
19379
bd07f23c 193802013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19381
22af19f9
SP
19382 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19383 loop termination condition.
19384
4709fe76
SP
19385 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19386 variable to calculate EZ.
19387 (__sqr): Likewise.
2d0e0f29
SP
19388
19389 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19390 the lower precision input.
19391
daaa7713
JM
193922013-02-15 Joseph Myers <joseph@codesourcery.com>
19393
19394 [BZ #13550]
19395 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19396 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19397 (run-via-rtld-prefix): Do not handle %-bp tests.
19398 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19399 (all-object-suffixes): Remove .ob.
19400 (bppfx): Remove variable.
19401 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19402 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19403 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19404 [$(build-bounded) = yes] (libtype.ob): Likewise.
19405 * Makerules (elide-routines.ob): Remove variable.
19406 (do-tests-clean): Do not handle *-bp.out.
19407 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19408 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19409 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19410 (tests): Do not include $(tests-bp.out).
19411 (xtests): Do not include $(xtests-bp.out).
19412 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19413 [$(build-bounded) = yes] ($(addprefix
19414 $(objpfx),$(binaries-bounded))): Remove rule.
19415 ($(objpfx)%-bp.out): Remove rule.
19416 * config.make.in (build-bounded): Remove variable.
19417 * crypt/Makefile [$(build-bounded) = yes]
19418 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19419 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19420 append to variable.
19421 [$(build-bounded) = yes] (install-lib): Likewise.
19422 [$(build-bounded) = yes] (generated): Likewise.
19423 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19424 Remove rule.
19425 * intl/Makefile [$(build-bounded) = yes]
19426 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19427 * math/Makefile [$(build-bounded) = yes]
19428 ($(tests:%=$(objpfx)%-bp): Likewise.
19429 * misc/Makefile [$(build-bounded) = yes]
19430 ($(objpfx)tst-tsearch-bp): Likewise.
19431 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19432 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19433 Remove dependency.
19434 * string/Makefile (o-objects.ob): Remove variable.
19435 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19436 (CFLAGS-.ob): Remove variable.
19437 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19438 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19439 both definitions of variable.
19440 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19441 (ASFLAGS-.ob): Remove variable.
19442
e97ed6dd
JM
194432013-02-14 Joseph Myers <joseph@codesourcery.com>
19444
2bdd4ca6
JM
19445 [BZ #13550]
19446 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19447 Remove __BOUNDED_POINTERS__ from condition.
19448 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19449 * string/bits/string2.h [!__NO_STRING_INLINES &&
19450 !__BOUNDED_POINTERS__]: Likewise.
19451 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19452 Likewise.
19453 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19454 Remove conditional code.
19455 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19456 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19457 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19458 condition.
19459
e97ed6dd
JM
19460 [BZ #13550]
19461 * csu/libc-start.c: Do not include <bp-sym.h>.
19462 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19463 * elf/dl-open.c: Do not include <bp-sym.h>.
19464 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19465 * math/fegetenv.c: Do not include <bp-sym.h>.
19466 (fegetenv): Do not use BP_SYM in versioned symbols.
19467 * nptl/sysdeps/pthread/bits/libc-lockP.h
19468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19469 <bp-sym.h>.
19470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19471 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19473 (__pthread_mutex_destroy): Likewise.
19474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19475 (__pthread_mutex_lock): Likewise.
19476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19477 (__pthread_mutex_trylock): Likewise.
19478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19479 (__pthread_mutex_unlock): Likewise.
19480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19481 (__pthread_mutexattr_init): Likewise.
19482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19483 (__pthread_mutexattr_destroy): Likewise.
19484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19485 (__pthread_mutexattr_settype): Likewise.
19486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19487 (__pthread_rwlock_init): Likewise.
19488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19489 (__pthread_rwlock_destroy): Likewise.
19490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19491 (__pthread_rwlock_rdlock): Likewise.
19492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19493 (__pthread_rwlock_tryrdlock): Likewise.
19494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19495 (__pthread_rwlock_wrlock): Likewise.
19496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19497 (__pthread_rwlock_trywrlock): Likewise.
19498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19499 (__pthread_rwlock_unlock): Likewise.
19500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19501 (__pthread_key_create): Likewise.
19502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19503 (__pthread_setspecific): Likewise.
19504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19505 (__pthread_getspecific): Likewise.
19506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19507 Likewise.
19508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19509 (_pthread_cleanup_push_defer): Likewise.
19510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19511 (_pthread_cleanup_pop_restore): Likewise.
19512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19513 (pthread_setcancelstate): Likewise.
19514 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19515 <bp-sym.h>.
19516 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19517 (memchr): Do not use BP_SYM in weak_alias.
19518 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19519 (fegetenv): Do not use BP_SYM in versioned symbols.
19520 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19521 (fesetenv): Do not use BP_SYM in versioned symbols.
19522 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19523 (feupdateenv): Do not use BP_SYM in versioned symbols.
19524 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19525 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19526 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19527 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19528 (open64): Do not use BP_SYM in weak_alias.
19529 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19530 (fegetenv): Do not use BP_SYM in versioned symbols.
19531 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19532 (fesetenv): Do not use BP_SYM in versioned symbols.
19533 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19534 (feupdateenv): Do not use BP_SYM in versioned symbols.
19535 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19536 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19537 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19538 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19539 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19540 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19541 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19542 <bp-sym.h>.
19543 (__libc_start_main): Do not use BP_SYM.
19544
d6752ccd
SP
195452013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19546
cb57ce60
SP
19547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19548 redundant return line.
19549 (norm): Likewise.
19550 (denorm): Likewise.
19551 (dbl_mp): Likewise.
19552 (sub_magnitudes): Likewise.
19553 (__add): Likewise.
19554 (__sub): Likewise.
19555 (__mul): Likewise.
19556 (__inv): Likewise.
19557 (__dvd): Likewise.
19558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19559 (norm): Likewise.
19560 (denorm): Likewise.
19561 (dbl_mp): Likewise.
19562 (sub_magnitudes): Likewise.
19563 (__add): Likewise.
19564 (__sub): Likewise.
19565 (__mul): Likewise.
19566 (__inv): Likewise.
19567 (__dvd): Likewise.
19568
f414520d
SP
19569 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19570 instead of __mul.
19571 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19572 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19573 (cc32): Likewise.
19574
d6752ccd
SP
19575 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19576 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19578 of __mul for squares.
19579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19580 function
19581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19582 Likewise.
19583 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19584 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19585
70d9946a
JM
195862013-02-13 Joseph Myers <joseph@codesourcery.com>
19587
19588 [BZ #13550]
19589 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19590 code.
19591 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19592 prototype or function definition. Rename ubp_* variables and
19593 parameters. Remove argv definitions conditional on
19594 [__BOUNDED_POINTERS__].
19595 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19596 * elf/dl-runtime.c (_dl_fixup): Likewise.
19597 * include/set-hooks.h (RUN_HOOK): Likewise.
19598 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19599 definition.
19600 * string/strcpy.c (strcpy): Do not use __unbounded.
19601 * sysdeps/generic/frame.h (struct layout): Likewise.
19602 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19603 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19604 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19605 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19606 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19607 (__backtrace): Likewise.
19608 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19609 use __ptrvalue.
19610 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19611 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19612 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19613 Likewise.
19614 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19615 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19616 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19617 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19618 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19619 Do not use __unbounded.
19620 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19621 Rename __unboundedrlimits parameter to rlimits in prototype.
19622 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19623 Do not use __unbounded.
19624 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19625 not use __ptrvalue.
19626 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19627 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19628 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19629 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19630 __ptrvalue or __unbounded.
19631 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19632 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19633 use __unbounded.
19634 (__new_msgctl): Do not use __ptrvalue.
19635 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19636 __unbounded.
19637 (__libc_msgrcv): Do not use __ptrvalue.
19638 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19639 startup_info): Do not use __unbounded.
19640 (__libc_start_main): Likewise. Rename ubp_* variables and
19641 parameters. Remove argv definitions conditional on
19642 [__BOUNDED_POINTERS__].
19643 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19644 __ptrvalue.
19645 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19646 use __unbounded.
19647 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19648 or __ptrvalue.
19649 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19650 use __unbounded.
19651 (__new_shmctl): Do not use __ptrvalue.
19652 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19653 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19654 Likewise.
19655 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19656 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19657 (__libc_sigaction): Likewise.
19658 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19659 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19660 Likewise.
19661 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19662
cc7834d6
OB
196632013-02-13 Ondřej Bílka <neleai@seznam.cz>
19664
ffb1ec7b 19665 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19666
19667 * string/mempcpy.c: Implement by calling memcpy.
19668
bdf02814
SP
196692013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19670
c2af38aa
SP
19671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19672
4e92d59e
SP
19673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19674 evaluation.
19675
909279a5
SP
19676 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19677 values in the mantissa.
19678
bdf02814
SP
19679 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19680 minimize writes to Z.
19681 (sub_magnitudes): Simplify code a bit.
19682
cd525923
RM
196832013-02-12 Roland McGrath <roland@hack.frob.com>
19684
19685 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19686 from the message. The linker prefixes all warnings with that already.
19687
7e2f0d2d
AS
196882013-02-12 Andreas Schwab <schwab@suse.de>
19689
a445af0b
AS
19690 [BZ #15078]
19691 * posix/regexec.c (extend_buffers): Add parameter min_len.
19692 (check_matching): Pass minimum needed length.
19693 (clean_state_log_if_needed): Likewise.
19694 (get_subexp): Likewise.
19695 * posix/Makefile (tests): Add bug-regex34.
19696 (bug-regex34-ENV): Define.
19697 * posix/bug-regex34.c: New file.
19698
7e2f0d2d
AS
19699 [BZ #11561]
19700 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19701 elements compare against the byte sequence of it, not its name.
19702 * posix/Makefile (tests): Add bug-regex35.
19703 (bug-regex35-ENV): Define.
19704 * posix/bug-regex35.c: New file.
19705
a175b684
TV
197062013-02-11 Tom de Vries <tom@codesourcery.com>
19707
19708 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19709 comment.
19710 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19711 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19712 (CHECK_EOL): Add undef.
19713
310998fe 197142013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19715
19716 * bits/stdlib-bsearch.h: New file.
19717 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19718 * stdlib/stdlib.h: Likewise.
41eda41d 19719
8ded91fb
RM
197202013-02-11 Roland McGrath <roland@hack.frob.com>
19721
19722 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19723 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19724 declaration.
19725 * manual/search.texi (Array Search Function): Add missing const in
19726 lfind prototype.
19727 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19728 declaration to use rlim_t.
19729 (Basic Scheduling Functions): Remove erroneous const from
19730 sched_getparam prototype. Remove erroneous * from
19731 sched_get_priority_max and sched_get_priority_min prototypes.
19732 (Resource Usage): Fix summary @comment on vtimes to refer to
19733 sys/vtimes.h rather than vtimes.h.
19734 Add missing *s in vtimes prototype.
19735 (Limits on Resources): Fix ulimit prototype to return long int.
19736 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19737 prototypes to use long int rather than double.
19738 (BSD Random): Fix initstate and setstate to use char *, not void *.
19739 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19740 prototype to make second argument 'struct aiocb64 *const[]'.
19741 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19742 (Status of AIO Operations): Remove erroneous const in aio_return and
19743 aio_return64 prototypes.
19744 (Synchronizing I/O): Fix sync prototype to return void.
19745 * manual/startup.texi (Suboptions): Remove an erroneous const in
19746 getsubopt prototype.
19747 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19748 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19749 use size_t rather than int.
19750 (Scanning All Users): Likewise for getpwent_r.
19751 (Setting Groups): Add missing const to setgroups prototype.
19752 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19753 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19754 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19755 'const void *' rather than 'const char *'.
19756 (Host Address Functions): Likewise for inet_ntop.
19757 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19758 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19759 ssize_t for return value.
19760 (Sending Data): Likewise for send, sendto, sendmsg.
19761 (Socket Option Functions): Add a missing const in setsockopt prototype.
19762 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19763 use wchar_t for the argument.
19764 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19765 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19766 take no arguments.
19767 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19768 double/float/long double for second argument.
19769 Fix return types of significand, significandf, significandl.
19770 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19771 argument in fchmod prototype.
19772 (File Owner): Use uid_t and gid_t in fchown prototype.
19773 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19774 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19775 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19776 use 'const struct dirent **' as argument types to CMP function pointer
19777 argument.
19778 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19779 (File Times): Fix summary magic @comment for struct utimbuf and utime
19780 to refer to utime.h, not time.h.
19781 * manual/string.texi (Argz Functions): Add missing const in
19782 argz_extract and argz_next prototypes.
19783 (Finding Tokens in a String): Likewise for basename.
19784 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19785 (Copying and Concatenation): Fix typo in wmemmove prototype.
19786 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19787 (Signal Stack): Remove erroneous const in sigstack prototype.
19788 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19789 prototype.
19790 (Simple Calendar Time): Likewise for stime.
19791 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19792 prototype.
19793 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19794 say sys/sysctl.h instead.
19795 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19796 and vsyslog prototypes.
19797
fe77fe6d
TV
197982013-02-11 Tom de Vries <tom@codesourcery.com>
19799
19800 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19801 Remove.
19802
3a09b620
RM
198032013-02-11 Roland McGrath <roland@hack.frob.com>
19804
19805 * misc/sys/mman.h: Fix typo in mremap comment.
19806
550a0b89
RM
198072013-02-08 Roland McGrath <roland@hack.frob.com>
19808
19809 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19810 the '\0' terminator.
19811
a2da1673
JM
198122013-02-08 Joseph Myers <joseph@codesourcery.com>
19813
19814 [BZ #13550]
19815 * debug/segfault.c: Don't include <bp-checks.h>.
19816 * sysdeps/generic/bp-checks.h: Remove file.
19817 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19818 (__GETDENTS): Don't use CHECK_N.
19819 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19820 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19821 (__getgroups): Don't use CHECK_N.
19822 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19823 (setgroups): Don't use CHECK_N.
19824 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19825 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19826 (__libc_msgrcv): Don't use CHECK_N.
19827 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19828 (__libc_msgsnd): Don't use CHECK_N.
19829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19830 <bp-checks.h>.
19831 (__libc_pread): Don't use CHECK_N.
19832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19833 include <bp-checks.h>.
19834 (__libc_pread64): Don't use CHECK_N.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19836 include <bp-checks.h>.
19837 (__libc_pwrite): Don't use CHECK_N.
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19839 include <bp-checks.h>.
19840 (__libc_pwrite64): Don't use CHECK_N.
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19842 <bp-checks.h>.
19843 (__libc_pread): Don't use CHECK_N.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19845 include <bp-checks.h>.
19846 (__libc_pread64): Don't use CHECK_N.
19847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19848 include <bp-checks.h>.
19849 (__libc_pwrite): Don't use CHECK_N.
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19851 include <bp-checks.h>.
19852 (__libc_pwrite64): Don't use CHECK_N.
19853 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19854 (do_pread): Don't use CHECK_N.
19855 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19856 (do_pread64): Don't use CHECK_N.
19857 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19858 (do_pwrite): Don't use CHECK_N.
19859 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19860 (do_pwrite64): Don't use CHECK_N.
19861 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19862 (__libc_readv): Don't use CHECK_N.
19863 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19864 (semop): Don't use CHECK_N.
19865 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19866 <bp-checks.h>.
19867 (semtimedop): Don't use CHECK_N.
19868 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19869 (__libc_pread): Don't use CHECK_N.
19870 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19871 <bp-checks.h>.
19872 (__libc_pread64): Don't use CHECK_N.
19873 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19874 <bp-checks.h>.
19875 (__libc_pwrite): Don't use CHECK_N.
19876 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19877 <bp-checks.h>.
19878 (__libc_pwrite64): Don't use CHECK_N.
19879 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19880 <bp-checks.h>.
19881 (__libc_msgrcv): Don't use CHECK_N.
19882 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19883 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19884 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19885 (__libc_writev): Don't use CHECK_N.
19886
b84660a8
RM
198872013-02-08 Roland McGrath <roland@hack.frob.com>
19888
7f3e75f8
RM
19889 * string/strcpy.c: Removed unused variable.
19890
b84660a8
RM
19891 * Makeconfig (+sysdep-includes): Define with := rather than =.
19892 Use an existing include/ subdir of each sysdeps dir before it.
19893
471514d3
CD
198942013-02-08 Carlos O'Donell <carlos@redhat.com>
19895
19896 * nscd/connection.c (register_traced_file): Comment function.
19897 [HAVE_INOTIFY] (union __inev): Define.
19898 [HAVE_INOTIFY] (inotify_check_files): New function.
19899 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19900 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19901 clear_db_cache.
19902 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19903
b2d3c3be
CD
199042013-02-08 Carlos O'Donell <carlos@redhat.com>
19905
19906 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19907 loaded if not already and that a failure is permanent.
19908
b39949d2
CD
199092013-02-08 Carlos O'Donell <carlos@redhat.com>
19910
ddacd1db 19911 [BZ #15006]
b39949d2
CD
19912 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19913 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19914
b2c9eff4
JM
199152013-02-08 Joseph Myers <joseph@codesourcery.com>
19916
f3aae3f3
JM
19917 [BZ #13550]
19918 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19919 (CHECK_1_NULL_OK): Likewise.
19920 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19921 (__fxstat): Do not use CHECK_1.
19922 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19923 <bp-checks.h>.
19924 (___fxstat64): Do not use CHECK_1.
19925 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19926 <bp-checks.h>.
19927 (__fxstatat): Do not use CHECK_1.
19928 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19929 <bp-checks.h>.
19930 (__fxstatat64): Do not use CHECK_1.
19931 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19932 <bp-checks.h>.
19933 (__fxstat): Do not use CHECK_1.
19934 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19935 <bp-checks.h>.
19936 (__fxstatat): Do not use CHECK_1.
19937 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19938 <bp-checks.h>.
19939 (__getresgid): Do not use CHECK_1.
19940 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19941 <bp-checks.h>.
19942 (__getresuid): Do not use CHECK_1.
19943 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19944 <bp-checks.h>.
19945 (__lxstat): Do not use CHECK_1.
19946 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19947 <bp-checks.h>.
19948 (__old_msgctl): Do not use CHECK_1.
19949 (__new_msgctl): Likewise.
19950 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19951 <bp-checks.h>.
19952 (__new_setrlimit): Do not use CHECK_1.
19953 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19954 <bp-checks.h>.
19955 (__old_shmctl): Do not use CHECK_1.
19956 (__new_shmctl): Likewise.
19957 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19958 <bp-checks.h>.
19959 (__xstat): Do not use CHECK_1.
19960 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19961 (__lxstat): Do not use CHECK_1.
19962 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19963 <bp-checks.h>.
19964 (___lxstat64): Do not use CHECK_1.
19965 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19966 (__old_msgctl): Do not use CHECK_1.
19967 (__new_msgctl): Likewise.
19968 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19969 <bp-checks.h>.
19970 (__gettimeofday): Do not use CHECK_1.
19971 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19972 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19973 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19974 <bp-checks.h>.
19975 (__gettimeofday): Do not use CHECK_1.
19976 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19977 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19978 (__new_shmctl): Do not use CHECK_1.
19979 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19980 <bp-checks.h>.
19981 (do_sigtimedwait): Do not use CHECK_1.
19982 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19983 <bp-checks.h>.
19984 (do_sigwaitinfo): Do not use CHECK_1.
19985 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19986 <bp-checks.h>.
19987 (msgctl): Do not use CHECK_1.
19988 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19989 <bp-checks.h>.
19990 (shmctl): Do not use CHECK_1.
19991 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19992 (ustat): Do not use CHECK_1.
19993 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19994 <bp-checks.h>.
19995 (__fxstat): Do not use CHECK_1.
19996 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19997 <bp-checks.h>.
19998 (__fxstatat): Do not use CHECK_1.
19999 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20000 <bp-checks.h>.
20001 (__lxstat): Do not use CHECK_1.
20002 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20003 <bp-checks.h>.
20004 (__xstat): Do not use CHECK_1.
20005 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20006 (__xstat): Do not use CHECK_1.
20007 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20008 (___xstat64): Do not use CHECK_1.
20009
b2c9eff4
JM
20010 [BZ #13550]
20011 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20012 definitions.
20013 (CHECK_BOUNDS_HIGH): Likewise.
20014 * string/strcpy.c: Do not include <bp-checks.h>.
20015 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20016
f1d70dad
RM
200172013-02-07 Roland McGrath <roland@hack.frob.com>
20018
20019 * nscd/nscd-client.h (__nscd_drop_map_ref):
20020 Add __attribute__ ((unused)).
20021 * nis/nss-nisplus.h (niserr2nss): Likewise.
20022
20023 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20024 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20025
20026 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20027 Remove inline keyword.
20028 * include/rounding-mode.h (round_away): Likewise.
20029 * libio/wfileops.c (adjust_wide_data): Likewise.
20030 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20031 (__m128i_strloadu_tolower): Likewise.
20032 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20033 (__m128i_strloadu_tolower): Likewise.
20034 * time/mktime.c (ydhms_diff): Likewise.
20035 * locale/elem-hash.h (elem_hash): Likewise.
20036 * locale/setlocale.c (setdata): Likewise.
20037 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20038 (re_string_wchar_at): Likewise.
20039 (bitset_not, bitset_merge, bitset_mask): Likewise.
20040 [!(__GNUC__ > 3)] (inline): Remove macro.
20041 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20042 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20043 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20044 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20045 * string/memcmp.c (memcmp_bytes): Likewise.
20046 * locale/programs/locarchive.c (compute_hashval): Likewise.
20047 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20048 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20049 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20050 * nss/getent.c (print_rpc, print_protocols): Likewise.
20051 (print_passwd, print_group, print_aliases): Likewise.
20052 * nis/nss-nisplus.h (niserr2nss): Likewise.
20053 * nscd/connections.c (restart_p): Likewise.
20054 Change return type to bool.
20055
eab55bfb
RM
200562013-02-05 Roland McGrath <roland@hack.frob.com>
20057
7bd642f5
RM
20058 * Makeconfig (all-Depend-files): Add existing
20059 $(sorted-subdirs:=/Depend) files.
20060 (all-subdirs): Remove nss.
20061 * sysdeps/unix/inet/Subdirs: Add it here instead.
20062 * hesiod/Depend: New file.
20063
573c29b2
RM
20064 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20065 instead of calling alloca.
20066
b2e25af0
RM
20067 * io/lseek.c (__lseek): Rename to __libc_lseek.
20068 Define __lseek as an alias.
20069
eab55bfb
RM
20070 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20071
9a0d1941
CD
200722013-02-04 Carlos O'Donell <carlos@redhat.com>
20073
20074 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20075 else clause and remove check for non-standard endianness.
20076
b83bbec4
DM
200772013-02-04 David S. Miller <davem@davemloft.net>
20078
20079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20080
6277fdab
JM
200812013-02-04 Joseph Myers <joseph@codesourcery.com>
20082
20083 [BZ #13550]
20084 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20085 (__ubp_memchr): Remove prototype.
20086 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20087 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20088 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20089 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20090 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20091 Remove alias.
20092 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20093 (__ubp_memchr): Likewise.
20094 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20095 (__ubp_memchr): Likewise.
20096 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20097 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20098 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20099 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20100 CHECK_STRING.
20101 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20102 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20103 (__getcwd): Do not use CHECK_STRING.
20104 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20105 <bp-checks.h>.
20106 (__real_chown): Do not use CHECK_STRING.
20107 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20108 <bp-checks.h>.
20109 (fchownat): Do not use CHECK_STRING.
20110 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20111 CHECK_STRING.
20112 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20113 <bp-checks.h>.
20114 (__lchown): Do not use CHECK_STRING.
20115 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20116 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20117 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20118 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20120 include <bp-checks.h>.
20121 (truncate64): Do not use CHECK_STRING.
20122 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20123 <bp-checks.h>.
20124 (__real_chown): Do not use CHECK_STRING.
20125 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20126 <bp-checks.h>.
20127 (__lchown): Do not use CHECK_STRING.
20128 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20129 <bp-checks.h>.
20130 (__chown): Do not use CHECK_STRING.
20131 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20132 <bp-checks.h>.
20133 (truncate64): Do not use CHECK_STRING.
20134 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20135 Likewise.
20136 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20137 (__xmknod): Do not use CHECK_STRING.
20138 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20139 <bp-checks.h>.
20140 (__xmknodat): Do not use CHECK_STRING.
20141 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20142 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20143
903ae060
AS
201442013-02-04 Andreas Schwab <schwab@suse.de>
20145
20146 [BZ #14142]
20147 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20148 * include/netdb.h: Likewise for h_errno.
20149 * elf/tst-stackguard1.c: Include <tls.h>.
20150
542f9466
JK
201512013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20152
20153 * elf/link.h (struct link_map): Extend the l_addr comment.
20154 * include/link.h (struct link_map): Likewise.
20155
e782a927
JM
201562013-02-01 Joseph Myers <joseph@codesourcery.com>
20157
20158 [BZ #13550]
20159 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20160 (BOUNDED_1): Remove macro.
20161 * debug/backtrace.c: Don't include <bp-checks.h>.
20162 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20163 (__backtrace): Likewise.
20164 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20165 <bp-checks.h>.
20166 (__backtrace): Don't use BOUNDED_1.
20167 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20168 <bp-checks.h>.
20169 (__backtrace): Don't use BOUNDED_1.
20170 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20171 (__backtrace): Don't use BOUNDED_1.
20172 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20173 (shmat): Don't use BOUNDED_N.
20174
8cf28c5e
JM
201752013-01-31 Joseph Myers <joseph@codesourcery.com>
20176
3a7ac8a0
JM
20177 [BZ #13550]
20178 * sysdeps/generic/bp-start.h: Remove file.
20179 * csu/libc-start.c: Don't include <bp-start.h>.
20180 (LIBC_START_MAIN): Set up __environ directly instead of using
20181 INIT_ARGV_and_ENVIRON.
20182 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20183 <bp-start.h>.
20184
f3499f95
JM
20185 [BZ #13550]
20186 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20187 definitions.
20188 (CHECK_FCNTL): Likewise.
20189 (CHECK_N_PAGES): Likewise.
20190
32a45bea
JM
20191 [BZ #13550]
20192 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20193 definitions.
20194 (CHECK_SIGSET_NULL_OK): Likewise.
20195 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20196 <bp-checks.h>.
20197 (sigpending): Don't use CHECK_SIGSET.
20198 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20199 <bp-checks.h>.
20200 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20201 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20202 <bp-checks.h>.
20203 (do_sigsuspend): Don't use CHECK_SIGSET.
20204 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20205 use CHECK_SIGSET.
20206 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20207 (do_sigwait): Don't use CHECK_SIGSET.
20208 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20209 use CHECK_SIGSET.
20210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20211 include <bp-checks.h>.
20212 (sigpending): Don't use CHECK_SIGSET.
20213 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20214 include <bp-checks.h>.
20215 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20216 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20217 <bp-checks.h>.
20218 (sigpending): Don't use CHECK_SIGSET.
20219 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20220 <bp-checks.h>.
20221 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20222
2e8a5c8c
JM
20223 [BZ #13550]
20224 * sysdeps/generic/bp-semctl.h: Remove file.
20225 * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
20230 and <bp-semctl.h>.
20231 (__old_semctl): Don't use CHECK_SEMCTL.
20232 (__new_semctl): Likewise.
20233 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20234 <bp-checks.h> and <bp-semctl.h>.
20235 (__old_semctl): Don't use CHECK_SEMCTL.
20236 (__new_semctl): Likewise.
20237 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20238 <bp-checks.h> and <bp-semctl.h>.
20239 (semctl): Don't use CHECK_SEMCTL.
20240
c2d54929
JM
20241 [BZ #13550]
20242 * Makerules (elide-bp-thunks): Remove variable.
20243 (elide-routines.oS): Don't use $(elide-bp-thunks).
20244 (elide-routines.os): Likewise.
20245 (elide-routines.o): Likewise.
20246 (elide-routines.op): Likewise.
20247 (elide-routines.og): Likewise.
20248 (objects): Don't use $(bp-thunks).
20249 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20250 include.
20251 (common-generated): Do not add s-proto-bp.d.
20252 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20253 (int): Likewise.
20254 (typ): Likewise.
20255 Do not generate makefile rules for bounded-pointer thunks.
20256 * sysdeps/generic/bp-thunks.h: Remove file.
20257 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20258 * sysdeps/unix/s-proto-bp.S: Likewise.
20259
8cf28c5e
JM
20260 [BZ #15062]
20261 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20262 parts of result separately when argument is not close to line from
20263 -i to i and one part of argument is small.
20264 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20265 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20266 * math/libm-test.inc (cacos_test): Add more tests.
20267 (casin_test): Likewise.
20268 (casinh_test): Likewise.
20269 * sysdeps/i386/fpu/libm-test-ulps: Update.
20270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20271
c4e33b8d
DM
202722013-01-31 David S. Miller <davem@davemloft.net>
20273
20274 * po/de.po: Update from translation team.
20275
3b60b421
MK
202762013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20277
20278 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20279
bb931195
TS
202802013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20281
b5a5da23
TS
20282 * configure.in (_AC_PROG_CC_C89): New definition.
20283 * configure: Regenerate.
20284
bb931195
TS
20285 * configure.in (AC_PROG_CPP): New definition.
20286 * configure: Regenerate.
20287
8c53a12c
JM
202882013-01-23 Joseph Myers <joseph@codesourcery.com>
20289
20290 * debug/tst-backtrace.h: New file.
20291 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20292 (ret): Remove variable.
20293 (x): Likewise.
20294 (FAIL): Remove macro.
20295 (NO_INLINE): Likewise.
20296 (fn1): Use match function instead of strstr.
20297 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20298 (ret): Remove variable.
20299 (x): Likewise.
20300 (FAIL): Remove macro.
20301 (NO_INLINE): Likewise.
20302 (fn): Use match function instead of strstr.
20303 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20304 (ret): Remove variable.
20305 (x): Likewise.
20306 (FAIL): Remove macro.
20307 (NO_INLINE): Likewise.
20308 (handle_signal): Use match function instead of strstr.
20309 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20310 (ret): Remove variable.
20311 (x): Likewise.
20312 (FAIL): Remove macro.
20313 (NO_INLINE): Likewise.
20314 (handle_signal): Use match function instead of strstr.
20315
4858fa2a
RM
203162013-01-23 Roland McGrath <roland@hack.frob.com>
20317
20318 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20319
bae8e7f5
DM
203202013-01-23 David S. Miller <davem@davemloft.net>
20321
20322 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20323 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20324 argument of CAS if possible.
20325 * sysdeps/sparc/sparc64/bits/atomic.h
20326 (__arch_compare_and_exchange_val_32_acq): Likewise.
20327 (__arch_compare_and_exchange_val_64_acq): Likewise.
20328
9cbbc4ae
PT
203292013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20330
20331 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20332 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20333 Include <limits.h>.
67b3f58c 20334 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20335
5655a0b5
AC
203362013-01-23 Adam Conrad <adconrad@0c3.net>
20337
20338 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20339 (LDFLAGS-tst-array5): Likewise.
20340
052aff95
JM
203412013-01-23 Joseph Myers <joseph@codesourcery.com>
20342
20343 [BZ #15036]
20344 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20345 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20346 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20347 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20348
7c1e01aa
DM
203492013-01-21 David S. Miller <davem@davemloft.net>
20350
20351 * sysdeps/sparc/backtrace.c: New file.
20352 * sysdeps/sparc/sparc32/backtrace.h: New file.
20353 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20354 * sysdeps/sparc/sparc64/backtrace.h: New file.
20355 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20356 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20357 -funwind-tables.
20358
ab087e0a
AS
203592013-01-21 Andreas Schwab <schwab@suse.de>
20360
20361 [BZ #15020]
20362 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20363 closed its stdout.
20364
ed689c2f
AS
203652013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20366
20367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20368 "mpa2.h".
20369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20370
31d470ac
JM
203712013-01-18 Joseph Myers <joseph@codesourcery.com>
20372 Mark Mitchell <mark@codesourcery.com>
20373 Tom de Vries <tom@codesourcery.com>
20374 Paul Pluzhnikov <ppluzhnikov@google.com>
20375
20376 * debug/tst-backtrace2.c: New file.
20377 * debug/tst-backtrace3.c: Likewise.
20378 * debug/tst-backtrace4.c: Likewise.
20379 * debug/tst-backtrace5.c: Likewise.
20380 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20381 (CFLAGS-tst-backtrace3.c): Likewise.
20382 (CFLAGS-tst-backtrace4.c): Likewise.
20383 (CFLAGS-tst-backtrace5.c): Likewise.
20384 (LDFLAGS-tst-backtrace2): Likewise.
20385 (LDFLAGS-tst-backtrace3): Likewise.
20386 (LDFLAGS-tst-backtrace4): Likewise.
20387 (LDFLAGS-tst-backtrace5): Likewise.
20388 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20389 tst-backtrace4 and tst-backtrace5.
20390
90567f30 203912013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20392 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20393
20394 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20395 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20396 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20397 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20399 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20400 "+r" and remove output regs list as redundant. Add explicit inline
20401 asm to specify register of return val to work around compiler codegen
20402 bug. Remove (int) cast on return value. Add return type parameter to
20403 use in macro so that this macro does not truncate return value for
20404 64-bit values.
20405 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20406 pass to INTERNAL_VSYSCALL_NCS.
20407 (INLINE_VSYSCALL): Add 'long int' as return type to
20408 INTERNAL_VSYSCALL_NCS macro invocation.
20409 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20410 INTERNAL_VSYSCALL_NCS macro invocation.
20411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20412
d3b9ea61
SP
204132013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20414
0b57daeb
SP
20415 [BZ #14496]
20416 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20417 Fix application of SIMD FP exception mask.
20418
caa99d06
SP
20419 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20420 mp_no from a power of two.
20421 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20422 __mpexp_twomm1. Use __pow_mp.
20423
d3b9ea61
SP
20424 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20425 multiplication.
20426
1dbaee3c
DM
204272013-01-17 David S. Miller <davem@davemloft.net>
20428
20429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20430
728d7b43
JM
204312013-01-17 Joseph Myers <joseph@codesourcery.com>
20432
20433 [BZ #15023]
20434 * include/complex.h: Condition contents on [!_COMPLEX_H].
20435 (__kernel_casinhf): New prototype.
20436 (__kernel_casinh): Likewise.
20437 (__kernel_casinhl): Likewise.
20438 * math/Makefile (libm_calls): Add k_casinh.
20439 * math/k_casinh.c: New file.
20440 * math/k_casinhf.c: Likewise.
20441 * math/k_casinhl.c: Likewise.
20442 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20443 finite nonzero arguments.
20444 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20445 finite nonzero arguments.
20446 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20447 finite nonzero arguments.
20448 * math/s_casinh.c: Do not include <float.h>.
20449 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20450 * math/s_casinhf.c: Do not include <float.h>.
20451 (__casinhf): Move code for finite nonzero arguments to
20452 k_casinhf.c.
20453 * math/s_casinhl.c: Do not include <float.h>.
20454 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20455 redefine.
20456 (__casinhl): Move code for finite nonzero arguments to
20457 k_casinhl.c.
20458 * math/libm-test.inc (cacos_test): Add more tests.
20459 * sysdeps/i386/fpu/libm-test-ulps: Update.
20460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20461
2a26ef3a
PT
204622013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20463
20464 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20465 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20466 [!HAVE_MREMAP]: Remove [defined linux] case.
20467 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20468
a897655d
SP
204692013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20470
20471 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20472
881ebe89 204732013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20474
20475 * elf/elf.h (R_386_SIZE32): New relocation.
20476 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20477 R_386_SIZE32.
20478 (elf_machine_rela): Likewise.
20479 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20480 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20481
59981e9b
JM
204822013-01-17 Joseph Myers <joseph@codesourcery.com>
20483
20484 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20485 (FP_FAST_FMA): Do not define.
20486 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20487 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20488 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20489 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20490 !_SOFT_FLOAT]: Likewise.
20491 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20492 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20493 value.
20494 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20495 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20496 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20497 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20498 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20499 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20500 file.
20501
cfa8054f
AS
205022013-01-16 Andreas Schwab <schwab@suse.de>
20503
20504 [BZ #14327]
20505 * include/stdlib.h (__mktemp): Add declaration.
20506 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20507 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20508
dd930cc5
SP
205092013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20510
881ebe89
SP
20511 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20512 definitions.
20513 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20514 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20515 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20516 definitions here.
20517 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20518 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20519 definitions.
20520 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20521 and ONE.
20522 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20523 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20524 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20525 definitions.
20526 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20527 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20528 definitions.
20529 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20530
dd930cc5
SP
20531 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20532
c19a9f89
DM
205332013-01-15 David S. Miller <davem@davemloft.net>
20534
1aa61767
DM
20535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20536 trunc{,f} to libm-sysdep_routes.
20537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20539 file.
20540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20542 file.
20543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20544 file.
20545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20547 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20548 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20549 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20550 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20551 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20552 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20553
c42d5e98
DM
20554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20555 nearbyint{,f} to libm-sysdep_routes.
20556 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20558 New file.
20559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20560 file.
20561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20562 New file.
20563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20564 file.
20565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20567 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20568 file.
20569 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20570 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20571 file.
20572 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20573 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20574 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20575
c19a9f89
DM
20576 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20577 libc_feholdexcept and libc_fesetenv.
20578
357679d2
MF
205792013-01-15 Mike Frysinger <vapier@gentoo.org>
20580
20581 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20582
65a82e3d
DM
205832013-01-14 David S. Miller <davem@davemloft.net>
20584
8b954ab9
DM
20585 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20586 (SPARC_ASM_VIS2_IFUNC): Likewise.
20587 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20589 use of 'siam' instruction.
20590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20591 Likewise.
20592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20593 Likewise.
20594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20595 Likewise.
20596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20601 file.
20602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20603 file.
20604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20605 file.
20606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20607 file.
20608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20613 new VIS2 routines.
20614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20617 Likewise.
20618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20623 routines to libm-sysdep_routines.
20624 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20625
65a82e3d
DM
20626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20627 fdim/fdimf to libm-sysdep_routines.
20628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20629 file.
20630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20632 file.
20633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20636 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20637 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20638 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20639 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20640
e34ab705
SP
206412013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20642
2a91b573
SP
20643 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20644 to optimize copies.
20645
1066a534
SP
20646 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20649
e34ab705
SP
20650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20651 local variable MPTWO.
20652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20653 Likewise.
20654
aba5e596
MF
206552013-01-13 Mike Frysinger <vapier@gentoo.org>
20656
20657 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20658 GLOB_NOESCAPE.
20659
e557e9e5
MF
206602013-01-13 Mike Frysinger <vapier@gentoo.org>
20661
20662 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20663
0428cec9
MF
206642013-01-13 Mike Frysinger <vapier@gentoo.org>
20665
20666 * manual/pattern.texi (glob_t): Document gl_flags.
20667 (glob64_t): Likewise.
20668
8794a964
DM
206692013-01-11 David S. Miller <davem@davemloft.net>
20670
66438c3f
RM
20671 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20672 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20673 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20674 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20675 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20676 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20677 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20678 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20679 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20680 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20681 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20682 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20683 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20684
4ae4244d
DM
20685 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20686 sparc V9 rather than using V8 code.
20687 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20688 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20689
8794a964
DM
20690 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20691 Move to...
20692 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20693 Here.
20694
6270516e
RM
206952013-01-11 Roland McGrath <roland@hack.frob.com>
20696
20697 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20698 not in the main loop.
20699 * configure: Regenerated.
20700
6a57d931
JM
207012013-01-11 Joseph Myers <joseph@codesourcery.com>
20702
20703 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20704 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20705 to just #else.
20706 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20707 [!__GLIBC_HAVE_LONG_LONG] case.
20708 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20709 condition to just #else.
20710 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20711 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20712 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20713 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20714 unconditional.
20715 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20716 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20717 #elif condition to just #else.
20718 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20719 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20720 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20721 #elif condition to just #else.
20722
0e8529e9
SE
207232013-01-11 Steve Ellcey <sellcey@mips.com>
20724
20725 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20726 (EF_MIPS_ARCH_64): Fix value.
20727 (EF_MIPS_ARCH_32R2): New.
20728 (EF_MIPS_ARCH_64R2): New.
20729
740b3dbe
L
207302013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20731
20732 * Makeconfig (+link-pie-before-libc): New.
20733 (+link-pie-after-libc): Likewise.
20734 (+link-pie-tests): Likewise.
20735 (+link-pie): Rewritten.
20736 (link-before-libc): Remove $(config-LDFLAGS).
20737 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20738 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20739 (config-LDFLAGS): Renamed to ...
20740 (rtld-LDFLAGS): This.
20741 (rtld-tests-LDFLAGS): New macro.
20742 (link-libc-rpath-link): Likewise.
20743 (link-libc-tests-rpath-link): Likewise.
20744 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20745 (link-libc): Prepand $(link-libc-rpath-link).
20746 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20747 (test-program-prefix): New macro.
20748 (test-via-rtld-prefix): Likewise.
20749 (test-program-cmd): Likewise.
20750 (host-test-program-cmd): Likewise.
20751 * Makefile ($(common-objpfx)testrun.sh): Replace
20752 $(run-program-prefix) with $(test-program-prefix).
20753 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20754 $(rtld-LDFLAGS).
20755 ($(common-objpfx)shlib.lds): Likewise.
20756 (build-module-helper): Likewise.
20757 ($(common-objpfx)format.lds): Likewise.
20758 * Rules (binaries-pie-tests): New.
20759 (binaries-pie-notests): Likewise.
20760 (binaries-pie): Rewritten.
20761 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20762 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20763 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20764 (make-test-out): Replace $(host-built-program-cmd) with
20765 $(host-test-program-cmd).
20766 * config.make.in (build-hardcoded-path-in-tests): New variable.
20767 * configure.in (--enable-hardcoded-path-in-tests): New configure
20768 option.
20769 (hardcoded_path_in_tests): New AC_SUBST.
20770 * configure: Regenerated.
20771 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20772 $(built-program-cmd) with $(test-program-cmd).
20773 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20774 (test_program_cmd): This.
20775 * elf/Makefile ($(objpfx)order.out): Run test with
20776 $(test-program-prefix).
20777 ($(objpfx)order2.out): Likewise.
20778 ($(objpfx)tst-initorder.out): Likewise.
20779 ($(objpfx)tst-initorder2.out): Likewise.
20780 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20781 $(test-program-cmd).
20782 ($(objpfx)tst-array1-static.out): Likewise.
20783 ($(objpfx)tst-array2.out): Likewise.
20784 ($(objpfx)tst-array3.out): Likewise.
20785 ($(objpfx)tst-array4.out): Likewise.
20786 ($(objpfx)tst-array5.out): Likewise.
20787 ($(objpfx)tst-array5-static.out): Likewise.
20788 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20789 $(test-program-cmd).
20790 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20791 $(run-program-prefix) with $(test-program-prefix).
20792 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20793 (test_program_prefix): This.
20794 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20795 $(run-program-prefix) with $(test-program-prefix).
20796 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20797 (test_program_prefix): This.
20798 * iconvdata/tst-tables.sh: Likewise.
20799 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20800 $(run-program-prefix) with $(test-program-prefix).
20801 ($(objpfx)tst-translit.out): Likewise.
20802 ($(objpfx)tst-gettext2.out): Likewise.
20803 ($(objpfx)tst-gettext4.out): Likewise.
20804 ($(objpfx)tst-gettext6.out): Likewise.
20805 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20806 (test_program_prefix): This.
20807 * intl/tst-gettext2.sh: Likewise.
20808 * intl/tst-gettext4.sh Likewise.
20809 * intl/tst-gettext6.sh: Likewise.
20810 * intl/tst-translit.sh: Likewise.
20811 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20812 with $(test-program-cmd).
20813 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20814 $(run-program-prefix) with $(test-program-prefix).
20815 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20816 (test_program_prefix): This.
20817 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20818 $(run-program-prefix) with $(test-program-prefix).
20819 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20820 (test_program_prefix): This.
20821 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20822 * posix/Makefile ($(objpfx)globtest.out): Replace
20823 $(run-via-rtld-prefix) and $(test-wrapper) with
20824 $(test-program-prefix) and $(test-via-rtld-prefix).
20825 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20826 $(test-program-prefix).
20827 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20828 $(host-test-program-cmd).
20829 (tst-spawn-ARGS): Likewise.
20830 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20831 $(test-program-prefix).
20832 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20833 (test_via_rtld_prefix): This.
20834 (test_wrapper): Renamed to ...
20835 (test_program_prefix): This.
20836 (run_program_prefix): Replaced by test_program_prefix.
20837 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20838 (test_program_prefix): This.
20839 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20840 with $(host-test-program-cmd).
20841 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20842 $(run-program-prefix) with $(test-program-prefix).
20843 ($(objpfx)tst-printf.out): Likewise.
20844 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20845 $(test-program-cmd).
20846 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20847 (test_program_prefix): This.
20848 * stdio-common/tst-unbputc.sh: Likewise.
20849 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20850 $(run-program-prefix) with $(test-program-prefix).
20851 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20852 (test_program_prefix): This.
20853 * string/Makefile ($(objpfx)tst-svc.out): Replace
20854 $(built-program-cmd) with $(test-program-cmd).
20855
c6fe55cf
AJ
208562013-01-11 Andreas Jaeger <aj@suse.de>
20857
20858 [BZ #15003]
20859 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20860 value. Sync with Linux 3.7.
20861
9e6919c8
DM
208622013-01-10 David S. Miller <davem@davemloft.net>
20863
20864 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20865 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20866 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20867
1c9f1a02
RM
208682013-01-10 Roland McGrath <roland@hack.frob.com>
20869
20870 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20871 never set.
20872 * configure: Regenerated.
20873
b9de2dde
DM
208742013-01-10 David S. Miller <davem@davemloft.net>
20875
20876 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20877 sparc V9 rather than using V8 code.
20878 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20879 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20880
e7f68ef4
RM
208812013-01-10 Roland McGrath <roland@hack.frob.com>
20882
20883 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20884 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20885 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20886 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20887 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20888 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20889 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20890 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20891 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20892 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20893 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20894 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20895 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20896 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20897 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20898 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20899 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20900 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20901 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20902 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20903 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20904 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20905 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20906 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20907 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20908 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20909 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20910
5a47cc9c
DM
209112013-01-10 David S. Miller <davem@davemloft.net>
20912
20913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20914
4cf8f209
L
209152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20916
20917 * posix/Makefile (tests-static): New variable.
20918 (tests): Add $(tests-static).
20919 (tst-exec-static-ARGS): New variable.
20920 (tst-spawn-static-ARGS): Likewise.
20921 * posix/tst-exec-static.c: New file.
20922 * posix/tst-spawn-static.c: Likewise.
20923 * posix/tst-exec.c: Support run directly.
20924 * posix/tst-spawn.c: Likewise.
20925
fed0faa1
JM
209262013-01-10 Joseph Myers <joseph@codesourcery.com>
20927
828beb13
JM
20928 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20929 long.
20930 * math/bits/mathcalls.h (llrint): Likewise.
20931 (llround): Likewise.
20932 * stdlib/stdlib.h (struct drand48_data): Likewise.
20933 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20934 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20935 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20936 Likewise.
20937 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20938 Likewise.
20939 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20940 (elf_greg_t): Likewise.
20941 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20942 (__jmp_buf): Likewise.
20943 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20944 definitions.
20945 (llrint): Likewise, for all definitions.
20946 (llrintl): Likewise.
20947
fed0faa1
JM
20948 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20949 Remove [__GNUC__] condition.
20950 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20951 condition to just [__USE_ISOC99].
20952 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20953
1a20cb20
L
209542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20955
20956 [BZ #14200]
20957 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20958 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20959 defined.
20960 (_POSIX_V6_ILP32_OFF32): Likewise.
20961 (_XBS5_ILP32_OFF32): Likewise.
20962 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20963 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20964
751b85f7
SP
209652013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20966
7490eb81
SP
20967 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20968
751b85f7
SP
20969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20970 doubles __mpexp_twomm1. Adjust usage.
20971 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20972 Remove.
20973
988197f0
AS
209742013-01-10 Andreas Schwab <schwab@suse.de>
20975
20976 [BZ #14964]
20977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20978 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20979
e83d7298
DM
209802013-01-09 David S. Miller <davem@davemloft.net>
20981
034ed64b 20982 [BZ #15003]
57f41c40
AS
20983 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20984 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20985 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20986 (TCP_FASTOPEN): Define.
e83d7298
DM
20987 (tcp_repair_opt): New structure.
20988 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20989 enum values.
57f41c40
AS
20990 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20991 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20992 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20993 (tcp_cookie_transactions): New structure.
20994
d5e0b9bd
AB
209952013-01-09 Anton Blanchard <anton@samba.org>
20996
20997 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20998 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20999 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21000 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21001
0c07e3ea
JM
210022013-01-09 Joseph Myers <joseph@codesourcery.com>
21003
21004 * include/features.h (__USE_ANSI): Remove.
21005
232f7002
RM
210062013-01-09 Roland McGrath <roland@hack.frob.com>
21007
ad98e30c
RM
21008 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21009
232f7002
RM
21010 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21011
950c99ca
SP
210122013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21013
b5792741
SP
21014 * sysdeps/s390/fpu/libm-test-ulps: Update.
21015
47cf2278
SP
21016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21017
950c99ca
SP
21018 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21019 (__acr): Likewise.
21020 (__cpy): Likewise.
21021 (norm): Likewise.
21022 (denorm): Likewise.
21023 (__mp_dbl): Likewise.
21024 (__dbl_mp): Likewise.
21025 (add_magnitudes): Likewise.
21026 (sub_magnitudes): Likewise.
21027 (__add): Likewise.
21028 (__sub): Likewise.
21029 (__mul): Likewise.
21030 (__inv): Likewise.
21031 (__dvd): Likewise.
21032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21033 (__acr): Likewise.
21034 (__cpy): Likewise.
21035 (norm): Likewise.
21036 (denorm): Likewise.
21037 (__mp_dbl): Likewise.
21038 (__dbl_mp): Likewise.
21039 (add_magnitudes): Likewise.
21040 (sub_magnitudes): Likewise.
21041 (__add): Likewise.
21042 (__sub): Likewise.
21043 (__mul): Likewise.
21044 (__inv): Likewise.
21045 (__dvd): Likewise.
21046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21047 (__acr): Likewise.
21048 (__cpy): Likewise.
21049 (norm): Likewise.
21050 (denorm): Likewise.
21051 (__mp_dbl): Likewise.
21052 (__dbl_mp): Likewise.
21053 (add_magnitudes): Likewise.
21054 (sub_magnitudes): Likewise.
21055 (__add): Likewise.
21056 (__sub): Likewise.
21057 (__mul): Likewise.
21058 (__inv): Likewise.
21059 (__dvd): Likewise.
21060
eede9df9
JM
210612013-01-08 Joseph Myers <joseph@codesourcery.com>
21062
21063 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21064 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21065 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21066 2 && __USE_EXTERN_INLINES]: Likewise.
21067
c40ea3d9
AJ
210682013-01-08 Andreas Jaeger <aj@suse.de>
21069
21070 [BZ# 14985]
21071 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21072 Remove.
21073 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21074 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21075
2ccdea26
AB
210762013-01-07 Anton Blanchard <anton@samba.org>
21077
21078 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21079 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21080 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21081 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21082 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21083 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21084 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21085 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21087 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21088 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21089 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21090 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21091 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21092 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21093 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21094 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21095 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21096 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21097 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21099 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21100 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21101 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21102 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21103 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21104 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21105 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21107 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21108 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21110 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21111 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21112 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21113 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21114 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21115 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21116 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21117 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21118 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21119 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21120 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21121
a9708fed
JM
211222013-01-07 Joseph Myers <joseph@codesourcery.com>
21123
375607b9
JM
21124 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21125 (__MALLOC_PMT): Likewise.
21126 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21127 [__GNUC__], only on [_LIBC].
21128 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21129 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21130 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21131 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21132 forward declaration.
21133 (realloc_hook_ini): Likewise.
21134 (memalign_hook_ini): Likewise.
21135 (__libc_memalign): Do not use __MALLOC_PMT in variable
21136 declaration.
21137 (__libc_valloc): Likewise.
21138 (__libc_pvalloc): Likewise.
21139 (__libc_calloc): Likewise.
21140 (__posix_memalign): Likewise.
21141
a9708fed
JM
21142 [BZ #14996]
21143 * math/s_casinh.c: Include <float.h>.
21144 (__casinh): Do not do computation with squaring and square root
21145 for large arguments.
21146 * math/s_casinhf.c: Include <float.h>.
21147 (__casinhf): Do not do computation with squaring and square root
21148 for large arguments.
21149 * math/s_casinhl.c: Include <float.h>.
21150 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21151 (__casinhl): Do not do computation with squaring and square root
21152 for large arguments.
21153 * math/libm-test.inc (casin_test): Add more tests.
21154 (casinh_test): Likewise.
21155 * sysdeps/i386/fpu/libm-test-ulps: Update.
21156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21157
afec409a
L
211582013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21159
21160 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21161 (__x86_64_raw_data_cache_size): Likewise.
21162 (__x86_64_data_cache_size_half): Likewise.
21163 (__x86_64_raw_data_cache_size_half): Likewise.
21164 (__x86_64_shared_cache_size): Likewise.
21165 (__x86_64_raw_shared_cache_size): Likewise.
21166 (__x86_64_shared_cache_size_half): Likewise.
21167 (__x86_64_raw_shared_cache_size_half): Likewise.
21168 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21169 to ...
21170 (__x86_data_cache_size): This.
21171 (__x86_64_raw_data_cache_size): Renamed to ...
21172 (__x86_raw_data_cache_size): This.
21173 (__x86_64_data_cache_size_half): Renamed to ...
21174 (__x86_data_cache_size_half): This.
21175 (__x86_64_raw_data_cache_size_half): Renamed to ...
21176 (__x86_raw_data_cache_size_half): This.
21177 (__x86_64_shared_cache_size): Renamed to ...
21178 (__x86_shared_cache_size): This.
21179 (__x86_64_raw_shared_cache_size): Renamed to ...
21180 (__x86_raw_shared_cache_size): This.
21181 (__x86_64_shared_cache_size_half): Renamed to ...
21182 (__x86_shared_cache_size_half): This.
21183 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21184 (__x86_raw_shared_cache_size_half): This.
21185 * sysdeps/x86_64/memcpy.S: Updated.
21186 * sysdeps/x86_64/memset.S: Likewise.
21187 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21188 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21189 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21190
0b3986d0
DM
211912013-01-04 David S. Miller <davem@davemloft.net>
21192
21193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21194
e47686e9
AS
211952013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21196
d643bac1
AS
21197 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21198 1 to avoid redefinition warning.
21199 (__USE_GNU): Don't define.
21200 (init_signaling_nan): Protoize.
21201
e47686e9
AS
21202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21203
b18decba
SP
212042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21205
fffb407f
SP
21206 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21208 (__cpymn): Likewise.
21209 (norm): Remove commented code.
21210 (denorm): Likewise.
21211 (__mp_dbl): Likewise.
21212 (__inv): Likewise.
21213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21214 (__cpymn): Likewise.
21215 (norm): Remove commented code.
21216 (denorm): Likewise.
21217 (__mp_dbl): Likewise.
21218 (__inv): Likewise.
21219
b18decba
SP
21220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21221 mp_no value for 1.0 and 2.0.
21222 (norm): Use RADIXI instead of radixi.d.
21223 (denorm): Likewise.
21224 (__mul): Use 0.0 instead of zero.d.
21225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21226 mp_no value for 1.0 and 2.0.
21227 (norm): Use RADIXI instead of radixi.d.
21228 (denorm): Likewise.
21229 (__mul): Use 0.0 instead of zero.d.
21230
cdc1c96f
JM
212312013-01-04 Joseph Myers <joseph@codesourcery.com>
21232
21233 [BZ #14994]
21234 * math/s_casinh.c (__casinh): Reduce finite argument to first
21235 quadrant then set signs of results at the end.
21236 * math/s_casinhf.c (__casinhf): Likewise.
21237 * math/s_casinhl.c (__casinhl): Likewise.
21238 * math/libm-test.inc (casin_test): Add more tests.
21239 (casinh_test): Likewise.
21240 * sysdeps/i386/fpu/libm-test-ulps: Update.
21241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21242
302913e1
SP
212432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21244
6420d207
SP
21245 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21246
a9e48ab4
SP
21247 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21248
b7837264
SP
21249 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21250 declarations.
21251 (denorm): Likewise.
21252 (__mp_dbl): Likewise.
21253 (__inv): Likewise.
21254
f8af25d2
SP
21255 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21256 and adjust the header comment.
21257
302913e1
SP
21258 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21259 variable name from declaration.
21260
5d7dd1ca
L
212612013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21262
21263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21264 Initialize COMMON_CPUID_INDEX_7 element.
21265 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21266 (CPUID_RTM): Likewise.
21267 (HAS_RTM): Likewise.
21268 (COMMON_CPUID_INDEX_7): New enum.
21269
2f5f40f4
AS
212702013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21271
21272 [BZ #14981]
21273 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21274 size is zero, record memory as freed.
21275
4056f4a0
AJ
212762013-01-03 Andreas Jaeger <aj@suse.de>
21277
21278 * po/ia.po: Add new Interlingua translation.
21279
ab15736f 212802012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21281
21282 * locale/programs/localedef.c: Fix description of '--posix' flag.
21283
568035b7
JM
212842013-01-02 Joseph Myers <joseph@codesourcery.com>
21285
e6898b8d
JM
21286 * NEWS: Update dates in second copyright notice.
21287 * README: Update copyright dates in example.
21288 * manual/libc.texinfo: Update copyright dates.
21289 * scripts/test-installation.pl: Update copyright date in --version
21290 output.
21291
0e2f9562
JM
21292 * hurd/ctty-input.c: Fix copyright notice formatting.
21293 * hurd/ctty-output.c: Likewise.
21294 * hurd/dtable.c: Likewise.
21295 * hurd/hurd-raise.c: Likewise.
21296 * hurd/hurdprio.c: Likewise.
21297 * hurd/msgportdemux.c: Likewise.
21298 * misc/sys/file.h: Likewise.
21299 * misc/sys/ioctl.h: Likewise.
21300 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21301 * sysdeps/mach/hurd/chdir.c: Likewise.
21302 * sysdeps/mach/hurd/fchdir.c: Likewise.
21303 * sysdeps/mach/hurd/rename.c: Likewise.
21304 * sysdeps/mach/hurd/rmdir.c: Likewise.
21305 * sysdeps/mach/hurd/seekdir.c: Likewise.
21306 * sysdeps/mach/hurd/setsid.c: Likewise.
21307 * sysdeps/posix/wait3.c: Likewise.
21308
568035b7
JM
21309 * All files with FSF copyright notices: Update copyright dates
21310 using scripts/update-copyrights.
21311 * intl/plural.c: Regenerated.
21312 * locale/programs/charmap-kw.h: Likewise.
21313 * locale/programs/locfile-kw.h: Likewise.
21314
da08f647
SP
213152013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21316
0f5477af
SP
21317 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21318 four values.
21319
44e0d4c2
SP
21320 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21321 calculation loop and add branch prediction.
21322
4d55b4e5
SP
21323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21324 check access beyond bounds of m1np.
21325
da08f647
SP
21326 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21327 MPTWO.
21328 (__inv): Remove local variable MPTWO to use the global
21329 constant.
21330 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21331 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21332 variable MPTWO.
21333 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21334 MP3HALFS static const.
21335
8e051029
DM
213362013-01-01 David S. Miller <davem@davemloft.net>
21337
21338 * po/ca.po: Update from translation team.
21339
f4cf5f2d
JM
213402013-01-01 Joseph Myers <joseph@codesourcery.com>
21341
21342 * scripts/update-copyrights: New file.
21343 * Makeconfig: Reformat copyright notice.
21344 * ctype/ctype.h: Likewise.
21345 * debug/swprintf_chk.c: Likewise.
21346 * elf/dl-cache.c: Likewise.
21347 * elf/dl-debug.c: Likewise.
21348 * elf/dl-object.c: Likewise.
21349 * grp/initgroups.c: Likewise.
21350 * hurd/Makefile: Likewise.
21351 * hurd/hurd/signal.h: Likewise.
21352 * hurd/hurdfault.c: Likewise.
21353 * hurd/hurdioctl.c: Likewise.
21354 * hurd/hurdlookup.c: Likewise.
21355 * hurd/intr-msg.c: Likewise.
21356 * iconv/gconv_open.c: Likewise.
21357 * libio/swprintf.c: Likewise.
21358 * locale/lc-ctype.c: Likewise.
21359 * locale/nl_langinfo.c: Likewise.
21360 * mach/Machrules: Likewise.
21361 * mach/Makefile: Likewise.
21362 * malloc/obstack.h: Likewise.
21363 * manual/Makefile: Likewise.
21364 * manual/tsort.awk: Likewise.
21365 * misc/bits/stab.def: Likewise.
21366 * nis/nis_print_group_entry.c: Likewise.
21367 * nis/nis_table.c: Likewise.
21368 * nis/nss_compat/compat-pwd.c: Likewise.
21369 * nis/nss_compat/compat-spwd.c: Likewise.
21370 * po/Makefile: Likewise.
21371 * posix/fnmatch.c: Likewise.
21372 * posix/regex.h: Likewise.
21373 * resolv/Makefile: Likewise.
21374 * resolv/nss_dns/dns-network.c: Likewise.
21375 * resolv/res_hconf.c: Likewise.
21376 * scripts/gen-sorted.awk: Likewise.
21377 * soft-fp/soft-fp.h: Likewise.
21378 * stdio-common/printf.h: Likewise.
21379 * stdlib/monetary.h: Likewise.
21380 * stdlib/random.c: Likewise.
21381 * stdlib/random_r.c: Likewise.
21382 * sysdeps/generic/Makefile: Likewise.
21383 * sysdeps/gnu/Makefile: Likewise.
21384 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21386 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21391 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21392 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21393 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21395 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21396 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21397 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21398 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21399 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21400 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21401 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21402 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21403 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21404 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21405 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21406 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21407 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21408 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21409 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21410 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21411 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21412 * sysdeps/mach/hurd/errnos.awk: Likewise.
21413 * sysdeps/mach/hurd/fork.c: Likewise.
21414 * sysdeps/mach/hurd/getcwd.c: Likewise.
21415 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21416 * sysdeps/mach/hurd/mmap.c: Likewise.
21417 * sysdeps/mach/hurd/utimes.c: Likewise.
21418 * sysdeps/mach/hurd/xmknod.c: Likewise.
21419 * sysdeps/posix/profil.c: Likewise.
21420 * sysdeps/posix/readdir_r.c: Likewise.
21421 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21422 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21423 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21424 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21426 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21427 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21428 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21430 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21431 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21432 * sysdeps/pthread/lio_listio.c: Likewise.
21433 * sysdeps/sparc/dl-procinfo.h: Likewise.
21434 * sysdeps/unix/i386/sysdep.S: Likewise.
21435 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21436 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21437 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21438 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21440 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21441 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21442 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21443 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21444 * sysdeps/wordsize-32/divdi3.c: Likewise.
21445 * time/sys/time.h: Likewise.
21446 * wcsmbs/Makefile: Likewise.
21447
0549fbba
DM
214482013-01-01 David S. Miller <davem@davemloft.net>
21449
a141f1a7
DM
21450 * po/fr.po: Update from translation team.
21451
0549fbba
DM
21452 * catgets/gencat.c: Update copyright year.
21453 * csu/version.c: Likewise.
21454 * debug/catchsegv.sh: Likewise.
21455 * debug/pcprofiledump.c: Likewise.
21456 * debug/xtrace.sh: Likewise.
21457 * elf/ldconfig.c: Likewise.
21458 * elf/ldd.bash.in: Likewise.
21459 * elf/pldd.c: Likewise.
21460 * elf/sotruss.ksh: Likewise.
21461 * elf/sprof.c: Likewise.
21462 * iconv/iconv_prog.c: Likewise.
21463 * iconv/iconvconfig.c: Likewise.
21464 * locale/programs/locale.c: Likewise.
21465 * locale/programs/localedef.c: Likewise.
21466 * login/programs/pt_chown.c: Likewise.
21467 * malloc/memusage.sh: Likewise.
21468 * malloc/memusagestat.c: Likewise.
21469 * malloc/mtrace.pl: Likewise.
21470 * nscd/nscd.c: Likewise.
21471 * nss/getent.c: Likewise.
21472 * nss/makedb.c: Likewise.
21473 * posix/getconf.c: Likewise.
21474
18ea052c
SP
214752012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21476
21477 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21478 numbers.
21479
9c89fca6
MF
214802012-12-30 Mike Frysinger <vapier@gentoo.org>
21481
21482 * math/bits/mathcalls.h (modf): Use __nonnull.
21483
085ec079
SP
214842012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21485
21486 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21487 (split): Use macro CN instead of the bare value.
21488 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21489 could be used.
21490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21491 instead of the bare value.
21492 (power1): Likewise.
21493
6d9f97e1
SP
214942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21495
d63f73be
SP
21496 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21497 __ATAN_TWOM.
21498 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21499
6d9f97e1
SP
21500 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21501 their values.
21502 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21503 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21504 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21505 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21506
4c4febf5
AJ
215072012-12-28 Andreas Jaeger <aj@suse.de>
21508
af5843ef
AJ
21509 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21510 values are from Linux 3.7.
21511
4c4febf5
AJ
21512 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21513 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21514
99136f82
SP
215152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21516
2f216c3c 21517 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21518 TRUE case.
21519
99136f82
SP
21520 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21521 (norm): Likewise.
21522 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21523 variables with preprocessor constants.
21524 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21525 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21526 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21527
7fffbdff
BH
215282012-12-27 Bruno Haible <bruno@clisp.org>
21529
21530 [BZ #14317]
21531 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21532 only if needed.
21533
b76eb5f0
SP
215342012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21535
31a7fe5c
SP
21536 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21537 and use variable directly.
21538 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21539
b76eb5f0
SP
21540 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21541 MPONE.
21542 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21544 variable MPONE.
21545 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21547 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21548 include directive. Remove local variable MPONE.
21549 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21550 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21551 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21552
2c8bfe7d
DM
215532012-12-25 David S. Miller <davem@davemloft.net>
21554
21555 * version.h (RELEASE): Set to "development".
21556 (VERSION): Set to "2.17.90".
21557 * NEWS: Add 2.18 section.
21558
147d03b0
DM
215592012-12-21 David S. Miller <davem@davemloft.net>
21560
21561 * po/hr.po: Update from translation team.
21562
a8ebb2b9
AK
215632012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21564
21565 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21566
95b4f1b6
SE
215672012-12-19 Steve Ellcey <sellcey@mips.com>
21568
b2d94007 21569 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21570
cedb2a90
MS
215712012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21572
21573 * manual/contrib.texi (Contributors): Spelling correction.
21574
bbf527d6
DM
215752012-12-15 David S. Miller <davem@davemloft.net>
21576
21577 * po/ru.po: Update from translation team.
21578
bc38c906
DM
215792012-12-13 David S. Miller <davem@davemloft.net>
21580
85429b1a
DM
21581 * NEWS: Mention IFUNC testsuite enhancements.
21582
d283e353
DM
21583 * po/pl.po: Update from translation team.
21584 * po/bg.po: Likewise.
21585
bc38c906
DM
21586 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21587 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21588
a181b0d7
DM
215892012-12-11 David S. Miller <davem@davemloft.net>
21590
4641d57e
DM
21591 * po/sv.po: Update from translation team.
21592
f7bc6495
DM
21593 * po/vi.po: Update from translation team.
21594
6fc9048f
DM
21595 * po/cs.po: Update from translation team.
21596
a181b0d7
DM
21597 * po/de.po: Update from translation team.
21598 * po/eo.po: Likewise.
21599 * po/nl.po: Likewise.
21600
f70bfe80
SP
216012012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21602
3c8b4190
SP
21603 [BZ #14246]
21604 * manual/argp.texi (Argp Helper Functions): Move node to follow
21605 Argp Parsing State.
21606
f70bfe80
SP
21607 [BZ #14872]
21608 * manual/conf.texi (Limits on File System Capacity): Mention if
21609 terminating null is included in the max size.
21610
188f0adf
AJ
216112012-12-10 Andreas Jaeger <aj@suse.de>
21612
21613 * po/cs.po: Update from translation team.
21614
56e7d3ad
SP
216152012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21616
21617 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21618 void pointer and cast to uintptr_t.
21619 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21620 path.
21621 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21622 * sysdeps/s390/s390-64/memset.S: Likewise.
21623
76f2d2ea 216242012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21625
21626 [BZ #14833]
21627 * menual/message.texi (Message Translation): Fix typos.
21628 (Helper programs for gettext): Likewise.
21629
67cbf9a2
AS
216302012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21631
21632 [BZ #14898]
21633 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21634 Change to -1.
21635
682d0e9a
DM
216362012-12-07 David S. Miller <davem@davemloft.net>
21637
21638 * po/libc.pot: Update.
21639
573cd484
RH
216402012-12-07 Richard Henderson <rth@redhat.com>
21641
7e9da188 21642 [BZ #10114]
573cd484
RH
21643 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21644 normal/normal case to before the switch.
21645 (_FP_DIV): Likewise.
21646
e933a943
MF
216472012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21648 Mike Frysinger <vapier@gentoo.org>
21649
21650 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21651 check for __NR_fadvise64_64.
21652
82123268
CM
216532012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21654
21655 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21656 0, not just to plain "0" as a statement.
21657 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21658 with cw.
21659
d9814526
JM
216602012-12-06 Joseph Myers <joseph@codesourcery.com>
21661
21662 * NEWS: Use sourceware.org in Bugzilla URL.
21663
7728c574
SP
216642012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21665
f16946dd
SP
21666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21667 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21668
5704bbcb
SP
21669 * stdio-common/tst-put-error.c (do_test): Add newline to the
21670 padded test to ensure flush.
21671
17aa0516
JL
216722012-12-05 Jeff Law <law@redhat.com>
21673
21674 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21675
363313b5
JM
216762012-12-05 Joseph Myers <joseph@codesourcery.com>
21677
effbd42a
JM
21678 * README: Don't refer to ports add-on as distributed separately.
21679 Mention AArch64 in list of systems supported in the ports add-on.
21680
87600365
JM
21681 * LICENSES: Add more non-FSF copyright and license notices.
21682
a0d7066a
JM
21683 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21684 ((unused)).
21685
66ca5a5b
JM
21686 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21687
363313b5
JM
21688 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21689 10000 as width of padded output.
21690
b37984ad
JM
216912012-12-04 Joseph Myers <joseph@codesourcery.com>
21692
9003570a
JM
21693 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21694
b37984ad
JM
21695 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21696 variable LX with __attribute__ ((unused)).
21697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21698 Likewise.
21699 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21700 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21701 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21702 with __attribute__ ((unused)).
21703
c8df52ec
DM
217042012-12-04 David S. Miller <davem@abraco.davemloft.net>
21705
21706 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21707
b3b099af
JM
217082012-12-04 Joseph Myers <joseph@codesourcery.com>
21709
c33aa6e3
JM
21710 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21711 (CFLAGS-nldbl-acos.c): New variable.
21712 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21713 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21714 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21715 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21716 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21717 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21718 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21719 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21720 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21721 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21722 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21723 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21724 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21725 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21726 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21727 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21728 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21729 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21730 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21731 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21732 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21733 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21734 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21735 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21736 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21737 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21738 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21739 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21740 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21741 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21742 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21743 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21744 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21745 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21746 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21747 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21748 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21749 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21750 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21751 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21752 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21753 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21754 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21755 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21756 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21757 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21758 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21759 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21760 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21761 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21762 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21763 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21764 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21765 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21766 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21767 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21768 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21769 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21770 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21771 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21772 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21773 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21774 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21775 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21776 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21777 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21778 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21779 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21780 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21781 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21782 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21783 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21784 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21785 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21786 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21787 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21788 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21789 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21790 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21791 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21792 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21793 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21794 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21795 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21796 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21797 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21798 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21799 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21800 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21801 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21802 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21803 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21804 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21805 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21806 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21807 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21808 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21809
20f0018d
JM
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21811 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21812
b3b099af
JM
21813 [BZ #14914]
21814 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21815 whole low double instead of just low 47 bits when splitting values
21816 into two parts.
21817
029264d1
AM
218182012-12-03 Allan McRae <allan@archlinux.org>
21819
21820 * manual/stdio.texi (Predefined Printf Handlers): Remove
21821 @hsep and @vsep usage.
21822
c9d6789e
MF
218232012-12-03 Mike Frysinger <vapier@gentoo.org>
21824
21825 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21826 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21827
4b7634a5
JL
218282012-12-03 Jeff Law <law@redhat.com>
21829
21830 * time/sys/time.h (settimeofday): Do not mark TV argument
21831 as __nonnull.
21832
eb6cbd24
MF
218332012-12-01 Mike Frysinger <vapier@gentoo.org>
21834
21835 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21836 when currently writing and seek to current position when not.
21837 * libio/Makefile (tests): Remove bug-fclose1.
21838 * libio/bug-fclose1.c: Delete.
21839
f638872a
JM
218402012-12-01 Joseph Myers <joseph@codesourcery.com>
21841
21842 * manual/arith.texi (feenableexcept): Fix typo.
21843 (fedisableexcept): Likewise.
21844
48085d14
RM
218452012-11-30 Roland McGrath <roland@hack.frob.com>
21846
21847 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21848 second, differently-typed declaration, rather than a cast.
21849
1a538b9f
SP
218502012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21851
21852 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21853 * include/rpc/svc.h: ... here.
21854
d07f2ff1 218552012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21856
21857 [BZ #13013]
21858 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21859 depending n and resplen2 to catch cases where answer
21860 equals answerp2.
21861
c93ec1f0
CD
218622012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21863
21864 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21865 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21866
37db69de
MF
218672012-11-29 Mike Frysinger <vapier@gentoo.org>
21868
21869 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21870
e10c4e4f
RM
218712012-11-29 Roland McGrath <roland@hack.frob.com>
21872
21873 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21874
2af1b328
JL
218752012-11-28 Jeff Law <law@redhat.com>
21876
21877 [BZ #13761]
21878 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21879 dataset_temporary. Track alloca usage into alloca_used.
21880 If dataset is large allocate and release it via malloc/free.
21881
111db5b1
FW
218822012-06-04 Florian Weimer <fweimer@redhat.com>
21883
f06cc227 21884 [BZ #14197]
111db5b1
FW
21885 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21886
dd694abd
DM
218872012-11-28 David S. Miller <davem@davemloft.net>
21888
21889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21890
9984dd01
JM
218912012-11-28 Joseph Myers <joseph@codesourcery.com>
21892
21893 [BZ #14803]
21894 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21895 of pi/2 rounded to nearest to 64 bits.
21896 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21897 nearest to 64 bits.
21898 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21899 bits.
21900
14bc93a9
JL
219012012-11-28 Jeff Law <law@redhat.com>
21902 Martin Osvald <mosvald@redhat.com>
21903
21904 [BZ #14889]
21905 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21906 * sunrpc/svc.c: Include time.h.
21907 (__svc_accept_failed): New function.
21908 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21909 any reason other than EINTR, call __svc_accept_failed.
21910 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21911 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21912
e3c6aa3a
AS
219132012-11-28 Andreas Schwab <schwab@suse.de>
21914
21915 * scripts/abilist.awk: Also handle indirect functions in .opd
21916 section.
21917
1bead169
JM
219182012-11-28 Joseph Myers <joseph@codesourcery.com>
21919
21920 [BZ #13881]
21921 * sysdeps/x86/fpu/powl_helper.c: New file.
21922 * sysdeps/x86/fpu/Makefile: Likewise.
21923 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21924 (p3): New object.
21925 (__ieee754_powl): Use __powl_helper for finite arguments except
21926 integer exponents below 8.
21927 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21928 (p3): New object.
21929 (__ieee754_powl): Use __powl_helper for finite arguments except
21930 integer exponents below 8.
21931 * math/libm-test.inc (pow_test): Add more tests and enable some
21932 previously disabled tests.
21933 * sysdeps/i386/fpu/libm-test-ulps: Update.
21934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21935
0817d63d
SP
219362012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21937 Carlos O'Donell <carlos_odonell@mentor.com>
21938
21939 * nss/makedb.c (is_prime): Assert that input is odd and greater
21940 than 4. Note that fact in a comment too.
21941 (next_prime): Add 4 to input.
21942
de2fd463
SP
219432012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21944
21945 [BZ #11741]
21946 * libio/Makefile (tests): Add test case tst-fwrite-error.
21947 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21948 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21949 * libio/tst-fwrite-error.c: New test case.
21950
c515fb51
L
219512012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21952
21953 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21954 before casting to void *.
21955 * include/libc-internal.h (__pointer_type): New macro.
21956 (__integer_if_pointer_type_sub): Likewise.
21957 (__integer_if_pointer_type): Likewise.
21958 (cast_to_integer): Likewise.
21959 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21960 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21961 before casting to atomic64_t.
21962 (atomic_exchange_acq): Likewise.
21963 (__arch_exchange_and_add_body): Likewise.
21964 (__arch_add_body): Likewise.
21965 (atomic_add_negative): Likewise.
21966 (atomic_add_zero): Likewise.
21967
4cf77aa9
JM
219682012-11-26 Joseph Myers <joseph@codesourcery.com>
21969
21970 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21971 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21972 (add_fdes): Likewise.
21973 (linear_search_fdes): Likewise.
21974 (binary_search_unencoded_fdes): Likewise.
21975
d260b3b4
AS
219762012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21977
21978 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21979
67060746
AC
219802012-11-24 Adam Conrad <adconrad@0c3.net>
21981
21982 * configure.in: Autodetect C++ header directories.
21983 * configure: Regenerated.
21984
800938a1
MF
219852012-11-23 Mike Frysinger <vapier@gentoo.org>
21986
21987 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21988
4e6e34e6
AS
219892012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21990
21991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21992
7c7feb47
JM
219932012-11-22 Joseph Myers <joseph@codesourcery.com>
21994
7184dcdf
JM
21995 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21996 LDBL_MANT_DIG == 106]: Disable some tests.
21997 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21998 Likewise.
21999 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22000 Likewise.
22001
0a42601f
JM
22002 [BZ #14871]
22003 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22004 input for small inputs. Return +/- pi/2 for large inputs.
22005 * math/libm-test.inc (atan_test): Add more tests.
22006
79c9b9fe
JM
22007 * sysdeps/generic/unwind-dw2-fde-glibc.c
22008 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22009 __attribute__ ((unused)).
22010
c60d3bf2
JM
22011 [BZ #14645]
22012 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22013 x * y if x and y are nonzero and z is zero.
22014
ef1e0867
JM
22015 [BZ #14811]
22016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22017 nonzero exponents with absolute value below 0x1p-117 to +/-
22018 0x1p-117.
22019
1468ded3
JM
22020 [BZ #14869]
22021 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22022 up arguments below 2**-450, not just those below 2**-500.
22023 * math/libm-test.inc (hypot_test): Add another test.
22024
8e27e3cc
JM
22025 [BZ #14868]
22026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22027 Return a+b for ratio over 2**120, not 2**60.
22028 * math/libm-test.inc (hypot_test): Add another test.
22029
c9c0279b
JM
22030 * math/libm-test.inc (clog_test): Use
22031 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22032 (clog10_test): Likewise.
22033
7c7feb47
JM
22034 [BZ #6778]
22035 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22036
fff1530e
AS
220372012-11-22 Andreas Schwab <schwab@suse.de>
22038
22039 * sysdeps/i386/fpu/libm-test-ulps: Update.
22040
94558d30
PT
220412012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22042
22043 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22044 printf output with newline.
22045
7e1be741
L
220462012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22047
6bfea974
L
22048 [BZ #14865]
22049 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22050 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22051 -z nodlopen, -z initfirst and -z execstack support.
22052 * configure: Regenerated.
22053
7e1be741
L
22054 * elf/elf.h (DF_1_NODIRECT): New macro.
22055 (DF_1_IGNMULDEF): Likewise.
22056 (DF_1_NOKSYMS): Likewise.
22057 (DF_1_NOHDR): Likewise.
22058 (DF_1_EDITED): Likewise.
22059 (DF_1_NORELOC): Likewise.
22060 (DF_1_SYMINTPOSE): Likewise.
22061 (DF_1_GLOBAUDIT): Likewise.
22062 (DF_1_SINGLETON): Likewise.
22063 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22064 DT_1_SUPPORTED_MASK bits.
22065 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22066
105ce2ce
CD
220672012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22068
22069 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22070
123be9de
TS
220712012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22072
d072f3f7
TS
22073 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22074 macro.
22075
123be9de
TS
22076 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22077 (sendmmsg): Move declarations...
22078 * socket/sys/socket.h: ... here.
22079 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22080 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22081 include it from...
22082 * socket/recvmmsg.c: ... this new file.
22083 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22084 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22085 definition of __sendmmsg hidden.
22086 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22087 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22088 Move ENOSYS stub into and include it from...
22089 * socket/sendmmsg.c: ... this new file.
22090 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22091 (sysdep_routines): Move recvmmsg and sendmmsg...
22092 * socket/Makefile (routines): ... here.
22093 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22094 (GLIBC_PRIVATE): Add __sendmmsg.
22095 * include/sys/socket.h (__sendmmsg): Add declarations.
22096 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22097 sendmmsg.
22098
cf9a5d18
JM
220992012-11-20 Joseph Myers <joseph@codesourcery.com>
22100
22101 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22102 variable I1 with __attribute__ ((unused)).
22103 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22104
ecd4caf9
JM
221052012-11-19 Joseph Myers <joseph@codesourcery.com>
22106
be14d48f
JM
22107 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22108 DUMMY variables with __attribute__ ((unused)).
22109
ecd4caf9
JM
22110 * bits/byteswap.h: Include <bits/types.h>.
22111 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22112
986cab95
PT
221132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22114
22115 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22116 string_t. Do not manually set errno.
22117 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22118 length with __strnlen. Make sure to both set errno and return it on
22119 failure.
22120
6d33cc9d
DM
221212012-11-19 David S. Miller <davem@davemloft.net>
22122
22123 With help from Joseph Myers.
22124 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22125 very large arguments properly.
22126 * math/libm-test.inc (atan_test): New tests.
22127 (atan2_test): New tests.
22128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22130
ee663277
JM
221312012-11-19 Joseph Myers <joseph@codesourcery.com>
22132
877f2d8e
JM
22133 [BZ #14856]
22134 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22135 Define to 3.
22136
116fc08a
JM
22137 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22138 [POSIX] (EADDRNOTAVAIL): Likewise.
22139 [POSIX] (EAFNOSUPPORT): Likewise.
22140 [POSIX] (EALREADY): Likewise.
22141 [POSIX] (ECONNABORTED): Likewise.
22142 [POSIX] (ECONNREFUSED): Likewise.
22143 [POSIX] (ECONNRESET): Likewise.
22144 [POSIX] (EDESTADDRREQ): Likewise.
22145 [POSIX] (EDQUOT): Likewise.
22146 [POSIX] (EHOSTUNREACH): Likewise.
22147 [POSIX] (EIDRM): Likewise.
22148 [POSIX] (EISCONN): Likewise.
22149 [POSIX] (ELOOP): Likewise.
22150 [POSIX] (EMULTIHOP): Likewise.
22151 [POSIX] (ENETDOWN): Likewise.
22152 [POSIX] (ENETUNREACH): Likewise.
22153 [POSIX] (ENOBUFS): Likewise.
22154 [POSIX] (ENODATA): Likewise.
22155 [POSIX] (ENOLINK): Likewise.
22156 [POSIX] (ENOMSG): Likewise.
22157 [POSIX] (ENOPROTOOPT): Likewise.
22158 [POSIX] (ENOSR): Likewise.
22159 [POSIX] (ENOSTR): Likewise.
22160 [POSIX] (ENOTCONN): Likewise.
22161 [POSIX] (ENOTSOCK): Likewise.
22162 [POSIX] (EOPNOTSUPP): Likewise.
22163 [POSIX] (EOVERFLOW): Likewise.
22164 [POSIX] (EPROTO): Likewise.
22165 [POSIX] (EPROTONOSUPPORT): Likewise.
22166 [POSIX] (EPROTOTYPE): Likewise.
22167 [POSIX] (ESTALE): Likewise.
22168 [POSIX] (ETIME): Likewise.
22169 [POSIX] (ETXTBSY): Likewise.
22170 [POSIX] (EWOULDBLOCK): Likewise.
22171 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22172 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22173 [POSIX] (SEEK_CUR): Likewise.
22174 [POSIX] (SEEK_END): Likewise.
22175 [POSIX || UNIX98] (mode_t): Do not require.
22176 [POSIX] (off_t): Likewise.
22177 [POSIX] (pid_t): Likewise.
22178 [POSIX] (sys/stat.h): Do not allow header.
22179 [POSIX] (unistd.h): Likewise.
22180 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22181 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22182 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22183 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22184 require.
22185 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22186 sigevent): Specify elements.
22187 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22188 entry.
22189 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22190 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22191
a483863f
JM
22192 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22193 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22194 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22195 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22196 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22197 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22198 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22199 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22200 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22201 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22202 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22203 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22204 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22205 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22206 Likewise.
22207 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22208 Likewise.
22209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22210 Likewise.
22211 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22212 Likewise.
22213 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22214 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22215 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22216 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22217 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22218 Specify lower bound on value.
22219 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22220 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22221 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22222 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22223 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22224 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22225 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22226 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22227 value.
22228 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22229 as optional.
22230 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22231 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22232 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22233 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22234 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22235 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22236 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22237 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22238 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22239 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22240 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22241 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22242 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22243 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22244 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22245 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22246 entry.
22247 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22248 optional.
22249 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22250 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22251 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22252 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22253 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22254 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22255 Likewise.
22256 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22257 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22258 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22259 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22260 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22261 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22262 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22263 as optional.
22264 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22265 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22266 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22267 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22268 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22269 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22270 specify as optional.
22271 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22272 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22273 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22274 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22275 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22276 [XPG3] (NL_LANGMAX): Likewise.
22277 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22278 [POSIX || XPG3] (NL_NMAX): Likewise.
22279 [POSIX || XPG3] (NL_SETMAX): Likewise.
22280 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22281 [XPG3] (NZERO): Likewise.
22282 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22283 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22284 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22285 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22286 (REG_ERANGE): Expect.
22287 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22288 optional-constant.
22289 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22290 Use (void) in prototype.
22291 [POSIX] (*_t): Allow.
22292 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22293 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22294 (WRDE_BADVAL): Expect.
22295
5ba924e3
JM
22296 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22297 expect.
22298 [XPG3 || XPG4] (O_RSYNC): Likewise.
22299 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22300 Likewise.
22301 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22302 [XPG3 || XPG4] (sigqueue): Likewise.
22303 [XPG3 || XPG4] (sigtimedwait): Likewise.
22304 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22305 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22306 [XPG3 || XPG4] (vsnprintf): Likewise.
22307 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22308 Likewise.
22309 [XPG3 || XPG4] (blksize_t): Likewise.
22310 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22311 Likewise.
22312 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22313 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22314 [XPG3 || XPG4] (struct itimerspec): Likewise.
22315 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22316 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22317 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22318 [XPG3 || XPG4] (clockid_t): Likewise.
22319 [XPG3 || XPG4] (timer_t): Likewise.
22320 [XPG3 || XPG4] (clock_getres): Likewise.
22321 [XPG3 || XPG4] (clock_gettime): Likewise.
22322 [XPG3 || XPG4] (clock_settime): Likewise.
22323 [XPG3 || XPG4] (nanosleep): Likewise.
22324 [XPG3 || XPG4] (timer_create): Likewise.
22325 [XPG3 || XPG4] (timer_delete): Likewise.
22326 [XPG3 || XPG4] (timer_gettime): Likewise.
22327 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22328 [XPG3 || XPG4] (timer_settime): Likewise.
22329 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22330 [XPG3 || XPG4] (getlogin_r): Likewise.
22331 [XPG3 || XPG4] (pread): Likewise.
22332 [XPG3 || XPG4] (pthread_atfork): Likewise.
22333 [XPG3 || XPG4] (pwrite): Likewise.
22334
ee663277
JM
22335 [BZ #14835]
22336 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22337 <bits/siginfo.h>.
22338
942caa16
PT
223392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22340
e19af380
PT
22341 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22342 finalizing MALLSTREAM.
22343
942caa16
PT
22344 * sysdeps/mach/hurd/syncfs.c: New file.
22345
cfde9b46
SP
223462012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22347
22348 [BZ #14719]
22349 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22350 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22351 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22352 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22353 (_nss_dns_gethostbyname4_r): Likewise.
22354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22355 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22356
f6da27e5
PH
223572012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22358
22359 [BZ #13763]
22360 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22361
6665d4a2
SM
223622012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22363
1f51ee92
SM
22364 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22365 * elf/cache.c (print_entry): Print ",AArch64" for
22366 FLAG_AARCH64_LIB64
22367
6665d4a2
SM
22368 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22369 * elf/cache.c (print_entry): Print ",hard-float" for
22370 FLAG_ARM_LIBHF.
22371
05b227bd
DM
223722012-11-18 David S. Miller <davem@davemloft.net>
22373
22374 With help from Joseph Myers.
22375 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22376 cutoff to 2**-13.
22377 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22378 cutoff to 2**-25.
22379 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22380 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22381 small.
22382 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22383 * math/libm-test.inc (y0_test): New tests.
22384 (y1_test): New tests.
22385 * sysdeps/i386/fpu/libm-test-ulps: Update.
22386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22388
786b0b67
AS
223892012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22390
22391 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22392 64-bit targets.
22393 * configure: Regenerated.
22394
8e18b86d
DM
223952012-11-17 David S. Miller <davem@davemloft.net>
22396
22397 [BZ #14811]
22398 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22399 nonzero exponents with absolute value below 0x1p-128 to +/-
22400 0x1p-128.
22401
531f1ae0
JM
224022012-11-17 Joseph Myers <joseph@codesourcery.com>
22403
12df29e2
JM
22404 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22405
150dc1a0
JM
22406 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22407
531f1ae0
JM
22408 * posix/getconf-speclist.c: New file.
22409 * posix/posix-envs.def: Likewise.
22410 * posix/confstr.c (START_ENV_GROUP): New macro.
22411 (END_ENV_GROUP): Likewise.
22412 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22413 (KNOWN_PRESENT_ENV_STRING): Likewise.
22414 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22415 (UNKNOWN_ENVIRONMENT): Likewise.
22416 (confstr): Include posix-envs.def instead of handling
22417 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22418 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22419 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22420 (END_ENV_GROUP): Likewise.
22421 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22422 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22423 (UNKNOWN_ENVIRONMENT): Likewise.
22424 (__sysconf): Include posix-envs.def instead of handling associated
22425 cases directly here.
22426 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22427 preprocessing getconf-speclist.c rather than running getconf or
22428 generating empty file.
22429
a93f9cbc
PT
224302012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22431
22432 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22433
d64d9f87
AL
224342012-11-16 Andrej Lajovic <natrij@gmail.com>
22435
22436 [BZ #14672]
22437 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22438
447885eb
DM
224392012-11-16 David S. Miller <davem@davemloft.net>
22440
22441 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22442 smaller than LDBL_EPSILON/2.0L, just return xm1.
22443
bcbf9830
L
224442012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22445
22446 * elf/tst-array1.c (init): Set constructor priority to 1000.
22447 (fini): Set destructor priority to 1000.
22448 * elf/tst-array2dep.c: Likewise.
22449
2b766585
SP
224502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22451
22452 [BZ #11741]
22453 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22454 (_IO_new_file_xsputn): Also return EOF if none of the input
22455 data was written when overflow failed.
22456 * libio/iopadn.c (_IO_padn): Likewise.
22457 * libio/iowpadn.c (_IO_wpadn): Likewise.
22458 * stdio-common/tst-put-error.c: Add copyright notice.
22459 (do_test): Add case for printing padded string.
22460 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22461 _IO_padn returned error.
22462 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22463 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22464 return EOF.
22465
b1848fde
SP
224662012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22467
22468 * libio/libioP.h: Add comment note that the references to C++
22469 bits are now obsolete.
22470
2fd89785
MS
224712012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22472
22473 * math/libm-test.inc (check_complex): Use asprintf.
22474
e3ea5409
JM
224752012-11-14 Joseph Myers <joseph@codesourcery.com>
22476
22477 * debug/pcprofiledump.c (print_version): Update copyright year.
22478 * malloc/memusagestat.c (print_version): Likewise.
22479
2e64d265
L
224802012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22481
22482 [BZ #14831]
22483 * elf/Makefile (tests): Add tst-audit8.
22484 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22485 ($(objpfx)tst-audit8.out): New target.
22486 (tst-audit8-ENV): New variable.
22487 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22488 audit if l_reloc_result is NULL.
22489 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22490 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22491 * elf/tst-audit8.c: New file.
22492
c485e4d2
MS
224932012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22494
22495 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22496 * misc/Makefile (CFLAGS-select.c): Define.
22497 * posix/Makefile (CFLAGS-pause.c): Define.
22498
3a0d900a
DM
224992012-11-13 David S. Miller <davem@davemloft.net>
22500
22501 * crypt/Makefile: Move test targets after toplevel Rules
22502 inclusion. Grab any necessary sysdep routines when linking.
22503 * crypt/md5.c (md5_process_block): Remove define, we will always
22504 name it __md5_process_block.
22505 (md5_finish_ctx): Update md5_process_block call.
22506 (md5_stream): Likewise.
22507 (md5_process_bytes): Likewise.
22508 (md5_process_block): Rename to __md5_process_block and move to ...
22509 * crypt/md5-block.c: ... here.
22510 * crypt/sha256.c (sha256_process_block): Move to ...
22511 * crypt/sha256-block.c: ... here.
22512 * crypt/sha512.c (sha512_process_block): Move to ...
22513 * crypt/sha512-block.c: ... here.
22514 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22515 path.
22516 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22517 * sysdeps/sparc/sparc64/multiarch/Makefile
22518 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22519 crypt subdir.
22520 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22521 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22522 multiarch changes.
22523 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22524 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22525 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22526 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22527 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22528 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22529 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22530 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22531 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22532 file.
22533 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22534 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22535 file.
22536 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22537
8ca89318
JM
225382012-11-13 Joseph Myers <joseph@codesourcery.com>
22539
e27d476a
JM
22540 * timezone/tzselect.ksh: Update from tzcode git revision
22541 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22542 * timezone/zdump.c: Likewise.
22543 * timezone/zic.c: Likewise.
22544 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22545 in TZVERSION setting, not $(PKGVERSION).
22546 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22547 REPORT_BUGS_TO settings.
22548
8ca89318
JM
22549 [BZ #14838]
22550 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22551 macro.
22552
47594329
MS
225532012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22554
22555 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22556 detection to immediately after _FP_ROUND().
22557 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22558 bits are 0.
22559
640ac3f1
DM
225602012-11-11 David S. Miller <davem@davemloft.net>
22561
22562 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22563 inttypes.h
22564 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22565 __close rather than their public counterparts.
22566
3d2577bb
JM
225672012-11-10 Joseph Myers <joseph@codesourcery.com>
22568
22569 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22570 file.
22571 [UNIX98] (sem_timedwait): Do not expect.
22572 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22573 [XPG4 || UNIX98] (sockatmark): Do not expect.
22574 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22575 (clock_getcpuclockid): Do not expect.
22576 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22577 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22578 Do not expect.
22579 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22580 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22581 [UNIX98] (vwscanf): Likewise.
22582 [UNIX98] (vswscanf): Likewise.
22583
fb1ae1ee
JM
225842012-11-09 Joseph Myers <joseph@codesourcery.com>
22585
9ec6f8bd
JM
22586 * timezone/version.h: Remove file.
22587 * timezone/README: Do not refer to version.h.
22588 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22589 $(objpfx)version.h.
22590 ($(objpfx)zdump.o): Likewise.
c3f81911 22591 ($(objpfx)version.h): New target.
9ec6f8bd 22592
0aa8f8a1
JM
22593 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22594 2012i.
22595 * timezone/README: Don't mention modification to tzselect.ksh.
22596 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22597 work on unmodified tzselect.ksh. Substitute version numbers in
22598 tzselect.ksh.
22599
4e87147f
JM
22600 * Makefile (format-me): Remove.
22601 (INSTALL): Adjust indentation. Use commands directly instead of
22602 using $(format-me).
22603
8b748aed
JM
22604 * aclocal.m4 (ACX_PKGVERSION): New macro.
22605 (ACX_BUGURL): Likewise.
22606 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22607 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22608 (REPORT_BUGS_TO): Likewise.
22609 * configure: Regenerated.
22610 * config.h.in (PKGVERSION): New macro.
22611 (REPORT_BUGS_TO): Likewise.
22612 * config.make.in (PKGVERSION): New variable.
22613 (PKGVERSION_TEXI): Likewise.
22614 (REPORT_BUGS_TO): Likewise.
22615 (REPORT_BUGS_TEXI): Likewise.
22616 * Makefile (format-me): Use -I$(common-objpfx)manual.
22617 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22618 ($(common-objpfx)manual/%): New target.
22619 (manual/%): Remove target.
22620 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22621 (print_version): Use PKGVERSION.
22622 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22623 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22624 and REPORT_BUGS_TO.
22625 ($(objpfx)xtrace): Likewise.
22626 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22627 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22628 (print_version): Use PKGVERSION.
22629 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22630 (do_version): Use PKGVERSION.
22631 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22632 REPORT_BUGS_TO.
22633 (common-ldd-rewrite): Likewise.
22634 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22635 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22636 (print_version): Use PKGVERSION.
22637 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22638 * elf/pldd.c (argp_program_bug_address): Remove variable.
22639 (more_help): New function.
22640 (argp): Use more_help.
22641 (print_version): Use PKGVERSION.
22642 * elf/sln.c (main): Use PKGVERSION.
22643 (usage): Use REPORT_BUGS_TO.
22644 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22645 (top level): Use PKGVERSION.
22646 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22647 (print_version): Use PKGVERSION.
22648 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22649 (print_version): Use PKGVERSION.
22650 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22651 (print_version): Use PKGVERSION.
22652 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22653 (print_version): Use PKGVERSION.
22654 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22655 (print_version): Use PKGVERSION.
22656 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22657 (print_version): Use PKGVERSION.
22658 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22659 and BUGURL.
22660 ($(objpfx)memusage): Likewise.
22661 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22662 (do_version): Use PKGVERSION.
22663 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22664 (print_version): Use PKGVERSION.
22665 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22666 ($PKGVERSION): New variable.
22667 ($REPORT_BUGS_TO): Likewise.
22668 (usage): Use $REPORT_BUGS_TO.
22669 (top level): Use $PKGVERSION.
22670 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22671 ($(objpfx)pkgvers.texi): New rule.
22672 ($(objpfx)stamp-pkgvers): Likewise.
22673 * manual/install.texi: Include pkgvers.texi.
22674 (--with-pkgversion): Document new configure option.
22675 (--with-bugurl): Likewise.
22676 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22677 than necessarily for this particular distribution. Use
22678 REPORT_BUGS_TO for where to report bugs.
22679 * INSTALL: Regenerated.
22680 * manual/libc.texinfo: Include pkgvers.texi.
22681 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22682 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22683 (print_version): Use PKGVERSION.
22684 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22685 (print_version): Use PKGVERSION.
22686 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22687 (print_version): Use PKGVERSION.
22688 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22689 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22690 macro.
22691 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22692 (print_version): Use PKGVERSION.
22693 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22694 (print_version): Use PKGVERSION.
22695 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22696 and PKGVERSION.
22697
92e4b6a9
JM
22698 * timezone/checktab.awk: Update from tzcode 2012i.
22699 * timezone/ialloc.c: Likewise.
22700 * timezone/private.h: Likewise.
22701 * timezone/scheck.c: Likewise.
22702 * timezone/tzfile.h: Likewise.
22703 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22704 (TZVERSION): Hardcode tzcode version number.
22705 * timezone/zdump.c: Update from tzcode 2012i.
22706 * timezone/zic.c: Likewise.
22707 * timezone/version.h: New file.
22708 * timezone/README: Describe version.h. Update upstream location.
22709
9bde902c
JM
22710 [BZ #14824]
22711 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22712 (mktemp): Enable declaration.
22713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22717 Likewise.
22718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22719 Likewise.
22720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22721 Likewise.
22722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22723 Likewise.
22724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22725 Likewise.
22726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22727 Likewise.
22728
fb1ae1ee
JM
22729 [BZ #14821]
22730 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22731 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22732 for copies of such integer values.
22733 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22734 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22735
2c1adbcb
AJ
227362012-11-09 Andreas Jaeger <aj@suse.de>
22737
22738 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22739 definitions and declarations that are provided by
22740 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22741
d0f8457e
AK
227422012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22743
3a235abb 22744 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22745 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22746 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22747 definition.
22748
57241e26
MS
227492012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22750
22751 * elf/elf.h: Update comment before AArch64 relocations.
22752
60e8270d
DM
227532012-11-07 David S. Miller <davem@davemloft.net>
22754
22755 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22756 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22757 (__start_context): Declare.
22758 (__makecontext_ret): Delete.
22759 (__makecontext): Hook up __start_context instead of
22760 __makecontext_ret.
22761 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22762 (sysdep_routines): Add __start_context when in stdlib.
22763
0fbb0fbc
JM
227642012-11-07 Joseph Myers <joseph@codesourcery.com>
22765
22766 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22767 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22768 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22769 hardcoded "nm".
22770 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22771 (READELF): New variable. Use it instead of hardcoded "readelf".
22772
eb48db7e
L
227732012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22774
22775 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22776 * sysdeps/x86/Makefile: Here.
22777 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22778 * sysdeps/x86/tst-xmmymm.sh: This.
22779
05bcf62a
JM
227802012-11-07 Joseph Myers <joseph@codesourcery.com>
22781
c4b6cf53
JM
22782 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22783 expectations.
22784 [UNIX98] (pthread_barrier_t): Do not expect.
22785 [UNIX98] (pthread_barrierattr_t): Likewise.
22786 [UNIX98] (pthread_spinlock_t): Likewise.
22787 [UNIX98] (pthread_barrier_destroy): Likewise.
22788 [UNIX98] (pthread_barrier_init): Likewise.
22789 [UNIX98] (pthread_barrier_wait): Likewise.
22790 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22791 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22792 [UNIX98] (pthread_barrierattr_init): Likewise.
22793 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22794 [UNIX98] (pthread_getcpuclockid): Likewise.
22795 [UNIX98] (pthread_mutex_timedlock): Likewise.
22796 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22797 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22798 [UNIX98] (pthread_sigmask): Likewise.
22799 [UNIX98] (pthread_spin_destroy): Likewise.
22800 [UNIX98] (pthread_spin_init): Likewise.
22801 [UNIX98] (pthread_spin_lock): Likewise.
22802 [UNIX98] (pthread_spin_trylock): Likewise.
22803 [UNIX98] (pthread_spin_unlock): Likewise.
22804 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22805 Do not expect.
22806 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22807 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22808 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22809 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22810 [XPG3 || XPG4] (pthread_key_t): Likewise.
22811 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22812 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22813 [XPG3 || XPG4] (pthread_once_t): Likewise.
22814 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22815 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22816 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22817 [XPG3 || XPG4] (pthread_t): Likewise.
22818
cbe6e120
JM
22819 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22820 not expect.
22821 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22822
1b126443
JM
22823 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22824 Change function return type to int.
22825
b961a573
JM
22826 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22827 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22828 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22829 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22830 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22831 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22832 [!POSIX] (posix_madvise): Likewise.
22833 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22834 && !UNIX98].
22835 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22836 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22837 (mode_t): Likewise.
22838 (posix_mem_offset): Likewise.
22839 (posix_typed_mem_get_info): Likewise.
22840 (posix_typed_mem_open): Likewise.
22841
9e188909
JM
22842 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22843 Change condition to [XOPEN2K8].
22844
05bcf62a
JM
22845 * conform/conformtest.pl: Preprocess allow-header data with -x c
22846 instead of from stdin.
22847 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22848 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22849 [C99-based standards] (cerfc): Likewise.
22850 [C99-based standards] (cexp2): Likewise.
22851 [C99-based standards] (cexpm1): Likewise.
22852 [C99-based standards] (clog10): Likewise.
22853 [C99-based standards] (clog1p): Likewise.
22854 [C99-based standards] (clog2): Likewise.
22855 [C99-based standards] (clgamma): Likewise.
22856 [C99-based standards] (ctgamma): Likewise.
22857 [C99-based standards] (cerff): Likewise.
22858 [C99-based standards] (cerfcf): Likewise.
22859 [C99-based standards] (cexp2f): Likewise.
22860 [C99-based standards] (cexpm1f): Likewise.
22861 [C99-based standards] (clog10f): Likewise.
22862 [C99-based standards] (clog1pf): Likewise.
22863 [C99-based standards] (clog2f): Likewise.
22864 [C99-based standards] (clgammaf): Likewise.
22865 [C99-based standards] (ctgammaf): Likewise.
22866 [C99-based standards] (cerfl): Likewise.
22867 [C99-based standards] (cerfcl): Likewise.
22868 [C99-based standards] (cexp2l): Likewise.
22869 [C99-based standards] (cexpm1l): Likewise.
22870 [C99-based standards] (clog10l): Likewise.
22871 [C99-based standards] (clog1pl): Likewise.
22872 [C99-based standards] (clog2l): Likewise.
22873 [C99-based standards] (clgammal): Likewise.
22874 [C99-based standards] (ctgammal): Likewise.
22875 * conform/data/inttypes.h-data [C99-based standards]: Include
22876 stdint.h-data. Remove all expectations for stdint.h contents.
22877 [C99-based standards] (PRI*): Do not allow.
22878 [C99-based standards] (SCN*): Likewise.
22879 [C99-based standards] (*_t): Likewise.
22880 [C99-based-standards] (PRId8): Expect macro.
22881 [C99-based-standards] (PRIi8): Likewise.
22882 [C99-based-standards] (PRIo8): Likewise.
22883 [C99-based-standards] (PRIu8): Likewise.
22884 [C99-based-standards] (PRIx8): Likewise.
22885 [C99-based-standards] (PRIX8): Likewise.
22886 [C99-based-standards] (SCNd8): Likewise.
22887 [C99-based-standards] (SCNi8): Likewise.
22888 [C99-based-standards] (SCNo8): Likewise.
22889 [C99-based-standards] (SCNu8): Likewise.
22890 [C99-based-standards] (SCNx8): Likewise.
22891 [C99-based-standards] (PRIdLEAST8): Likewise.
22892 [C99-based-standards] (PRIiLEAST8): Likewise.
22893 [C99-based-standards] (PRIoLEAST8): Likewise.
22894 [C99-based-standards] (PRIuLEAST8): Likewise.
22895 [C99-based-standards] (PRIxLEAST8): Likewise.
22896 [C99-based-standards] (PRIXLEAST8): Likewise.
22897 [C99-based-standards] (SCNdLEAST8): Likewise.
22898 [C99-based-standards] (SCNiLEAST8): Likewise.
22899 [C99-based-standards] (SCNoLEAST8): Likewise.
22900 [C99-based-standards] (SCNuLEAST8): Likewise.
22901 [C99-based-standards] (SCNxLEAST8): Likewise.
22902 [C99-based-standards] (PRIdFAST8): Likewise.
22903 [C99-based-standards] (PRIiFAST8): Likewise.
22904 [C99-based-standards] (PRIoFAST8): Likewise.
22905 [C99-based-standards] (PRIuFAST8): Likewise.
22906 [C99-based-standards] (PRIxFAST8): Likewise.
22907 [C99-based-standards] (PRIXFAST8): Likewise.
22908 [C99-based-standards] (SCNdFAST8): Likewise.
22909 [C99-based-standards] (SCNiFAST8): Likewise.
22910 [C99-based-standards] (SCNoFAST8): Likewise.
22911 [C99-based-standards] (SCNuFAST8): Likewise.
22912 [C99-based-standards] (SCNxFAST8): Likewise.
22913 [C99-based-standards] (PRId16): Likewise.
22914 [C99-based-standards] (PRIi16): Likewise.
22915 [C99-based-standards] (PRIo16): Likewise.
22916 [C99-based-standards] (PRIu16): Likewise.
22917 [C99-based-standards] (PRIx16): Likewise.
22918 [C99-based-standards] (PRIX16): Likewise.
22919 [C99-based-standards] (SCNd16): Likewise.
22920 [C99-based-standards] (SCNi16): Likewise.
22921 [C99-based-standards] (SCNo16): Likewise.
22922 [C99-based-standards] (SCNu16): Likewise.
22923 [C99-based-standards] (SCNx16): Likewise.
22924 [C99-based-standards] (PRIdLEAST16): Likewise.
22925 [C99-based-standards] (PRIiLEAST16): Likewise.
22926 [C99-based-standards] (PRIoLEAST16): Likewise.
22927 [C99-based-standards] (PRIuLEAST16): Likewise.
22928 [C99-based-standards] (PRIxLEAST16): Likewise.
22929 [C99-based-standards] (PRIXLEAST16): Likewise.
22930 [C99-based-standards] (SCNdLEAST16): Likewise.
22931 [C99-based-standards] (SCNiLEAST16): Likewise.
22932 [C99-based-standards] (SCNoLEAST16): Likewise.
22933 [C99-based-standards] (SCNuLEAST16): Likewise.
22934 [C99-based-standards] (SCNxLEAST16): Likewise.
22935 [C99-based-standards] (PRIdFAST16): Likewise.
22936 [C99-based-standards] (PRIiFAST16): Likewise.
22937 [C99-based-standards] (PRIoFAST16): Likewise.
22938 [C99-based-standards] (PRIuFAST16): Likewise.
22939 [C99-based-standards] (PRIxFAST16): Likewise.
22940 [C99-based-standards] (PRIXFAST16): Likewise.
22941 [C99-based-standards] (SCNdFAST16): Likewise.
22942 [C99-based-standards] (SCNiFAST16): Likewise.
22943 [C99-based-standards] (SCNoFAST16): Likewise.
22944 [C99-based-standards] (SCNuFAST16): Likewise.
22945 [C99-based-standards] (SCNxFAST16): Likewise.
22946 [C99-based-standards] (PRId32): Likewise.
22947 [C99-based-standards] (PRIi32): Likewise.
22948 [C99-based-standards] (PRIo32): Likewise.
22949 [C99-based-standards] (PRIu32): Likewise.
22950 [C99-based-standards] (PRIx32): Likewise.
22951 [C99-based-standards] (PRIX32): Likewise.
22952 [C99-based-standards] (SCNd32): Likewise.
22953 [C99-based-standards] (SCNi32): Likewise.
22954 [C99-based-standards] (SCNo32): Likewise.
22955 [C99-based-standards] (SCNu32): Likewise.
22956 [C99-based-standards] (SCNx32): Likewise.
22957 [C99-based-standards] (PRIdLEAST32): Likewise.
22958 [C99-based-standards] (PRIiLEAST32): Likewise.
22959 [C99-based-standards] (PRIoLEAST32): Likewise.
22960 [C99-based-standards] (PRIuLEAST32): Likewise.
22961 [C99-based-standards] (PRIxLEAST32): Likewise.
22962 [C99-based-standards] (PRIXLEAST32): Likewise.
22963 [C99-based-standards] (SCNdLEAST32): Likewise.
22964 [C99-based-standards] (SCNiLEAST32): Likewise.
22965 [C99-based-standards] (SCNoLEAST32): Likewise.
22966 [C99-based-standards] (SCNuLEAST32): Likewise.
22967 [C99-based-standards] (SCNxLEAST32): Likewise.
22968 [C99-based-standards] (PRIdFAST32): Likewise.
22969 [C99-based-standards] (PRIiFAST32): Likewise.
22970 [C99-based-standards] (PRIoFAST32): Likewise.
22971 [C99-based-standards] (PRIuFAST32): Likewise.
22972 [C99-based-standards] (PRIxFAST32): Likewise.
22973 [C99-based-standards] (PRIXFAST32): Likewise.
22974 [C99-based-standards] (SCNdFAST32): Likewise.
22975 [C99-based-standards] (SCNiFAST32): Likewise.
22976 [C99-based-standards] (SCNoFAST32): Likewise.
22977 [C99-based-standards] (SCNuFAST32): Likewise.
22978 [C99-based-standards] (SCNxFAST32): Likewise.
22979 [C99-based-standards] (PRId64): Likewise.
22980 [C99-based-standards] (PRIi64): Likewise.
22981 [C99-based-standards] (PRIo64): Likewise.
22982 [C99-based-standards] (PRIu64): Likewise.
22983 [C99-based-standards] (PRIx64): Likewise.
22984 [C99-based-standards] (PRIX64): Likewise.
22985 [C99-based-standards] (SCNd64): Likewise.
22986 [C99-based-standards] (SCNi64): Likewise.
22987 [C99-based-standards] (SCNo64): Likewise.
22988 [C99-based-standards] (SCNu64): Likewise.
22989 [C99-based-standards] (SCNx64): Likewise.
22990 [C99-based-standards] (PRIdLEAST64): Likewise.
22991 [C99-based-standards] (PRIiLEAST64): Likewise.
22992 [C99-based-standards] (PRIoLEAST64): Likewise.
22993 [C99-based-standards] (PRIuLEAST64): Likewise.
22994 [C99-based-standards] (PRIxLEAST64): Likewise.
22995 [C99-based-standards] (PRIXLEAST64): Likewise.
22996 [C99-based-standards] (SCNdLEAST64): Likewise.
22997 [C99-based-standards] (SCNiLEAST64): Likewise.
22998 [C99-based-standards] (SCNoLEAST64): Likewise.
22999 [C99-based-standards] (SCNuLEAST64): Likewise.
23000 [C99-based-standards] (SCNxLEAST64): Likewise.
23001 [C99-based-standards] (PRIdFAST64): Likewise.
23002 [C99-based-standards] (PRIiFAST64): Likewise.
23003 [C99-based-standards] (PRIoFAST64): Likewise.
23004 [C99-based-standards] (PRIuFAST64): Likewise.
23005 [C99-based-standards] (PRIxFAST64): Likewise.
23006 [C99-based-standards] (PRIXFAST64): Likewise.
23007 [C99-based-standards] (SCNdFAST64): Likewise.
23008 [C99-based-standards] (SCNiFAST64): Likewise.
23009 [C99-based-standards] (SCNoFAST64): Likewise.
23010 [C99-based-standards] (SCNuFAST64): Likewise.
23011 [C99-based-standards] (SCNxFAST64): Likewise.
23012 [C99-based-standards] (PRIdMAX): Likewise.
23013 [C99-based-standards] (PRIiMAX): Likewise.
23014 [C99-based-standards] (PRIoMAX): Likewise.
23015 [C99-based-standards] (PRIuMAX): Likewise.
23016 [C99-based-standards] (PRIxMAX): Likewise.
23017 [C99-based-standards] (PRIXMAX): Likewise.
23018 [C99-based-standards] (SCNdMAX): Likewise.
23019 [C99-based-standards] (SCNiMAX): Likewise.
23020 [C99-based-standards] (SCNoMAX): Likewise.
23021 [C99-based-standards] (SCNuMAX): Likewise.
23022 [C99-based-standards] (SCNxMAX): Likewise.
23023 [C99-based-standards] (PRIdPTR): Likewise.
23024 [C99-based-standards] (PRIiPTR): Likewise.
23025 [C99-based-standards] (PRIoPTR): Likewise.
23026 [C99-based-standards] (PRIuPTR): Likewise.
23027 [C99-based-standards] (PRIxPTR): Likewise.
23028 [C99-based-standards] (PRIXPTR): Likewise.
23029 [C99-based-standards] (SCNdPTR): Likewise.
23030 [C99-based-standards] (SCNiPTR): Likewise.
23031 [C99-based-standards] (SCNoPTR): Likewise.
23032 [C99-based-standards] (SCNuPTR): Likewise.
23033 [C99-based-standards] (SCNxPTR): Likewise.
23034 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23035 allow.
23036 * conform/data/stdint.h-data: Update comments to clarify
23037 requirements.
23038 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23039 type.
23040 [C99-based standards] (INT8_MAX): Likewise.
23041 [C99-based standards] (INT16_MIN): Likewise.
23042 [C99-based standards] (INT16_MAX): Likewise.
23043 [C99-based standards] (INT32_MIN): Likewise.
23044 [C99-based standards] (INT32_MAX): Likewise.
23045 [C99-based standards] (INT64_MIN): Likewise.
23046 [C99-based standards] (INT64_MAX): Likewise.
23047 [C99-based standards] (UINT8_MAX): Likewise.
23048 [C99-based standards] (UINT16_MAX): Likewise.
23049 [C99-based standards] (UINT32_MAX): Likewise.
23050 [C99-based standards] (UINT64_MAX): Likewise.
23051 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23052 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23053 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23054 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23055 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23056 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23057 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23058 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23059 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23060 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23061 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23062 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23063 [C99-based standards] (INT_FAST8_MIN): Likewise.
23064 [C99-based standards] (INT_FAST8_MAX): Likewise.
23065 [C99-based standards] (INT_FAST16_MIN): Likewise.
23066 [C99-based standards] (INT_FAST16_MAX): Likewise.
23067 [C99-based standards] (INT_FAST32_MIN): Likewise.
23068 [C99-based standards] (INT_FAST32_MAX): Likewise.
23069 [C99-based standards] (INT_FAST64_MIN): Likewise.
23070 [C99-based standards] (INT_FAST64_MAX): Likewise.
23071 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23072 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23073 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23074 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23075 [C99-based standards] (INTPTR_MIN): Likewise.
23076 [C99-based standards] (INTPTR_MAX): Likewise.
23077 [C99-based standards] (UINTPTR_MAX): Likewise.
23078 [C99-based standards] (INTMAX_MIN): Likewise.
23079 [C99-based standards] (INTMAX_MAX): Likewise.
23080 [C99-based standards] (UINTMAX_MAX): Likewise.
23081 [C99-based standards] (PTRDIFF_MIN): Likewise.
23082 [C99-based standards] (PTRDIFF_MAX): Likewise.
23083 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23084 [C99-based standards] (SIZE_MAX): Likewise.
23085 [C99-based standards] (WCHAR_MAX): Likewise.
23086 [C99-based standards] (WINT_MAX): Likewise.
23087 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23088 constraint on value.
23089 [C99-based standards] (WCHAR_MIN): Likewise.
23090 [C99-based standards] (WINT_MIN): Likewise.
23091 [C99-based standards] (*_t): Allow.
23092 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23093 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23094 Include math.h-data and complex.h-data. Remove all expectations
23095 of math.h and complex.h contents.
23096 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23097 at end of line.
23098 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23099 (struct tm): Expect tag.
23100 [C99-based-standards] (wcstof): Expect function.
23101 [C99-based-standards] (wcstold): Likewise.
23102 [C99-based-standards] (wcstoll): Likewise.
23103 [C99-based-standards] (wcstoull): Likewise.
23104 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23105 macro-int-constant. Specify type.
23106 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23107 constraint on value.
23108 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23109 Specify type.
23110 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23111 Specify value.
23112 [ISO C standards]: Do not allow headers.
23113 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23114 wcs[abcdefghijklmnopqrstuvwxyz]*.
23115 [ISO C standards] (*_t): Do not allow.
23116 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23117 Expect function.
23118 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23119 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23120 Specify type.
23121 [ISO C standards]: Do not allow headers.
23122 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23123 is[abcdefghijklmnopqrstuvwxyz]*.
23124 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23125 to[abcdefghijklmnopqrstuvwxyz]*.
23126 [ISO C standards] (*_t): Do not allow.
23127 * conform/data/stdalign.h-data: New file.
23128 * conform/data/stdbool.h-data: Likewise.
23129 * conform/data/stdnoreturn.h-data: Likewise.
23130
7514feb8
RM
231312012-11-07 Roland McGrath <roland@hack.frob.com>
23132
23133 [BZ #14815]
23134 * manual/filesys.texi (Directory Entries): Typo fix.
23135 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23136
19b2ecfc
MS
231372012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23138
23139 * elf/elf.h (EM_AARCH64): New macro.
23140 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23141 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23142 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23143 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23144 (R_AARCH64_TLSDESC): Likewise.
23145 (NT_ARM_TLS): Likewise.
23146 (NT_ARM_HW_BREAK): Likewise.
23147 (NT_ARM_HW_WATCH): Likewise.
23148
60e235ee
JM
231492012-11-07 Joseph Myers <joseph@codesourcery.com>
23150
23151 [BZ #14811]
23152 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23153 (__ieee754_powl): Saturate nonzero exponents with absolute value
23154 below 0x1p-79 to +/- 0x1p-79.
23155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23156 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23157 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23158 nonzero exponents with absolute value below 0x1p-32 to +/-
23159 0x1p-32.
23160 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23161 (__ieee754_powl): Saturate nonzero exponents with absolute value
23162 below 0x1p-79 to +/- 0x1p-79.
23163 * math/libm-test.inc (pow_test): Add more tests.
23164
0ab234b7
AK
231652012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23166
23167 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23168 _dl_s390_cap_flags with kernel. Increase string length.
23169 (_dl_s390_platforms): Add z196 and zEC12.
23170
45832f74
JM
231712012-11-07 Joseph Myers <joseph@codesourcery.com>
23172
23173 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23174 Change XOPEN21K to XOPEN2K.
23175
19218757
MK
231762012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23177
23178 * string/memmove.c: Use memcpy when possible.
23179
c5f45721
AJ
231802012-11-06 Andreas Jaeger <aj@suse.de>
23181
23182 * po/eo.po: Update from translation team.
23183
82477c28
JM
231842012-11-06 Joseph Myers <joseph@codesourcery.com>
23185
23186 [BZ #14793]
23187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23188 exponent and small x and y exponents, scale x or y up. Increase
23189 by 2 the exponent used in scaling up.
23190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23192 * math/libm-test.inc (fma_test): Add more tests.
23193 (fma_test_towardzero): Likewise.
23194 (fma_test_downward): Likewise.
23195 (fma_test_upward): Likewise.
23196
99252c8c
JM
231972012-11-05 Joseph Myers <joseph@codesourcery.com>
23198
acfa885f
JM
23199 [BZ #14805]
23200 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23201 fenv_t *.
23202
99252c8c
JM
23203 [BZ #14801]
23204 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23205 namespace for names of struct fields.
23206 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23207 fenv_t fields.
23208 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23209 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23210
d6d98dea
ST
232112012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23212
23213 [BZ #3665]
23214 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23215
e10bb107
TS
232162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23217
23218 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23219 PTR_DEMANGLE.
23220
23221 [BZ #5246]
23222 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23223 PTR_DEMANGLE.
23224
a0c2940d
JM
232252012-11-04 Joseph Myers <joseph@codesourcery.com>
23226
23227 [BZ #14797]
23228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23229 definitely overflow as x * y not x * y + z.
23230 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23231 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23232 * math/libm-test.inc (fma_test): Add more tests.
23233 (fma_test_towardzero): Likewise.
23234 (fma_test_downward): Likewise.
23235 (fma_test_upward): Likewise.
23236
b830319d
TS
232372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23238
23239 [BZ #157]
23240
23241 * include/stub-tag.h: Remove file.
23242 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23243 '#include' of it.
23244 * manual/maint.texi (Porting): Don't reference it.
23245 * Makerules ($(objpfx)stubs): Likewise.
23246 * dirent/closedir.c: Don't include <stub-tag.h>.
23247 * dirent/dirfd.c: Likewise.
23248 * dirent/fdopendir.c: Likewise.
23249 * dirent/getdents.c: Likewise.
23250 * dirent/getdents64.c: Likewise.
23251 * dirent/opendir.c: Likewise.
23252 * dirent/readdir.c: Likewise.
23253 * dirent/readdir64.c: Likewise.
23254 * dirent/readdir64_r.c: Likewise.
23255 * dirent/readdir_r.c: Likewise.
23256 * dirent/rewinddir.c: Likewise.
23257 * dirent/seekdir.c: Likewise.
23258 * dirent/telldir.c: Likewise.
23259 * gmon/profil.c: Likewise.
23260 * grp/setgroups.c: Likewise.
23261 * inet/if_index.c: Likewise.
23262 * io/access.c: Likewise.
23263 * io/chdir.c: Likewise.
23264 * io/chmod.c: Likewise.
23265 * io/chown.c: Likewise.
23266 * io/close.c: Likewise.
23267 * io/dup.c: Likewise.
23268 * io/dup2.c: Likewise.
23269 * io/dup3.c: Likewise.
23270 * io/euidaccess.c: Likewise.
23271 * io/faccessat.c: Likewise.
23272 * io/fchdir.c: Likewise.
23273 * io/fchmod.c: Likewise.
23274 * io/fchmodat.c: Likewise.
23275 * io/fchown.c: Likewise.
23276 * io/fchownat.c: Likewise.
23277 * io/fcntl.c: Likewise.
23278 * io/flock.c: Likewise.
23279 * io/fstatfs.c: Likewise.
23280 * io/fstatfs64.c: Likewise.
23281 * io/fstatvfs.c: Likewise.
23282 * io/fstatvfs64.c: Likewise.
23283 * io/futimens.c: Likewise.
23284 * io/fxstat.c: Likewise.
23285 * io/fxstat64.c: Likewise.
23286 * io/fxstatat.c: Likewise.
23287 * io/fxstatat64.c: Likewise.
23288 * io/getcwd.c: Likewise.
23289 * io/isatty.c: Likewise.
23290 * io/lchmod.c: Likewise.
23291 * io/lchown.c: Likewise.
23292 * io/link.c: Likewise.
23293 * io/linkat.c: Likewise.
23294 * io/lseek.c: Likewise.
23295 * io/lseek64.c: Likewise.
23296 * io/lxstat64.c: Likewise.
23297 * io/mkdir.c: Likewise.
23298 * io/mkdirat.c: Likewise.
23299 * io/mkfifo.c: Likewise.
23300 * io/mkfifoat.c: Likewise.
23301 * io/open.c: Likewise.
23302 * io/open64.c: Likewise.
23303 * io/openat.c: Likewise.
23304 * io/openat64.c: Likewise.
23305 * io/pipe.c: Likewise.
23306 * io/pipe2.c: Likewise.
23307 * io/poll.c: Likewise.
23308 * io/posix_fadvise.c: Likewise.
23309 * io/posix_fadvise64.c: Likewise.
23310 * io/posix_fallocate.c: Likewise.
23311 * io/posix_fallocate64.c: Likewise.
23312 * io/read.c: Likewise.
23313 * io/readlink.c: Likewise.
23314 * io/readlinkat.c: Likewise.
23315 * io/rmdir.c: Likewise.
23316 * io/sendfile.c: Likewise.
23317 * io/sendfile64.c: Likewise.
23318 * io/statfs.c: Likewise.
23319 * io/statfs64.c: Likewise.
23320 * io/statvfs.c: Likewise.
23321 * io/statvfs64.c: Likewise.
23322 * io/symlink.c: Likewise.
23323 * io/symlinkat.c: Likewise.
23324 * io/ttyname.c: Likewise.
23325 * io/ttyname_r.c: Likewise.
23326 * io/umask.c: Likewise.
23327 * io/unlink.c: Likewise.
23328 * io/unlinkat.c: Likewise.
23329 * io/utime.c: Likewise.
23330 * io/utimensat.c: Likewise.
23331 * io/write.c: Likewise.
23332 * io/xmknod.c: Likewise.
23333 * io/xmknodat.c: Likewise.
23334 * io/xstat.c: Likewise.
23335 * io/xstat64.c: Likewise.
23336 * login/getpt.c: Likewise.
23337 * login/grantpt.c: Likewise.
23338 * login/unlockpt.c: Likewise.
23339 * math/e_acoshl.c: Likewise.
23340 * math/e_acosl.c: Likewise.
23341 * math/e_asinl.c: Likewise.
23342 * math/e_atan2l.c: Likewise.
23343 * math/e_atanhl.c: Likewise.
23344 * math/e_coshl.c: Likewise.
23345 * math/e_expl.c: Likewise.
23346 * math/e_fmodl.c: Likewise.
23347 * math/e_gammal_r.c: Likewise.
23348 * math/e_hypotl.c: Likewise.
23349 * math/e_j0l.c: Likewise.
23350 * math/e_j1l.c: Likewise.
23351 * math/e_jnl.c: Likewise.
23352 * math/e_lgammal_r.c: Likewise.
23353 * math/e_log10l.c: Likewise.
23354 * math/e_log2l.c: Likewise.
23355 * math/e_logl.c: Likewise.
23356 * math/e_powl.c: Likewise.
23357 * math/e_rem_pio2l.c: Likewise.
23358 * math/e_sinhl.c: Likewise.
23359 * math/e_sqrtl.c: Likewise.
23360 * math/fclrexcpt.c: Likewise.
23361 * math/fedisblxcpt.c: Likewise.
23362 * math/feenablxcpt.c: Likewise.
23363 * math/fegetenv.c: Likewise.
23364 * math/fegetexcept.c: Likewise.
23365 * math/fegetround.c: Likewise.
23366 * math/feholdexcpt.c: Likewise.
23367 * math/fesetenv.c: Likewise.
23368 * math/fesetround.c: Likewise.
23369 * math/feupdateenv.c: Likewise.
23370 * math/fgetexcptflg.c: Likewise.
23371 * math/fraiseexcpt.c: Likewise.
23372 * math/fsetexcptflg.c: Likewise.
23373 * math/ftestexcept.c: Likewise.
23374 * math/k_cosl.c: Likewise.
23375 * math/k_rem_pio2l.c: Likewise.
23376 * math/k_sinl.c: Likewise.
23377 * math/k_tanl.c: Likewise.
23378 * math/s_asinhl.c: Likewise.
23379 * math/s_atanl.c: Likewise.
23380 * math/s_cbrtl.c: Likewise.
23381 * math/s_erfl.c: Likewise.
23382 * math/s_expm1l.c: Likewise.
23383 * math/s_log1pl.c: Likewise.
23384 * math/s_tanhl.c: Likewise.
23385 * misc/acct.c: Likewise.
23386 * misc/brk.c: Likewise.
23387 * misc/chflags.c: Likewise.
23388 * misc/chroot.c: Likewise.
23389 * misc/fchflags.c: Likewise.
23390 * misc/fgetxattr.c: Likewise.
23391 * misc/flistxattr.c: Likewise.
23392 * misc/fremovexattr.c: Likewise.
23393 * misc/fsetxattr.c: Likewise.
23394 * misc/fsync.c: Likewise.
23395 * misc/ftruncate.c: Likewise.
23396 * misc/futimes.c: Likewise.
23397 * misc/futimesat.c: Likewise.
23398 * misc/getdomain.c: Likewise.
23399 * misc/getdtsz.c: Likewise.
23400 * misc/gethostid.c: Likewise.
23401 * misc/gethostname.c: Likewise.
23402 * misc/getloadavg.c: Likewise.
23403 * misc/getpagesize.c: Likewise.
23404 * misc/getsysstats.c: Likewise.
23405 * misc/getxattr.c: Likewise.
23406 * misc/gtty.c: Likewise.
23407 * misc/ioctl.c: Likewise.
23408 * misc/lgetxattr.c: Likewise.
23409 * misc/listxattr.c: Likewise.
23410 * misc/llistxattr.c: Likewise.
23411 * misc/lremovexattr.c: Likewise.
23412 * misc/lsetxattr.c: Likewise.
23413 * misc/lutimes.c: Likewise.
23414 * misc/madvise.c: Likewise.
23415 * misc/mincore.c: Likewise.
23416 * misc/mlock.c: Likewise.
23417 * misc/mlockall.c: Likewise.
23418 * misc/mmap.c: Likewise.
23419 * misc/mprotect.c: Likewise.
23420 * misc/msync.c: Likewise.
23421 * misc/munlock.c: Likewise.
23422 * misc/munlockall.c: Likewise.
23423 * misc/munmap.c: Likewise.
23424 * misc/preadv.c: Likewise.
23425 * misc/preadv64.c: Likewise.
23426 * misc/ptrace.c: Likewise.
23427 * misc/pwritev.c: Likewise.
23428 * misc/pwritev64.c: Likewise.
23429 * misc/readv.c: Likewise.
23430 * misc/reboot.c: Likewise.
23431 * misc/remap_file_pages.c: Likewise.
23432 * misc/removexattr.c: Likewise.
23433 * misc/revoke.c: Likewise.
23434 * misc/select.c: Likewise.
23435 * misc/setdomain.c: Likewise.
23436 * misc/setegid.c: Likewise.
23437 * misc/seteuid.c: Likewise.
23438 * misc/sethostid.c: Likewise.
23439 * misc/sethostname.c: Likewise.
23440 * misc/setregid.c: Likewise.
23441 * misc/setreuid.c: Likewise.
23442 * misc/setxattr.c: Likewise.
23443 * misc/sstk.c: Likewise.
23444 * misc/stty.c: Likewise.
23445 * misc/swapoff.c: Likewise.
23446 * misc/swapon.c: Likewise.
23447 * misc/sync.c: Likewise.
23448 * misc/syncfs.c: Likewise.
23449 * misc/syscall.c: Likewise.
23450 * misc/truncate.c: Likewise.
23451 * misc/ualarm.c: Likewise.
23452 * misc/usleep.c: Likewise.
23453 * misc/ustat.c: Likewise.
23454 * misc/utimes.c: Likewise.
23455 * misc/vhangup.c: Likewise.
23456 * misc/writev.c: Likewise.
23457 * posix/_exit.c: Likewise.
23458 * posix/alarm.c: Likewise.
23459 * posix/execve.c: Likewise.
23460 * posix/fexecve.c: Likewise.
23461 * posix/fork.c: Likewise.
23462 * posix/fpathconf.c: Likewise.
23463 * posix/getaddrinfo.c: Likewise.
23464 * posix/getegid.c: Likewise.
23465 * posix/geteuid.c: Likewise.
23466 * posix/getgid.c: Likewise.
23467 * posix/getgroups.c: Likewise.
23468 * posix/getlogin.c: Likewise.
23469 * posix/getlogin_r.c: Likewise.
23470 * posix/getpgid.c: Likewise.
23471 * posix/getpid.c: Likewise.
23472 * posix/getppid.c: Likewise.
23473 * posix/getresgid.c: Likewise.
23474 * posix/getresuid.c: Likewise.
23475 * posix/getsid.c: Likewise.
23476 * posix/getuid.c: Likewise.
23477 * posix/glob64.c: Likewise.
23478 * posix/nanosleep.c: Likewise.
23479 * posix/pathconf.c: Likewise.
23480 * posix/pause.c: Likewise.
23481 * posix/posix_madvise.c: Likewise.
23482 * posix/pread.c: Likewise.
23483 * posix/pread64.c: Likewise.
23484 * posix/pwrite.c: Likewise.
23485 * posix/pwrite64.c: Likewise.
23486 * posix/sched_getaffinity.c: Likewise.
23487 * posix/sched_getp.c: Likewise.
23488 * posix/sched_gets.c: Likewise.
23489 * posix/sched_primax.c: Likewise.
23490 * posix/sched_primin.c: Likewise.
23491 * posix/sched_rr_gi.c: Likewise.
23492 * posix/sched_setaffinity.c: Likewise.
23493 * posix/sched_setp.c: Likewise.
23494 * posix/sched_sets.c: Likewise.
23495 * posix/sched_yield.c: Likewise.
23496 * posix/setgid.c: Likewise.
23497 * posix/setlogin.c: Likewise.
23498 * posix/setpgid.c: Likewise.
23499 * posix/setresgid.c: Likewise.
23500 * posix/setresuid.c: Likewise.
23501 * posix/setsid.c: Likewise.
23502 * posix/setuid.c: Likewise.
23503 * posix/sleep.c: Likewise.
23504 * posix/spawni.c: Likewise.
23505 * posix/sysconf.c: Likewise.
23506 * posix/times.c: Likewise.
23507 * posix/wait.c: Likewise.
23508 * posix/wait3.c: Likewise.
23509 * posix/wait4.c: Likewise.
23510 * posix/waitpid.c: Likewise.
23511 * resolv/gai_sigqueue.c: Likewise.
23512 * resource/getpriority.c: Likewise.
23513 * resource/getrlimit.c: Likewise.
23514 * resource/getrusage.c: Likewise.
23515 * resource/nice.c: Likewise.
23516 * resource/setpriority.c: Likewise.
23517 * resource/setrlimit.c: Likewise.
23518 * resource/ulimit.c: Likewise.
23519 * rt/aio_cancel.c: Likewise.
23520 * rt/aio_fsync.c: Likewise.
23521 * rt/aio_read.c: Likewise.
23522 * rt/aio_sigqueue.c: Likewise.
23523 * rt/aio_suspend.c: Likewise.
23524 * rt/aio_write.c: Likewise.
23525 * rt/clock_getres.c: Likewise.
23526 * rt/clock_gettime.c: Likewise.
23527 * rt/clock_nanosleep.c: Likewise.
23528 * rt/clock_settime.c: Likewise.
23529 * rt/lio_listio.c: Likewise.
23530 * rt/mq_close.c: Likewise.
23531 * rt/mq_getattr.c: Likewise.
23532 * rt/mq_notify.c: Likewise.
23533 * rt/mq_open.c: Likewise.
23534 * rt/mq_receive.c: Likewise.
23535 * rt/mq_send.c: Likewise.
23536 * rt/mq_setattr.c: Likewise.
23537 * rt/mq_timedreceive.c: Likewise.
23538 * rt/mq_timedsend.c: Likewise.
23539 * rt/mq_unlink.c: Likewise.
23540 * rt/shm_open.c: Likewise.
23541 * rt/shm_unlink.c: Likewise.
23542 * rt/timer_create.c: Likewise.
23543 * rt/timer_delete.c: Likewise.
23544 * rt/timer_getoverr.c: Likewise.
23545 * rt/timer_gettime.c: Likewise.
23546 * rt/timer_settime.c: Likewise.
23547 * setjmp/__longjmp.c: Likewise.
23548 * setjmp/setjmp.c: Likewise.
23549 * signal/kill.c: Likewise.
23550 * signal/killpg.c: Likewise.
23551 * signal/raise.c: Likewise.
23552 * signal/sigaction.c: Likewise.
23553 * signal/sigaltstack.c: Likewise.
23554 * signal/sigblock.c: Likewise.
23555 * signal/sigignore.c: Likewise.
23556 * signal/sigintr.c: Likewise.
23557 * signal/signal.c: Likewise.
23558 * signal/sigpause.c: Likewise.
23559 * signal/sigpending.c: Likewise.
23560 * signal/sigqueue.c: Likewise.
23561 * signal/sigreturn.c: Likewise.
23562 * signal/sigset.c: Likewise.
23563 * signal/sigsetmask.c: Likewise.
23564 * signal/sigstack.c: Likewise.
23565 * signal/sigsuspend.c: Likewise.
23566 * signal/sigtimedwait.c: Likewise.
23567 * signal/sigvec.c: Likewise.
23568 * signal/sigwait.c: Likewise.
23569 * signal/sigwaitinfo.c: Likewise.
23570 * signal/sysv_signal.c: Likewise.
23571 * socket/accept.c: Likewise.
23572 * socket/accept4.c: Likewise.
23573 * socket/bind.c: Likewise.
23574 * socket/connect.c: Likewise.
23575 * socket/getpeername.c: Likewise.
23576 * socket/getsockname.c: Likewise.
23577 * socket/getsockopt.c: Likewise.
23578 * socket/isfdtype.c: Likewise.
23579 * socket/listen.c: Likewise.
23580 * socket/recv.c: Likewise.
23581 * socket/recvfrom.c: Likewise.
23582 * socket/recvmsg.c: Likewise.
23583 * socket/send.c: Likewise.
23584 * socket/sendmsg.c: Likewise.
23585 * socket/sendto.c: Likewise.
23586 * socket/setsockopt.c: Likewise.
23587 * socket/shutdown.c: Likewise.
23588 * socket/sockatmark.c: Likewise.
23589 * socket/socket.c: Likewise.
23590 * socket/socketpair.c: Likewise.
23591 * stdio-common/ctermid.c: Likewise.
23592 * stdio-common/cuserid.c: Likewise.
23593 * stdio-common/remove.c: Likewise.
23594 * stdio-common/rename.c: Likewise.
23595 * stdio-common/renameat.c: Likewise.
23596 * stdio-common/tempname.c: Likewise.
23597 * stdlib/getcontext.c: Likewise.
23598 * stdlib/makecontext.c: Likewise.
23599 * stdlib/setcontext.c: Likewise.
23600 * stdlib/swapcontext.c: Likewise.
23601 * stdlib/system.c: Likewise.
23602 * streams/fattach.c: Likewise.
23603 * streams/fdetach.c: Likewise.
23604 * streams/getmsg.c: Likewise.
23605 * streams/getpmsg.c: Likewise.
23606 * streams/putmsg.c: Likewise.
23607 * streams/putpmsg.c: Likewise.
23608 * sysdeps/unix/bsd/getpt.c: Likewise.
23609 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23610 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23611 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23613 Likewise.
23614 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23615 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23616 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23617 * sysvipc/msgctl.c: Likewise.
23618 * sysvipc/msgget.c: Likewise.
23619 * sysvipc/msgrcv.c: Likewise.
23620 * sysvipc/msgsnd.c: Likewise.
23621 * sysvipc/semctl.c: Likewise.
23622 * sysvipc/semget.c: Likewise.
23623 * sysvipc/semop.c: Likewise.
23624 * sysvipc/semtimedop.c: Likewise.
23625 * sysvipc/shmat.c: Likewise.
23626 * sysvipc/shmctl.c: Likewise.
23627 * sysvipc/shmdt.c: Likewise.
23628 * sysvipc/shmget.c: Likewise.
23629 * termios/tcdrain.c: Likewise.
23630 * termios/tcflow.c: Likewise.
23631 * termios/tcflush.c: Likewise.
23632 * termios/tcgetattr.c: Likewise.
23633 * termios/tcgetpgrp.c: Likewise.
23634 * termios/tcsendbrk.c: Likewise.
23635 * termios/tcsetattr.c: Likewise.
23636 * termios/tcsetpgrp.c: Likewise.
23637 * time/adjtime.c: Likewise.
23638 * time/clock.c: Likewise.
23639 * time/getitimer.c: Likewise.
23640 * time/gettimeofday.c: Likewise.
23641 * time/setitimer.c: Likewise.
23642 * time/settimeofday.c: Likewise.
23643 * time/stime.c: Likewise.
23644 * time/time.c: Likewise.
23645
236462012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23647
a20492cf
PT
23648 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23649 /usr/old/bin.
23650
72e182e3
PT
23651 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23652 instead of spaces.
23653 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23654
fbeafede
JM
236552012-11-03 Joseph Myers <joseph@codesourcery.com>
23656
5b5b04d6
JM
23657 [BZ #14796]
23658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23659 FE_TONEAREST before applying Dekker multiplication and Knuth
23660 addition. Clear inexact exceptions and check for exact zero
23661 results afterwards.
23662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23663 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23665 * math/libm-test.inc (fma_test): Add more tests.
23666 (fma_test_towardzero): Likewise.
23667 (fma_test_downward): Likewise.
23668 (fma_test_upward): Likewise.
23669 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23670 function.
23671 (libc_fesetround): New macro.
23672 (libc_fesetroundf): Likewise.
23673 (libc_fesetroundl): Likewise.
23674 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23675 function.
23676 (libc_fesetround_387): Likewise.
23677 (libc_fesetroundf): New macro.
23678 (libc_fesetround): Likewise.
23679 (libc_fesetroundl): Likewise.
23680 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23681 function.
23682 (libc_fesetroundf): New macro.
23683 (libc_fesetround): Likewise.
23684 (libc_fesetroundl): Likewise.
23685 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23686 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23687 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23688 libm_hidden_ver.
23689 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23690 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23691 libm_hidden_def.
23692 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23693 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23694 libm_hidden_ver.
23695 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23696 libm_hidden_def.
23697
fbeafede
JM
23698 [BZ #3439]
23699 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23700 integer constant usable in #if and use that to give value to enum
23701 constant.
23702 (FE_DIVBYZERO): Likewise.
23703 (FE_UNDERFLOW): Likewise.
23704 (FE_OVERFLOW): Likewise.
23705 (FE_INVALID): Likewise.
23706 (FE_INVALID_SNAN): Likewise.
23707 (FE_INVALID_ISI): Likewise.
23708 (FE_INVALID_IDI): Likewise.
23709 (FE_INVALID_ZDZ): Likewise.
23710 (FE_INVALID_IMZ): Likewise.
23711 (FE_INVALID_COMPARE): Likewise.
23712 (FE_INVALID_SOFTWARE): Likewise.
23713 (FE_INVALID_SQRT): Likewise.
23714 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23715 (FE_TONEAREST): Likewise.
23716 (FE_TOWARDZERO): Likewise.
23717 (FE_UPWARD): Likewise.
23718 (FE_DOWNWARD): Likewise.
23719 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23720 (FE_DIVBYZERO): Likewise.
23721 (FE_OVERFLOW): Likewise.
23722 (FE_UNDERFLOW): Likewise.
23723 (FE_INEXACT): Likewise.
23724 (FE_TONEAREST): Likewise.
23725 (FE_DOWNWARD): Likewise.
23726 (FE_UPWARD): Likewise.
23727 (FE_TOWARDZERO): Likewise.
23728 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23729 (FE_UNDERFLOW): Likewise.
23730 (FE_OVERFLOW): Likewise.
23731 (FE_DIVBYZERO): Likewise.
23732 (FE_INVALID): Likewise.
23733 (FE_TONEAREST): Likewise.
23734 (FE_TOWARDZERO): Likewise.
23735 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23736 (FE_OVERFLOW): Likewise.
23737 (FE_UNDERFLOW): Likewise.
23738 (FE_DIVBYZERO): Likewise.
23739 (FE_INEXACT): Likewise.
23740 (FE_TONEAREST): Likewise.
23741 (FE_TOWARDZERO): Likewise.
23742 (FE_UPWARD): Likewise.
23743 (FE_DOWNWARD): Likewise.
23744 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23745 (FE_DIVBYZERO): Likewise.
23746 (FE_OVERFLOW): Likewise.
23747 (FE_UNDERFLOW): Likewise.
23748 (FE_INEXACT): Likewise.
23749 (FE_TONEAREST): Likewise.
23750 (FE_DOWNWARD): Likewise.
23751 (FE_UPWARD): Likewise.
23752 (FE_TOWARDZERO): Likewise.
23753
105ca950
CM
237542012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23755
23756 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23757
a542b389
AS
237582012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23759
23760 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23761 commands. Quote $PWD.
23762 (blacklist_exports): Don't use remove_newlines. Replace "declare
23763 -x" by "export".
23764 (remove_newlines): Remove.
23765
f62c8abc
L
237662012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23767
23768 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23769 * stdlib/stdlib.h (atof): Moved to ...
23770 * include/bits/stdlib-float.h: Here. New file.
23771 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23772 * stdlib/bits/stdlib-float.h: New file.
23773 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23774 -mno-sse -mno-mmx.
23775 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23776 <xmmintrin.h>.
23777
0155d5b2
JM
237782012-11-02 Joseph Myers <joseph@codesourcery.com>
23779
a68d0680
JM
23780 * conform/conformtest.pl (@headers): Add fenv.h.
23781 * conform/data/fenv.h-data: New file.
23782 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23783 include of <math/fenv.h>.
23784
caf7f573
JM
23785 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23786 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23787 && !UNIX98]. Enables tests for XOPEN2K8.
23788 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23789 POSIX2008]: Likewise.
23790
6c073ad6
JM
23791 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23792 (struct rusage): Do not expect type or its members.
23793
0155d5b2
JM
23794 [BZ #3439]
23795 * math/math.h (FP_NAN): Define macro to integer constant usable in
23796 #if and use that to give value to enum constant.
23797 (FP_INFINITE): Likewise.
23798 (FP_ZERO): Likewise.
23799 (FP_SUBNORMAL): Likewise.
23800 (FP_NORMAL): Likewise.
23801
b5dcacb4
AS
238022012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23803
23804 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23805 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23806 arguments.
23807
f7934be8
RM
238082012-11-02 Roland McGrath <roland@hack.frob.com>
23809
23810 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23811 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23812 autoconf-time if not.
23813 * configure.in: Remove AC_PREREQ.
23814
d7d08bde
TMQMF
238152012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23816
23817 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23818 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23819 of the internal implementation.
23820
dcdae19a
JM
238212012-11-02 Joseph Myers <joseph@codesourcery.com>
23822
23823 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23824 except include of <misc/sys/syslog.h>.
23825
d6cffd3e
AS
238262012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23827
23828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23829 function returns with a NULL context exit with zero.
23830
b3563932
TMQMF
238312012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23832
23833 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23834
b288a93d
L
238352012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23836
23837 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23838 (run_program_cmd): This.
23839 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23840 (tst_langinfo): New variable. Use it.
23841
a2421a68
SAS
238422012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23843
23844 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23845 floating point opcodes.
23846
6f796e1b
TS
238472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23848
7402596b
TS
23849 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23850 variable.
23851
d0d4f868
TS
23852 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23853
6f796e1b
TS
23854 * sysdeps/mach/hurd/powerpc: Remove directory.
23855 * sysdeps/mach/powerpc: Likewise.
23856
4da224a2
AS
238572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23858
23859 * scripts/check-local-headers.sh: Ignore c++ headers.
23860
341dd673
TS
238612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23862
23863 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23864 __libc_cleanup_region_start argument.
23865
473611b2
JM
238662012-11-01 Joseph Myers <joseph@codesourcery.com>
23867
23868 [BZ #14784]
23869 [BZ #14785]
23870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23871 x * y using scaling, not as x * y + z.
23872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23873 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23874 * math/libm-test.inc (fma_test): Add more tests.
23875 (fma_test_towardzero): Likewise.
23876 (fma_test_downward): Likewise.
23877 (fma_test_upward): Likewise.
23878
4078da3d
TS
238792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23880
23881 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23882
903252aa
JM
238832012-10-31 Joseph Myers <joseph@codesourcery.com>
23884
23885 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23886 New variable.
23887
cbc818d0
TS
238882012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23889
23890 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23891
5a03cb1e
AS
238922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23893
23894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23895 Fix sort order.
23896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23897 Likewise.
23898
90aff2ff
TMQMF
238992012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23900
23901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23902 Fix the order of the list for glibc 2.17.
23903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23904 Likewise.
23905
1818fcb7
AS
239062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23907
23908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23909
ef82f4da
JM
239102012-10-31 Joseph Myers <joseph@codesourcery.com>
23911
16a0e2ec
JM
23912 [BZ #14610]
23913 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23914 for low part of x being zero before using __atanl (y).
23915 * math/libm-test.inc (atan2_test): Add another test.
23916
0eb69512
JM
23917 * manual/install.texi (Configuring and compiling): Document
23918 general use of test-wrapper and test-wrapper-env.
23919 * INSTALL: Regenerated.
23920
ef82f4da
JM
23921 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23922 (__fma): 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 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23926 (__fmal): Do not extract and scale down low bits on after-rounding
23927 systems when result rounded to normal precision would have normal
23928 exponent.
23929 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23930 (__fmal): Do not extract and scale down low bits on after-rounding
23931 systems when result rounded to normal precision would have normal
23932 exponent.
23933 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23934 macro.
23935 (fma_test): Add more tests.
23936 (fma_test_towardzero): Likewise.
23937 (fma_test_downward): Likewise.
23938 (fma_test_upward): Likewise.
23939
954ef0d9
L
239402012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23941
23942 * sysdeps/i386/tininess.h: Renamed to ...
23943 * sysdeps/x86/tininess.h: This.
23944 * sysdeps/x86_64/tininess.h: Removed.
23945
df61ffb2
JM
239462012-10-30 Joseph Myers <joseph@codesourcery.com>
23947
23948 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23949 input. Use $(build-program-cmd).
23950 ($(objpfx)tst-array1-static.out): Likewise.
23951 ($(objpfx)tst-array2.out): Likewise.
23952 ($(objpfx)tst-array3.out): Likewise.
23953 ($(objpfx)tst-array4.out): Likewise.
23954 ($(objpfx)tst-array5.out): Likewise.
23955 ($(objpfx)tst-array5-static.out): Likewise.
23956
01767843
CM
239572012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23958
47cc1490
CM
23959 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23960 if defined.
23961
01767843
CM
23962 * nss/nsswitch.h (nss_interface_function): Provide new
23963 macro for use with NSS functions.
23964 * grp/initgroups.c: Use new macro.
23965 * nss/getXXbyYY.c: Likewise.
23966 * nss/getXXbyYY_r.c: Likewise.
23967 * nss/getXXent.c: Likewise.
23968 * nss/getXXent_r.c: Likewise.
23969 * sysdeps/posix/getaddrinfo.c: Likewise.
23970
8321aa97
AJ
239712012-10-30 Andreas Jaeger <aj@suse.de>
23972
23973 * po/ru.po: Update Russion translation from translation project.
23974
2a27fd6d
JM
239752012-10-30 Joseph Myers <joseph@codesourcery.com>
23976
8627a232
JM
23977 [BZ #14152]
23978 [BZ #14783]
23979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23980 result and shift together with sticky bit instead of replicating
23981 round-to-nearest rounding.
23982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23984 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23985 missing underflow exceptions.
23986 (fma_test_towardzero): Add more tests.
23987 (fma_test_downward): Likewise.
23988 (fma_test_upward): Likewise.
23989
2a27fd6d
JM
23990 [BZ #14047]
23991 * sysdeps/generic/tininess.h: New file.
23992 * sysdeps/i386/tininess.h: Likewise.
23993 * sysdeps/sh/tininess.h: Likewise.
23994 * sysdeps/x86_64/tininess.h: Likewise.
23995 * stdlib/tst-strtod-underflow.c: Likewise.
23996 * stdlib/tst-tininess.c: Likewise.
23997 * stdlib/strtod_l.c: Include <tininess.h>.
23998 (round_and_return): Do not set errno for exact underflow cases.
23999 Force an underflow exception when setting errno for underflow.
24000 Determine underflow based on rounding to normal precision if
24001 TININESS_AFTER_ROUNDING.
24002 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24003 ERANGE for exact underflow cases.
24004 * stdlib/Makefile (tests): Add tst-tininess and
24005 tst-strtod-underflow.
24006 ($(objpfx)tst-tininess): Use $(link-libm).
24007 ($(objpfx)tst-strtod-underflow): Likewise.
24008
e7170363
AJ
240092012-10-30 Andreas Jaeger <aj@suse.de>
24010
e5088dc6
AJ
24011 [BZ#14767]
24012 * elf/Makefile (tests): Remove conditional for have-initfini-array
24013 since this is now always required and the variable does not exist
24014 anymore.
24015 (tests-static): Likewise.
24016 (modules-names): Likewise.
24017
e7170363 24018 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24019
24020 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24021 merged with constructor/destructor.
24022 (init_array): Likewise.
24023 * elf/tst-array2dep.c (fini_array): Likewise.
24024 (init_array): Likewise.
24025
60457d8a
MF
240262012-10-29 Mike Frysinger <vapier@gentoo.org>
24027
24028 * manual/message.texi: Delete @cartouche tags.
24029
8bece752
PT
240302012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24031
94ce799f
PT
24032 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24033 EOPNOTSUPP.
24034 * sysdeps/mach/hurd/fsync.c: Likewise.
24035
8bece752
PT
24036 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24037 [_POSIX_REALTIME_SIGNALS]: Change condition to
24038 [_POSIX_REALTIME_SIGNALS > 0].
24039
86ebe6b1
AJ
240402012-10-27 Andreas Jaeger <aj@suse.de>
24041
24042 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24043 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24045 [__WORDSIZE != 64]: Likewise.
24046
54399c08
L
240472012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24048
24049 * iconvdata/tst-table.sh: Remove ${SHELL}.
24050 * iconvdata/tst-tables.sh: Likewise.
24051
e2211bed
DM
240522012-10-25 David S. Miller <davem@davemloft.net>
24053
24054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24055 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24056 of strtoull.
24057
f303f97c
DM
24058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24059 ifunc-impl-list.c
24060 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24061 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24062 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24063 file.
24064
1e9d84cd
RM
240652012-10-25 Roland McGrath <roland@hack.frob.com>
24066
24067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24068 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24069 __getdirentries.
24070
df381762
JM
240712012-10-25 Joseph Myers <joseph@codesourcery.com>
24072 Jim Blandy <jimb@codesourcery.com>
24073
24074 * scripts/cross-test-ssh.sh: New file.
24075 * manual/install.texi (Configuring and compiling): Document use of
24076 cross-test-ssh.sh.
24077 * INSTALL: Regenerated.
24078
bff64913
PT
240792012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24080
24081 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24082 EOPNOTSUPP.
24083
25fe8932
JM
240842012-10-25 Joseph Myers <joseph@codesourcery.com>
24085
24086 * Makeconfig (run-program-prefix): Fix comment.
24087
cc1290d0
JM
240882012-10-24 Joseph Myers <joseph@codesourcery.com>
24089 Jim Blandy <jimb@codesourcery.com>
24090
24091 * Makeconfig (test-wrapper): New variable,
24092 (test-wrapper-env): Likewise.
24093 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24094 (run-built-tests): Define to yes.
24095 (run-program-prefix): Use $(test-wrapper).
24096 (built-program-cmd): Likewise.
24097 * Rules (make-test-out): Use $(test-wrapper-env) and
24098 $(host-built-program-cmd).
24099 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24100 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24101 tst-pathopt.sh.
24102 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24103 $(test-wrapper-env) to tst-rtld-load-self.sh.
24104 ($(objpfx)order2.out): Use $(test-wrapper).
24105 ($(objpfx)tst-initorder.out): Likewise.
24106 ($(objpfx)tst-initorder2.out): Likewise.
24107 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24108 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24109 (test_wrapper_env): New variable. Use it to run ld.so.
24110 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24111 Use it to run ld.so.
24112 (test_wrapper_env): Likewise.
24113 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24114 $(test-wrapper) to run-iconv-test.sh.
24115 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24116 (ICONV): Use $test_wrapper.
24117 * posix/Makefile ($(objpfx)globtest.out): Pass
24118 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24119 globtest.sh, not $(run-program-prefix).
24120 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24121 (test_wrapper): Likewise.
24122 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24123 set together with run_via_rtld_prefix.
24124 (run_program_prefix): Define in terms of test_wrapper and
24125 run_via_rtld_prefix.
24126
6e6249d0
RM
241272012-10-24 Roland McGrath <roland@hack.frob.com>
24128
24129 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24130 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24131 Targets removed.
24132
24133 [BZ #14743]
24134 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24135 Declare __clock_getres, __clock_gettime, __clock_settime,
24136 __clock_nanosleep, and __clock_getcpuclockid.
24137 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24138 Remove librt_hidden_def (clock_gettime).
24139 * sysdeps/unix/clock_gettime.c: Likewise.
24140 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24142 * rt/clock_getres.c: Define __clock_getres as an alias.
24143 * sysdeps/posix/clock_getres.c: Likewise.
24144 * rt/clock_settime.c: Define __clock_settime as an alias.
24145 * sysdeps/unix/clock_settime.c: Likewise.
24146 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24147 * sysdeps/unix/clock_nanosleep.c: Likewise.
24148 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24149 * rt/clock-compat.c: New file.
24150 * rt/Makefile (librt-routines): Add clock-compat and move
24151 $(clock-routines) to ...
24152 (routines): ... here, new variable.
24153 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24154 Don't add get_clockfreq here.
24155 * rt/Versions (libc: GLIBC_2.17): New version set.
24156 Add clock_* symbols here.
24157 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24159 (GLIBC_2.17): Add clock_* symbols.
24160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24164 Likewise.
24165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24166 Likewise.
24167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24171 * NEWS: Mention the move.
24172
24173 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24174 Use __open, __read, __close rather than their public counterparts.
24175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24176 (__get_clockfreq_via_cpuinfo): Likewise.
24177 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24178 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24179
24180 * config.h.in (HAVE_IFUNC): New #undef.
24181 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24182 was successful.
24183 * configure: Regenerated.
24184
0cae3f4b
MF
241852012-10-24 Mike Frysinger <vapier@gentoo.org>
24186
24187 * configure.in: Move READELF check to start of file.
24188 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24189 libc_cv_asm_gnu_indirect_function in the process.
24190 * configure: Regenerated.
24191
8175a253
MF
241922012-10-24 Mike Frysinger <vapier@gentoo.org>
24193
24194 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24195 send the output to /dev/null.
24196 (libc_cv_cc_with_libunwind): Likewise.
24197 (libc_cv_as_noexecstack): Likewise.
24198 * configure: Regenerate.
24199
0708a7d1
JM
242002012-10-24 Joseph Myers <joseph@codesourcery.com>
24201
10b40d85
JM
24202 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24203
0708a7d1
JM
24204 * posix/globtest.sh (TMPDIR): Do not set.
24205 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24206 (testout): Likewise.
24207
9fddec1a
AJ
242082012-10-24 Andreas Jaeger <aj@suse.de>
24209
3a8db22f
AJ
24210 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24211 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24212 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24213 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24214 posix_fadvise64, posix_fallocate64.
24215
9fddec1a
AJ
24216 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24217 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24218 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24219 Likewise.
24220 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24221 Likewise.
24222 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24223
24224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24225 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24226 <bits/fcntl-linux.h>.
24227 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24228
24229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24230 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24231 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24232 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24233 [__WORDSIZE != 64]: Likewise.
24234
ebfd1bbd
JM
242352012-10-23 Joseph Myers <joseph@codesourcery.com>
24236
03ac099f
JM
24237 * Makeconfig (run-built-tests): New variable.
24238 * Rules [$(cross-compiling) = yes]: Change condition to
24239 [$(run-built-tests) = no].
24240 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24241 to [$(run-built-tests) = yes].
24242 * elf/Makefile [$(cross-compiling) = no]: Likewise
24243 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24244 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24245 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24246 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24247 * io/Makefile [$(cross-compiling) = no]: Likewise.
24248 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24249 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24250 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24251 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24252 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24253 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24254 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24255 * string/Makefile [$(cross-compiling) = no]: Likewise.
24256
ebfd1bbd
JM
24257 * posix/Makefile ($(objpfx)globtest.out): Pass
24258 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24259 $(rtld-installed-name).
24260 * posix/globtest.sh (elf_objpfx): Remove variable.
24261 (rtld_installed_name): Likewise.
24262 (library_path): Likewise.
24263 (run_program_prefix): New variable. Use for running globtest
24264 binary.
24265
166bca24
JB
242662012-10-23 Jim Blandy <jimb@codesourcery.com>
24267 Joseph Myers <joseph@codesourcery.com>
24268
24269 * Makeconfig (host-built-program-cmd): New variable.
24270 * elf/Makefile (tst-stackguard1-ARGS): Use
24271 $(host-built-program-cmd).
24272 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24273 (tst-spawn-ARGS): Likewise.
24274 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24275
88866099
JM
242762012-10-23 Joseph Myers <joseph@codesourcery.com>
24277 Jim Blandy <jimb@codesourcery.com>
24278
24279 * Makeconfig (run-via-rtld-prefix): New variable.
24280 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24281 (built-program-cmd): Likewise.
24282
b4b4c296
AJ
242832012-10-22 Andreas Jaeger <aj@suse.de>
24284
24285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24286 __O_RSYNC if it exists, otherwise to O_SYNC.
24287
6fb54a22
JB
242882012-10-22 Jim Blandy <jimb@codesourcery.com>
24289 Joseph Myers <joseph@codesourcery.com>
24290
24291 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24292 /dev/null.
24293 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24294 from /dev/null
24295 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24296 /dev/null.
24297
481b90b9
AJ
242982012-10-22 Andreas Jaeger <aj@suse.de>
24299
2a0e2669
AJ
24300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24301 Define always.
24302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24303
76e38f9a
AJ
24304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24305 bits/fcntl-linux.h.
24306
7cd37b43
AJ
24307 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24308 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24309
481b90b9
AJ
24310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24311 to __O_LARGEFILE.
24312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24313 to __O_LARGEFILE.
24314
aba75984
JB
243152012-10-21 Jim Blandy <jimb@codesourcery.com>
24316 Joseph Myers <joseph@codesourcery.com>
24317
24318 * config.make.in (NM): New variable.
24319
88d4247f
AJ
243202012-10-21 Andreas Jaeger <aj@suse.de>
24321
24322 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24323 definitions and declarations that are provided by
24324 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24325
f2eed205
L
243262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24327
24328 [BZ #14683]
24329 * elf/Makefile (tests-static): Add tst-leaks1-static.
24330 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24331 ($(objpfx)tst-leaks1-static): New rule.
24332 ($(objpfx)tst-leaks1-static-mem): Likewise.
24333 (tst-leaks1-static-ENV): New macro.
24334 * elf/dl-open.c (dl_open_worker): Check the main application
24335 only if SHARED is defined.
24336 * elf/tst-leaks1-static.c: New file.
24337
335e6931
AJ
243382012-10-20 Andreas Jaeger <aj@suse.de>
24339
24340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24341 generic values for Linux.
24342 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24343 and declarations that are provided by <bits/fcntl-linux.h> and
24344 include <bits/fcntl-linux.h>.
24345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24347
ac5c94d3
RM
243482012-10-20 Roland McGrath <roland@hack.frob.com>
24349
24350 * io/fcntl.h: Move include of <bits/types.h> to the top and
24351 include it unconditionally.
24352
de54b33a
L
243532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24354
228cfb01
L
24355 * wcsmbs/Makefile (tests-ifunc): New variable.
24356 (tests): Add $(tests-ifunc).
24357 * wcsmbs/test-wcschr-ifunc.c: New file.
24358 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24359 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24360 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24361 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24362 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24363
69f07e5f
L
24364 * string/Makefile (tests-ifunc): New variable.
24365 (tests): Add $(tests-ifunc).
24366 * string/test-memccpy.c (TEST_NAME): New macro.
24367 * string/test-memchr.c (TEST_NAME): Likewise.
24368 * string/test-memcmp.c (TEST_NAME): Likewise.
24369 * string/test-memcpy.c (TEST_NAME): Likewise.
24370 * string/test-memmem.c (TEST_NAME): Likewise.
24371 * string/test-memmove.c (TEST_NAME): Likewise.
24372 * string/test-memset.c (TEST_NAME): Likewise.
24373 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24374 * string/test-stpcpy.c (TEST_NAME): Likewise.
24375 * string/test-stpncpy.c (TEST_NAME): Likewise.
24376 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24377 * string/test-strcasestr.c (TEST_NAME): Likewise.
24378 * string/test-strcat.c (TEST_NAME): Likewise.
24379 * string/test-strchr.c (TEST_NAME): Likewise.
24380 * string/test-strcmp.c(TEST_NAME): Likewise.
24381 * string/test-strcpy.c (TEST_NAME): Likewise.
24382 * string/test-strcspn.c (TEST_NAME): Likewise.
24383 * string/test-strlen.c (TEST_NAME): Likewise.
24384 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24385 * string/test-strncmp.c (TEST_NAME): Likewise.
24386 * string/test-strncpy.c (TEST_NAME): Likewise.
24387 * string/test-strnlen.c (TEST_NAME): Likewise.
24388 * string/test-strpbrk.c (TEST_NAME): Likewise.
24389 * string/test-strrchr.c (TEST_NAME): Likewise.
24390 * string/test-strspn.c (TEST_NAME): Likewise.
24391 * string/test-strstr.c (TEST_NAME): Likewise.
24392 * string/test-bcopy-ifunc.c: New file.
24393 * string/test-bzero-ifunc.c: Likewise.
24394 * string/test-memccpy-ifunc.c: Likewise.
24395 * string/test-memchr-ifunc.c: Likewise.
24396 * string/test-memcmp-ifunc.c: Likewise.
24397 * string/test-memcpy-ifunc.c: Likewise.
24398 * string/test-memmem-ifunc.c: Likewise.
24399 * string/test-memmove-ifunc.c: Likewise.
24400 * string/test-mempcpy-ifunc.c: Likewise.
24401 * string/test-memset-ifunc.c: Likewise.
24402 * string/test-rawmemchr-ifunc.c: Likewise.
24403 * string/test-stpcpy-ifunc.c: Likewise.
24404 * string/test-stpncpy-ifunc.c: Likewise.
24405 * string/test-strcasecmp-ifunc.c: Likewise.
24406 * string/test-strcasestr-ifunc.c: Likewise.
24407 * string/test-strcat-ifunc.c: Likewise.
24408 * string/test-strchr-ifunc.c: Likewise.
24409 * string/test-strchrnul-ifunc.c: Likewise.
24410 * string/test-strcmp-ifunc.c: Likewise.
24411 * string/test-strcpy-ifunc.c: Likewise.
24412 * string/test-strcspn-ifunc.c: Likewise.
24413 * string/test-strlen-ifunc.c: Likewise.
24414 * string/test-strncasecmp-ifunc.c: Likewise.
24415 * string/test-strncat-ifunc.c: Likewise.
24416 * string/test-strncmp-ifunc.c: Likewise.
24417 * string/test-strncpy-ifunc.c: Likewise.
24418 * string/test-strnlen-ifunc.c: Likewise.
24419 * string/test-strpbrk-ifunc.c: Likewise.
24420 * string/test-strrchr-ifunc.c: Likewise.
24421 * string/test-strspn-ifunc.c: Likewise.
24422 * string/test-strstr-ifunc.c: Likewise.
24423
de54b33a
L
24424 * debug/Makefile (tests-ifunc): New variable.
24425 (tests): Add $(tests-ifunc).
24426 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24427 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24428 * debug/test-stpcpy_chk-ifunc.c: New file.
24429 * debug/test-strcpy_chk-ifunc.c: Likewise.
24430
88481c16
SP
244312012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24432
24433 [BZ #13601]
24434 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24435 header is not read in.
24436
135948bd
JM
244372012-10-19 Joseph Myers <joseph@codesourcery.com>
24438
89f1c388
JM
24439 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24440 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24441 directly. Pass built executable to script as
24442 $(built-program-cmd).
24443 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24444 $testprogram without using LD_LIBRARY_PATH and $ldso.
24445
e40a0d21
JM
24446 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24447 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24448 $(rtld-installed-name).
24449 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24450 (rtld_installed_name): Likewise.
24451 (library_path): Likewise.
24452 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24453 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24454 $(run-program-prefix) to tst-tables.sh.
24455 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24456 it to run tst-table-from and tst-table-to.
24457 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24458 Pass it to tst-table.sh.
24459 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24460 $(run-program-prefix) to tst-gettext.sh.
24461 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24462 tst-translit.sh.
24463 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24464 tst-gettext2.sh.
24465 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24466 to run tst-gettext.
24467 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24468 to run tst-gettext2.
24469 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24470 to run tst-translit.
24471 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24472 $(run-program-prefix) to tst-mtrace.sh.
24473 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24474 to run tst-mtrace.
24475 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24476 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24477 $(rtld-installed-name).
24478 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24479 (rtld_installed_name): Likewise.
24480 (run_program_prefix): New variable. Use it to run wordexp-test.
24481
728e272a
JM
24482 * Makeconfig (ARCH): Remove all definitions.
24483 (machine): Likewise.
24484 [ARCH]: Remove conditional code.
24485 [!objdir]: Give error.
24486 [!objdir] (objpfx): Remove.
24487 [!objdir] (common-objpfx): Likewise.
24488 [!objdir] (common-objdir): Likewise.
24489 * configure.in (config_makefile): Remove. Hardcode Makefile in
24490 AC_CONFIG_FILES call.
24491 * configure: Regenerated.
24492
d528cdcf
JM
24493 [BZ #13888]
24494 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24495 or TMPDIR.
24496 (testout): Likewise.
24497
135948bd
JM
24498 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24499 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24500 $(rtld-installed-name).
24501 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24502 (rtld_installed_name): Likwise.
24503 (runit): Remove function.
24504 (run_getconf): New variable, Use it for running getconf binary.
24505
38c78296
L
245062012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24507
24508 [BZ #14716]
24509 * string/test-memmem.c (check_result): New function.
24510 (do_one_test): Use it.
24511 (check1): New function.
24512 (test_main): Use it.
24513
d077f65f
MT
245142012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24515
24516 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24517
ced52c71
JM
245182012-10-18 Joseph Myers <joseph@codesourcery.com>
24519
24520 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24521 (_G_LSEEK64): Likewise.
24522 (_G_MMAP64): Likewise.
24523 (_G_FSTAT64): Likewise.
24524 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24525 (_G_LSEEK64): Likewise.
24526 (_G_MMAP64): Likewise.
24527 (_G_FSTAT64): Likewise.
24528 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24529 unconditional. Call __mmap64 directly.
24530 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24531 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24532 __lseek64 directly.
24533 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24534 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24535 __mmap64 directly.
24536 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24537 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24538 __lseek64 directly.
24539 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24540 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24541 __lseek64 directly.
24542 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24543 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24544 __lseek64 directly.
24545 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24546 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24547 __fxstat64 directly.
24548 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24549 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24550 unconditional.
24551 (freopen64) [!_G_OPEN64]: Remove conditional code.
24552 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24553 unconditional.
24554 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24555 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24556 unconditional.
24557 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24558 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24559 unconditional.
24560 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24561 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24562 unconditional.
24563 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24564 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24565 unconditional.
24566 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24567 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24568 unconditional.
24569 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24570 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24571 unconditional.
24572 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24573
b741de23
SP
245742012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24575
24576 [BZ #12140]
24577 * manual/memory.texi (Malloc Tunable Parameters): Add note
24578 about free list pointers overwriting some perturb bytes.
24579 Wording suggested by Roland McGrath.
24580
f9b9d9c9
JM
245812012-10-17 Joseph Myers <joseph@codesourcery.com>
24582
24583 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24584 (lgamma_test): Likewise.
24585 (tgamma_test): Likewise.
24586
172a631a
FW
245872012-10-16 Florian Weimer <fweimer@redhat.com>
24588
24589 [BZ #14700]
24590 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24591 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24592
e9f37252
MK
245932012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24594
24595 * NEWS: Mention BZ #14716.
24596 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24597 when removing AVAILABLE1_USES_J macro.
24598
d394eb74
L
245992012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24600
24601 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24602 (__bswap_64): __uint64_t for unsigned 64-bit int.
24603
ca38dc17
AS
246042012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24605
24606 * include/string.h (memmem): Declare libc hidden alias.
24607 * string/memmem.c (memmem): Define libc hidden alias.
24608 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24609 __read, __close instead of open, read, close.
24610
9a387d1f
L
246112012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24612
ac49ecaf
L
24613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24614 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24615 global and hidden.
24616 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24617 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24618 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24619 Likewise.
24620 (__rawmemchr_sse2): Likewise.
24621 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24622 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24623 (__strchr_sse2): Likewise.
24624 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24625 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24626 (__strcasecmp_sse2): Likewise.
24627 (__strncasecmp_sse2): Likewise.
24628 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24629 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24630 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24631 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24632 (__strrchr_sse2): Likewise.
24633 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24634 ifunc-impl-list.c.
24635 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24636 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24637 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24638 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24639 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24640 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24641 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24642 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24643 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24644 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24645 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24646 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24647 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24648 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24649 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24650 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24651 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24652 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24653 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24654 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24655 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24656 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24657 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24658 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24659 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24661 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24662 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24663 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24664 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24665
b090e8ea
L
24666 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24667 global and hidden.
24668 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24669 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24670 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24671 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24672 Likewise.
24673 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24674 Likewise.
24675 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24676 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24677 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24678 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24679 ifunc-impl-list.c.
24680 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24681 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24682 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24683 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24684 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24685 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24686 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24687 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24688 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24689 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24690 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24691 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24692 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24693 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24694 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24695 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24696 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24697 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24698 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24699 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24700 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24701 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24702 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24703 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24705 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24706 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24707 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24708 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24709 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24710 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24711 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24712 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24713 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24714 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24715 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24716 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24717 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24718 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24719 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24720 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24721
11dd4af6
L
24722 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24723 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24724 * include/ifunc-impl-list.h: New file.
24725 * misc/ifunc-impl-list.c: Likewise.
24726 * misc/Makefile (routines): Add ifunc-impl-list.
24727 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24728 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24729 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24730 TEST_NAME]: New variables.
11dd4af6
L
24731 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24732 are defined.
24733 (test_init): Call __libc_ifunc_impl_list to initialize
24734 func_list if TEST_IFUNC and TEST_NAME are defined.
24735
9a387d1f
L
24736 * string/Makefile (strop-tests): Add bcopy and bzero.
24737 * string/test-bcopy.c: New file.
24738 * string/test-bzero.c: Likewise.
24739 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24740 defined.
24741 * string/test-memset.c: Support bzero test if TEST_BZERO is
24742 defined.
24743 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24744 __libc_memmove.
24745 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24746 __libc_memset.
24747 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24748 of memset.
24749
472371b9
JM
247502012-10-10 Joseph Myers <joseph@codesourcery.com>
24751
1e4a9536
JM
24752 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24753 * configure: Regenerated.
24754
d173d12e
JM
24755 * Makeconfig (+link-static-before-libc): Don't include
24756 $(link-static-libc).
24757
472371b9
JM
24758 * libio/libio.h (_IO_pos_t): Remove.
24759
89a3ad0b
AO
247602012-10-10 Alexandre Oliva <aoliva@redhat.com>
24761
24762 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24763 McGrath.
24764
e7451425
AO
247652012-10-10 Alexandre Oliva <aoliva@redhat.com>
24766
24767 * crypt/crypt-entry.c: Include fips-private.h.
24768 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24769 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24770 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24771 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24772
4ba74a35
AO
247732012-10-10 Alexandre Oliva <aoliva@redhat.com>
24774
24775 * crypt/crypt-private.h: Include stdbool.h.
24776 (_ufc_setup_salt_r): Return bool.
24777 * crypt/crypt-entry.c: Include errno.h.
24778 (__crypt_r): Return NULL with EINVAL for bad salt.
24779 * crypt/crypt_util.c (bad_for_salt): New.
24780 (_ufc_setup_salt_r): Check that salt is long enough and within
24781 the specified alphabet.
24782 * crypt/badsalttest.c: New file.
24783 * crypt/Makefile (tests): Add it.
24784 ($(objpfx)badsalttest): New.
24785
f96f1242
MK
247862012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24787
24788 * NEWS: Add entry for BZ #14602.
24789
0e8e0c1c
JM
247902012-10-09 Joseph Myers <joseph@codesourcery.com>
24791
24792 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24793 type-generic.
24794 * math/libm-test.inc: Update comment listing what functions and
24795 macros are tested.
24796 (isgreater_test): New function.
24797 (isgreaterequal_test): Likewise.
24798 (isless_test): Likewise.
24799 (islessequal_test): Likewise.
24800 (islessgreater_test): Likewise.
24801 (isunordered_test): Likewise.
24802 (main): Call the new functions.
24803
273edc5e
RM
248042012-10-09 Roland McGrath <roland@hack.frob.com>
24805
b8493de0
RM
24806 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24807 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24808 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24809 * sysdeps/i386/configure: Regenerated.
24810 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24811 * sysdeps/mach/configure: Regenerated.
24812 * sysdeps/mach/hurd/configure: Regenerated.
24813 * sysdeps/powerpc/configure: Regenerated.
24814 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24815 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24816 * sysdeps/s390/s390-32/configure: Regenerated.
24817 * sysdeps/s390/s390-64/configure: Regenerated.
24818 * sysdeps/sh/configure: Regenerated.
24819 * sysdeps/sparc/configure: Regenerated.
24820 * sysdeps/unix/sysv/linux/configure: Regenerated.
24821 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24822 * sysdeps/x86_64/configure: Regenerated.
24823
273edc5e
RM
24824 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24825 defined. Don't check if MAP is NULL.
24826
c8450f70
JM
248272012-10-09 Joseph Myers <joseph@codesourcery.com>
24828
24829 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24830 (_G_stat64): Likewise.
24831 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24832 (_G_stat64): Likewise.
24833 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24834 instead of struct _G_stat64.
24835 * libio/fileops.c (mmap_remap_check): Likewise.
24836 (decide_maybe_mmap): Likewise.
24837 (_IO_new_file_seekoff): Likewise.
24838 (_IO_file_stat): Likewise.
24839 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24840 _G_off64_t.
24841 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24842 instead of struct _G_stat64.
24843 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24844
57e605ba
MK
248452012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24846
24847 [BZ #14602]
24848 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24849 Replace with ...
24850 (CHECK_EOL): New macro.
24851 (two_way_short_needle): Check beginning of haystack for EOL. Use
24852 CHECK_EOL.
24853 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24854 Replace with CHECK_EOL.
24855 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24856 Replace with CHECK_EOL.
24857
ef1bb361
JM
248582012-10-08 Joseph Myers <joseph@codesourcery.com>
24859
24860 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24861 type-generic.
24862 * math/libm-test.inc: Update comment listing what functions and
24863 macros are tested.
24864 (finite_test): New function.
24865 (isinf_test): Likewise.
24866 (isnan_test): Likewise.
24867 (fpclassify_test): Test subnormal input.
24868 (isfinite_test): Likewise.
24869 (isnormal_test): Likewise.
24870 (main): Call the new functions.
24871
55f11534
JN
248722012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24873
24874 [BZ #14660]
24875 * Makerules (%.dynsym): Force C locale when running
24876 $(OBJDUMP) --dynamic-syms.
24877
1ab29350
AS
248782012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24879
24880 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24881 <stdint.h>.
24882
f1ecb7ef
DM
248832012-10-06 David S. Miller <davem@davemloft.net>
24884
24885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24886 upper 32-bits of the length value in %o2 since we use branch-on-register
24887 tests which consider the entire 64-bit register.
24888
5d41d91a
L
248892012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24890
24891 * string/test-strstr.c (check2): Add a test for page boundary.
24892
3baddb72
DM
248932012-10-05 David S. Miller <davem@davemloft.net>
24894
24895 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24896 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24897 file.
24898 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24899 sysdep_routines.
24900 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24901 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24902 and bzero when HWCAP_SPARC_CRYPTO is present.
24903
9cee5585
L
249042012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24905
d7e0dab9
L
24906 [BZ #14602]
24907 * string/test-strstr.c (check2): New function.
24908 (test_main): Call check2.
24909
03759f47
L
24910 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24911 and bug-strchr1.
24912 * string/bug-strcasestr1.c (do_test): Moved to ...
24913 * string/test-strcasestr.c (check1): Here. New function.
24914 (do_one_test): Break out result checking code into ...
24915 (check_result): This. New function.
24916 (do_one_test): Call check_result.
24917 (test_main): Call check1.
24918 * string/bug-strchr1.c (do_test): Moved to ...
24919 * string/test-strchr.c (check1): Here. New function.
24920 (do_one_test): Break out result checking code into ...
24921 (check_result): This. New function.
24922 (do_one_test): Call check_result.
24923 (test_main): Call check1.
24924 * string/bug-strstr1.c (main): Moved to ...
046f153e 24925 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24926 (do_one_test): Break out result checking code into ...
24927 (check_result): This. New function.
24928 (do_one_test): Call check_result.
24929 (test_main): Call check1.
24930 * string/bug-strcasestr1.c: Removed.
24931 * string/bug-strchr1.c: Likewise.
24932 * string/bug-strstr1.c: Likewise.
24933
53cea63e
L
24934 * elf/Makefile (dl-routines): Add hwcaps.
24935 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24936 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24937 (_dl_important_hwcaps): Moved to ...
24938 * elf/dl-hwcaps.c: Here. New file.
24939 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24940
9cee5585 24941 [BZ #14557]
bb859b06
L
24942 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24943 if IS_IN_rtld isn't defined.
24944
9cee5585
L
24945 * elf/dl-support.c (_dl_sysinfo_map): New.
24946 Include "get-dynamic-info.h" and "setup-vdso.h".
24947 (_dl_non_dynamic_init): Call setup_vdso.
24948 * elf/dynamic-link.h: Don't include <assert.h>.
24949 (elf_get_dynamic_info): Moved to ...
24950 * elf/get-dynamic-info.h: Here. New file.
24951 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24952 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24953 * elf/setup-vdso.h: Here. New file.
24954 * elf/rtld.c: Include "setup-vdso.h".
24955 (dl_main): Call setup_vdso.
24956
23c31b76
JM
249572012-10-05 Joseph Myers <joseph@codesourcery.com>
24958
28234b07
JM
24959 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24960 creal in comment listing functions tested. List finite, isinf,
24961 isnan, isless, islessequal, isgreater, isgreaterequal,
24962 islessgreater, isunordered, lgamma_r and pow10 as functions and
24963 macros not tested. Mention which functions not tested are aliases
24964 for other functions. Fix typo. Note that signs of NaNs are not
24965 tested.
24966
23c31b76
JM
24967 * scripts/config.guess: Update from config.git.
24968 * scripts/config.sub: Likewise.
24969
9043e228
RM
249702012-10-04 Roland McGrath <roland@hack.frob.com>
24971
24972 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24973 * misc/madvise.c (madvise): Renamed to __madvise.
24974 Make madvise a weak alias.
24975 * include/sys/mman.h: Declare __madvise.
24976 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24977 * sysdeps/unix/syscalls.list
24978 (madvise): Make __madvise the strong name, and madvise a weak alias.
24979 * sysdeps/unix/sysv/linux/syscalls.list
24980 (madvise, mmap): Remove redundant entries.
24981 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24982 * malloc/malloc.c (mtrim): Likewise.
24983 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24984
f57f8055
RM
249852012-10-03 Roland McGrath <roland@hack.frob.com>
24986
24987 * sysdeps/mach/hurd/dl-cache.c: File removed.
24988 * config.h.in (USE_LDCONFIG): New #undef.
24989 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24990 * configure: Regenerated.
24991 * elf/Makefile (dl-routines): Add dl-cache only under
24992 [$(use-ldconfig) = yes].
24993 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24994 cache on [USE_LDCONFIG].
24995 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24996 [USE_LDCONFIG].
24997 * elf/rtld.c (dl_main): Likewise.
24998
5bb0c10a
PT
249992012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25000
25001 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25002 _SC_LEVEL4_CACHE_LINESIZE.
25003
010188c6
RM
250042012-10-03 Roland McGrath <roland@hack.frob.com>
25005
25006 * sysdeps/unix/bsd/confstr.h: File removed.
25007
b6c5ec07
AO
250082012-10-02 Alexandre Oliva <aoliva@redhat.com>
25009
25010 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25011 sys/sdt-config.h.
25012
408223d4
RM
250132012-10-02 Roland McGrath <roland@hack.frob.com>
25014
25015 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25016 Make 'mapoff' field ElfW(Off) rather than off_t.
25017
bb9510dc
DL
250182012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25019
fc997c6e
DL
25020 * nscd/Makefile: Remove nscd-cflags and all its users.
25021 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25022 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25023
bb9510dc
DL
25024 [BZ #10631]
25025 * malloc.c (malloc_printerr): Clarify error message.
25026
05699367
L
250272012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25028
25029 [BZ #14648]
25030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25031 Set bit_FMA_Usable if FMA is supported.
25032 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25033 macro.
25034 (bit_FMA4_Usable): Updated.
25035 (index_FMA_Usable): New macro.
25036 (CPUID_FMA): Likewise
25037 (HAS_FMA): Defined with bit_FMA_Usable.
25038
51367701
RM
250392012-10-01 Roland McGrath <roland@hack.frob.com>
25040
25041 * bits/types.h (__swblk_t): Type removed.
25042 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25043 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25045 (__SWBLK_T_TYPE): Likewise.
25046 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25047 (__SWBLK_T_TYPE): Likewise.
25048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25049 (__SWBLK_T_TYPE): Likewise.
25050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25051 (__SWBLK_T_TYPE): Likewise.
25052
4d57bf63 250532012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25054 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25055
25056 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25057 (xdr_mapname): Use YPMAXMAP as maxsize.
25058 (xdr_peername): Use YPMAXPEER as maxsize.
25059 (xdr_keydat): Use YPAXRECORD as maxsize.
25060 (xdr_valdat): Use YPMAXRECORD as maxsize.
25061
93c65d43
RM
250622012-10-01 Roland McGrath <roland@hack.frob.com>
25063
497a03d6
RM
25064 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25065
93c65d43
RM
25066 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25067 * csu/init-first.c: ... here.
25068 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25069 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25070 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25071 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25072 * sysdeps/i386/init-first.c: File removed.
25073 * sysdeps/sh/init-first.c: File removed.
25074
bec749fd
JM
250752012-10-01 Joseph Myers <joseph@codesourcery.com>
25076
25077 [BZ #14645]
25078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25079 if x * y might underflow to zero and z is zero.
25080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25081 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25082 * math/libm-test.inc (min_subnorm_value): New variable.
25083 (fma_test): Add more tests.
25084 (fma_test_towardzero): Likewise.
25085 (fma_test_downward): Likewise
25086 (fma_test_upward): Likewise.
25087 (initialize): Set min_subnorm_value.
25088
8ec5b013
JM
250892012-09-29 Joseph Myers <joseph@codesourcery.com>
25090
25091 [BZ #14638]
25092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25093 0 + 0.
25094 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25095 mode for addition resulting in exact zero.
25096 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25098 exact 0 + 0.
25099 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25100 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25101 * math/libm-test.inc (fma_test): Add more tests.
25102 (fma_test_towardzero): New function.
25103 (fma_test_downward): Likewise.
25104 (fma_test_upward): Likewise.
25105 (main): Call the new functions.
25106
b1fa802e
DM
251072012-09-28 David S. Miller <davem@davemloft.net>
25108
25109 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25110
d3b9fd9e
RM
251112012-09-28 Roland McGrath <roland@hack.frob.com>
25112
ea4d37b3
RM
25113 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25114 instead of SIGALRM.
25115
ac51c949
RM
25116 * sysdeps/gnu/_G_config.h: Moved to ...
25117 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25118 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25119 * sysdeps/generic/_G_config.h: ... here.
25120
28c195f7
RM
25121 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25122
848917f9
RM
25123 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25124
6bacf05b
RM
25125 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25126 Conditionalize target on [libnss_test1.so-version].
25127
91363dbb
RM
25128 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25129
cc87f7d8
RM
25130 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25131 (elfobjdir): Move out of conditionals.
25132
b1c608fe
RM
25133 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25134 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25135 (__nss_lookup_function): Conditionalize label remove_from_tree on
25136 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25137
1d9a6d96
DM
251382012-09-28 David S. Miller <davem@davemloft.net>
25139
25140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25141 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25142 file.
25143 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25144 sysdep_routines.
25145 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25146 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25147 when HWCAP_SPARC_CRYPTO is present.
25148
72581615
PT
251492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25150
25151 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25152
715a900c
JL
251532012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25154
25155 [BZ #6530]
25156 * stdio-common/vfprintf.c (process_string_arg): Revert
25157 2000-07-22 change.
25158
251592011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25160
25161 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25162 for testcase.
25163 * stdio-common/tst-sprintf.c: Include <locale.h>
25164 (main): Test sprintf's handling of incomplete multibyte
25165 characters.
25166
9bac1d86
L
251672012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25168
25169 * elf/dl-runtime.c (VERSYMIDX): Removed.
25170 * elf/dl-version.c (VERSYMIDX): Likewise.
25171 * elf/do-rel.h (VERSYMIDX): Likewise.
25172 (VALIDX): Likewise.
25173 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25174 * elf/rtld.c (VALIDX): Likewise.
25175 (ADDRIDX): Likewise.
9bac1d86
L
25176 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25177 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25178 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25179 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25180 (VALIDX): Likewise.
25181 (ADDRIDX): Likewise.
9bac1d86 25182
b31606c0
PT
251832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25184
25185 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25186
11541177
JL
251872012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25188
25189 [BZ #11438]
25190 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25191 to global scope.
25192 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25193 addresses are in the same scope as 192.0.2/24.
25194 * posix/gai.conf: Document new scope table defaults.
25195
adb26fae
SP
251962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25197
25198 [BZ #5298]
25199 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25200 for ftell. Compute offsets from write pointers instead.
25201 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25202
4573c6b0
SP
252032012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25204
25205 [BZ #14543]
25206 * libio/Makefile (tests): New test case tst-fseek.
25207 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25208 combination works in wide mode.
25209 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25210 state when the external buffer state changes.
25211
aa9bbfe6
DM
252122012-09-27 David S. Miller <davem@davemloft.net>
25213
25214 [BZ #14376]
25215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25216 pass reloc->r_addend in as the 'high' argument to
25217 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25218
784421e7
DM
25219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25220
c39bc8b8
PT
252212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25222
25223 * rt/tst-aio2.c: Include <pthread.h>.
25224 * rt/tst-aio3.c: Likewise.
25225
1ccc2399
SE
252262012-09-27 Steve Ellcey <sellcey@mips.com>
25227
25228 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25229
31ed4153
L
252302012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25231
25f5f885
L
25232 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25233 contents on [SHARED].
31ed4153 25234
b7bfe116
MP
252352012-09-26 Marek Polacek <polacek@redhat.com>
25236
25237 [BZ #14530]
25238 [BZ #13741]
25239 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25240 for C++ and GCC <4.3 as well as for non GCC compilers.
25241
43c4edba
MT
252422012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25243
25244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25245
6a1bf82f
RM
252462012-09-25 Roland McGrath <roland@hack.frob.com>
25247
25248 * Makefile.in (all, install): Declare with .PHONY.
25249 Reported by Michael Hope <michael.hope@linaro.org>.
25250
8ad11b9a
TMQMF
252512012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25252
25253 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25254 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25255 system header.
25256 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25257 Likewise.
25258 (sydep_routines): Add the new and the internal functions.
25259 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25260 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25262 (GLIBC_2.17): Add the new function.
25263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25264 (GLIBC_2.17): Likewise.
25265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25266 (GLIBC_2.17): Likewise.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25268 (GLIBC_2.17): Likewise.
25269 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25270
7e2fca8d
AM
252712012-09-25 Alan Modra <amodra@gmail.com>
25272
25273 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25274 Add release barrier before setting once_control to say
25275 initialisation is done. Add hints on lwarx. Use macro in
25276 place of isync.
25277 (clear_once_control): Add release barrier.
25278
b87c4b24
JM
252792012-09-25 Joseph Myers <joseph@codesourcery.com>
25280
d032e0d2
JM
25281 [BZ #13629]
25282 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25283 specially.
25284 * math/s_clog10.c (__clog10): Likewise.
25285 * math/s_clog10f.c (__clog10f): Likewise.
25286 * math/s_clog10l.c (__clog10l): Likewise.
25287 * math/s_clogf.c (__clogf): Likewise.
25288 * math/s_clogl.c (__clogl): Likewise.
25289 * math/Makefile (libm-calls): Add x2y2m1.
25290 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25291 (__x2y2m1): Likewise.
25292 (__x2y2m1l): Likewise.
25293 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25294 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25295 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25296 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25297 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25298 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25299 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25300 * sysdeps/i386/fpu/libm-test-ulps: Update.
25301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25302
b87c4b24
JM
25303 [BZ #14621]
25304 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25305 int as type of variable DEPTH.
25306 (glob): Use size_t instead of int as type of variables NEWCOUNT
25307 and OLD_PATHC.
25308
6d3bf199
LD
253092012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25310
22bf5c17
LD
25311 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25312 Add s_sincosf-sse2.
25313 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25314 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25315 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25316 macros for using routine as __sincosf_ia32.
25317 Use macro for function declaration and weak_alias.
25318 * sysdeps/i386/fpu/libm-test-ulps: Update.
25319
25320 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25322
25323 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25324 subnormal argument.
25325 * math/s_cexpf.c (__cexpf): Likewise.
25326 * math/s_csinf.c (__csinf): Likewise.
25327 * math/s_csinhf.c (__csinhf): Likewise.
25328 * math/s_ctanf.c (__ctanf): Likewise.
25329 * math/s_ctanhf.c (__ctanhf): Likewise.
25330 * math/s_ccosh.c (__ccoshf): Likewise.
25331 * math/s_cexp.c (__cexpl): Likewise.
25332 * math/s_csin.c (__csin): Likewise.
25333 * math/s_csinh.c (__csinh): Likewise.
25334 * math/s_ctan.c (__ctan): Likewise.
25335 * math/s_ctanh.c (ctanh): Likewise.
25336 * math/s_ccoshl.c (__ccoshl): Likewise.
25337 * math/s_cexpl.c (__cexpl): Likewise.
25338 * math/s_csinl.c (__csinl): Likewise.
25339 * math/s_csinhl.c (__csinhl): Likewise.
25340 * math/s_ctanl.c (__ctanl): Likewise.
25341 * math/s_ctanhl.c (__ctanhl): Likewise.
25342
203e5603
JM
253432012-09-25 Joseph Myers <joseph@codesourcery.com>
25344
25345 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25346 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25347 (_IO_off_t): Define to __off_t, not _G_off_t.
25348 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25349 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25350 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25351 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25352 type of __dummy and __dummy2 fields.
25353 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25354 (_G_ssize_t): Likewise.
25355 (_G_off_t): Likewise.
25356 (_G_pid_t): Likewise.
25357 (_G_uid_t): Likewise.
25358 (_G_wchar_t): Likewise.
25359 (_G_wint_t): Likewise.
25360 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25361 (_G_ssize_t): Likewise.
25362 (_G_off_t): Likewise.
25363 (_G_pid_t): Likewise.
25364 (_G_uid_t): Likewise.
25365 (_G_wchar_t): Likewise.
25366 (_G_wint_t): Likewise.
25367 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25368 (_G_ssize_t): Likewise.
25369 (_G_off_t): Likewise.
25370 (_G_pid_t): Likewise.
25371 (_G_uid_t): Likewise.
25372 (_G_wchar_t): Likewise.
25373 (_G_wint_t): Likewise.
25374
9fab36eb
SP
253752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25376
25377 * malloc/arena.c: Include malloc-sysdep.h.
25378 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25379 is sufficient to shrink the heap or an unmap is needed.
25380 * sysdeps/generic/malloc-sysdep.h: New file. Define
25381 new function check_may_shrink_heap.
25382 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25383 new function check_may_shrink_heap.
25384
2b4f00d1
SP
253852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25386
25387 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25388 comments.
25389
9a9028b1
DL
253902012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25391
57c69bef
DL
25392 * catgets/test-gencat.sh: Add "set -e".
25393 * elf/tst-pathopt.sh: Likewise.
25394 * grp/tst_fgetgrent.sh: Likewise.
25395 * iconvdata/run-iconv-test.sh: Likewise.
25396 * intl/tst-gettext.sh: Likewise.
25397 * intl/tst-gettext2.sh: Likewise.
25398 * intl/tst-gettext4.sh: Likewise.
25399 * intl/tst-gettext6.sh: Likewise.
25400 * intl/tst-translit.sh: Likewise.
25401 * io/ftwtest-sh: Likewise.
25402 * libio/test-freopen.sh: Likewise.
25403 * malloc/tst-mtrace.sh: Likewise.
25404 * posix/globtest.sh: Likewise.
25405 * posix/tst-getconf.sh: Likewise.
25406 * posix/wordexp-tst.sh: Likewise.
25407 * stdio-common/tst-printf.sh: Likewise.
25408 * stdio-common/tst-unbputc.sh: Likewise.
25409 * stdlib/tst-fmtmsg.sh: Likewise.
25410 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25411 * catgets/Makefile: Do not specify -e option when running
25412 testsuite shell scripts.
25413 * elf/Makefile: Likewise.
25414 * grp/Makefile: Likewise.
25415 * iconvdata/Makefile: Likewise.
25416 * intl/Makefile: Likewise.
25417 * io/Makefile: Likewise.
25418 * libio/Makefile: Likewise.
25419 * malloc/Makefile: Likewise.
25420 * posix/Makefile: Likewise.
25421 * stdio-common/Makefile: Likewise.
25422 * stdlib/Makefile: Likewise.
25423 * sysdeps/x86_64/Makefile: Likewise.
25424
9a9028b1
DL
25425 * io/ftwtest-sh: Add copyright header.
25426 * posix/globtest.sh: Likewise.
25427 * posix/tst-getconf.sh: Likewise.
25428 * posix/wordexp-tst.sh: Likewise.
25429 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25430
ced6f16e
L
254312012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25432
94b32c39
L
25433 [BZ #13679]
25434 * Makeconfig (+link): Defined as $(+link-static) if
25435 $(build-shared) isn't yes.
25436 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25437 isn't yes.
25438 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25439
189e935b
L
25440 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25441
ced6f16e
L
25442 [BZ #14562]
25443 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25444 new chunk size with MALLOC_ALIGN_MASK.
25445
a9f8e53a
JM
254462012-09-24 Joseph Myers <joseph@codesourcery.com>
25447
25448 [BZ #5044]
25449 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25450 <rounding-mode.h>.
25451 (__printf_fphex): Determine rounding using get_rounding_mode and
25452 round_away.
25453 * stdio-common/tst-printf-round.c (struct hex_test): New
25454 structure.
25455 (hex_tests): New variable.
25456 (test_hex_in_one_mode): New function.
25457 (do_test): Also run tests for hex float output.
25458
43153109
JM
254592012-09-21 Joseph Myers <joseph@codesourcery.com>
25460
25461 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25462 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25463 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25464 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25465 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25466 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25467 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25468 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25469
8a26625d
JM
254702012-09-20 Joseph Myers <joseph@codesourcery.com>
25471
25472 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25473 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25474 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25475 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25476
f3fd569c
DL
254772012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25478
25479 [BZ #14579]
25480 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25481 mode only.
25482 * elf/tst-rtld-load-self.sh: New test.
25483 * elf/Makefile: Run it.
25484
63bbedd4
JM
254852012-09-18 Joseph Myers <joseph@codesourcery.com>
25486
25487 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25488 (tst-writev-ENV): Remove.
25489 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25490
626f8b6a
CM
254912012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25492
25493 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25494
b7aaa4d6
JM
254952012-09-17 Joseph Myers <joseph@codesourcery.com>
25496
25497 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25498 unconditional.
25499 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25500 Likewise.
25501 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25502 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25503 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25504 Likewise.
25505
65513990
L
255062012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25507
25508 [BZ #14587]
25509 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25510 * config.make.in (have-cpp-asm-debuginfo): Removed.
25511 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25512 * configure: Regenerated.
25513
784761be
JM
255142012-09-14 Joseph Myers <joseph@codesourcery.com>
25515
25516 [BZ #5044]
25517 * stdio-common/printf_fp.c: Include <stdbool.h> and
25518 <rounding-mode.h>.
25519 (___printf_fp): Determine rounding using get_rounding_mode and
25520 round_away.
25521 * stdio-common/tst-printf-round.c: New file.
25522 * stdio-common/Makefile (tests): Add tst-printf-round.
25523 (link-libm): New variable.
25524 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25525
9503345f
L
255262012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25527
25528 [BZ #14576]
25529 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25530 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25531 Likewise.
25532 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25533 Likewise.
25534
ad35fc00
JM
255352012-09-13 Joseph Myers <joseph@codesourcery.com>
25536
25537 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25538 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25539 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25540 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25541
6c9b0f68
JM
255422012-09-12 Joseph Myers <joseph@codesourcery.com>
25543
25544 [BZ #14518]
25545 * include/rounding-mode.h: New file.
25546 * sysdeps/generic/get-rounding-mode.h: Likewise.
25547 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25548 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25549 (MAX_VALUE): New macro.
25550 (MIN_VALUE): Likewise.
25551 (overflow_value): New function.
25552 (underflow_value): Likewise.
25553 (round_and_return): Use overflow_value and underflow_value to
25554 determine return values in overflow and underflow cases. Use
25555 round_away to determine rounding depending on rounding mode.
25556 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25557 determine return values in overflow and underflow cases.
25558 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25559 (struct test_results): New structure.
25560 (struct test): Use struct test_results to store expected results
25561 for all rounding modes.
25562 (TEST): Include expected results for all rounding modes.
25563 (test_in_one_mode): New function.
25564 (do_test): Use test_in_one_mode to compute and check results.
25565 Check results for all rounding modes.
25566 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25567 $(link-libm).
25568
19fcedd5
AM
255692012-12-09 Allan McRae <allan@archlinux.org>
25570
1e9d84cd 25571 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25572
8bbfd2f1
JM
255732012-09-11 Joseph Myers <joseph@codesourcery.com>
25574
25575 * sysdeps/generic/_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/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25592 (_G_int32_t): Likewise.
25593 (_G_uint16_t): Likewise.
25594 (_G_uint32_t): Likewise.
25595 (_G_HAVE_BOOL): Likewise.
25596 (_G_HAVE_ATEXIT): Likewise.
25597 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25598 (_G_HAVE_IO_FILE_OPEN): Likewise.
25599
b1dc5912
L
256002012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25601
25602 * csu/libc-tls.c: Update copyright years.
25603
0e886ef9
JM
256042012-09-10 Joseph Myers <joseph@codesourcery.com>
25605
28361c5e
JM
25606 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25607 [!_G_USING_THUNKS]: Remove conditional code.
25608 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25609 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25610
0e886ef9
JM
25611 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25612 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25613 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25614 (_G_VTABLE_LABEL_PREFIX): Likewise.
25615 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25616 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25617 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25618 (_G_VTABLE_LABEL_PREFIX): Likewise.
25619 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25620 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25621 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25622 (_G_VTABLE_LABEL_PREFIX): Likewise.
25623 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25624
bcba7aa2
L
256252012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25626
25627 * libio/Makefile: Include ../Makeconfig before tests.
25628 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25629 only if $(build-shared) is yes.
25630
06585ee8
L
25631 * iconv/gconv_db.c: Update copyright years.
25632
80ccd52c
LD
256332012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25634
25635 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25636 unwind info if defined PIC. Fix special cases description.
25637 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25638
25639 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25640 DP_HI_MASK entry.
25641 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25642
691bc9c1
L
256432012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25644
3d9b46b3
L
25645 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25646
de2139a9
L
25647 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25648 is NULL.
25649
5ca78dd0
L
25650 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25651 (LDLIBS-tst-chk4): This.
25652 (LDFLAGS-tst-chk5): Renamed to ...
25653 (LDLIBS-tst-chk5): This.
25654 (LDFLAGS-tst-chk6): Renamed to ...
25655 (LDLIBS-tst-chk6): This.
25656 (LDFLAGS-tst-lfschk4): Renamed to ...
25657 (LDLIBS-tst-lfschk4): This.
25658 (LDFLAGS-tst-lfschk5): Renamed to ...
25659 (LDLIBS-tst-lfschk5): This.
25660 (LDFLAGS-tst-lfschk6): Renamed to ...
25661 (LDLIBS-tst-lfschk6): This.
25662
691bc9c1
L
25663 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25664 on $(common-objpfx)soversions.mk.
25665
65cafb1c
JM
256662012-09-07 Joseph Myers <joseph@codesourcery.com>
25667
25668 [BZ #10014]
25669 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25670 example host name.
25671
c78ab094
SP
256722012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25673
25674 * malloc/arena.c (arena_get_retry): New function that gets
25675 another arena for the caller to try its request on.
25676 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25677 current arena cannot fulfill the request.
25678 (__libc_memalign): Likewise.
25679 (__libc_memalign): Likewise.
25680 (__libc_pvalloc): Likewise.
25681 (__libc_calloc): Likewise.
25682
01f49f59
JT
256832012-09-05 John Tobey <john.tobey@gmail.com>
25684
25685 [BZ #13542]
25686 * manual/arith.texi (Operations on Complex): Fix description
25687 of carg branch cut.
25688
4c23fed5
JM
256892012-09-06 Joseph Myers <joseph@codesourcery.com>
25690
1d3c8572
JM
25691 [BZ #10014]
25692 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25693 host name.
25694
4c23fed5
JM
25695 [BZ #10038]
25696 * manual/memory.texi (Memory): Make order of menu items match
25697 order of sections.
25698
04570aaa
L
256992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25700
25701 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25702 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25703 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25704
b80af2f4
L
257052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 * csu/libc-tls.c (static_dtv): Renamed to ...
25708 (_dl_static_dtv): This. Make it global.
25709 (_dl_initial_dtv): Removed.
25710 (__libc_setup_tls): Updated.
25711 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25712 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25713 DL_INITIAL_DTV.
25714
2abe9f15
PM
257152012-09-06 Petr Machata <pmachata@redhat.com>
25716
25717 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25718 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25719 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25720 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25721
0948c3af
L
257222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25723
25724 [BZ #14545]
25725 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25726 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25727 freeing dtv[-1].
25728
a5055ad1
L
257292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25730
25731 [BZ #14544]
25732 * Makeconfig (link-static-before-libc): Replace $(+prector)
25733 with $(+prectorT).
25734 (link-static-after-libc): Replace $(+postctor) with
25735 $(+postctorT).
25736 (link-bounded): Replace $(+prector)/$(+postctor) with
25737 $(+prectorT)/$(+postctorT).
25738 (+prectorT): New macro.
25739 (+postctorT): Likewise.
25740
ed8c2ecd
JM
257412012-09-06 Joseph Myers <joseph@codesourcery.com>
25742
25743 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25744 (round_str): Handle values above the maximum for IBM long double
25745 as inexact.
25746 * stdlib/tst-strtod-round.c (tests): Regenerated.
25747
14c996c8
AK
257482012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25749
25750 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25751 assembler flag.
25752 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25753 zarch_nohighgprs around the zarch optimized routines.
25754 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25755 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25756 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25757 for zarch.
25758
430d6ce6
DM
257592012-09-05 David S. Miller <davem@davemloft.net>
25760
25761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25762
57f41c40
AS
25763 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25764 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25765 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25766 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25767 entries.
25768
24d4e01b
AO
257692012-09-05 Alexandre Oliva <aoliva@redhat.com>
25770
25771 * malloc/arena.c: Fold copyright years.
25772 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25773
61d58174
AO
257742012-09-05 Alexandre Oliva <aoliva@redhat.com>
25775
25776 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25777
20196a5e
AO
257782012-09-05 Alexandre Oliva <aoliva@redhat.com>
25779
25780 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25781
5c447383
AO
257822012-09-05 Alexandre Oliva <aoliva@redhat.com>
25783
25784 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25785 change internal state upon failure.
25786
fad64255
AO
257872012-09-05 Alexandre Oliva <aoliva@redhat.com>
25788
25789 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25790 * malloc/memusage.c (mmap): Likewise.
25791 (mmap64, mremap): Likewise. Adjust name in comment.
25792
1ffb8c90
SP
257932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25794
25795 * libio/fileops.c: Fix typos in comments.
25796 * libio/oldfileops.c: Likewise.
25797 * libio/wfileops.c: Likewise.
25798
6ef9cc37
SP
257992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25800
25801 [BZ #1349]
25802 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25803 (tst-malloc-usable-ENV): Set environment for test case.
25804 * malloc/hooks.c (malloc_check_get_size): New function to get
25805 requested size.
25806 * malloc/malloc.c (musable): Use malloc_check_get_size.
25807 * malloc/tst-malloc-usable.c: New test case.
25808
4d038ae3
AS
258092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25810
25811 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25812
c4e85184
AM
258132012-09-05 Allan McRae <allan@archlinux.org>
25814
b9dafc56 25815 [BZ #13966]
c4e85184
AM
25816 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25817 determine header location.
25818 * configure: Regenerated.
25819
e1343020
AS
258202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25821
25822 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25823 float format.
25824 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25825 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25826 format.
e1343020
AS
25827 (test): Regenerate.
25828
0a9f1987
DM
258292012-09-04 David S. Miller <davem@davemloft.net>
25830
25831 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25832 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25833 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25834
29237804
FW
258352012-09-04 Florian Weimer <fweimer@redhat.com>
25836
25837 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25838 failures.
25839
edb3cb88
FW
25840 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25841
60160d83
JM
258422012-09-04 Joseph Myers <joseph@codesourcery.com>
25843
25844 [BZ #9914]
25845 * libio/iogetdelim.c: Include <limits.h>.
25846 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25847 + len + 1 would overflow.
25848
bcd6c8dc
AJ
258492012-09-03 Andreas Jaeger <aj@suse.de>
25850
25851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25852 * sysdeps/i386/fpu/libm-test-ulps: Update.
25853
4ffffbd2
LD
258542012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25855
25856 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25857 Add s_sinf-sse2, s_conf-sse2.
25858
25859 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25860 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25861 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25862 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25863
25864 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25865 for using routine as __sinf_ia32.
25866 Use macro for function declaration and weak_alias.
25867 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25868 for using routine as __cosf_ia32.
25869 Use macro for function declaration and weak_alias.
25870
25871 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25872 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25873
25874 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25875 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25877
25878 * math/libm-test.inc (cos_test): Add more test cases.
25879 (sin_test): Likewise.
25880 (sincos_test): Likewise.
25881
511fa286
AK
258822012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25883
25884 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25885 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25886 hidden.
25887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25888
5f30cfec
L
258892012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25890
25891 [BZ #14538]
25892 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25893 first element of the GOT.
25894 (elf_machine_load_address): Return the difference between
25895 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25896
0786794f
AM
258972012-09-01 Allan McRae <allan@archlinux.org>
25898
5f30cfec
L
25899 [BZ #13412]
25900 * configure.in (AWK): Require gawk version 3.0 or later.
25901 * configure: Regenerated.
0786794f 25902
26889eac
JM
259032012-09-01 Joseph Myers <joseph@codesourcery.com>
25904
25905 * sysdeps/unix/sysv/linux/kernel-features.h
25906 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25907 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25908 [__NR_clock_getres]: Make code unconditional.
25909 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25910 (clock_getcpuclockid): Remove code left unreachable by removal of
25911 conditionals.
25912 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25913 code unconditional.
25914 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25915 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25916 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25917 Make code unconditional.
25918 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25919 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25920 * sysdeps/unix/sysv/linux/clock_settime.c
25921 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25922 conditional code.
25923 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25924 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25925
d22e28b0
L
259262012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25927
25928 [BZ #14476]
25929 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25930 scripts/test-installation.pl.
25931
25932 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25933 and $ld_so_version if it is set.
25934
050af9c4
SP
259352012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25936
25937 [BZ #14516]
25938 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25939 failure if reading from procfs failed.
25940 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25941
ad845c0b
JM
259422012-08-27 Joseph Myers <joseph@codesourcery.com>
25943
25944 * sysdeps/unix/sysv/linux/kernel-features.h
25945 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25946 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25947 Remove conditional code.
25948 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25949 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25950 Remove conditional code.
25951 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25952 * sysdeps/unix/sysv/linux/i386/fxstat.c
25953 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25954 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25955 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25956 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25957 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25958 * sysdeps/unix/sysv/linux/i386/lxstat.c
25959 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25960 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25961 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25962 Remove conditional code.
25963 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25964 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25965 Remove conditional code.
25966 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25967 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25968 <kernel-features.h>.
25969 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25970 Remove.
25971 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25972 Remove conditional code.
25973 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25974 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25975 Remove conditional.
25976
5dbf56af
MF
259772012-08-27 Mike Frysinger <vapier@gentoo.org>
25978
25979 [BZ #5400]
25980 * NEWS: Add fixed bug number.
25981
d6e70f43
JM
259822012-08-27 Joseph Myers <joseph@codesourcery.com>
25983
7efb4737
JM
25984 [BZ #14519]
25985 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25986 underflowing exponent in case of negative sign.
25987 * stdlib/tst-strtod-round-data: Add more tests.
25988 * stdlib/tst-strtod-round.c (tests): Regenerated.
25989
af92131a
JM
25990 [BZ #3479]
25991 * stdlib/strtod_l.c (NDIG): Remove.
25992 (HEXNDIG): Likewise.
25993 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25994 smallest representable value.
25995 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25996 lie within an exact representation of 1/2 ulp of the result.
25997 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25998 unconditionally.
25999 (TENS_P9_IDX): Define unconditionally.
26000 (TENS_P9_SIZE): Likewise.
26001 (TENS_P10_IDX): Likewise.
26002 (TENS_P10_SIZE): Likewise.
26003 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26004 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26005 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26006 entries for 10^2^13 and 10^2^14.
26007 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26008 (TENS_P13_IDX): Define.
26009 (TENS_P13_SIZE): Likewise.
26010 (TENS_P14_IDX): Likewise.
26011 (TENS_P14_SIZE): Likewise.
26012 (_fpioconst_pow10): Change array size to
26013 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26014 unconditional.
26015 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26016 1024]: Add entries for 10^2^13 and 10^2^14.
26017 [LAST_POW10 > _LAST_POW10]: Remove #error.
26018 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26019 (_fpioconst_pow10): Change array size to
26020 FPIOCONST_POW10_ARRAY_SIZE.
26021 * stdlib/gen-fpioconst.c: New file.
26022 * stdlib/gen-tst-strtod-round.c: Likewise.
26023 * stdlib/tst-strtod-round-data: Likewise.
26024 * stdlib/tst-strtod-round.c: Likewise.
26025 * stdlib/Makefile (tests): Add tst-strtod-round.
26026
d6e70f43
JM
26027 [BZ #14459]
26028 * stdlib/strtod_l.c: Include <stdint.h>.
26029 (NDEBUG): Do not define.
26030 (round_and_return): Change EXPONENT parameter to type intmax_t.
26031 Rearrange calculations to avoid internal overflow possibilities.
26032 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26033 Rearrange calculations to avoid internal overflow possibilities.
26034 Assert that number fits inside MPNSIZE limbs.
26035 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26036 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26037 calculations and add assertions to avoid internal overflow
26038 possibilities. Add casts to avoid signed/unsigned operations.
26039 * stdlib/tst-strtod-overflow.c: New file.
26040 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26041
1f529f7d
MP
260422012-08-25 Marek Polacek <polacek@redhat.com>
26043
26044 * time/time.h: Fix some typos in comments.
26045
59a629f1
RM
260462012-08-23 Roland McGrath <roland@hack.frob.com>
26047
26048 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26049 * posix/tst-rfc3484-2.c: Likewise.
26050 * posix/tst-rfc3484-3.c: Likewise.
26051
d3bafbc9
SM
260522012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26053
26054 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26055 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26056
4efcc022
JM
260572012-08-23 Joseph Myers <joseph@codesourcery.com>
26058
26059 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26060 #include of fxstatat64.c.
26061
3cc3ef96
RM
260622012-08-22 Roland McGrath <roland@hack.frob.com>
26063
f04e2132
RM
26064 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26065 * shadow/getspent_r.c: Likewise.
26066 * shadow/getspnam.c: Likewise.
26067 * shadow/getspnam_r.c: Likewise.
26068 * gshadow/getsgent.c: Likewise.
26069 * gshadow/getsgent_r.c: Likewise.
26070 * gshadow/getsgnam.c: Likewise.
26071 * gshadow/getsgnam_r.c: Likewise.
26072 * inet/getnetbyad.c: Likewise.
26073 * inet/getnetbyad_r.c: Likewise.
26074 * inet/getnetbynm.c: Likewise.
26075 * inet/getnetbynm_r.c: Likewise.
26076 * inet/getnetent.c: Likewise.
26077 * inet/getnetent_r.c: Likewise.
26078 * inet/getproto.c: Likewise.
26079 * inet/getproto_r.c: Likewise.
26080 * inet/getprtent.c: Likewise.
26081 * inet/getprtent_r.c: Likewise.
26082 * inet/getprtname.c: Likewise.
26083 * inet/getprtname_r.c: Likewise.
26084 * inet/getrpcbyname.c: Likewise.
26085 * inet/getrpcbyname_r.c: Likewise.
26086 * inet/getrpcbynumber.c: Likewise.
26087 * inet/getrpcbynumber_r.c: Likewise.
26088 * inet/getrpcent.c: Likewise.
26089 * inet/getrpcent_r.c: Likewise.
26090 * inet/getaliasent.c: Likewise.
26091 * inet/getaliasent_r.c: Likewise.
26092 * inet/getaliasname.c: Likewise.
26093 * inet/getaliasname_r.c: Likewise.
26094 * nscd/getgrgid_r.c: Likewise.
26095 * nscd/getgrnam_r.c: Likewise.
26096 * nscd/gethstbyad_r.c: Likewise.
26097 * nscd/gethstbynm3_r.c: Likewise.
26098 * nscd/getpwnam_r.c: Likewise.
26099 * nscd/getpwuid_r.c: Likewise.
26100 * nscd/getsrvbynm_r.c: Likewise.
26101 * nscd/getsrvbypt_r.c: Likewise.
26102 * nscd/gai.c: Likewise.
26103
c53d909c
RM
26104 * configure.in (build_nscd): New substituted variable, set
26105 by --disable-build-nscd and defaults to $use_nscd.
26106 * configure: Regenerated.
26107 * config.make.in (build-nscd): New substituted variable.
26108 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26109 Change conditional to require [$(build-nscd) = yes] as well.
26110 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26111
3cc3ef96
RM
26112 [BZ# 13696]
26113 * configure.in (use_nscd): New substituted variable, set by
26114 --disable-nscd. If enabled, define USE_NSCD.
26115 * configure: Regenerated.
26116 * config.h.in: Add USE_NSCD.
26117 * config.make.in (use-nscd): New substituted variable.
26118 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26119 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26120 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26121 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26122 (CFLAGS-getgrnam_r.c): Likewise.
26123 (CFLAGS-initgroups.c): Likewise.
26124 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26125 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26126 Variables removed.
26127 * inet/getnetgrent_r.c
26128 (nscd_setnetgrent): New function, broken out of ...
26129 (setnetgrent): ... here. Call it.
26130 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26131 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26132 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26133 * nscd/Makefile (routines, aux): Move definitions after include of
26134 Makeconfig. Conditionalize on [$(use-nscd) != no].
26135 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26136 Conditionalize on [USE_NSCD].
26137 (is_nscd, nscd_init_cb): Likewise.
26138 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26139 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26140 * nss/nss_db/db-init.c: Likewise.
26141 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26142 [USE_NSCD].
26143 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26144 (make_request): Use it.
26145 (cache_valid_p): New function.
26146 (__check_pf): Use it.
26147 * NEWS: Add item for --disable-nscd.
26148
07e51550
DL
261492012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26150
26151 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26152 to support sed >= 4.2.1-20-ga9bf076.
26153 * configure: Regenerated.
26154
35a5b08b
RM
261552012-08-22 Roland McGrath <roland@hack.frob.com>
26156
26157 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26158 Conditionalize whole body on [IREL].
26159
8479f23a
JL
261602012-08-22 Jeff Law <law@redhat.com>
26161
26162 [BZ #14505]
26163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26164 if the family is PF_UNSPEC.
26165
48da0b21
MF
261662012-08-22 Mike Frysinger <vapier@gentoo.org>
26167
26168 * Makerules (lib-version): Rename from V.
26169 (install-lib-nosubdir): Change V to lib-version.
26170
15d0da8c
WS
261712012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26172
26173 [BZ #14252]
26174 * powerpc32/power6/wcschr.c: New file.
26175 * powerpc32/power6/wcscpy.c: New file.
26176 * powerpc32/power6/wcsrchr.c: New file.
26177 * powerpc64/power6/wcschr.c: New file.
26178 * powerpc64/power6/wcscpy.c: New file.
26179 * powerpc64/power6/wcsrchr.c: New file.
26180
bcca0895
MK
261812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26182
26183 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26184 (two_way_short_needle): Use it.
5a4aaa33
RM
26185 * string/strstr.c (AVAILABLE1_USES_J): Define.
26186 * string/strcasestr.c: Likewise.
99677e57
MK
26187
26188 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26189 array references.
26190 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26191
400726de
MK
26192 [BZ #11607]
26193 * NEWS: Add an entry.
26194 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26195 define their defaults.
26196 (two_way_short_needle): Detect end-of-string on-the-fly.
26197 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26198 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26199 * string/bug-strcasestr1.c: New test.
26200 * string/Makefile: Run it.
26201
20a71f2c
MK
262022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26203
26204 [BZ #11607]
26205 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26206 the first character.
26207
21ad0558
RM
262082012-08-21 Roland McGrath <roland@hack.frob.com>
26209
26210 * csu/elf-init.c (__libc_csu_irel): Function removed.
26211 * csu/libc-start.c (apply_irel): New function.
26212 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26213
0e1d9911
JM
262142012-08-21 Joseph Myers <joseph@codesourcery.com>
26215
26216 * sysdeps/unix/sysv/linux/kernel-features.h
26217 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26218 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26219 <kernel-features.h>.
26220 [__NR_fadvise64_64]: Make code unconditional.
26221 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26222 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26223 !__NR_fadvise64_64)]: Likewise.
26224 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26225 !__NR_fadvise64_64))]: Likewise.
26226 [__NR_fadvise64]: Make code unconditional.
26227 [!__NR_fadvise64]: Remove conditional code.
26228 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26229 <kernel-features.h>.
26230 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26231 unconditional.
26232 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26233 conditional code.
26234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26235 not include <kernel-features.h>.
26236 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26237 unconditional.
26238 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26239 conditional code.
26240 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26241 include <kernel-features.h>.
26242 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26243 unconditional.
26244 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26245 conditional code.
26246
14a50c9d
WS
262472012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26248
26249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26250 slight instruction rearrangements per scrollpipe analysis.
26251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26252
c0f4faf0
RM
262532012-08-20 Roland McGrath <roland@hack.frob.com>
26254
696da859
RM
26255 * manual/syslog.texi (syslog; vsyslog, closelog):
26256 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26257 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26258
c0f4faf0
RM
26259 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26260 DSOCAPS to match condition on defining it.
26261
348363b2
JM
262622012-08-20 Joseph Myers <joseph@codesourcery.com>
26263
a35cbf28
JM
26264 * sysdeps/unix/sysv/linux/kernel-features.h
26265 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26267 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26268 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26270 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26271 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26273 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26274 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26275
445f7ecd
JM
26276 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26277 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26278
348363b2
JM
26279 * sysdeps/unix/sysv/linux/kernel-features.h
26280 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26281 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26282 unconditional.
26283 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26284 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26285 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26286 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26287 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26288 Make code unconditional.
26289 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26290 (__mmap64) [!__NR_mmap2]: Likewise.
26291 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26292 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26293 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26294 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26295 [__NR_mmap2]: Make code unconditional.
26296 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26297 (__mmap64) [!__NR_mmap2]: Likewise.
26298
bc5bc0e5
AK
262992012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26300
26301 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26302
88d506de
AJ
263032012-08-18 Andreas Jaeger <aj@suse.de>
26304
26305 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26306
493387d2
MF
263072012-08-18 Mike Frysinger <vapier@gentoo.org>
26308
26309 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26310 * include/unistd.h (__have_sock_cloexec): Likewise.
26311 (__have_pipe2): Likewise.
26312 (__have_dup3): Likewise.
26313
a277af22
MF
263142012-08-18 Mike Frysinger <vapier@gentoo.org>
26315
26316 [BZ #9685]
26317 * include/unistd.h (__have_pipe2): Change define into an extern int.
26318 (__have_dup3): Likewise.
26319 * socket/have_sock_cloexec.c: Include fcntl.h.
26320 (__have_pipe2): New variable.
26321 (__have_dup3): Likewise.
26322
fdab8fd3
MF
263232012-08-17 Mike Frysinger <vapier@gentoo.org>
26324
26325 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26326
31035e80
MP
263272012-08-17 Marek Polacek <polacek@redhat.com>
26328
26329 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26330 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26331
3bd9e993
RM
263322012-08-17 Roland McGrath <roland@hack.frob.com>
26333
c91c505f
RM
26334 * configure.in: Add AC_SUBST for sysheaders.
26335 * configure: Regenerated.
26336 * config.make.in (sysheaders): New substituted variable.
26337
7c6f9d53
RM
26338 * sysdeps/unix/mkfifo.c: Moved ...
26339 * sysdeps/posix/mkfifo.c: ... here.
26340 * sysdeps/unix/mkfifoat.c: Moved ...
26341 * sysdeps/posix/mkfifoat.c: ... here.
26342
26343 * sysdeps/unix/utime.c: Moved ...
26344 * sysdeps/posix/utime.c: ... here.
26345
26346 * sysdeps/unix/time.c: Moved ...
26347 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26348 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26349 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26350
26351 * sysdeps/unix/nice.c: Moved ...
26352 * sysdeps/posix/nice.c: ... here.
26353
26354 * sysdeps/unix/alarm.c: Moved ...
26355 * sysdeps/posix/alarm.c: ... here.
26356
3bd9e993
RM
26357 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26358
d1f09384
JL
263592012-08-17 Jeff Law <law@redhat.com>
26360
26361 * intl/Makefile (codeset_mo): New variable.
26362 ($(codeset_mo)): New target.
26363 (tst-codeset.out): Depend on that. Remove explicit rule.
26364 (tst-gettext3.out, tst-gettext5.out): Likewise.
26365 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26366 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26367 * intl/tst-codeset.sh: Remove.
26368 * intl/tst-gettext3.sh: Likewise.
26369 * intl/tst-gettext5.sh: Likewise.
26370
2ae1ae5c
RM
263712012-08-17 Roland McGrath <roland@hack.frob.com>
26372
c31fdb83
RM
26373 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26374 * sysdeps/unix/syscalls.list: ... here.
26375
a0844057
RM
26376 * sysdeps/posix/getaddrinfo.c
26377 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26378 (gaiconf_init, gaiconf_reload): Use them.
26379 [!_STATBUF_ST_NSEC]
26380 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26381 Define using time_t rather than struct timespec.
26382
750c1f2a
RM
26383 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26384 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26385 Macros removed.
26386 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26387 [!NO_THREADS].
26388 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26389 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26390 Likewise.
26391
2ae1ae5c
RM
26392 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26393 __libc_cleanup_push argument.
26394
e66a42f5
RM
26395 * bits/param.h: New file.
26396 * misc/sys/param.h: New file.
26397 * include/sys/param.h: New file.
26398 * misc/Makefile (headers): Add bits/param.h.
26399 * sysdeps/generic/sys/param.h: File removed.
26400 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26401 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26402 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26403 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26404
b7c08a66
RM
26405 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26406 last change.
26407
b2e1c562
RM
26408 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26409 [_IO_MTSAFE_IO].
26410 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26411 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26412 New macros.
26413
c75ccd4c
RM
26414 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26415 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26416 rather than -D_IO_MTSAFE_IO conditionally.
26417 * stdio-common/Makefile (CPPFLAGS): Likewise.
26418 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26419 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26420 Use $(libio-mtsafe).
26421 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26422 of -D_IO_MTSAFE_IO.
26423 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26424 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26425 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26426 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26427 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26428 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26429 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26430 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26431 (CFLAGS-fread_u_chk.c): Likewise.
26432 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26433 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26434 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26435 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26436 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26437 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26438 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26439 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26440 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26441
26442 * libio/Makefile: Test [$(libc-reentrant) = yes]
26443 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26444
26445 * Makeconfig
26446 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26447 * sysdeps/pthread/configure: File removed.
26448 * sysdeps/pthread/Makeconfig: New file.
26449 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26450 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26451
d9195db8
GB
264522012-08-16 Gary Benson <gbenson@redhat.com>
26453
26454 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26455 unmapping the first object in a namespace.
26456
86466cd9
RM
264572012-08-16 Roland McGrath <roland@hack.frob.com>
26458
26459 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26460 (__internal_setnetgrent): ... this. Add internal_function to
26461 definition. Add libc_hidden_def.
26462 (setnetgrent): Update caller.
26463 (internal_endnetgrent): Renamed to ...
26464 (__internal_endnetgrent): ... this. Add internal_function to
26465 definition. Add libc_hidden_def.
26466 (endnetgrent): Update caller.
26467 (internal_getnetgrent_r): Renamed to ...
26468 (__internal_getnetgrent_r): ... this. Add internal_function to
26469 definition. Add libc_hidden_def.
26470 (__getnetgrent_r): Update caller.
26471 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26472
c3c8283c
JM
264732012-08-16 Joseph Myers <joseph@codesourcery.com>
26474
26475 * stdlib/longlong.h: Update from GCC.
26476
db1ee0a8
RM
264772012-08-16 Roland McGrath <roland@hack.frob.com>
26478
26479 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26480 on _QL, which is set by umul_ppmm but never used.
26481 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26482 variables, which are set by GMP macros but never used.
26483 * stdio-common/_itowa.c (_itowa): Likewise.
26484 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26485 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26486
30f69637
CD
264872012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26488
26489 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26490 struct La_sh_regs is not constant.
26491 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26492 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26493 and struct La_sparc64_regs are not constant.
26494
93a78ac4
JM
264952012-08-16 Joseph Myers <joseph@codesourcery.com>
26496
26497 * sysdeps/unix/sysv/linux/kernel-features.h
26498 (__ASSUME_POSIX_TIMERS): Remove.
26499 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26500 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26501 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26502 Make code unconditional.
26503 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26504 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26505 Make code unconditional.
26506 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26507 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26508 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26509 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26510 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26511 Make code unconditional.
26512 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26513 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26514 (__libc_missing_posix_timers): Remove.
26515
dd924cd7
RM
265162012-08-15 Roland McGrath <roland@hack.frob.com>
26517
4b4f2771
RM
26518 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26519 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26520
601c888b
RM
26521 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26522
176790a7
RM
26523 * elf/dl-sym.c: Include <stdlib.h>.
26524
329bc018
RM
26525 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26526 constants, which avoids warnings in 32-bit builds.
26527
e04e272d
RM
26528 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26529 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26530
952bf94a
RM
26531 * misc/lseek.c: File moved to ...
26532 * io/lseek.c: ... here.
26533
7c99b50a
RM
26534 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26535
dd924cd7
RM
26536 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26537 shifting LEN more than 31 bits at once.
26538
b3f479a8
LD
265392012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26540
26541 [BZ #14195]
8c4ae0d4
RM
26542 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26543 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26544 * string/test-strncasecmp.c (check1): Renamed to...
26545 (bz12205): ...this.
26546 (bz14195): Add new testcase for two empty input strings and N > 0.
26547 (test_main): Call new testcase, adapt for renamed function.
26548
9c55864e
AJ
265492012-08-15 Andreas Jaeger <aj@suse.de>
26550
26551 [BZ #14090]
26552 * crypt/md5test2.c: New test, based on test supplied by Serge
26553 Belyshev <belyshev@depni.sinp.msu.ru>.
26554 * crypt/Makefile (xtests): Add md5test-giant..
26555 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26556
02dcb6c5
PE
265572012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26558
26559 [BZ #14090]
26560 * crypt/md5.c (md5_process_block): Don't assume the buffer
26561 length is less than 2**32.
26562 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26563 length is less than 2**64.
26564
a3f95dcc
RM
265652012-08-15 Roland McGrath <roland@hack.frob.com>
26566
be75d758
RM
26567 * string/str-two-way.h: Include <sys/param.h>.
26568 (MAX): Macro removed.
26569
7312ca90
RM
26570 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26571 Move #define and #undef of memmove to just before and after
26572 including <string.h>.
26573
9a0a5486
RM
26574 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26575 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26576 and after including <string.h>. Move declarations of
26577 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26578 to before #include "string/memmove.c".
26579
67cc348d
RM
26580 * include/dirent.h: Declare __getdirentries.
26581
a3f95dcc
RM
26582 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26583 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26584
ca98e171
MF
265852012-08-14 Mike Frysinger <vapier@gentoo.org>
26586
26587 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26588 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26589 * sysdeps/i386/configure: Regenerated.
26590 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26591 STABS_CURRENT_FILE, and STABS_FUN.
26592 (END): Remove call to STABS_FUN_END.
26593 (STABS_CURRENT_FILE1): Delete.
26594 (STABS_CURRENT_FILE): Likewise.
26595 (STABS_FUN): Likewise.
26596 (STABS_FUN_END): Likewise.
26597 (STABS_FUN2): Likewise.
26598 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26599 * sysdeps/x86_64/configure: Regenerated.
26600
5908bf46
RM
266012012-08-14 Roland McGrath <roland@hack.frob.com>
26602
26603 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26604 * elf/dl-lookup.c: Likewise.
5908bf46 26605
f2c05b9e
JM
266062012-08-14 Joseph Myers <joseph@codesourcery.com>
26607
26608 * sysdeps/unix/sysv/linux/kernel-features.h
26609 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26610 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26611 unconditionally.
26612 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26613 unconditionally.
26614 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26615 condition on __ASSUME_CLONE_THREAD_FLAGS.
26616
e11f5155
AJ
266172012-08-14 Andreas Jaeger <aj@suse.de>
26618
26619 * sysdeps/i386/fpu/libm-test-ulps: Update.
26620
51a9ba86
MK
266212012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26622
2fdd4f78
AJ
26623 * include/atomic.h (atomic_exchange_and_add): Split into ...
26624 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26625 New atomic macros.
51a9ba86 26626
ba6cba9e
MT
266272012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26628
26629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26630
42443a47
JL
266312012-08-13 Jeff Law <law@redhat.com>
26632
26633 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26634 null byte in the output string.
26635
121dce05
JM
266362012-08-10 Joseph Myers <joseph@codesourcery.com>
26637
26638 * sysdeps/unix/sysv/linux/kernel-features.h
26639 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26640 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26641 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26642 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26643 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26644 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26645 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26646
bf51f568
JL
266472012-08-09 Jeff Law <law@redhat.com>
26648
26649 [BZ #13939]
26650 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26651 When avoid_arena is set, don't retry in the that arena. Pick the
26652 next one, whatever it might be.
26653 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26654 (arena_lock): Pass in new parameter to arena_get2.
26655 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26656 arena_get2.
26657 (__libc_malloc): Unify retrying after main arena failure with
26658 __libc_memalign version.
26659 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26660
f85fa270
L
266612012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26662
26663 [BZ #14166]
26664 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26665 to __redirect_strstr.
26666 (__strstr_sse42): Use typeof __redirect_strstr.
26667 (__strstr_ia32): Likewise.
26668 (__libc_strstr): New prototype.
26669 (strstr): Renamed to ...
26670 (__libc_strstr): This.
26671 (strstr): New strong alias of __libc_strstr.
26672 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26673 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26674 __redirect_time.
26675 Include <time.h>.
26676 (__libc_time): New prototype.
26677 (time_ifunc): Replace time with __libc_time.
26678 (time): New strong alias and hidden definition of __libc_time.
26679 (__GI_time): Remove strong alias.
26680 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26681 Include <stddef.h>.
26682 (memmove): Redefined to __redirect_memmove.
26683 (__memmove_sse2): Use typeof __redirect_memmove.
26684 (__memmove_ssse3): Likewise.
26685 (__memmove_ssse3_back): Likewise.
26686 (__libc_memmove): New prototype.
26687 (memmove): Renamed to ...
26688 (__libc_memmove): This.
26689 (memmove): New strong alias of __libc_memmove.
26690
33b4a91e
MS
266912012-08-08 Mark Salter <msalter@redhat.com>
26692
26693 * elf/elf.h
26694 (R_MN10300_TLS_GD): Define.
26695 (R_MN10300_TLS_LD): Likewise.
26696 (R_MN10300_TLS_LDO): Likewise.
26697 (R_MN10300_TLS_GOTIE): Likewise.
26698 (R_MN10300_TLS_IE): Likewise.
26699 (R_MN10300_TLS_LE): Likewise.
26700 (R_MN10300_TLS_DTPMOD): Likewise.
26701 (R_MN10300_TLS_DTPOFF): Likewise.
26702 (R_MN10300_TLS_TPOFF): Likewise.
26703 (R_MN10300_SYM_DIFF): Likewise.
26704 (R_MN10300_ALIGN): Likewise.
26705 (R_MN10300_NUM): Update.
26706
b36137f1
JM
267072012-08-08 Joseph Myers <joseph@codesourcery.com>
26708
26709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26710 Remove.
26711
cdd915fd
RM
267122012-08-08 Roland McGrath <roland@hack.frob.com>
26713
a2433aac
RM
26714 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26715
cdd915fd
RM
26716 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26717 sysdeps/unix -> sysdeps/posix move.
26718 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26719
bf9b740a
AM
267202012-08-07 Allan McRae <allan@archlinux.org>
26721
26722 [BZ #14303]
26723 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26724 (SUNOS_CPP): Likewise.
26725 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26726 not found.
26727 (open_input): Call CPP using execvp.
26728
93df14ee
JM
267292012-08-07 Joseph Myers <joseph@codesourcery.com>
26730
26731 * sysdeps/unix/sysv/linux/kernel-features.h
26732 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26733 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26734 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26735 (__ASSUME_WAITID_SYSCALL): Likewise.
26736 * sysdeps/unix/sysv/linux/dl-execstack.c
26737 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26738 code unconditional.
26739 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26740 conditional code.
26741 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26742 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26743 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26744 code.
26745 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26746 unconditional.
26747 [__ASSUME_WAITID_SYSCALL]: Likewise.
26748 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26749
d34689de
RM
267502012-08-07 Roland McGrath <roland@hack.frob.com>
26751
a281decc
RM
26752 * sysdeps/unix/closedir.c: Renamed to ...
26753 * sysdeps/posix/closedir.c: ... here.
26754 * sysdeps/unix/dirfd.c: Renamed to ...
26755 * sysdeps/posix/dirfd.c: ... here.
26756 * sysdeps/unix/dirstream.h: Renamed to ...
26757 * sysdeps/posix/dirstream.h: ... here.
26758 * sysdeps/unix/fdopendir.c: Renamed to ...
26759 * sysdeps/posix/fdopendir.c: ... here.
26760 * sysdeps/unix/opendir.c: Renamed to ...
26761 * sysdeps/posix/opendir.c: ... here.
26762 * sysdeps/unix/readdir.c: Renamed to ...
26763 * sysdeps/posix/readdir.c: ... here.
26764 * sysdeps/unix/readdir_r.c: Renamed to ...
26765 * sysdeps/posix/readdir_r.c: ... here.
26766 * sysdeps/unix/rewinddir.c: Renamed to ...
26767 * sysdeps/posix/rewinddir.c: ... here.
26768 * sysdeps/unix/seekdir.c: Renamed to ...
26769 * sysdeps/posix/seekdir.c: ... here.
26770 * sysdeps/unix/telldir.c: Renamed to ...
26771 * sysdeps/posix/telldir.c: ... here.
26772 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26773 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26774 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26775 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26776
22895b47
RM
26777 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26778 * bits/fcntl.h: ... here.
26779
707a53b6
RM
26780 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26781 not 0.
26782 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26783 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26784 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26785 (struct flock): Move l_start, l_len to the beginning.
26786 Use __pid_t for l_pid.
26787 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26788 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26789 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26790 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26791 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26792 [__USE_LARGEFILE64] (struct flock64): New type.
26793 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26794
f0bd3e25
RM
26795 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26796 * bits/dirent.h: ... here.
26797
d34689de
RM
26798 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26799 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26800
6dad2c06
JM
268012012-08-07 Joseph Myers <joseph@codesourcery.com>
26802
26803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26804 Change from 2.6.0 to 2.6.16.
26805 * sysdeps/unix/sysv/linux/configure: Regenerated.
26806 * sysdeps/unix/sysv/linux/kernel-features.h
26807 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26808 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26809 version.
26810 (__ASSUME_UTIMES): Likewise.
26811 (__ASSUME_CLONE_STOPPED): Remove.
26812 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26813 architectures, not kernel version.
26814 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26815 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26816 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26817 (__ASSUME_WAITID_SYSCALL): Likewise.
26818 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26819 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26820 * README: State 2.6.16 as minimum Linux kernel version. Do not
26821 refer to older versions.
26822
03af9520
RM
268232012-08-06 Roland McGrath <roland@hack.frob.com>
26824
8e49df1d
RM
26825 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26826 Define alphasort64 as an alias.
26827 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26828 Define versionsort64 as an alias.
26829 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26830 Define scandir64 as an alias.
26831 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26832 Define scandirat64 as an alias.
26833 * dirent/alphasort64.c (alphasort64):
26834 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26835 * dirent/versionsort64.c: Likewise.
26836 * dirent/scandir64.c: Likewise.
26837 * dirent/scandirat64.c: Likewise.
26838 * sysdeps/wordsize-64/alphasort.c: File removed.
26839 * sysdeps/wordsize-64/alphasort64.c: File removed.
26840 * sysdeps/wordsize-64/scandir.c: File removed.
26841 * sysdeps/wordsize-64/scandir64.c: File removed.
26842 * sysdeps/wordsize-64/scandirat.c: File removed.
26843 * sysdeps/wordsize-64/scandirat64.c: File removed.
26844 * sysdeps/wordsize-64/versionsort.c: File removed.
26845 * sysdeps/wordsize-64/versionsort64.c: File removed.
26846 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26847 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26848 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26849 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26850 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26851 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26852 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26853 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26854
26855 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26857 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26859 [defined __arch64__ || defined __sparcv9]
26860 (__INO_T_MATCHES_INO64_T): New macro.
26861 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26862 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26863 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26864 * sysdeps/unix/sysv/linux/bits/dirent.h
26865 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26866 (_DIRENT_MATCHES_DIRENT64): New macro.
26867
03af9520
RM
26868 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26869 Define lockf64 as an alias.
26870 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26871 Define fseeko64 as an alias.
26872 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26873 Define ftello64 as an alias.
26874 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26875 Define _IO_fgetpos64 and fgetpos64 as aliases.
26876 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26877 Define _IO_fsetpos64 and fsetpos64 as aliases.
26878 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26879 Conditionalize body on this.
26880 * libio/fseeko64.c: Likewise.
26881 * libio/ftello64.c: Likewise.
26882 * libio/iofgetpos64.c: Likewise.
26883 * libio/iofsetpos64.c: Likewise.
26884 * sysdeps/wordsize-64/lockf.c: File removed.
26885 * sysdeps/wordsize-64/lockf64.c: File removed.
26886 * sysdeps/wordsize-64/fseeko.c: File removed.
26887 * sysdeps/wordsize-64/fseeko64.c: File removed.
26888 * sysdeps/wordsize-64/ftello.c: File removed.
26889 * sysdeps/wordsize-64/ftello64.c: File removed.
26890 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26891 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26892 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26893 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26894 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26895 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26896 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26897 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26898 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26899 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26900 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26901 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26902 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26903 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26904
26905 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26906 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26907 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26909 [defined __arch64__ || defined __sparcv9]
26910 (__OFF_T_MATCHES_OFF64_T): New macro.
26911 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26912 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26914 (__OFF_T_MATCHES_OFF64_T): New macro.
26915
c5757acd
L
269162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26917
26918 * stdlib/secure-getenv.c (__secure_getenv): Replace
26919 GLIBC_2_16 with GLIBC_2_17.
26920
3a31811e
L
269212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26922
26923 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26924 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26925
faa2bccb
DM
269262012-08-03 David S. Miller <davem@davemloft.net>
26927
26928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26929
85fe1997
JM
269302012-08-03 Joseph Myers <joseph@codesourcery.com>
26931
26932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26933 Remove.
26934 (__ASSUME_CORRECT_SI_PID): Likewise.
26935 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26936 (__ASSUME_TMPFS_NAME): Likewise.
26937 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26938 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26939 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26940 (HAVE_AUX_SECURE): Make definition unconditional.
26941 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26942 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26943
4f75b7a0
RM
269442012-08-03 Roland McGrath <roland@hack.frob.com>
26945
26946 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26947 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26948 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26949 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26950 __eloop_threshold instead of SYMLOOP_MAX.
26951
26952 * sysdeps/generic/eloop-threshold.h: New file.
26953 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26954 of MAXSYMLINKS.
26955 * elf/chroot_canon.c (chroot_canon): Likewise.
26956
7aab07e4
JM
269572012-08-03 Joseph Myers <joseph@codesourcery.com>
26958
26959 [BZ #13717]
26960 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26961 Change to 2.6.0 everywhere.
26962 * sysdeps/unix/sysv/linux/configure: Regenerated.
26963 * sysdeps/unix/sysv/linux/kernel-features.h
26964 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26965 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26966 kernel versions.
26967 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26968 (__ASSUME_FUTEX_REQUEUE): Remove.
26969 (__ASSUME_STATFS64): Define unconditionally.
26970 (__ASSUME_AT_SECURE): Likewise.
26971 (__ASSUME_CORRECT_SI_PID): Likewise.
26972 (__ASSUME_TGKILL): Define without depending on kernel version for
26973 i386.
26974 (__ASSUME_UTIMES): Likewise.
26975 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26976 kernel version.
26977 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26978 (__ASSUME_TMPFS_NAME): Likewise.
26979 * README: Update reference to Linux kernel versions.
26980
b67e9372
MP
269812012-08-02 Marek Polacek <polacek@redhat.com>
26982
1f529f7d 26983 [BZ# 14150]
b67e9372
MP
26984 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26985 libc_cv_asm_type_prefix with %.
26986 * configure: Regenerated.
d2441631
RM
26987 * include/libc-symbols.h: Remove comment about
26988 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26989 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26990 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26991 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26992 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26993 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26994 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26995 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26996 * elf/tst-unique2mod1.c: Likewise.
26997 * elf/tst-unique1mod2.c: Likewise.
26998 * elf/tst-unique1mod1.c: Likewise.
26999 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27000 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27001 Replace ASM_TYPE_DIRECTIVE with .type.
27002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27003 * sysdeps/i386/sysdep.h: Likewise.
27004 * sysdeps/x86_64/sysdep.h: Likewise.
27005 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27007 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27008 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27009 * sysdeps/powerpc/powerpc32/sysdep.h:
27010 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27011 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27012 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27013 * sysdeps/i386/fpu/e_powf.S: Likewise.
27014 * sysdeps/i386/fpu/e_expl.S: Likewise.
27015 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27016 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27017 * sysdeps/i386/fpu/e_pow.S: Likewise.
27018 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27019 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27020 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27021 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27022 * sysdeps/i386/fpu/e_log2.S: Likewise.
27023 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27024 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27025 * sysdeps/i386/fpu/e_powl.S: Likewise.
27026 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27027 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27028 * sysdeps/i386/fpu/e_logl.S: Likewise.
27029 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27030 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27031 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27032 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27033 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27034 * sysdeps/i386/fpu/e_log.S: Likewise.
27035 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27036 * sysdeps/i386/fpu/e_logf.S: Likewise.
27037 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27038 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27039 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27040 * sysdeps/i386/fpu/e_log10.S: Likewise.
27041 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27042 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27043 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27044 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27045 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27046 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27047 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27048 * sysdeps/i386/i686/strtok.S: Likewise.
27049 * sysdeps/i386/i386-mcount.S: Likewise.
27050 * sysdeps/i386/strtok.S: Likewise.
27051 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27052 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27053 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27054 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27055 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27056 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27057 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27058 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27059 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27060 * sysdeps/x86_64/_mcount.S: Likewise.
27061 * sysdeps/x86_64/strtok.S: Likewise.
27062 * sysdeps/sh/_mcount.S: Likewise.
27063
2747bf9a
RM
270642012-08-01 Roland McGrath <roland@hack.frob.com>
27065
27066 * libio/iofopen.c: Include <fcntl.h>.
27067 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27068 (_IO_fopen64, fopen64): Define as aliases.
27069 * libio/iofopen64.c: Include <fcntl.h>.
27070 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27071 Conditionalize body on this.
27072 * sysdeps/wordsize-64/iofopen.c: File removed.
27073 * sysdeps/wordsize-64/iofopen64.c: File removed.
27074
3fb791b8
MP
270752012-08-01 Marek Polacek <polacek@redhat.com>
27076
27077 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27078 Use dlfcn directly instead of a variable.
27079 (binfmt-subdir): Do not define.
27080 (dlfcn): Likewise.
27081
a9f1039f
JM
270822012-08-01 Joseph Myers <joseph@codesourcery.com>
27083
23bddc06
JM
27084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27085 Remove all definitions.
27086 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27087 <kernel-features.h>.
27088 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27089 (miss_F_GETOWN_EX): Remove all definitions.
27090 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27091 macro definition.
27092 [!__ASSUME_FCNTL64]: Remove conditional code.
27093 [__ASSUME_FCNTL64]: Make code unconditional.
27094 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27095 <kernel-features.h>.
27096 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27097 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27098 (lockf64) [__NR_fcntl64]: Make code unconditional.
27099 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27100
a9f1039f
JM
27101 * sysdeps/unix/sysv/linux/kernel-features.h
27102 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27103 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27104 Make code unconditional.
27105 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27106 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27108 [__NR_vfork]: Make code unconditional.
27109 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27110 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27112 [__NR_vfork]: Make code unconditional.
27113 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27114 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27115
09c0ee5f
RM
271162012-08-01 Roland McGrath <roland@hack.frob.com>
27117
48aec5b9
RM
27118 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27119 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27120
cd97c966
RM
27121 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27122 Define mkstemp64 as an alias.
3f55550c
RM
27123 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27124 Define mkstemps64 as an alias.
cd97c966
RM
27125 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27126 Define mkostemp64 as an alias.
b8625cfc
RM
27127 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27128 Define mkostemps64 as an alias.
cd97c966
RM
27129 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27130 Conditionalize body on this.
27131 * misc/mkostemp64.c: Likewise.
b8625cfc 27132 * misc/mkostemps64.c: Likewise.
3f55550c 27133 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27134 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27135 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27136 * sysdeps/wordsize-64/mkostemp.c: File removed.
27137 * sysdeps/wordsize-64/mkstemp.c: File removed.
27138 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27139 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27140 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27141 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27142
09c0ee5f
RM
27143 [BZ #14138]
27144 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27145 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27146 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27147 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27148
27149 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27150 compat_symbol macros from <shlib-compat.h> rather than the underlying
27151 default_symbol_version and symbol_version macros, so that DEFAULT
27152 lines in shlib-versions are respected.
27153 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27154
7e66ee51
FW
271552012-08-01 Florian Weimer <fweimer@redhat.com>
27156
27157 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27158 Declare with warn_unused_result.
27159 (setgid, setregid, setegid, setresgid): Likewise.
27160 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27161 Likewise.
27162 * WUR-REPORT: Remove set*id functions.
27163
d2a54255
PT
271642012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27165
27166 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27167
7ecdb005
RM
271682012-07-31 Roland McGrath <roland@hack.frob.com>
27169
b4180a5e 27170 [BZ #10191]
789bd351
RM
27171 * include/sys/socket.h (__libc_accept, __libc_accept4):
27172 Add attribute_hidden.
27173 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27174
40ce302d
RM
27175 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27176 use of PTR_MANGLE.
27177 * inet/getnetgrent_r.c (setup): Likewise.
27178
7ecdb005
RM
27179 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27180
e2eabb2c
DM
271812012-07-31 David S. Miller <davem@davemloft.net>
27182
27183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27184
d0419dbf
JM
271852012-07-31 Joseph Myers <joseph@codesourcery.com>
27186
27187 [BZ #13629]
27188 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27189 value between 1.0 and 2.0 and smaller part has absolute value less
27190 than 1.0.
27191 * math/s_clog10.c (__clog10): Likewise.
27192 * math/s_clog10f.c (__clog10f): Likewise.
27193 * math/s_clog10l.c (__clog10l): Likewise.
27194 * math/s_clogf.c (__clogf): Likewise.
27195 * math/s_clogl.c (__clogl): Likewise.
27196 * math/libm-test.inc (clog_test): Add more tests.
27197 (clog10_test): Likewise.
27198 * sysdeps/i386/fpu/libm-test-ulps: Update.
27199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27200
2bc13872
FW
272012012-07-31 Florian Weimer <fweimer@redhat.com>
27202
27203 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27204 Exit with zero in case no suitable GID is found, and write a
27205 message to standard error.
27206
bea9b193
RM
272072012-07-30 Roland McGrath <roland@hack.frob.com>
27208
27209 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27210 rather than to 1.
27211 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27212 (MAXPATHLEN): Removed.
27213 (NOGROUP, NODEV): New macros.
27214 (setbit, clrbit, isset, isclr): New macros.
27215 (howmany, roundup, powerof2): New macros.
27216 (DEV_BSIZE): New macro.
27217
27218 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27219 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27220
27221 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27222 definition on [!__NO_LONG_DOUBLE_MATH].
27223
27224 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27225 PTR_MANGLE and PTR_DEMANGLE.
27226
27227 * socket/accept4.c (accept4): Rename to __libc_accept4.
27228 Define accept4 as a weak alias.
27229
27230 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27231 on [_DIRENT_HAVE_D_TYPE].
27232 * io/ftw.c (ftw_dir): Likewise.
27233
27234 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27235
27236 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27237
27238 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27239 Use the BSD numbers rather than the arbitrary ones we had.
27240 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27241 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27242 (SIGXCPU, SIGXFSZ): New macros.
27243 (_NSIG): Now 32.
27244
27245 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27246 initializer on [_LIBC_REENTRANT].
27247
27248 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27249 definitions inside [_POSIX_MAPPED_FILES].
27250
27251 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27252
27253 * dirent/opendir.c: Include <fcntl.h>.
27254
27255 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27256 (__libc_getspecific): Likewise.
27257 (__libc_key_create): Likewise.
27258
27259 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27260 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27261 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27262 (tmpfile64): Define as alias.
27263 * sysdeps/wordsize-64/tmpfile.c: File removed.
27264 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27265 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27266 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27267
27268 * stdio-common/vfscanf.c: Include <stdbool.h>.
27269 * nss/makedb.c: Likewise.
27270 * stdio-common/_i18n_number.h: Likewise.
27271 * argp/argp-help.c: Likewise.
27272 * posix/wordexp.c: Likewise.
27273 * sysdeps/posix/spawni.c: Likewise.
27274 * nss/nss_files/files-initgroups.c: Likewise.
27275 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27276 * nss/nss_files/files-initgroups.c: Likewise.
27277 * nss/nss_db/db-netgrp.c: Likewise.
27278 * nss/nss_db/db-initgroups.c: Likewise.
27279 * io/fchmodat.c: Include <sys/stat.h>.
27280
27281 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27282 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27283
27284 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27285 [HAVE_MMAP].
27286
27287 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27288 Add multiple inclusion protection.
27289
e5abc686
DM
272902012-07-27 David S. Miller <davem@davemloft.net>
27291
27292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27293
815e6fa3
GB
272942012-07-27 Gary Benson <gbenson@redhat.com>
27295
27296 [BZ #14298]
27297 * elf/rtld.c: Include <stap-probe.h>.
27298 (dl_main): Added static probes "init_start" and "init_complete".
27299 * elf/dl-load.c: Include <stap-probe.h>.
27300 (lose): Take new parameter "nsid".
27301 Added static probe "map_failed".
27302 (_dl_map_object_from_fd): Pass namespace id to lose.
27303 Added static probe "map_start".
27304 (open_verify): Pass namespace id to lose.
27305 * elf/dl-open.c: Include <stap-probe.h>.
27306 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27307 and "reloc_complete".
27308 * elf/dl-close.c: Include <stap-probe.h>.
27309 (_dl_close_worker): Added static probes "unmap_start" and
27310 "unmap_complete".
27311 * elf/rtld-debugger-interface.txt: New file documenting the above.
27312
9f98c16c
RM
273132012-07-26 Roland McGrath <roland@hack.frob.com>
27314
27315 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27316 rather than a string variable.
27317 * sunrpc/rpc_main.c (h_output): Likewise.
27318 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27319
f3c22df3
PT
273202012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27321
27322 * inet/check_native.c: New file.
27323
3129cfc6
JM
273242012-07-26 Joseph Myers <joseph@codesourcery.com>
27325
da865e95
JM
27326 [BZ #13629]
27327 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27328 if larger part has absolute value 1.0.
27329 * math/s_clog10.c (__clog10): Likewise.
27330 * math/s_clog10f.c (__clog10f): Likewise.
27331 * math/s_clog10l.c (__clog10l): Likewise.
27332 * math/s_clogf.c (__clogf): Likewise.
27333 * math/s_clogl.c (__clogl): Likewise.
27334 * math/libm-test.inc (clog_test): Add more tests.
27335 (clog10_test): Likewise.
27336 * sysdeps/i386/fpu/libm-test-ulps: Update.
27337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27338
3129cfc6
JM
27339 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27340 (pltexit): Likewise.
27341 (La_regs): Likewise.
27342 (La_retval): Likewise.
27343 (int_retval): Likewise.
27344 Update #error for removed macros to refer only to definitions in
27345 tst-audit.h.
27346 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27347 macro.
27348 (pltexit): Likewise.
27349 (La_regs): Likewise.
27350 (La_retval): Likewise.
27351 (int_retval): Likewise.
27352 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27353 macro.
27354 (pltexit): Likewise.
27355 (La_regs): Likewise.
27356 (La_retval): Likewise.
27357 (int_retval): Likewise.
27358 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27359 macro.
27360 (pltexit): Likewise.
27361 (La_regs): Likewise.
27362 (La_retval): Likewise.
27363 (int_retval): Likewise.
27364 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27365 macro.
27366 (pltexit): Likewise.
27367 (La_regs): Likewise.
27368 (La_retval): Likewise.
27369 (int_retval): Likewise.
27370 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27371 macro.
27372 (pltexit): Likewise.
27373 (La_regs): Likewise.
27374 (La_retval): Likewise.
27375 (int_retval): Likewise.
27376 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27377 macro.
27378 (pltexit): Likewise.
27379 (La_regs): Likewise.
27380 (La_retval): Likewise.
27381 (int_retval): Likewise.
27382 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27383 macro definitions in tst-audit.h.
27384 * sysdeps/i386/tst-audit.h: New file.
27385 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27386 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27387 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27388 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27389 * sysdeps/sh/tst-audit.h: Likewise.
27390 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27391 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27392 * sysdeps/x86_64/tst-audit.h: Likewise.
27393
bfc07087
AJ
273942012-07-26 Andreas Jaeger <aj@suse.de>
27395
b1b2aaf8
AJ
27396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27397 ptrace.
27398
27399 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27400 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27401 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27402 PTRACE_O_MASK.
27403 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27404 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27405 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27406
bfc07087
AJ
27407 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27408 value.
27409
27410 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27411 _sigsys.
27412 (si_call_addr, si_syscall, si_arch): Define new macro.
27413 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27414 _sigsys.
27415 (si_call_addr, si_syscall, si_arch): Define new marcro.
27416 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27417 _sigsys.
27418 (si_call_addr, si_syscall, si_arch): Define new macro.
27419 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27420 _sigsys.
27421 (si_call_addr, si_syscall, si_arch): Define new macro.
27422
89b4b02f
JM
274232012-07-25 Joseph Myers <joseph@codesourcery.com>
27424
27425 [BZ #13717]
27426 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27427 Change to 2.4.21 where previously 2.4.1.
27428 * sysdeps/unix/sysv/linux/configure: Regenerated.
27429 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27430 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27431 Linux kernel version.
27432 (__ASSUME_STD_AUXV): Remove.
27433 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27434 kernel version.
27435 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27436 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27437 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27438 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27439 (__ASSUME_NETLINK_SUPPORT): Likewise.
27440 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27441 (__no_netlink_support): Remove conditional definition.
27442 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27443 Remove.
27444 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27445 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27446 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27447 (if_nameindex_ioctl): Remove.
27448 (if_nameindex_netlink): Do not handle __no_netlink_support.
27449 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27450 code.
27451 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27452 Remove conditional code.
27453 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27454 code.
27455 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27456 unconditional.
27457 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27458 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27459 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27460 Remove.
27461 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27462 [!__ASSUME_STD_AUXV]: Remove conditional code.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27464 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27465 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27467 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27468 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27469 code.
27470 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27472 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27473 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27474 conditional code.
27475 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27477 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27478 code.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27480 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27481 conditional code.
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27483 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27484 code unconditional.
27485 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27486 conditional code.
27487 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27488 unconditional.
27489 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27490 conditional code.
27491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27492 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27493 unconditional.
27494 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27495 conditional code.
27496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27497 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27498 code unconditional.
27499 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27500 conditional code.
27501 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27502 unconditional.
27503 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27504 conditional code.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27506 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27507 code unconditional.
27508 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27509 conditional code.
27510 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27511 unconditional.
27512 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27513 conditional code.
27514
842a39cd
AS
275152012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27516
27517 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27518 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27519 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27520 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27521 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27522 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27523 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27524 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27525 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27526 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27527 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27528 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27529 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27530 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27531 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27532 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27533 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27534 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27535 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27537 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27538 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27539 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27540
84b3fd84
FW
275412012-07-25 Florian Weimer <fweimer@redhat.com>
27542
27543 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27544 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27545 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27546 Introduce __libc_secure_getenv.
0c7936d5
FW
27547 * stdlib/Versions (2.17): Add secure_getenv
27548 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27549 * stdlib/secure-getenv.c: Rename __secure_getenv to
27550 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27551 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27552 * stdlib/tst-secure-getenv.c: New.
27553 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27554 * manual/startup.texi (Environment Access): Document
27555 secure_getenv.
84b3fd84
FW
27556 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27557 __libc_secure_getenv.
27558 * inet/ruserpass.c (ruserpass): Likewise.
27559 * malloc/mtrace.c (mtrace): Likewise.
27560 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27561 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27562 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27563 * sysdeps/posix/tempname.c: Likewise. Evaluate
27564 HAVE_SECURE_GETENV.
27565 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27566 __secure_getenv to __libc_secure_getenv.
84b3fd84 27567 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27569 Likewise.
27570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27571 Likewise.
27572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27579
56e49b71
JM
275802012-07-25 Joseph Myers <joseph@codesourcery.com>
27581
27582 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27583 (struct La_i86_retval): Likewise.
27584 (struct La_x86_64_regs): Likewise.
27585 (struct La_x86_64_retval): Likewise.
27586 (struct La_x32_regs): Likewise.
27587 (struct La_x32_retval): Likewise.
27588 (struct La_ppc32_regs): Likewise.
27589 (struct La_ppc32_retval): Likewise.
27590 (struct La_ppc64_regs): Likewise.
27591 (struct La_ppc64_retval): Likewise.
27592 (struct La_sh_regs): Likewise.
27593 (struct La_sh_retval): Likewise.
27594 (struct La_s390_32_regs): Likewise.
27595 (struct La_s390_32_retval): Likewise.
27596 (struct La_s390_64_regs): Likewise.
27597 (struct La_s390_64_retval): Likewise.
27598 (struct La_sparc32_regs): Likewise.
27599 (struct La_sparc32_retval): Likewise.
27600 (struct La_sparc64_regs): Likewise.
27601 (struct La_sparc64_retval): Likewise.
27602 (struct audit_ifaces): Remove architecture-specific pltenter and
27603 pltexit members.
27604 * sysdeps/i386/ldsodefs.h: New file.
27605 * sysdeps/powerpc/ldsodefs.h: Likewise.
27606 * sysdeps/s390/ldsodefs.h: Likewise.
27607 * sysdeps/sh/ldsodefs.h: Likewise.
27608 * sysdeps/sparc/ldsodefs.h: Likewise.
27609 * sysdeps/x86_64/ldsodefs.h: Likewise.
27610
354691b7
MP
276112012-07-25 Marek Polacek <polacek@redhat.com>
27612
27613 [BZ #6808]
27614 * math/libm-test.inc (yn_test): Add another test.
27615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27616 to ERANGE when the result is +-Inf.
27617 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27618 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27619 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27620 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27621
bf9e2071
JM
276222012-07-24 Joseph Myers <joseph@codesourcery.com>
27623
27624 * conform/data/time.h-data (NULL): Use macro-constant. Require
27625 equal to 0.
27626 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27627 clock_t.
27628 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27629
57633811
TS
276302012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27631
27632 * configure.in <sysdeps resolving>: Correct printing
27633 Implies_before.
27634 * configure: Regenerate.
27635
c23c33b0
TS
276362012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27637
27638 * math/w_ilogb.c: Include <limits.h>.
27639 * math/w_ilogbl.c: Likewise.
27640
b5982523
JM
276412012-07-20 Joseph Myers <joseph@codesourcery.com>
27642
27643 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27644 va_copy. Document allowing for unavailable va_copy only as
27645 pre-C99 compatibility.
27646 * manual/string.texi (Copying and Concatenation): Use va_copy
27647 instead of __va_copy in concat example.
27648
ac4ea442
PT
276492012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27650
27651 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27652 (__sendto): Use create_address_port. Initialize APORT and deallocate
27653 it if not null.
27654
f98eafbd
PT
27655 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27656 with O_NOLINK passed to __file_name_lookup.
27657
898c7aab
PT
27658 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27659 with O_NOLINK passed to __file_name_lookup.
27660
0ced335a
PT
27661 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27662 negative N or less than NGIDS.
27663
b3404dbd
PT
27664 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27665 type to string_t. Set ERANGE as errno and return it if NAME is not big
27666 enough. Use memcpy instead of strncpy.
27667
0f48659e
JM
276682012-07-20 Joseph Myers <joseph@codesourcery.com>
27669
27670 * elf/Makefile (check-data): Remove.
27671 (localplt.data): New vpath directive.
27672 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27673 instead of $(check-data).
27674 * scripts/data/localplt-generic.data: Move to ...
27675 * sysdeps/generic/localplt.data: ... here.
27676 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27677 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27678 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27680 ... here.
27681 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27683 ... here.
27684 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27686 ... here.
27687 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27689 ... here.
27690 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27692 ... here.
27693 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27695 ... here.
27696
d37cbdaa
AZ
276972012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27698
27699 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27700 PPC32 and PPC64 files.
27701 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27702 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27703
46f85fc2
AK
277042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27705
27706 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27707 __makecontext_ret to ...
27708 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27709 ... here and call exit if uc_link is NULL. New file.
27710 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27711 __makecontext_ret.S.
27712 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27713 __makecontext_ret to ...
27714 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27715 ... here and call exit if uc_link is NULL. New file.
27716 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27717 __makecontext_ret.S.
27718
08f43f9b
AK
277192012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27720
27721 * elf/elf.h (R_390_IRELATIVE): New definition.
27722 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27723 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27724 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27725 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27726 (elf_machine_lazy_rel): Likewise.
27727 * sysdeps/s390/dl-irel.h: New file.
27728 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27729 * sysdeps/s390/s390-64/memset.S: New asm code.
27730 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27731 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27732 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27733 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27734 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27735 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27736 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27737 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27738 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27739 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27740 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27741 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27742 * sysdeps/s390/s390-32/memset.S: New asm code.
27743 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27744
3b05db33
MP
277452012-07-17 Marek Polacek <polacek@redhat.com>
27746
27747 [BZ #14349]
27748 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27749 * sysdeps/s390/s390-64/configure.in: Likewise.
27750 * sysdeps/sparc/configure.in: Likewise.
27751 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27752 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27753 * sysdeps/i386/configure.in: Likewise.
27754 * sysdeps/x86_64/configure.in: Likewise.
27755 * sysdeps/sh/configure.in: Likewise.
27756 * sysdeps/s390/s390-32/configure: Regenerated.
27757 * sysdeps/s390/s390-64/configure: Likewise.
27758 * sysdeps/x86_64/configure: Likewise.
27759 * sysdeps/sh/configure: Likewise.
27760 * sysdeps/powerpc/powerpc64/configure: Likewise.
27761 * sysdeps/powerpc/powerpc32/configure: Likewise.
27762 * sysdeps/sparc/configure: Likwise.
27763 * sysdeps/i386/configure: Likewise.
27764
a66877c6
MP
27765 * elf/dl-open.c: Comment fixes.
27766
cfc82fd8
JM
277672012-07-17 Joseph Myers <joseph@codesourcery.com>
27768
bd29910a
JM
27769 * Makefile [CXX] (check-data): Remove.
27770 [CXX] (c++-types.data): New vpath directive.
27771 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27772 vpath. Do not allow for C++ type data being missing.
27773 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27774 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27775 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27776 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27777 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27778 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27779 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27781 ... here.
27782 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27784 ... here.
27785 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27787 ... here.
27788 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27790 ... here.
27791 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27793 ... here.
27794 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27796 ... here.
27797 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27799 ... here.
27800 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27802
cfc82fd8
JM
27803 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27804 definitions to architecture-specific files.
27805 (TLS_IE): Likewise.
27806 (TLS_LD): Likewise.
27807 (TLS_GD): Likewise.
27808 * sysdeps/i386/tls-macros.h: New file.
27809 * sysdeps/powerpc/tls-macros.h: Likewise.
27810 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27811 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27812 * sysdeps/sh/tls-macros.h: Likewise.
27813 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27814 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27815 * sysdeps/x86_64/tls-macros.h: Likewise.
27816
f7db3170
TS
278172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27818
07cbfc23
TS
27819 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27820 zero value for regular exit case.
27821
f7db3170
TS
27822 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27823 (__start_context): Preserve zero value for regular exit case.
27824
dc97c227
TS
278252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27826 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27827
27828 * manual/setjmp.texi (setcontext): Clarify normal process
27829 termination when uc_link is the null pointer.
27830 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27831 exit call.
27832
d0cd7d02
AS
278332012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27834
27835 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27836 preprocessor. Test for each exception mask separately.
27837
dd318934
AJ
278382012-07-16 Andreas Jaeger <aj@suse.de>
27839
27840 * po/ru.po: Update from translation team.
27841
8048311a
JM
278422012-07-15 Joseph Myers <joseph@codesourcery.com>
27843
27844 * conform/data/string.h-data (NULL): Use macro-constant. Require
27845 equal to 0.
27846 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27847 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27848 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27849 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27851
b637d46e
AJ
278522012-07-13 Andreas Jaeger <aj@suse.de>
27853
27854 * po/fr.po: Update from translation team.
27855
541428fe
MP
278562012-07-12 Marek Polacek <polacek@redhat.com>
27857
27858 [BZ #14173]
27859 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27860 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27861 loop condition.
27862
ec332e94
JM
278632012-07-12 Joseph Myers <joseph@codesourcery.com>
27864
27865 [BZ #13717]
27866 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27867 Change to 2.4.1 where previously 2.4.0.
27868 * sysdeps/unix/sysv/linux/configure: Regenerated.
27869 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27870 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27871 version.
27872 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27873 (__ASSUME_AT_CLKTCK): Remove.
27874 (__ASSUME_AT_PAGESIZE): Likewise.
27875 (__ASSUME_AT_XID): Likewise.
27876 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27877 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27878 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27879 unconditionally.
27880 (HAVE_AUX_PAGESIZE): Likewise.
27881 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27882 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27883 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27884
7b6e99be
JB
278852012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27886
27887 [BZ #14307]
27888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27889 the temporary buffer used to invoke __gethostbyname2_r,
27890 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27891 host_data / struct gaih_addrtuple.
27892 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27893 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27894 header file nss/nsswitch.h.
27895 * nss/nsswitch.h (global scope): Add definition of implementation
27896 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27897 resolv/nss_dns/dns-host.c).
27898
608404eb
AJ
278992012-07-11 Andreas Jaeger <aj@suse.de>
27900
27901 * po/fr.po: Update from translation team.
27902
71220aca
AJ
27903 * po/sv.po: Update from translation team
27904 * po/fr.po: Another update from translation team.
27905
28cfe843
AZ
279062012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27907
27908 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27909 for subnormals or multiply small sinh result by itself.
27910 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27912
6b90f981
DM
279132012-07-11 David S. Miller <davem@davemloft.net>
27914
27915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27916
c6825772
AS
279172012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27918
27919 [BZ #14347]
27920 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27921 (INTERNAL_MARK): Shift it here.
27922
7b8e0d49
MP
279232012-07-10 Marek Polacek <polacek@redhat.com>
27924
27925 [BZ #14151]
27926 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27927 libc_cv_asm_global_directive with .globl.
27928 * configure: Regenerated.
27929 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27930 with .globl.
27931 * sysdeps/i386/configure: Regenerated.
27932 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27933 with .globl.
27934 * sysdeps/x86_64/configure: Regenerated.
27935 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27936 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27937 * elf/tst-unique2mod2.c: Likewise.
27938 * elf/tst-unique2mod1.c: Likewise.
27939 * elf/tst-unique1mod2.c: Likewise.
27940 * elf/tst-unique1mod1.c: Likewise.
27941 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27942 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27943 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27944 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27945 * sysdeps/mach/sysdep.h: Likewise.
27946 * sysdeps/i386/sysdep.h: Likewise.
27947 * sysdeps/i386/i386-mcount.S: Likewise.
27948 * sysdeps/x86_64/_mcount.S: Likewise.
27949 * sysdeps/x86_64/sysdep.h: Likewise.
27950 * sysdeps/sh/_mcount.S: Likewise.
27951 * sysdeps/sh/sysdep.h: Likewise.
27952 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27953 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27954 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27955 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27956 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27957 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27958 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27959 * locale/localeinfo.h: Likewise.
27960 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27961 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27962
6c55cda3
RM
279632012-07-09 Roland McGrath <roland@hack.frob.com>
27964
27965 [BZ #14336]
27966 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27967 system".
27968 * manual/message.texi (The Uniforum approach): Likewise.
27969 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27970 (glibc iconv Implementation): Likewise.
27971
638a572e
JM
279722012-07-09 Joseph Myers <joseph@codesourcery.com>
27973
27974 [BZ #14337]
27975 * math/s_clog.c (__clog): Avoid scaling a value down where that
27976 could result in underflow.
27977 * math/s_clog10.c (__clog10): Likewise.
27978 * math/s_clog10f.c (__clog10f): Likewise.
27979 * math/s_clog10l.c (__clog10l): Likewise.
27980 * math/s_clogf.c (__clogf): Likewise.
27981 * math/s_clogl.c (__clogl): Likewise.
27982 * math/libm-test.inc (clog_test): Add more tests.
27983 (clog10_test): Likewise.
27984 * sysdeps/i386/fpu/libm-test-ulps: Update.
27985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27986
261f4859
AS
279872012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27988
0abaf3e4
AS
27989 [BZ #14283]
27990 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27991 by 7 not 8 to examine high bit of fractional part.
27992
261f4859
AS
27993 [BZ #14042]
27994 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27995 for call to __mcount_internal.
27996 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27997 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27998 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27999
f17ac40d
JM
280002012-07-06 Joseph Myers <joseph@codesourcery.com>
28001
9ad63c23
JM
28002 [BZ #14154]
28003 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28004 approximation for values within 0x1p-13f of an odd multiple of
28005 pi/4.
28006 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28007 exception. Add more tests.
28008 * sysdeps/i386/fpu/libm-test-ulps: Update.
28009
f17ac40d
JM
28010 [BZ #6778]
28011 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28012 inputs and return -1 for them. Do not check for +Inf in case not
28013 reachable for +Inf.
28014 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28015 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28016 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28017 and return -1 for them. Do not check for +Inf in case not
28018 reachable for +Inf.
28019 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28020 define.
28021 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28022 and return -1 for them. Do not check for +Inf in case not
28023 reachable for +Inf.
28024 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28025 spurious underflow.
28026 * sysdeps/i386/fpu/libm-test-ulps: Update.
28027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28028
fb21f89b
MF
280292012-07-06 Mike Frysinger <vapier@gentoo.org>
28030
28031 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28032
cdfe2c5e
JM
280332012-07-05 Joseph Myers <joseph@codesourcery.com>
28034
28035 [BZ #14157]
28036 [BZ #14331]
28037 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28038 could result in spurious underflow. Scale down values above
28039 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28040 * math/s_csqrtf.c (__csqrtf): Likewise.
28041 * math/s_csqrtl.c (__csqrtl): Likewise.
28042 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28043 spurious underflow.
28044 * sysdeps/i386/fpu/libm-test-ulps: Update.
28045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28046
70d35b67
AS
280472012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28048
704bc459
AS
28049 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28050 xopen-msg.sed.
28051 * catgets/xopen-msg.awk: New file.
28052 * catgets/xopen-msg.sed: Removed.
28053
70d35b67
AS
28054 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28055 po2text.sed.
28056 * intl/po2test.awk: New file.
28057 * intl/po2test.sed: Removed.
28058
ca61cf32
JM
280592012-07-04 Joseph Myers <joseph@codesourcery.com>
28060
28061 [BZ #14328]
28062 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28063 or multiply small sinh result by itself.
28064 * math/s_ctanf.c (__ctanf): Likewise.
28065 * math/s_ctanh.c (__ctanh): Likewise.
28066 * math/s_ctanhf.c (__ctanhf): Likewise.
28067 * math/s_ctanhl.c (__ctanhl): Likewise.
28068 * math/s_ctanl.c (__ctanl): Likewise.
28069 * math/libm-test.inc (ctan_test_tonearest): New function.
28070 (ctan_test_towardzero): Likewise.
28071 (ctan_test_downward): Likewise.
28072 (ctan_test_upward): Likewise.
28073 (ctanh_test_tonearest): Likewise.
28074 (ctanh_test_towardzero): Likewise.
28075 (ctanh_test_downward): Likewise.
28076 (ctanh_test_upward): Likewise.
28077 (main): Call these new functions.
28078 * sysdeps/i386/fpu/libm-test-ulps: Update.
28079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28080
ca48a46a
MF
280812012-07-03 Mike Frysinger <vapier@gentoo.org>
28082
28083 * .gitignore: Delete /ports entry.
28084
9d63d37d
AJ
280852012-07-03 Andreas Jaeger <aj@suse.de>
28086
28087 * po/bg.po: Update from translation team.
28088 * po/cs.po: Likewise.
28089 * po/de.po: Likewise.
28090 * po/hr.po: Likewise.
28091 * po/nl.pl: Likewise.
28092 * po/pl.po: Likewise.
28093 * po/vi.po: Likewise.
28094
370ca3d2
JM
280952012-07-03 Joseph Myers <joseph@codesourcery.com>
28096
95f5a9a8
JM
28097 * Makeconfig [!+link] (+link-before-libc): New variable.
28098 [!+link] (+link-after-libc): Likewise.
28099 [!+link] (+link-tests): Likewise.
28100 [!+link] (+link): Define in terms of $(+link-before-libc) and
28101 $(+link-after-libc).
28102 [!+link-static] (+link-static-before-libc): New variable.
28103 [!+link-static] (+link-static-after-libc): Likewise.
28104 [!+link-static] (+link-static-tests): Likewise.
28105 [!+link-static] (+link-static): Define in terms of
28106 $(+link-static-before-libc) and $(+link-static-after-libc).
28107 [build-shared] (link-libc-before-gnulib): New variable.
28108 [build-shared] (link-libc-tests): Likewise.
28109 [build-shared] (link-libc): Define in terms of
28110 $(link-libc-before-gnulib).
28111 [!build-shared] (link-libc-tests): New variable.
28112 (link-libc-static-tests): New variable.
28113 [!gnulib] (gnulib-arch): New variable.
28114 [!gnulib] (gnulib-tests): Likewise.
28115 [!gnulib] (static-gnulib-arch): Likewise.
28116 [!gnulib] (static-gnulib-tests): Likewise.
28117 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28118 Define with "=" instead of ":=".
28119 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28120 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28121 * Rules (binaries-all-notests): New variable.
28122 (binaries-all-tests): Likewise.
28123 (binaries-static-notests): Likewise.
28124 (binaries-static-tests): Likewise.
28125 (binaries-all): Define using $(binaries-all-notests) and
28126 $(binaries-all-tests).
28127 (binaries-static): Define using $(binaries-static-notests) and
28128 $(binaries-static-tests).
28129 (binaries-shared-tests): New variable.
28130 (binaries-shared-notests): Likewise.
28131 (binaries-shared): Remove variable.
28132 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28133 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28134 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28135 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28136 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28137 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28138 * elf/Makefile (sln-modules): New variable.
28139 (extra-objs): Add $(sln-modules:=.o).
28140 (ldconfig-modules): Add static-stubs.
28141 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28142 * elf/static-stubs.c: New file.
28143
7a845b2c
JM
28144 [BZ #14283]
28145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28146 by 7 not 8 to examine high bit of fractional part. Use volatile
28147 variables when splitting into final array of floats if
28148 __FLT_EVAL_METHOD__ != 0.
28149 * math/libm-test.inc (cos_test): Add another test.
28150 (sin_test): Likewise.
28151 * sysdeps/i386/fpu/libm-test-ulps: Update.
28152
e2283f38
JM
28153 [BZ #14273]
28154 * math/libm-test.inc (cosh_test): Add more tests.
28155
370ca3d2
JM
28156 * version.h (RELEASE): Set to "development".
28157 (VERSION): Set to "2.16.90".
28158
ee9247c3
CD
281592012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28160
28161 * NEWS: Update copyright. Remove last-updated date.
28162 Mention math library bug fixes and timezone data changes.
28163 * README: Mention GNU/Hurd, x32, and HPPA support status.
28164
4648c381
TS
281652012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28166
28167 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28168
aac78a43
AJ
281692012-06-27 Andreas Jaeger <aj@suse.de>
28170
28171 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28172
ed3dbfad
AJ
281732012-06-25 Andreas Jaeger <aj@suse.de>
28174
28175 * sysdeps/s390/fpu/libm-test-ulps: Update.
28176
4d0ee855
AS
281772012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28178 Thomas Schwinge <thomas@codesourcery.com>
28179
28180 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28181 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28183 fanotify_mark.
28184
af1bce34
TS
281852012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28186
a9fa33ba
TS
28187 * sysdeps/mach/start.c: Remove file.
28188 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28189 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28190 * sysdeps/sh/init-first.c: Likewise.
28191
58f902b8
TS
28192 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28193 registers for frame unwinding purposes, add CFI directives.
28194 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28195 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28196 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28197 Likewise.
28198
1518f58b
TS
28199 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28200 __fortify_fail returning.
28201 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28202
db9b5059
TS
28203 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28204 sysdeps/sh/____longjmp_chk.S.
28205 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28206 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28207 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28208 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28209
967705fe
TS
28210 * sysdeps/sh/abort-instr.h: New file.
28211 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28212 process in case exit returns.
28213
a9def8c4
TS
28214 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28215 initialize the GOT register before use.
28216
2a649725
TS
28217 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28218 calculation of ARGC > 4.
28219
af1bce34
TS
28220 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28221 meaningful names to some local labels.
28222
d230f50a
KK
282232012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28224 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28225
28226 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28227 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28228 (__arch_compare_and_exchange_val_16_acq): Likewise.
28229 (__arch_compare_and_exchange_val_32_acq): Likewise.
28230 (atomic_exchange_and_add): Fix gUSA sequence.
28231 (atomic_add): Likewise.
28232 (atomic_add_negative): Likewise.
28233 (atomic_add_zero): Likewise.
28234 (atomic_bit_test_set): Likewise.
28235
0479b305
AS
282362012-06-22 Andreas Schwab <schwab@redhat.com>
28237
28238 [BZ #13579]
28239 * include/link.h (struct link_map): Add l_free_initfini.
28240 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28241 l_initfini.
28242 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28243 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28244 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28245 set.
28246
0e3933b9
CD
282472012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28248
28249 * configure.in: Use AC_LANG_SOURCE.
28250 * configure: Regenerate.
28251
4248b1b1
RM
282522012-06-22 Roland McGrath <roland@hack.frob.com>
28253
28254 * configure.in (libc_cv_localstatedir): New substituted variable.
28255 * configure: Regenerated.
28256 * config.make.in (localstatedir): New variable, substituted from
28257 libc_cv_localstatedir.
28258 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28259 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28260 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28261 * sysdeps/gnu/configure: Regenerated.
28262
006dd861
JL
282632012-06-21 Jeff Law <law@redhat.com>
28264
28265 [BZ #14277]
28266 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28267 free. Simplify list management for _LIBC case.
28268
79662d42
JM
282692012-06-21 Joseph Myers <joseph@codesourcery.com>
28270
b7abb4bf
JM
28271 [BZ #14273]
28272 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28273 Clear sign bit of 64-bit integer value before comparing against
28274 overflow value.
28275
79662d42
JM
28276 * sysdeps/mach/configure: Regenerated.
28277
1f150908
L
282782012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 [BZ #14278]
28281 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28282
28363bbf
JL
282832012-06-21 Jeff Law <law@redhat.com>
28284
28285 [BZ #13882]
28286 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28287 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28288 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28289 * elf/dl-open.c (dl_open_worker): Likewise.
28290
09615db4
CD
282912012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28292
28293 * scripts/list-sources.sh: Scan PORTS for translations.
28294 * po/libc.pot: Regenerated.
28295
2174c6dd
AJ
282962012-06-21 Andreas Jaeger <aj@suse.de>
28297
28298 [BZ #12194]
28299 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28300 warning.
28301 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28302 * bits/byteswap-16.h (__bswap_16): Likewise.
28303 * bits/byteswap.h (__bswap_constant_16): Likewise.
28304
3ee947b1
L
283052012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28306
28307 [BZ #14117]
a2f34833
L
28308 * sysdeps/i386/fpu_control.h: Removed.
28309 * sysdeps/x86_64/fpu_control.h: Moved to ...
28310 * sysdeps/x86/fpu_control.h: Here.
28311
3ee947b1
L
28312 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28313 (_FPU_SETCW): Likewise.
28314
ed1825f8
L
283152012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28316
25f1282a
L
28317 [BZ #14117]
28318 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28319 * sysdeps/x86/fpu/bits/mathinline.h: This.
28320 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28321
ed1825f8
L
28322 [BZ #14050]
28323 [BZ #14117]
28324 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28325 functions if __x86_64__ is defined.
28326
36d54b74
CLT
283272012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28328
28329 * string/endian.h: Add !__ASSEMBLER__ condition for including
28330 conversion interfaces.
28331
10285c21
JM
283322012-06-15 Joseph Myers <joseph@codesourcery.com>
28333
28334 [BZ #14241]
28335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28336 of ABS(x) in calculating zero to negative powers other than odd
28337 integers.
28338 * math/libm-test.inc (pow_test): Add more tests.
28339
06c5abbd
AJ
283402012-06-15 Andreas Jaeger <aj@suse.de>
28341
28342 * manual/contrib.texi (Contributors): Update entry of Liubov
28343 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28344 Machado Filho.
28345
a3aeac40
CH
283462012-06-15 Cyril Hrubis <metan@ucw.cz>
28347
28348 * string/string.h: Add __wur to GNU version of strerror_r.
28349
49bdf4c1
L
283502012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28351
28352 [BZ #14229]
28353 * string/Makefile (tests): Add tst-strtok_r.
28354 * string/tst-strtok_r.c: New file.
28355 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28356 RAX_LP/RDX_LP on SAVE_PTR.
28357
834f9b8d
RM
283582012-06-14 Roland McGrath <roland@hack.frob.com>
28359
28360 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28361
75fa1921
JM
283622012-06-14 Joseph Myers <joseph@codesourcery.com>
28363
28364 * libm_test.inc (csqrt_test): Allow more spurious underflow
28365 exceptions.
28366 (j0_test): Likewise.
28367 (j1_test): Likewise.
28368 (y0_test): Likewise.
28369 (y1_test): Likewise.
28370
771766df
CD
283712012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28372
28373 * po/Makefile (libc.pot): Use UTF-8 charset.
28374
ceb9e56b
PP
283752012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28376
28377 [BZ #14210]
28378 Suppress sign-conversion warning from FD_SET.
28379 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28380 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28381 not unsigned long int.
28382 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28383
ddb28975
L
283842012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28385
28386 [BZ #14050]
28387 [BZ #14117]
28388 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28389 __extern_always_inline instead of __extern_inline.
28390 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28391 (__signbit): Likewise.
28392 (__signbitl): Support C++ namespace.
28393 (lrintf): New inline function.
28394 (lrint): Likewise.
28395 (llrintf): Likewise.
28396 (llrint): Likewise.
28397 (fmaxf): Likewise.
28398 (fmax): Likewise.
28399 (fminf): Likewise.
28400 (fmin): Likewise.
28401 (rint): Likewise.
28402 (rintf): Likewise.
28403 (ceil): Likewise.
28404 (ceilf): Likewise.
28405 (floor): Likewise.
28406 (floorf): Likewise.
28407 (nearbyint): Likewise.
28408 (nearbyintf): Likewise.
28409
d7b4fb26
TS
284102012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28411
28412 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28413 non-default versions.
28414
eb55f5c2
RM
284152012-06-11 Roland McGrath <roland@hack.frob.com>
28416
28417 [BZ #14218]
28418 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28419
366af02c
TS
284202012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28421
99ff6e5c
TS
28422 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28423 (FE_UPWARD, FE_DOWNWARD): Don't define.
28424 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28425 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28426
366af02c
TS
28427 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28428 reading it.
28429 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28430 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28431
793ea851
KK
284322012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28433
28434 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28436 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28437 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28438
a728a38f
L
284392012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28440
28441 [BZ #14117]
c08010c7
L
28442 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28443 * sysdeps/i386/fpu/Implies: New file.
28444 * sysdeps/x86_64/fpu/Implies: Likewise.
28445 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28446 * sysdeps/x86/fpu/bits/fenv.h: This.
28447
a728a38f
L
28448 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28449 __SSE_MATH__.
28450
6e230d11
SP
284512012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28452
28453 [BZ #14134]
28454 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28455 character 0xffff that matches the last element of the
28456 conversion table.
28457
1b671feb
AZ
284582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28459
28460 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28461 fmodl commit.
28462
6043738b
AZ
284632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28464
28465 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28466 values higher than 25.6283.
28467
34ae0b32
AZ
284682012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28469
28470 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28471 subnormal exponent extraction and add some __builtin_expect.
28472 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28473 Fix for subnormal mantissa calculation.
28474
1214ec8f
MF
284752012-06-04 Mike Frysinger <vapier@gentoo.org>
28476
28477 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28478 cpu2 is -1 and errno is not ENOSYS.
28479
f3d1f93c
L
284802012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28481
28482 [BZ #14117]
0e4a3cd7
L
28483 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28484 * sysdeps/x86/bits/string.h: This.
28485 * sysdeps/x86_64/bits/string.h: Removed.
28486
6704c645
L
28487 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28488 if not compiling for x86-64, but compiling for >= i486.
28489
48495318
L
28490 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28491 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28492
14adcbfc
L
28493 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28494 New macro from Linux kernel 3.4.0.
28495 (FP_XSTATE_MAGIC2): Likewise.
28496 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28497 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28498 (struct _fpx_sw_bytes): New struct.
28499 (struct _xsave_hdr): Likewise.
28500 (struct _ymmh_state): Likewise.
28501 (struct _xstate): Likewise.
28502
68e408ab
L
28503 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28504 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28505 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28506 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28507 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28508 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28509
f3d1f93c
L
28510 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28511 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28512 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28513 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28514 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28515 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28516
d9dc34cd
TMQMF
285172012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28518
28519 [BZ #13743]
28520 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28521 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28522 (sysdep_headers): Include sys/platform/ppc.h.
28523 * sysdeps/powerpc/test-gettimebase.c: Test for
28524 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28525 * manual/Makefile (appendices): Include platform.texi.
28526 * manual/contrib.texi (Contributors): Update @node pointers.
28527 * manual/maint.texi (Maintenance): Likewise.
28528 (Platform): New node.
28529 * manual/platform.texi: New file. Document the new features.
28530
4af3879c
SP
285312012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28532 Jakub Jelinek <jakub@redhat.com>
28533
28534 [BZ #14188]
28535 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28536 where __builtin_expect is unavailable.
28537
2fd6ff13
DM
285382012-06-03 David S. Miller <davem@davemloft.net>
28539
28540 * stdlib/longlong.h: Updated from GCC.
28541
173f7220
AS
285422012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28543
28544 [BZ #14042]
28545 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28546 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28547 __mcount_internal.
28548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28549 (GLIBC_2.16): Likewise.
28550
f34a1c6f
L
285512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28552
28553 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28554
88a4576f
JM
285552012-06-01 Joseph Myers <joseph@codesourcery.com>
28556
ea32bcdd
JM
28557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28558 (default-abi): New variable.
28559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28560 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28561 variable.
28562 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28563 Likewise.
28564 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28565 Likewise.
28566 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28567 Likewise.
28568
88a4576f
JM
28569 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28570 definition. Document in comment.
28571
402fe938
DM
285722012-06-01 David S. Miller <davem@davemloft.net>
28573
28574 * stdlib/longlong.h: Updated from GCC.
28575
3553723f
L
285762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28577
28578 [BZ #14117]
3bd872c4
L
28579 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28580 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28581 sys/debugreg.h sys/io.h here.
28582 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28583 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28584 sys/io.h.
28585 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28586 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28587 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28588 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28589 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28590 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28591
3553723f
L
28592 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28593 Define only if __x86_64__ is defined.
28594
4842e4fe
JM
285952012-06-01 Joseph Myers <joseph@codesourcery.com>
28596
c5bfe3d5
JM
28597 [BZ #14048]
28598 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28599 Use int64_t for variable i.
28600 * math/libm-test.inc (fmod_test): Add more tests.
28601
4842e4fe
JM
28602 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28603 z computation is not scheduled after fetestexcept.
28604 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28605 Use math_force_eval instead of asm to ensure calculation scheduled
28606 before exception test.
28607 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28608 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28609
efb73488
AJ
286102012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28611
28612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28613 computation is not scheduled after fetestexcept.
28614
29bcce7c
L
286152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28616
28617 [BZ #14117]
28618 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28619 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28620
73a68f94
AZ
286212012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28622
28623 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28624 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28625
67b6df78
L
286262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28627
edf2933a 28628 [BZ #14117]
ebc64a18
L
28629 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28630 <bits/wordsize.h>.
28631 (__WCHAR_MIN): Support __WORDSIZE == 64.
28632 (__WCHAR_MAX): Likewise.
28633
edf2933a
L
28634 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28635 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28636
57c6cf40
L
28637 [BZ #14183]
28638 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28639 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28640
67b6df78 28641 [BZ #14117]
8eb6281e
L
28642 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28643 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28644
aac639f4
L
28645 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28646 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28647
67b6df78
L
28648 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28649 Defined to 1 if __x86_64__ isn't defined.
28650 (_STAT_VER_LINUX_OLD): New.
28651 (st_atime): Remove duplicate.
28652 (st_mtime): Likewise.
28653 (st_ctime): Likewise.
28654
1c2cfe81
DM
286552012-05-31 David S. Miller <davem@davemloft.net>
28656
28657 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28658 entries.
28659
5be8418c
AS
286602012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28661
e7725326
AS
28662 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28663 gen-libm-test.pl.
28664
5be8418c
AS
28665 [BZ #14132]
28666 * elf/dl-reloc.c: Include <_itoa.h>.
28667 (_dl_reloc_bad_type): Remove use of INTUSE.
28668 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28669 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28670 * stdio-common/psiginfo.c (psiginfo): Likewise.
28671 * stdio-common/psignal.c (psignal): Likewise.
28672 * string/strsignal.c (strsignal): Likewise.
28673 * include/signal.h (_sys_siglist): Declare hidden proto.
28674 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28675 INTVARDEF with libc_hidden_data_def.
28676 * stdio-common/itoa-udigits.c: Likewise.
28677 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28678 (_itoa_lower_digits_internal): Remove declaration.
28679 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28680 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28681 (_sys_sigabbrev_internal): Remove aliases.
28682 (_sys_siglist): Define hidden alias.
28683
507352f1
MT
286842012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28685
28686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28687 bits/sysctl.h.
28688
42bbb1c3
L
286892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28690
28691 [BZ #14117]
6bd784b6
L
28692 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28693 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28694
8bca20f0
L
28695 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28696 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28697 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28698 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28699 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28700 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28701
f9e890a9
L
28702 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28703 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28704 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28705
471101a1
L
28706 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28707 with __addr.
28708 (insw): Likewise.
28709 (insl): Likewise.
28710 (outsb): Likewise.
28711 (outsw): Likewise.
28712 (outsl): Likewise.
28713
6451c862
L
28714 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28715 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28716 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28717
a254b8c9
L
28718 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28719 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28721 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28722 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28723 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28724
b8dfdd92
L
28725 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28726 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28727
578cd270
L
28728 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28729 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28730
de662f5f
L
28731 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28732 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28733 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28734
25653439
L
28735 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28736 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28737 to ...
28738 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28739
6bad24a0
L
28740 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28741 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28742 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28743
42bbb1c3
L
28744 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28745 for x86-64.
28746 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28747
2d10d547
JM
287482012-05-31 Joseph Myers <joseph@codesourcery.com>
28749
28750 * math/math.h (M_El): Use two more decimal places.
28751 (M_LOG2El): Likewise.
28752 (M_LOG10El): Likewise.
28753 (M_LN2l): Likewise.
28754 (M_LN10l): Likewise.
28755 (M_PIl): Likewise.
28756 (M_PI_2l): Likewise.
28757 (M_PI_4l): Likewise.
28758 (M_1_PIl): Likewise.
28759 (M_2_PIl): Likewise.
28760 (M_2_SQRTPIl): Likewise.
28761 (M_SQRT2l): Likewise.
28762 (M_SQRT1_2l): Likewise.
28763
f230c29b
DM
287642012-05-31 David S. Miller <davem@davemloft.net>
28765
28766 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28767 values between float registers.
28768 * sysdeps/sparc/sparc64/memset.S: Likewise.
28769 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28770
fed806c3
MF
287712012-05-31 Mike Frysinger <vapier@gentoo.org>
28772
28773 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28774 -D_FORTIFY_SOURCE=1.
28775 (CPPFLAGS-tst-longjmp_chk.c): Define.
28776 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28777 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28778 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28779 CFLAGS-tst-wchar-h.c.
28780
30917259
MP
287812012-05-31 Marek Polacek <polacek@redhat.com>
28782
28783 [BZ #14132]
28784 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28785 __endmntent_internal): Remove declaration.
28786 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28787 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28788 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28789
1c58d5dc
DM
287902012-05-30 David S. Miller <davem@davemloft.net>
28791
28792 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28793 (___Q_simulate_exceptions): Use real FP ops rather than writing
28794 into the %fsr.
28795 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28796 Likewise.
28797
7dc00e0d
L
287982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28799
28800 [BZ #14117]
0bd53985
L
28801 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28802 * sysdeps/x86/bits/xtitypes.h: This.
28803
3a257e66
L
28804 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28805 * sysdeps/x86/bits/wordsize.h: This.
28806
62f62904
L
28807 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28808 * sysdeps/x86/bits/huge_vall.h: This.
28809
404fe9d9
L
28810 * sysdeps/i386/bits/select.h: Removed.
28811 * sysdeps/x86_64/bits/select.h: Renamed to ...
28812 * sysdeps/x86/bits/select.h: This.
28813
d48d0446
L
28814 * sysdeps/i386/bits/setjmp.h: Removed.
28815 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28816 * sysdeps/x86/bits/setjmp.h: This.
28817
7dc00e0d
L
28818 * sysdeps/i386/bits/mathdef.h: Removed.
28819 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28820 * sysdeps/x86/bits/mathdef.h: This.
28821
03277f8f
AS
288222012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28823
28824 [BZ #14132]
28825 * include/sys/socket.h (__connect_internal)
28826 (__libc_sa_len_internal): Remove declaration.
28827 (__connect, __libc_sa_len): Declare hidden_proto.
28828 (SA_LEN): Remove use of INTUSE.
28829 * socket/connect.c: Add libc_hidden_def.
28830 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28831 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28832 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28833 alias.
28834 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28835 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28836 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28837 of adding _internal alias.
28838
13764867
L
288392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 [BZ #14117]
6bd97696
L
28842 * sysdeps/i386/bits/link.h: Removed.
28843 * sysdeps/i386/bits/linkmap.h: Likewise.
28844 * sysdeps/x86_64/bits/link.h: Renamed to ...
28845 * sysdeps/x86/bits/link.h: This.
28846 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28847 * sysdeps/x86/bits/linkmap.h: This.
28848
f726f0bb
L
28849 * sysdeps/i386/bits/endian.h: Removed.
28850 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28851 * sysdeps/x86/bits/endian.h: This.
28852
13764867
L
28853 * sysdeps/i386/bits/byteswap.h: Removed.
28854 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28855 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28856 * sysdeps/x86/bits/byteswap.h: This.
28857 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28858 * sysdeps/x86/bits/byteswap-16.h: This.
28859 * sysdeps/i386/Implies: Add x86.
28860 * sysdeps/x86_64/Implies: Likewise.
28861
ae251b0b
DM
288622012-05-30 David S. Miller <davem@davemloft.net>
28863
28864 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28865 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28866 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28867 (FP_TRAPPING_EXCEPTIONS): Define.
28868 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28869 (FP_TRAPPING_EXCEPTIONS): Define.
28870 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28871 subnormals only when inexact has been signalled or underflow
28872 exceptions are enabled.
28873 (_FP_PACK_CANONICAL): Likewise.
28874
d5c90867
L
288752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28876
28877 [BZ #14183]
28878 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28879 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28880
63f1549e
RH
288812012-05-30 Richard Henderson <rth@twiddle.net>
28882
8d8f2279
RH
28883 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28884 with #ifndef NOT_IN_libc.
28885
63f1549e
RH
28886 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28887 marked to avoid plt entry.
28888
0ab0291b
L
288892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28890
28891 [BZ #14112]
28892 * Makeconfig (default-abi): New macro.
28893 (abi-includes): Likewise.
28894 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28895 $(abi-$(default-abi)-lib-soname) for soname if defined.
28896 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28897 abi-variants.
28898 * Makefile (installed-stubs): Likewise.
28899 * include/stubs-biarch.h: Removed.
28900 * scripts/lib-names.awk: Only handle one library at a time.
28901 * scripts/soversions.awk: Remove WORDSIZE support.
28902 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28903 entries.
28904 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28905 Removed.
28906 (syscall-list-default-condition): Likewise.
28907 (syscall-list-default-condition): Likewise.
28908 (syscall-list-includes): Likewise.
28909 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28910 syscall-list-* with abi-*. Handle undefined abi-variants.
28911 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28912 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28913 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28915 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28916 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28917 Removed.
28918 (syscall-list-32-options): Likewise.
28919 (syscall-list-32-condition): Likewise.
28920 (syscall-list-64-options): Likewise.
28921 (syscall-list-64-condition): Likewise.
28922 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28923 macro.
28924 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28925 Renamed to ...
28926 (abi-*): This.
28927 (abi-64-ld-soname): New macro.
28928 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28929 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28930 Renamed to ...
28931 (abi-*): This.
28932 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28933 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28934
4da0431d
JM
289352012-05-30 Joseph Myers <joseph@codesourcery.com>
28936
3a85279c
JM
28937 * sysdeps/unix/sysv/linux/kernel-features.h
28938 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28939 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28940 include <kernel-features.h>.
28941 [!__NR_ftruncate64]: Remove conditional code.
28942 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28943 [__NR_ftruncate64]: Make code unconditional.
28944 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28945 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28946 include <kernel-features.h>.
28947 [!__NR_ftruncate64]: Remove conditional code.
28948 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28949 [__NR_ftruncate64]: Make code unconditional.
28950 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28952 include <kernel-features.h>.
28953 [!__NR_ftruncate64]: Remove conditional code.
28954 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28955 [__NR_ftruncate64]: Make code unconditional.
28956 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28958 include <kernel-features.h>.
28959 [!__NR_ftruncate64]: Remove conditional code.
28960 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28961 [__NR_ftruncate64]: Make code unconditional.
28962 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28963
4da0431d
JM
28964 * configure.in (libc_cv_fpie): Weaken to a compile test using
28965 LIBC_TRY_CC_OPTION.
28966 * configure: Regenerated.
28967
11ef492c
AK
289682012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28969
28970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28974 Refreshed.
28975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28981 Refreshed.
28982
d66ef399
DM
289832012-05-27 David S. Miller <davem@davemloft.net>
28984
28985 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28986 (___Q_zero): New.
28987 (__Q_simulate_exceptions): Return void. Change to simulate
28988 exceptions by writing into the %fsr.
28989 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28990 (__Qp_handle_exceptions): Likewise.
28991 (numbers): Delete.
28992 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28993 __Qp_handle_exceptions.
28994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28995 __Qp_handle_exceptions.
28996 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28997 as unused and give dummy FP_RND_NEAREST initializer.
28998 (FP_INHIBIT_RESULTS): Define.
28999 (___Q_simulate_exceptions): Update declaration.
29000 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29001 formatting.
29002 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29003 as unused and give dummy FP_RND_NEAREST initializer.
29004 (__Qp_handle_exceptions): Update declaration.
29005 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29006 formatting.
29007
04fb54b5
TS
290082012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29009
29010 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29011 the temporary FPU control word.
29012 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29013 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29014 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29015 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29016 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29017 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29018 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29019 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29020 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29021 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29022 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29023
3f99608f
KK
290242012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29025
29026 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29027 fields.
29028
65a4de4e
CLT
290292012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29030
29031 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29032 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29033 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29034 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29035 Likewise.
29036 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29037 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29038 Likewise.
29039
15749d40
UD
290402012-05-27 Ulrich Drepper <drepper@gmail.com>
29041
29042 * po/h.po: Update from translation team.
29043
25dbcb27
AS
290442012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29045
3d3f8e55
AS
29046 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29047
25dbcb27
AS
29048 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29049 handling of denormals.
29050 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29051 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29052 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29053 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29057 Likewise.
29058
7ad47a80 290592012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29060
29061 [BZ #14152]
29062 * math/libm-test.inc (fma_test): Don't always expect underflow
29063 exception.
29064
9c6ea9fa
SP
290652012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29066
29067 [BZ #12416]
29068 * elf/tst-execstack.c: Include stackinfo.h.
29069 (do_test): Adjust test case to ensure that pthread_getattr_np
29070 behaviour remains the same after marking stack executable.
29071
a8239222
JM
290722012-05-25 Joseph Myers <joseph@codesourcery.com>
29073
29074 * sysdeps/unix/sysv/linux/kernel-features.h
29075 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29076 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29077 kernel-features.h.
29078 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29079 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29080 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29081 kernel-features.h.
29082 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29083 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29084
918b5606
L
290852012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29086
29087 * configure.in: Define the default includes to being none.
29088 * configure: Regenerated.
29089
3a097cc7
RM
290902012-05-25 Roland McGrath <roland@hack.frob.com>
29091
8422c9a5
RM
29092 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29093 * sysdeps/x86_64/setjmp.S: Likewise.
29094 * sysdeps/i386/bsd-setjmp.S: Likewise.
29095 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29096 * sysdeps/i386/setjmp.S: Likewise.
29097 * sysdeps/i386/__longjmp.S: Likewise.
29098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29099 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29100
3a097cc7
RM
29101 * include/stap-probe.h: New file.
29102 * configure.in: Handle --enable-systemtap.
29103 * configure: Regenerated.
29104 * config.h.in (USE_STAP_PROBE): New #undef.
29105 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29106 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29107 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29108
21708942
JM
291092012-05-25 Joseph Myers <joseph@codesourcery.com>
29110
29111 [BZ #13717]
29112 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29113 to 2.4.0 where earlier.
29114 * sysdeps/unix/sysv/linux/configure: Regenerated.
29115 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29116 <kernel-features.h>.
29117 [__ASSUME_32BITUIDS]: Make code unconditional.
29118 [!__ASSUME_32BITUIDS]: Remove conditional code.
29119 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29120 <kernel-features.h>.
29121 [__ASSUME_32BITUIDS]: Make code unconditional.
29122 [!__ASSUME_32BITUIDS]: Remove conditional code.
29123 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29124 [__ASSUME_32BITUIDS]: Make code unconditional.
29125 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29126 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
29159 <kernel-features.h>.
29160 [__ASSUME_32BITUIDS]: Make code unconditional.
29161 [!__ASSUME_32BITUIDS]: Remove conditional code.
29162 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29163 <kernel-features.h>.
29164 [__ASSUME_32BITUIDS]: Make code unconditional.
29165 [!__ASSUME_32BITUIDS]: Remove conditional code.
29166 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29167 <kernel-features.h>.
29168 [__NR_setresgid] (__setresgid): Do not declare.
29169 [__ASSUME_32BITUIDS]: Make code unconditional.
29170 [!__ASSUME_32BITUIDS]: Remove conditional code.
29171 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29172 <kernel-features.h>.
29173 [__NR_setresuid] (__setresuid): Do not declare.
29174 [__ASSUME_32BITUIDS]: Make code unconditional.
29175 [!__ASSUME_32BITUIDS]: Remove conditional code.
29176 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
29209 <kernel-features.h>.
29210 [__ASSUME_32BITUIDS]: Make code unconditional.
29211 [!__ASSUME_32BITUIDS]: Remove conditional code.
29212 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29213 <kernel-features.h>.
29214 [__ASSUME_32BITUIDS]: Make code unconditional.
29215 [!__ASSUME_32BITUIDS]: Remove conditional code.
29216 * sysdeps/unix/sysv/linux/kernel-features.h
29217 (__ASSUME_SETRESUID_SYSCALL): Remove.
29218 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29219 (__ASSUME_32BITUIDS): Likewise.
29220 (__ASSUME_LDT_WORKS): Likewise.
29221 (__ASSUME_O_DIRECTORY): Likewise.
29222 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29223 architecture but not kernel version.
29224 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29225 (__ASSUME_MMAP2_SYSCALL): Likewise.
29226 (__ASSUME_STAT64_SYSCALL): Likewise.
29227 (__ASSUME_IPC64): Likewise.
29228 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29229 <kernel-features.h>.
29230 [__ASSUME_32BITUIDS]: Make code unconditional.
29231 [!__ASSUME_32BITUIDS]: Remove conditional code.
29232 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29233 <kernel-features.h>.
29234 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29235 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29236 132096]: Remove conditional code.
29237 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29238 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29239 <kernel-features.h>.
29240 [__ASSUME_32BITUIDS]: Make code unconditional.
29241 [!__ASSUME_32BITUIDS]: Remove conditional code.
29242 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29243 <kernel-features.h>.
29244 [__ASSUME_32BITUIDS]: Make code unconditional.
29245 [!__ASSUME_32BITUIDS]: Remove conditional code.
29246 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29247 <kernel-features.h>.
29248 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29249 unconditional.
29250 (__setresgid): Do not declare.
29251 [__ASSUME_32BITUIDS]: Make code unconditional.
29252 [!__ASSUME_32BITUIDS]: Remove conditional code.
29253 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29254 <kernel-features.h>.
29255 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29256 unconditional.
29257 (__setresuid): Do not declare.
29258 [__ASSUME_32BITUIDS]: Make code unconditional.
29259 [!__ASSUME_32BITUIDS]: Remove conditional code.
29260 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29261 <kernel-features.h>.
29262 [__ASSUME_32BITUIDS]: Make code unconditional.
29263 [!__ASSUME_32BITUIDS]: Remove conditional code.
29264 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29265 <kernel-features.h>.
29266 [__ASSUME_32BITUIDS]: Make code unconditional.
29267 [!__ASSUME_32BITUIDS]: Remove conditional code.
29268
a386f1cc
RH
292692012-05-25 Richard Henderson <rth@twiddle.net>
29270
29271 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29272 dl_hwcap to ifunc resolver.
29273 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29274 elf_ifunc_invoke.
29275 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29276 dl_hwcap to ifunc resolver.
29277 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29278
b6550497
JM
292792012-05-24 Joseph Myers <joseph@codesourcery.com>
29280
29281 [BZ #14153]
29282 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29283 for |x| <= 2**-26, not 2**-57.
29284 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29285 exception.
29286
b0bc23a1
JL
292872012-05-24 Jeff Law <law@redhat.com>
29288
29289 * stdio-common/Makefile (tests): Add bug25.
29290 * stdio-common/bug25.c: New test.
29291
347c92e9
L
292922012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29293
29294 [BZ #13576]
29295 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29296 multiple of MALLOC_ALIGNMENT in size.
29297 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29298
6bcc8b3f
JM
292992012-05-24 Joseph Myers <joseph@codesourcery.com>
29300
29301 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29302 Require >= 256.
29303 (FILENAME_MAX): Use macro-int-constant.
29304 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29305 (_IOFBF): Use macro-int-constant.
29306 (_IOLBF): Likewise.
29307 (_IONBF): Likewise.
29308 (SEEK_CUR): Likewise.
29309 (SEEK_END): Likewise.
29310 (SEEK_SET): Likewise.
29311 (TMP_MAX): Likewise.
29312 (EOF): Use macro-int-constant. Require < 0.
29313 (NULL): Use macro-constant. Require == 0.
29314 (stdin): Require type to be FILE *.
29315 (stdout): Likewise.
29316 (stderr): Likewise.
29317 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29318 macro-int-constant.
29319 (EXIT_SUCCESS): Likewise.
29320 (NULL): Use macro-constant. Require == 0.
29321 (RAND_MAX): Use macro-int-constant.
29322 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29323 [C99-based standards] (strtof): Require function.
29324 [C99-based standards] (strtold): Likewise.
29325 [C99-based standards] (strtoll): Likewise.
29326 [C99-based standards] (strtoull): Likewise.
29327 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29328 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29329 [ISO || ISO99 || ISO11] (math.h): Likewise.
29330 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29331 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29333
d18ea0c5
AS
293342012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29335
29336 [BZ #14132]
56d25bb8
AS
29337 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29338 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29339 * intl/dgettext.c (DCGETTEXT): Likewise.
29340 * intl/gettext.c (DCGETTEXT): Likewise.
29341 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29342 * posix/regex_internal.h (gettext): Likewise.
29343 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29344 Remove declaration.
29345 * include/argz.h (__argz_count_internal)
29346 (__argz_stringify_internal): Remove declaration.
29347 (__argz_count, __argz_stringify): Declare hidden proto.
29348 * intl/dcgettext.c: Remove use of INTDEF.
29349 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29350 * string/argz-stringify.c: Likewise.
29351 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29352 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29353 Declare hidden proto.
d18ea0c5
AS
29354 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29355 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29356 Declare hidden proto.
29357 * include/stdio.h (__asprintf_internal): Don't declare.
29358 (__asprintf): Don't define as macro. Declare hidden proto.
29359 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29360 (__fsetlocking): Declare hidden proto.
29361 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29362 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29363 hidden proto.
29364 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29365 (_IO_setlinebuf): Remove use of INTUSE.
29366 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29367 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29368 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29369 Remove declaration.
29370 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29371 (_IO_do_flush): Remove use of INTUSE.
29372 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29373 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29374 (_IO_adjust_column, _IO_least_wmarker)
29375 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29376 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29377 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29378 (_IO_default_doallocate, _IO_wdefault_doallocate)
29379 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29380 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29381 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29382 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29383 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29384 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29385 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29386 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29387 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29388 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29389 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29390 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29391 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29392 proto.
29393 (_IO_flush_all_internal, _IO_adjust_column_internal)
29394 (_IO_default_uflow_internal, _IO_default_finish_internal)
29395 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29396 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29397 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29398 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29399 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29400 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29401 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29402 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29403 (_IO_file_close_internal, _IO_file_close_it_internal)
29404 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29405 (_IO_file_init_internal, _IO_file_attach_internal)
29406 (_IO_file_fopen_internal, _IO_file_read_internal)
29407 (_IO_file_sync_internal, _IO_file_seek_internal)
29408 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29409 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29410 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29411 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29412 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29413 (_IO_list_all_internal, _IO_link_in_internal)
29414 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29415 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29416 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29417 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29418 (_IO_do_write_internal, _IO_padn_internal)
29419 (_IO_getline_info_internal, _IO_getline_internal)
29420 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29421 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29422 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29423 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29424 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29425 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29426 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29427 with libc_hidden_ver, remove use of INTUSE.
29428 * libio/genops.c: Likewise.
29429 * libio/freopen.c: Likewise.
29430 * libio/freopen64.c: Likewise.
29431 * libio/iofclose.c: Likewise.
29432 * libio/iofdopen.c: Likewise.
29433 * libio/iofflush.c: Likewise.
29434 * libio/iofflush_u.c: Likewise.
29435 * libio/iofgets.c: Likewise.
29436 * libio/iofgets_u.c: Likewise.
29437 * libio/iofopen.c: Likewise.
29438 * libio/iofopncook.c: Likewise.
29439 * libio/iofread.c: Likewise.
29440 * libio/iofread_u.c: Likewise.
29441 * libio/ioftell.c: Likewise.
29442 * libio/iofwrite.c: Likewise.
29443 * libio/iogetline.c: Likewise.
29444 * libio/iogets.c: Likewise.
29445 * libio/iogetwline.c: Likewise.
29446 * libio/iopadn.c: Likewise.
29447 * libio/iopopen.c: Likewise.
29448 * libio/ioseekoff.c: Likewise.
29449 * libio/ioseekpos.c: Likewise.
29450 * libio/iosetbuffer.c: Likewise.
29451 * libio/iosetvbuf.c: Likewise.
29452 * libio/ioungetc.c: Likewise.
29453 * libio/ioungetwc.c: Likewise.
29454 * libio/iovdprintf.c: Likewise.
29455 * libio/iovsprintf.c: Likewise.
29456 * libio/iovsscanf.c: Likewise.
29457 * libio/memstream.c: Likewise.
29458 * libio/obprintf.c: Likewise.
29459 * libio/oldfileops.c: Likewise.
29460 * libio/oldiofclose.c: Likewise.
29461 * libio/oldiofdopen.c: Likewise.
29462 * libio/oldiofopen.c: Likewise.
29463 * libio/oldiopopen.c: Likewise.
29464 * libio/oldstdfiles.c: Likewise.
29465 * libio/putc.c: Likewise.
29466 * libio/setbuf.c: Likewise.
29467 * libio/setlinebuf.c: Likewise.
29468 * libio/stdfiles.c: Likewise.
29469 * libio/strops.c: Likewise.
29470 * libio/vasprintf.c: Likewise.
29471 * libio/vscanf.c: Likewise.
29472 * libio/vsnprintf.c: Likewise.
29473 * libio/vswprintf.c: Likewise.
29474 * libio/wfiledoalloc.c: Likewise.
29475 * libio/wfileops.c: Likewise.
29476 * libio/wgenops.c: Likewise.
29477 * libio/wmemstream.c: Likewise.
29478 * libio/wstrops.c: Likewise.
29479 * libio/__fpurge.c: Likewise.
29480 * libio/__fsetlocking.c: Likewise.
29481 * assert/assert.c: Likewise.
29482 * debug/fgets_chk.c: Likewise.
29483 * debug/fgets_u_chk.c: Likewise.
29484 * debug/fread_chk.c: Likewise.
29485 * debug/fread_u_chk.c: Likewise.
29486 * debug/gets_chk.c: Likewise.
29487 * debug/obprintf_chk.c: Likewise.
29488 * debug/vasprintf_chk.c: Likewise.
29489 * debug/vdprintf_chk.c: Likewise.
29490 * debug/vsnprintf_chk.c: Likewise.
29491 * debug/vsprintf_chk.c: Likewise.
29492 * malloc/mtrace.c: Likewise.
29493 * misc/error.c: Likewise.
29494 * misc/syslog.c: Likewise.
29495 * stdio-common/asprintf.c: Likewise.
29496 * stdio-common/fxprintf.c: Likewise.
29497 * stdio-common/getw.c: Likewise.
29498 * stdio-common/isoc99_fscanf.c: Likewise.
29499 * stdio-common/isoc99_scanf.c: Likewise.
29500 * stdio-common/isoc99_vfscanf.c: Likewise.
29501 * stdio-common/isoc99_vscanf.c: Likewise.
29502 * stdio-common/isoc99_vsscanf.c: Likewise.
29503 * stdio-common/printf-prs.c: Likewise.
29504 * stdio-common/printf_fp.c: Likewise.
29505 * stdio-common/printf_fphex.c: Likewise.
29506 * stdio-common/printf_size.c: Likewise.
29507 * stdio-common/putw.c: Likewise.
29508 * stdio-common/scanf.c: Likewise.
29509 * stdio-common/sprintf.c: Likewise.
29510 * stdio-common/tmpfile.c: Likewise.
29511 * stdio-common/vfprintf.c: Likewise.
29512 * stdio-common/vfscanf.c: Likewise.
29513 * stdlib/strfmon_l.c: Likewise.
29514 * sunrpc/openchild.c: Likewise.
29515 * sunrpc/xdr_stdio.c: Likewise.
29516 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29517 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29518
d6c33fda
RM
295192012-05-24 Roland McGrath <roland@hack.frob.com>
29520
c1487492
RM
29521 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29522
29523 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29524 in the third column, to generate for the shared library an IFUNC
29525 that uses _dl_vdso_vsym.
29526 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29527 * Makeconfig (object-suffixes-noshared): New variable.
29528
29529 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29530 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29531 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29532 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29533
d6c33fda
RM
29534 [BZ #14132]
29535 * include/sys/time.h (__gettimeofday): Remove macro.
29536 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29537 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29538 Remove INTDEF.
29539 (__gettimeofday): Add libc_hidden_def.
29540 (gettimeofday): Add libc_hidden_weak.
29541 * sysdeps/mach/gettimeofday.c: Likewise.
29542 * sysdeps/posix/gettimeofday.c: Likewise.
29543 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29544 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29545 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29546 (__gettimeofday_internal): Remove strong_alias.
29547 (__gettimeofday): Add libc_hidden_def.
29548 (gettimeofday): Add libc_hidden_weak.
29549 * sysdeps/unix/syscalls.list (gettimeofday):
29550 Remove __gettimeofday_internal alias.
29551
b5a2bbe6
L
295522012-05-24 Daniel Jacobowitz <drow@false.org>
29553 H.J. Lu <hongjiu.lu@intel.com>
29554
29555 [BZ #12495]
29556 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29557 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29558 (largebin_index_32_big): New.
29559 (largebin_index): Use it for 16-byte alignment.
29560 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29561 correction with front_misalign.
29562
cfba4fda
L
295632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29564
7f907421
L
29565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29567 Likewise.
29568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29569 Likewise.
29570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29571 Likewise.
29572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29573 Likewise.
29574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29575 Likewise.
29576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29577 Likewise.
29578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29579 Likewise.
29580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29581 Likewise.
29582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29583 Likewise.
29584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29585 Likewise.
29586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29587 Likewise.
29588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29589 Likewise.
29590
cfba4fda
L
29591 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29592 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29593
80bad0cc
JM
295942012-05-24 Joseph Myers <joseph@codesourcery.com>
29595
7a25eb06
JM
29596 [BZ #10846]
29597 [BZ #14036]
29598 * math/libm-test.inc (exp_test): Add test from bug 14036.
29599 (pow_test): Add test from bug 10846.
29600
795405f9
JM
29601 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29602 and other flags.
29603 (special_function): Do not include flags in test name.
29604 (parse_args): Likewise.
29605 * sysdeps/i386/fpu/libm-test-ulps: Update.
29606 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29607 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29608 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29610
80bad0cc
JM
29611 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29612 exceptions.
29613 * math/libm-test.inc ("Philosophy"): Update comment about
29614 exception testing.
29615 (UNDERFLOW_EXCEPTION): New macro.
29616 (UNDERFLOW_EXCEPTION_OK): Likewise.
29617 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29618 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29619 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29620 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29621 (INVALID_EXCEPTION_OK): Update value.
29622 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29623 (OVERFLOW_EXCEPTION_OK): Likewise.
29624 (IGNORE_ZERO_INF_SIGN): Likewise.
29625 (test_exceptions): Handle underflow exceptions.
29626 (acos_test): Update for underflow exception expectations.
29627 (cexp_test): Likewise.
29628 (clog_test): Likewise.
29629 (clog10_test): Likewise.
29630 (csqrt_test): Likewise.
29631 (ctan_test): Likewise.
29632 (ctanh_test): Likewise.
29633 (exp_test): Likewise.
29634 (exp10_test): Likewise.
29635 (exp2_test): Likewise.
29636 (expm1_test): Likewise.
29637 (fma_test): Likewise.
29638 (j0_test): Likewise.
29639 (jn_test): Likewise.
29640 (nexttoward_test): Likewise.
29641 (pow_test): Likewise.
29642 (scalbn_test): Likewise.
29643 (scalbln_test): Likewise.
29644 (tan_test): Likewise.
29645 (y1_test): Likewise.
29646 * sysdeps/i386/fpu/libm-test-ulps: Update.
29647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29648
9e0e3d0b
DM
296492012-05-23 David S. Miller <davem@davemloft.net>
29650
29651 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29652 (__libc_sigaction): Remove unused local variables.
29653
ccd0a08f
L
296542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29655
29656 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29657
62bdf9a6
PE
296582012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29659
f8591f80
PE
29660 mktime: avoid signed integer overflow
29661 * time/mktime.c (__mktime_internal): Do not mishandle the case
29662 where diff == INT_MIN.
29663
94c7d826
PE
29664 mktime: simplify computation of average
29665 * time/mktime.c (ranged_convert): Use new time_t_avg function
29666 instead of rolling our own (probably-slower) code.
29667
ce73d683
PE
29668 mktime: do not assume signed right shift propagates sign bit
29669 * time/mktime.c (isdst_differ): New static function.
29670 (__mktime_internal): No need to normalize tm_isdst now.
29671 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29672 tm_isdst values.
29673
72a22e59
PE
29674 mktime: merge another wrapv change from gnulib
29675 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29676 from some compilers.
29677
68605433
PE
29678 mktime: remove incorrect attempt at unusual arithmetics
29679 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29680 The code didn't really work on such machines anyway.
29681 (TYPE_MINIMUM): Assume two's complement.
29682 (twos_complement_arithmetic): Verify that long_int and time_t
29683 are two's complement (or unsigned, in the latter case).
29684
03cf7fe3
PE
29685 mktime: check signed shifts on long_int and time_t, too
29686 * time/mktime.c (SHR): Check that shifts work as desired
29687 on the types long_int and time_t too, as SHR is used on
29688 such types.
29689
f04dfbc2
PE
29690 mktime: do not assume 'long' is wide enough
29691 * time/mktime.c (verify): Move decl up.
29692 (long_int): New type.
29693 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29694 to remove assumption in the code that 'long' is wide enough to
29695 store year values. This assumption is not true on x32 and on
29696 some non-glibc platforms.
29697
62bdf9a6
PE
29698 mktime: merge wrapv change from gnulib
29699 * time/mktime.c (WRAPV): New macro.
29700 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29701 (guess_time_tm, __mktime_internal): Do not assume that signed
29702 integer overflow wraps around; modern compilers generate code
29703 where this assumption is no longer valid.
29704
5e292e4f
L
297052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29706
29707 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29708 Replace "jmp L(pseudo_end)" with "ret".
29709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29710 Likewise.
29711
8caf8c87
AJ
297122012-05-23 Andreas Jaeger <aj@suse.de>
29713
29714 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29715 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29716
1a09dc56
AJ
297172012-05-23 Andreas Jaeger <aj@suse.de>
29718 Maximilian Attems <max@stro.at>
29719
29720 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29721 New macros.
29722
1c87aba0
L
297232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29724
29725 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29726 code so that pseudo_end is just ret and the stack pointer is
29727 correct also for static library in error case.
29728
40e45bd5
JM
297292012-05-23 Joseph Myers <joseph@codesourcery.com>
29730
c2670533
JM
29731 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29732 move to syscalls.list.
29733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29737
40e45bd5
JM
29738 * manual/install.texi (Running make install): Do not mention Linux
29739 kernel version for which pt_chown is not needed.
29740 (Linux): Do not mention problems with nscd with 2.0 kernels.
29741 * INSTALL: Regenerated.
29742
be08eda5
AJ
297432012-05-23 Andreas Jaeger <aj@suse.de>
29744
29745 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29746 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29747 macro.
29748 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29750 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29752 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29754 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29757 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29758 * sysdeps/unix/sysv/linux/bits/in.h
29759 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29760
a6a056bb
RM
297612012-05-22 Roland McGrath <roland@hack.frob.com>
29762
29763 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29764 (PREPARE_VERSION): Just use assert instead, it will be elided
29765 under [NDEBUG] anyway.
29766
c9009328
L
297672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29768
29769 * sysdeps/unix/sysv/linux/Makefile: Include
29770 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29771 (sysdep_routines): Remove sysctl.
c9009328
L
29772 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29773 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29774 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29775 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29776 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29777
73338355
AJ
297782012-05-22 Andreas Jaeger <aj@suse.de>
29779
29780 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29781 that pseudo_end is just ret and the stack pointer is correct also
29782 for static library in error case.
29783
d44638b0
PP
297842012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29785
29786 [BZ #14122]
29787 * nss/nsswitch.c (defconfig_entries): New variable.
29788 (__nss_database_lookup): Don't leak defconfig entries.
29789 (nss_parse_service_list): Don't leak on error paths.
29790 (free_database_entries): New function.
29791 (free_defconfig): New function.
29792 (free_mem): Move common code to free_database_entries.
29793
31a39bd8
L
297942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29795
da0331a8
L
29796 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29797 Add arch_prctl.
29798 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29799
31a39bd8
L
29800 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29801 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29803 New macro.
29804 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29805 (INTERNAL_SYSCALL_TYPES): Likewise.
29806 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29807 (LOAD_REGS_TYPES_[1-6]): Likewise.
29808 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29809 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29810
45470df3
AZ
298112012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29812
29813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29814 copysignl for GLIBC_2_0.
29815 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29816 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29818 logbl for GLIBC_2_0.
29819 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29820 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29821
98a61bcb
L
298222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29823
a4f6e481
L
29824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29825 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29826
f63d5db6
L
29827 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29828 Use "neg %eax".
29829
98a61bcb
L
29830 * time/mktime.c: Update copyright years.
29831
95770f14
PE
298322012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29833
6226efbd
PE
29834 mktime: merge comment-quoting-style change from gnulib
29835 * time/mktime.c: Quote 'like this' in comments.
29836 The GNU coding standards suggest that we no longer quote `like this',
29837 as "`" and "'" are typically rendered asymmetrically nowadays.
29838 The typical gnulib style is to quote 'like this' when quoting
29839 code, and "like this" when quoting English.
29840
b99e4f78
PE
29841 * time/mktime.c (compile-command): Add "-I.".
29842
643e01e6
PE
29843 mktime: merge mktime-internal.h change from gnulib
29844 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29845
2554247d
PE
29846 mktime: merge time_r change from gnulib
29847 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29848
826dd0ab
PE
29849 mktime: merge DEBUG change from gnulib
29850 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29851 case system <time.h> has a #define.
29852
bd83aabe
PE
29853 mktime: merge <sys/types.h> change from gnulib
29854 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29855 since <time.t> is now guaranteed to define time_t.
29856
95770f14
PE
29857 mktime: merge HAVE_CONFIG_H change from gnulib
29858 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29859
5e1a27a9
L
298602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29861
0e44a77e
L
29862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29863 Use "neg %eax".
29864
5e1a27a9
L
29865 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29866 __rlim_t cast.
29867 (struct rusage): Use anonymous union to pad each field to
29868 __syscall_slong_t.
29869
46259bec
DM
298702012-05-21 David S. Miller <davem@davemloft.net>
29871
29872 * Makefules (o-iterator): Remove .s cases.
29873 (compile-command.s): Delete.
29874 (COMPILE.s): Delete.
29875 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29876
59f0c22e
JM
298772012-05-21 Joseph Myers <joseph@codesourcery.com>
29878
29879 * configure.in (libc_cv_predef_stack_protector): Only consider
29880 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29881 * configure: Regenerated.
29882
20c07380
L
298832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29884
bbb3154b
L
29885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29886 New macro. Use R*LP on int and pointer.
29887 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29888 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29889 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29890 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29891
20c07380
L
29892 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29893 [__WORDSIZE_TIME64_COMPAT32] instead of
29894 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29895 (struct utmp): Likewise.
29896 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29897 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29898 Renamed to ...
29899 (__WORDSIZE_TIME64_COMPAT32): This.
29900 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29901 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29902 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29903 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29904 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29905 (__WORDSIZE_TIME64_COMPAT32): New macro.
29906
d8d1017e
AJ
299072012-05-21 Andreas Jaeger <aj@suse.de>
29908
29909 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29910 only if [SHARED]. Add prototype for __wcschr_ia32.
29911
6c7fb145
RM
299122012-05-21 Roland McGrath <roland@hack.frob.com>
29913
29914 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29915 of %rbp unmolested in the jmp_buf while mangling the low bits.
29916 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29917 unmolested high bits of %rbp while demangling the low bits.
29918 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29919
66274218
AJ
299202012-05-21 Andreas Jaeger <aj@suse.de>
29921
07c58f8f
AJ
29922 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29923 * sunrpc/svc_simple.c: Use it for registerrpc.
29924 * sunrpc/xcrypt.c: Use it for passwd2des.
29925
66274218
AJ
29926 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29927
61f65140
L
299282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29929
29930 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29931 Don't define if [__SYSCALL_WORDSIZE != 32].
29932 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29933 New macro.
29934
5fefb436
AJ
299352012-05-21 Bruno Haible <bruno@clisp.org>
29936 Andreas Jaeger <aj@suse.de>
29937
29938 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29939 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29940 inptr and inend for must_buffer_ch.
29941 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29942 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29943 * stdio-common/Makefile (tests): Remove bug15.
29944 (bug15-ENV): Remove macro.
29945 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29946 anymore.
29947
d8e272ab
AJ
299482012-05-19 Andreas Jaeger <aj@suse.de>
29949 Roland McGrath <roland@hack.frob.com>
29950
29951 * manual/contrib.texi: Completely rewritten. It contains now an
29952 alphabetical list of contributors and their contributions.
29953
4a56a162
RH
299542012-05-21 Richard Henderson <rth@twiddle.net>
29955
29956 * misc/getauxval.c (__getauxval): Use unsigned long int.
29957 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29958 (getauxval): Use unsigned long int.
29959
d024d23c
L
299602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29961
29962 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29963
cbc00a03
RM
299642012-05-21 Roland McGrath <roland@hack.frob.com>
29965
29966 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29967 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29968 __alignof__ (long double).
29969
478143fa
AZ
299702012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29971
29972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29973
c7683a6d
RH
299742012-05-20 Richard Henderson <rth@twiddle.net>
29975
29976 * misc/getauxval.c: New file.
29977 * misc/sys/auxv.h: New file.
29978 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29979 (routines): Add getauxval.
29980 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29981 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29982 * elf/dl-sysdep.c (_dl_auxv): Remove.
29983 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29984 * elf/dl-support.c (_dl_auxv): New variable.
29985 (_dl_aux_init): Initialize it.
29986 * manual/startup.texi (Auxiliary Vector): New node.
29987 * sysdeps/generic/bits/hwcap.h: New file.
29988 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29989 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29990 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29991 * sysdeps/sparc/sysdep.h: ... here. Include it.
29992 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29993 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29995 Update.
c7683a6d
RH
29996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29999 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30004
a6f1845d
AZ
300052012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30006
30007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30008
cbcbe830
DM
300092012-05-19 David S. Miller <davem@davemloft.net>
30010
30011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30012
e0b16cc2
JM
300132012-05-19 Joseph Myers <joseph@codesourcery.com>
30014
30015 [BZ #14123]
30016 * math/s_ccosh.c: Include <float.h>
30017 (__ccosh): Avoid internal overflow calculating sinh and cosh
30018 values before multiplying by sin and cos values.
30019 * math/s_ccoshf.c: Likewise.
30020 * math/s_ccoshl.c: Likewise.
30021 * math/s_csin.c: Likewise.
30022 * math/s_csinf.c: Likewise.
30023 * math/s_csinl.c: Likewise.
30024 * math/s_csinh.c: Likewise.
30025 * math/s_csinhf.c: Likewise.
30026 * math/s_csinhl.c: Likewise.
30027 * math/libm-test.inc (ccos_test): Add more tests.
30028 (ccosh_test): Likewise.
30029 (csin_test): Likewise.
30030 (csinh_test): Likewise.
30031 * sysdeps/i386/fpu/libm-test-ulps: Update.
30032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30033
6ad13e08
L
300342012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30035
f66f0ce8
L
30036 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30037 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30038
6ad13e08
L
30039 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30040
b1d072a7
JM
300412012-05-19 Joseph Myers <joseph@codesourcery.com>
30042
30043 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30044 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30045 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30046 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30047 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30048 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30049 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30050 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30051 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30052 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30053 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30054 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30055 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30056 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30057 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30058 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30059 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30060 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30061 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30062 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30063 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30064 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30065 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30066 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30067 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30068 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30069 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30070 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30071 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30072 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30073 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30074
9eae47cb
AJ
300752012-05-18 Andreas Jaeger <aj@suse.de>
30076
30077 * csu/.gitignore: Delete.
30078
bb07f69f
L
300792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30080
30081 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30082 (timex): Use __syscall_slong_t.
30083
e6bdb741
AJ
300842012-05-18 Andreas Jaeger <aj@suse.de>
30085 Carlos O'Donell <carlos_odonell@mentor.com>
30086
30087 * manual/install.texi (Configuring and compiling): Update
30088 description about files modified in the source directory.
d6c33fda 30089 * INSTALL: Regenerated.
e6bdb741 30090
1b74487e
L
300912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30092
30093 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30094 value. Use "or" to set return value to -1.
30095 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30096 negate return value.
30097
a88b64b9
TMQMF
300982012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30099
57f41c40
AS
30100 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30101 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30102 failure if the compiler has Graphite support disabled.
30103 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30104 Likewise.
57f41c40
AS
30105 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30106 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30107 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30108 Likewise.
30109
3707636e
L
301102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30111
610b8622
L
30112 * sysdeps/x86_64/x32/_itoa.h: New file.
30113
7cd195df
L
30114 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30115 getdents system call only if kernel and user dirents have the
30116 same d_ino and d_off.
30117
94b07d20
L
30118 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30119 LLONG_MAX != LONG_MAX.
30120 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30121 (_fitoa_word): Likewise.
30122
18298070
L
30123 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30124 years.
30125 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30126 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30127 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30128
553c7ea4
L
30129 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30130 include <bits/wordsize.h>. Check __x86_64__ instead of
30131 __WORDSIZE.
30132 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30133 if __x86_64__ is defined. Use anonymous union on fpstate.
30134
3707636e
L
30135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30136 anonymous union.
30137
b53ef01a
AS
301382012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30139
37fb1dc0
AS
30140 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30141 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30142 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30143 Refer to _rtld_local_ro instead of _rtld_global_ro.
30144 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30145 Likewise.
30146 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30147 Likewise.
30148 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30149 Likewise.
30150 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30151 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30152 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30153
b53ef01a
AS
30154 * sysdeps/powerpc/powerpc32/dl-machine.c
30155 (__elf_machine_runtime_setup) [PROF]: Don't reference
30156 _dl_prof_resolve.
30157
7a185db2
AJ
301582012-05-18 Andreas Jaeger <aj@suse.de>
30159
30160 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30161 function only available for GCCs before 3.4 since GCC 3.4
30162 introduced a builtin.
30163 (lrint): Likewise.
30164 (llrintf): Likewise.
30165 (llrint): Likewise.
30166 (fmaxf): Likewise.
30167 (fmax): Likewise.
30168 (fminf): Likewise.
30169 (fmin): Likewise.
30170 (rint): Likewise.
30171 (rintf): Likewise.
30172 (nearbyint): Likewise.
30173 (nearbyintf): Likewise.
30174 (ceil): Likewise.
30175 (ceilf): Likewise.
30176 (floor): Likewise.
30177 (floorf): Likewise.
30178
3e5aef87
L
301792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30180
428bd707
L
30181 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30182 on both fields and cast pointer to __syscall_ulong_t.
30183
3e5aef87
L
30184 * bits/types.h (__fsword_t): New type.
30185 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30186 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30188 (__FSWORD_T_TYPE): Likewise.
30189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30190 (__FSWORD_T_TYPE): Likewise.
30191 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30192 (__FSWORD_T_TYPE): Likewise.
30193 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30194 (__FSWORD_T_TYPE): Likewise.
30195 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30196 __SWORD_TYPE with __fsword_t.
30197 (statfs64): Likewise.
30198
1ba7c3dc
DM
301992012-05-17 David S. Miller <davem@davemloft.net>
30200
30201 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30202
59910343
AJ
302032012-05-17 Andreas Jaeger <aj@suse.de>
30204
30205 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30206 warning.
30207
2e4c1e9e
L
302082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30209
30210 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30211
de7f5ce7
AJ
302122012-05-17 Andreas Jaeger <aj@suse.de>
30213
30214 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30215 when it is used.
30216
286abc3d
CM
302172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30218
30219 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30220
477cc68e
L
302212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30222
30223 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30224 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30225
1a0994f5
CD
302262012-05-17 Andreas Jaeger <aj@suse.de>
30227 Carlos O'Donell <carlos_odonell@mentor.com>
30228
30229 [BZ #14059]
30230 * sysdeps/x86_64/multiarch/init-arch.h
30231 (bit_YMM_Usable): Rename to...
30232 (bit_AVX_Usable): ... this.
30233 (bit_FMA4_Usable): New macro.
30234 (bit_XMM_state): New macro.
30235 (bit_YMM_state): New macro.
30236 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30237 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30238 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30239 (CPUID_OSXSAVE): New macro.
30240 (CPUID_AVX): New macro.
30241 (CPUID_FMA4): New macro.
30242 (index_YMM_Usable): Rename to...
30243 (index_AVX_Usable): ... this.
30244 (HAS_AVX): Use HAS_ARCH_FEATURE.
30245 (HAS_FMA4): Likewise.
30246 (HAS_YMM_USABLE): Remove.
30247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30248 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30249 are present.
30250 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30251 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30252 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30253 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30254 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30255
0af797de
CM
302562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30257
30258 * math/libm-test.c: Support platforms without multiple rounding modes.
30259 * math/bug-nextafter.c: Support platforms without FP exceptions.
30260 * math/bug-nexttoward.c: Likewise.
30261 * math/test-fenv.c: Likewise.
30262 * math/test-misc.c: Likewise.
30263 * stdlib/bug-getcontext.c: Likewise.
30264
e39745ff
AJ
302652012-05-17 Andreas Jaeger <aj@suse.de>
30266
30267 * manual/examples/search.c (critter_cmp): Change signature to
30268 avoid warnings.
30269 * manual/string.texi (Collation Functions): Likewise.
30270
48970aba
L
302712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30272
30273 * bits/types.h: Fold copyright years.
30274 * bits/typesizes.h: Likewise.
30275 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30276 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30277 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30279 * time/time.h: Likewise.
30280
bedee953
PP
302812012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30282
30283 [BZ #208]
30284 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30285 in instead of returning them. Return void.
30286 (__libc_mallinfo): Accumulate over all arenas.
30287 (__malloc_stats): Adjust for change in int_mallinfo interface.
30288
61653dfb
RM
302892012-05-16 Roland McGrath <roland@hack.frob.com>
30290
30b99d79
RM
30291 [BZ #10375]
30292 * configure.in (NM): Add AC_CHECK_TOOL for it.
30293 (libc_extra_cflags): New substituted variable.
30294 Check for -fstack-protector being used implicitly.
30295 * configure: Regenerated.
30296 * config.make.in (config-extra-cflags): New variable,
30297 gets @libc_extra_cflags@.
30298 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30299
61653dfb
RM
30300 [BZ #10375]
30301 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30302 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30303 * configure: Regenerated.
30304 * config.make.in (CPPUNDEFS): New substituted variable.
30305 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30306 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30307 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30308
661768bb
L
303092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30310
30311 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30312 (mq_attr): Use __syscall_slong_t.
30313
d4261567
L
303142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30315
30316 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30317 Check __x86_64__ instead of __WORDSIZE.
30318 (_STAT_VER_LINUX): Likewise.
30319 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30320 __syscall_ulong_t and __syscall_slong_t.
30321 (stat64): Likewise.
30322
cf3ff365
L
303232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30324
30325 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30326
76cf3e4d
L
303272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30328
30329 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30330
a637753a
L
303312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30332
30333 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30334 __syscall_ulong_t.
30335
d5e05119
L
30336 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30337 include <bits/wordsize.h>. Check __x86_64__ instead of
30338 __WORDSIZE.
30339 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30340 defined.
30341 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30342
f62ee380
L
30343 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30344 include <bits/wordsize.h>. Check __x86_64__ instead of
30345 __WORDSIZE.
30346 (user_regs_struct): Use "__extension__ unsigned long long"
30347 instead of "unsigned long" if __x86_64__ is defined.
30348 (user): Likewise. Pad after pointer field if __ILP32__ is
30349 defined.
30350
4e124ced
JM
303512012-05-16 Joseph Myers <joseph@codesourcery.com>
30352
6a3951a0
JM
30353 * configure.in (makeinfo): Require version 4.5 or later. Allow
30354 versions 5 to 9.
30355 * configure: Regenerated.
30356 * manual/install.texi (texinfo): Increase version requirement to
30357 4.5 or later.
30358 * INSTALL: Regenerated.
30359
4e124ced
JM
30360 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30361
953ca31a
L
303622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30363
30364 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30365
617aca05
L
30366 * sysdeps/x86_64/x32/ffs.c: New file.
30367
5762f7ae
L
30368 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30369 __syscall_ulong_t.
30370 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30371 defined. Use __syscall_ulong_t.
30372 (shminfo): Use __syscall_ulong_t.
30373 (shm_info): Likewise.
30374
a26b6856
L
30375 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30376 __syscall_ulong_t.
30377
cb2b9ef7
L
30378 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30379 <bits/wordsize.h>.
30380 (msgqnum_t): Use __syscall_ulong_t.
30381 (msglen_t): Likewise.
30382 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30383 __syscall_ulong_t.
30384
34683bb0
L
30385 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30386 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30387
84a68786
L
30388 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30389
48baa5f1
L
30390 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30391 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30392
180be88b
L
30393 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30394 __syscall_slong_t.
30395
5e90c8ad
L
30396 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30397 include <bits/wordsize.h>. Check __x86_64__ instead of
30398 __WORDSIZE.
30399
23dfb58b
L
30400 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30401 "unsigned long long int" if __x86_64__ is defined.
30402 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30403
ce5d54b0
L
30404 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30405 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30406 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30407
13dc9eac
L
30408 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30409 <stdint.h>.
30410 (GET_PC): Cast to uintptr_t first.
30411 (GET_FRAME): Likewise.
30412 (GET_STACK): Likewise.
30413
a7895d15
L
30414 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30415 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30416 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30417 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30418 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30419 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30420 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30421 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30422 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30423 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30424 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30425 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30426 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30427 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30428 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30429 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30430 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30431 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30432 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30433 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30434 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30435 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30436 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30437 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30438 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30439 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30440 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30441 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30442 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30443
656416c9
AS
304442012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30445
5bd66283
AS
30446 * Makerules (+depfiles): Also collect depfiles from .oS in
30447 $(extra-objs).
30448 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30449 .oS, $(libnldbl-routines)).
30450
656416c9
AS
30451 * Makerules (native-compile-mkdep-flags): Define.
30452 * sunrpc/Makefile (extra-objs): Add $(addprefix
30453 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30454 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30455 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30456 calling $(make-target-directory).
30457
a46f2169
L
304582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30459
30460 * bits/types.h (__snseconds_t): Removed.
30461 * time/time.h (struct timespec): Replace __snseconds_t with
30462 __syscall_slong_t.
30463 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30464 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30465 Likewise.
30466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30467 (__SNSECONDS_T_TYPE): Likewise.
30468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30469 (__SNSECONDS_T_TYPE): Likewise.
30470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30471 (__SNSECONDS_T_TYPE): Likewise.
30472
6af6528b
L
304732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30474
30475 * sysdeps/mach/hurd/bits/typesizes.h
30476 (__SYSCALL_SLONG_TYPE): New macro.
30477 (__SYSCALL_ULONG_TYPE): Likewise.
30478
de986b56
L
304792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30480
30481 * bits/types.h (__syscall_slong_t): New type.
30482 (__syscall_ulong_t): Likewise.
30483
30484 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30485 (__SYSCALL_ULONG_TYPE): Likewise.
30486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30487 (__SYSCALL_SLONG_TYPE): Likewise.
30488 (__SYSCALL_ULONG_TYPE): Likewise.
30489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30490 (__SYSCALL_SLONG_TYPE): Likewise.
30491 (__SYSCALL_ULONG_TYPE): Likewise.
30492 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30493 (__SYSCALL_SLONG_TYPE): Likewise.
30494 (__SYSCALL_ULONG_TYPE): Likewise.
30495
85736dc7
L
304962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30497
30498 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30499 Add sigaltstack-offsets.sym.
30500 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30501 <sigaltstack-offsets.h>.
30502 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30503 longjmp_msg pointer.
30504 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30505 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30506 signal stack.
30507 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30508
cc03b296
JM
305092012-05-15 Joseph Myers <joseph@codesourcery.com>
30510
a9538892
JM
30511 * elf/stackguard-macros.h: Remove file.
30512 * sysdeps/generic/stackguard-macros.h: New file.
30513 * sysdeps/i386/stackguard-macros.h: Likewise.
30514 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30515 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30516 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30517 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30518 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30519 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30520 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30521 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30522 <elf/stackguard-macros.h>.
30523
cc03b296
JM
30524 [BZ #14109]
30525 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30526 __aligned__ in attribute.
30527 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30528 (gregset_t): Likewise.
30529
93171016
L
305302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30531
30532 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30533 * sysdeps/x86_64/64/Implies-after: Here. New file.
30534 * sysdeps/x86_64/x32/Implies-after: New file.
30535
d86813a0
L
305362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30537
30538 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30539 and access return value for _dl_profile_fixup. Use R10_LP to
30540 load frame size.
30541
2953ec75
L
305422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30543
30544 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30545
3b550e9e
L
305462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30547
30548 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30549 * sysdeps/x86_64/x32/sysdep.h: New file.
30550
eda41706
L
305512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30552
30553 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30554 * sysdeps/x86_64/setjmp.S: Likewise.
30555
9ea01d93
AZ
305562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30557
30558 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30559 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30560 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30561 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30562 remove unused global constant.
30563
02a91938
CM
305642012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30565
30566 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30567 include of <not-cancel.h>.
30568
6540185f
RM
305692012-05-15 Roland McGrath <roland@hack.frob.com>
30570
30571 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30572
509072a0
AJ
305732012-05-15 Jeff Law <law@redhat.com>
30574 Andreas Jaeger <aj@suse.de>
30575
30576 [BZ #13594]
30577 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30578 out from...
30579 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30580 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30581 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30582 code changing __hst_map_handle.map.
30583
ba75122d
RM
305842012-05-15 Roland McGrath <roland@hack.frob.com>
30585
30586 * configure.in (sysnames): Look for Implies-before and Implies-after
30587 files.
30588 * configure: Regenerated.
30589
890d8bd8
L
305902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30591
30592 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30593 8-byte data alignment with LP_SIZE alignment.
30594
f6ee6623
L
305952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30596
30597 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30598 into R10_LP.
30599
ea2626f6
L
306002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30601
30602 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30603
085f715e
L
306042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30605
30606 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30607 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30608 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30609 Likewise.
30610 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30611
be8498fc
L
306122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30613
30614 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30615 (stackinfo_sub_sp): Likewise.
30616
70bc83b9
L
306172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30618
30619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30620 RAX_LP.
30621
9bc0b730
L
306222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30623
30624 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30625 into R*_LP.
30626
6d2850e7
L
306272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30628
30629 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30630 sizes into R*_LP.
30631
3cb84561
L
306322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30633
30634 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30635
54e2ed81
L
306362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30637
30638 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30639 into R11_LP and load __x86_64_shared_cache_size_half into
30640 R8_LP.
30641
8a17f349
L
306422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30643
30644 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30645 R8_LP.
30646
777b1eea
AZ
306472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30648
30649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30650 logb for POWER7.
30651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30652 logbf for POWER7.
30653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30654 logbl for POWER7.
30655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30656 powerpc32/power7/fpu/s_logb.c via #include.
30657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30658 powerpc32/power7/fpu/s_logbf.c via #include.
30659 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30660 powerpc32/power7/fpu/s_logbl.c via #include.
30661
d20d4ac2
JM
306622012-05-15 Joseph Myers <joseph@codesourcery.com>
30663
30664 * README.libm: Remove file.
30665
6cdef1ab
L
306662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30667
30668 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30669 count for x32. Use R*_LP and omit operand-size suffix.
30670
0b254d8f
L
306712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30672
30673 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30674 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30675 * sysdeps/x86_64/x32/shlib-versions: New file.
30676
ceb809dc
RM
306772012-05-14 Roland McGrath <roland@hack.frob.com>
30678
30679 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30680 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30681 Use _dl_fatal_printf instead.
30682
37f1abd4
JM
306832012-05-14 Joseph Myers <joseph@codesourcery.com>
30684
30685 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30686 set if not set by the user. Do not allow for being unset.
30687 * sysdeps/unix/sysv/linux/configure: Regenerated.
30688
11de3a33
L
306892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30690
30691 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30692 the `q' suffix from lea and replace .quad with ASM_ADDR.
30693
e02f153a
L
306942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30695
30696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30697 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30698 instead of $17.
30699 (PTR_DEMANGLE): Likewise.
30700
520ae0fd
L
307012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30702
30703 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30704 (LP_OP): Likewise.
30705 (ASM_ADDR): Likewise.
30706 (RAX_LP): Likewise.
30707 (RBP_LP): Likewise.
30708 (RBX_LP): Likewise.
30709 (RCX_LP): Likewise.
30710 (RDI_LP): Likewise.
30711 (RSI_LP): Likewise.
30712 (RSP_LP): Likewise.
30713 (R8_LP): Likewise.
30714 (R9_LP): Likewise.
30715 (R10_LP): Likewise.
30716 (R10_LP): Likewise.
30717 (R11_LP): Likewise.
30718 (R12_LP): Likewise.
30719 (R13_LP): Likewise.
30720 (R14_LP): Likewise.
30721 (R15_LP): Likewise.
30722
b985be81
L
307232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30724
30725 * sysdeps/x86_64/x32/dl-machine.h: New file.
30726
6a4888ff
AJ
307272012-05-14 Andreas Jaeger <aj@suse.de>
30728
30729 * manual/Makefile (subdir): Remove export of subdir.
30730 (all): Remove target.
30731 (.PHONY): Remove all from list.
30732 (mkinstalldirs): Remove.
30733 (.PHONY): Remove installdirs from list.
30734 ($(inst_infodir)/libc.info): Use make-target-directory.
30735 (installdirs): Remove.
30736 (subdir_%): Remove.
30737 (glibc-targets): Remove.
30738 (lib): Remove.
30739 (stubs): Remove.
30740 ($(objpfx)stubs ../po/manual.pot): Remove.
30741 ($(objpfx)stamp%): Remove.
30742 (make-target-directory): Remove.
30743 (subdir_install): Remove.
30744 (routines): Remove.
30745 (aux): Remove.
30746 (sources): Remove.
30747 (objects): Remove.
30748 (headers): Remove.
30749
30750 [BZ #13750]
30751 * manual/.gitignore: Remove, it's not needed anymore.
30752 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30753 all files in it.
30754 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30755 directory.
30756 (texis): Renamed to $(objpfx)texis.
30757 (texis-path): New, contains path to generated files.
30758 (chapters.%): Use texis-path for complete path, add extra argument
30759 libc-texinfo.sh.
30760 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30761 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30762 (summary,texi, stamp-summary): Use complete path of
30763 files. Generate files in build dir.
30764 (dir-add.texi): Build in build dir.
30765 (libm-err.texi,stamp-libm-err): Likewise.
30766 (version.texi, stamp-version): Likewise.
30767 (.%c.texi): Likewise.
30768 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30769 (mostlyclean): Remove target.
30770 (realclean): Remove target.
30771 (generated): Add new variable with contents from mostlyclean and
30772 realclean, remove entries duplicated in common-mostlyclean, add
30773 stamp-libm-err and stamp-version.
30774 (generated-dirs): Add libc directory.
30775 ($(inst_infodir)/libc.info): Install files from build dir.
30776
30777 * manual/install.texi (Configuring and compiling): Adjust since
30778 the info files are not part of the tar ball anymore.
30779
7ac77294
AJ
307802012-05-14 Andreas Jaeger <aj@suse.de>
30781
30782 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30783 variable.
30784
ffb7875d
JM
307852012-05-14 Joseph Myers <joseph@codesourcery.com>
30786
30787 [BZ #13717]
30788 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30789 to 2.2.0 where earlier.
30790 * sysdeps/unix/sysv/linux/configure: Regenerated.
30791 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30792 Remove conditional code.
30793 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30794 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30795 Remove conditional code.
30796 [!__NR_lchown]: Likewise.
30797 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30798 [__NR_lchown]: Likewise.
30799 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30800 comment referencing __ASSUME_LCHOWN_SYSCALL.
30801 * sysdeps/unix/sysv/linux/i386/sigaction.c
30802 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30803 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30804 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30805 Remove conditional code.
30806 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30807 (__protocol_available): Remove #if 0 code.
30808 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30809 conditional code.
30810 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30811 * sysdeps/unix/sysv/linux/kernel-features.h
30812 (__ASSUME_GETCWD_SYSCALL): Don't define.
30813 (__ASSUME_REALTIME_SIGNALS): Likewise.
30814 (__ASSUME_PREAD_SYSCALL): Likewise.
30815 (__ASSUME_PWRITE_SYSCALL): Likewise.
30816 (__ASSUME_POLL_SYSCALL): Likewise.
30817 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30818 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30819 non-SPARC.
30820 (__ASSUME_SIOCGIFNAME): Don't define.
30821 (__ASSUME_MSG_NOSIGNAL): Likewise.
30822 (__ASSUME_SENDFILE): Define unconditionally.
30823 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30824 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30825 conditional code.
30826 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30827 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30828 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30829 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30830 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30831 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30832 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30834 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30835 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30837 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30838 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30840 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30841 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30843 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30844 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30846 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30847 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30849 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30852 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30857 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30858 Remove conditional code.
30859 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30860 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30861 Remove conditional code.
30862 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30863 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30864 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30865 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30866 Remove conditional code.
30867 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30868 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30869 Remove conditional code.
30870 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30871 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30872 Remove conditional code.
30873 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30874 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30875 Remove conditional code.
30876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30877 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30878 Remove conditional code.
30879 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30880 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30881 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30883 * sysdeps/unix/sysv/linux/sigaction.c
30884 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30885 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30886 * sysdeps/unix/sysv/linux/sigpending.c
30887 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30888 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30889 * sysdeps/unix/sysv/linux/sigprocmask.c
30890 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30891 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30892 * sysdeps/unix/sysv/linux/sigsuspend.c
30893 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30894 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30895 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30896 (__libc_missing_rt_sigs): Remove.
30897 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30898 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30899 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30900 Remove conditional code.
30901 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30902 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30903 return 1.
30904 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30905 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30906 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30907 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30908
1bfb7291
AJ
309092012-05-14 Andreas Jaeger <aj@suse.de>
30910
caae5a81
AJ
30911 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30912 it's not used in glibc.
30913 (__coshm1): Likewise.
30914 (__acosh1p): Likewise.
30915 (__sgn): Likewise.
30916
1bfb7291
AJ
30917 * manual/string.texi (Copying and Concatenation): Add missing
30918 variable in concat example.
30919 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30920
c044d724
L
309212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30922
144c5467 30923 [BZ #14103]
c044d724
L
30924 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30925 __builtin_clzl with __builtin_clzll.
30926
2523c62b
L
309272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30928
30929 [BZ #14104]
30930 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30931 libc_freeres_ptr.
30932
d7bb4c42
LD
309332012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30934
30935 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30936 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30937 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30938 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30939
9dc4e1fb
MF
309402012-05-14 Mike Frysinger <vapier@gentoo.org>
30941
30942 * NEWS: Update ia64 info.
30943
c7df0112
AS
309442012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30945
30946 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30947 used as bcopy.
30948
dc70356c
TS
309492012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30950
30951 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30952 * sysdeps/unix/syscalls.list (dup3): Likewise.
30953 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30954 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30955
9fb1a21f
L
309562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30957
30958 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30959 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30960
4822a2a5
L
309612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30962
30963 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30964 thread pointer.
30965 (TLS_IE): Use mov/add instead of movq/addq to load thread
30966 pointer.
30967 (TLS_GD_PREFIX): New.
30968 (TLS_GD): Use it.
30969
842b81d6
DM
309702012-05-11 David S. Miller <davem@davemloft.net>
30971
30972 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30973 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30974 (_FPU_SETCW): Likewise.
30975
1cf463cd
L
309762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30977
30978 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30979 is 32-byte aligned.
30980
60cc4a18
AS
309812012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30982
30983 [BZ #11837]
30984 * iconvdata/gb18030.c: Update tables.
30985 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30986 characters specially.
30987 (BODY for TO_LOOP): Add encoding of missing ranges.
30988
febb44a4
TS
309892012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30990
30991 [BZ #13673]
30992 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30993 * sysdeps/mach/hurd/dup3.c: Likewise.
30994 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30995 * sysdeps/powerpc/memmove.c:: Likewise.
30996
0a10fb9e
L
309972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30998
30999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31000 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31001
df8a552f
L
310022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31003
31004 * elf/elf.h (R_X86_64_RELATIVE64): New.
31005 (R_X86_64_NUM): Updated.
31006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31007 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31008 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31009 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31010 tst-quad1pie tst-quad2pie
31011 (modules-names): Add tst-quadmod1 tst-quadmod2.
31012 ($(objpfx)tst-quad1): New dependency.
31013 ($(objpfx)tst-quad2): Likewise.
31014 ($(objpfx)tst-quad1pie): Likewise.
31015 ($(objpfx)tst-quad2pie): Likewise.
31016 * sysdeps/x86_64/tst-quad1.c: New file.
31017 * sysdeps/x86_64/tst-quad1pie.c: New file.
31018 * sysdeps/x86_64/tst-quad2.c: Likewise.
31019 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31020 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31021 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31022 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31023 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31024
f34d6f84
ST
310252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31026
f42d41d1
ST
31027 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31028 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31029 * streams/stropts.h (t_scalar_t): Define type.
31030
3c3571fc
ST
31031 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31032 (_PATH_PRESERVE): Set to "/var/lib".
31033 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31034
61f06bd3
ST
31035 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31036 instead of int.
31037
918d4d71
ST
31038 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31039 if __dir_mkfile succeeded.
31040
f34d6f84
ST
31041 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31042 checking for _hurd_dtablesize. Unlock it right after having
31043 finished _hurd_dtable allocation.
31044
10589b4a
TS
310452012-05-10 Thomas Schwinge <thomas@schwinge.name>
31046
674cdbc7
TS
31047 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31048 * sysdeps/mach/hurd/configure: Regenerated.
31049 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31050 special-casing to...
31051 * sysdeps/gnu/configure.in: ... this new file.
31052 * sysdeps/unix/sysv/linux/configure: Regenerated.
31053 * sysdeps/gnu/configure: New generated file.
31054
8e41b99f
TS
31055 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31056 for Linux: use nsec instead of usec, as well as:
31057 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31058 members of type struct timespec.
31059 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31060 New macros.
31061 (struct stat64): Likewise.
31062 (_STATBUF_ST_NSEC): New macro.
31063 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31064
10589b4a
TS
31065 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31066 __strtoul_internal rather than strtoul.
31067
63643c85
PT
310682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31069
31070 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31071 and reject them.
31072
3faebe6a
ST
310732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31074
31075 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31076 which preserves existing values.
31077 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31078
c6474b07
PT
310792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31080
31081 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31082 TIMEOUT values. Return EINVAL for NFDS values either negative or
31083 greater than FD_SETSIZE.
31084
1043890b
ST
310852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31086
31087 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31088 allocated, call __vm_protect to finish enabling the existing space, and
31089 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31090 allocate the remainder.
31091
37ed8b9b
PT
310922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31093
31094 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31095 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31096
db653660
ST
310972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31098
37ed8b9b
PT
31099 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31100 sysdeps/mach/hurd/readlink.c.
b29d4053 31101
db653660
ST
31102 * posix/tst-sysconf.c (posix_options): Only use
31103 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31104 _POSIX_SYNCHRONIZED_IO when they are defined
31105 * sysdeps/mach/hurd/bits/posix_opt.h:
31106 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31107 (_XOPEN_REALTIME): Undefine macro.
31108 (_XOPEN_REALTIME_THREADS): Undefine macro.
31109 (_XOPEN_SHM): Undefine macro.
31110 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31111 macro to -1.
31112 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31113 macro to -1.
31114 (_POSIX_ASYNC_IO): Undefine macro.
31115 (_POSIX_PRIORITIZED_IO): Undefine macro.
31116 (_POSIX_SPIN_LOCKS): Define macro to -1.
31117
ee16e894
ST
31118 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31119 SA_NODEFER, SA_RESETHAND.
31120 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31121 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31122 F_DUPFD_CLOEXEC.
31123
6103ae3b
TS
311242012-05-10 Thomas Schwinge <thomas@schwinge.name>
31125
31126 * elf/Makefile (pldd-modules): Define unconditionally.
31127
80b4e5f3
TS
311282012-05-10 Thomas Schwinge <thomas@schwinge.name>
31129
31130 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31131
edadcbd6
ST
311322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31133
31134 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31135 Return ENOENT when name is empty.
31136 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31137
80694780
TS
311382012-05-10 Thomas Schwinge <thomas@schwinge.name>
31139
1792c087
TS
31140 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31141
80694780
TS
31142 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31143
6b645f0d
ST
311442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31145
80694780
TS
31146 Fix mlock in all cases except non-readable pages.
31147 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31148 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31149
6b645f0d
ST
31150 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31151 (__mkdir): When path is `/', just fail with EEXIST.
31152 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31153
e468f8a3
TS
311542012-05-10 Thomas Schwinge <thomas@schwinge.name>
31155
31156 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31157 <sys/uio.h> (for writev).
31158 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31159 and <sys/param.h> (for MIN).
31160
a4186cff
PT
311612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31162
31163 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31164 REQUESTED_TIME. Properly set the remaining time and return EINTR
31165 if interrupted.
31166
510bbf14
TS
311672012-05-10 Thomas Schwinge <thomas@schwinge.name>
31168
31169 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31170 Depend on against $(link-rpcuserlibs).
31171
5d5722e8
ST
311722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31173
a4186cff
PT
31174 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31175 (__libc_stack_end): Do not use attribute_relro.
31176 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31177 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31178 to libthread-provided value.
a4186cff
PT
31179 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31180 attribute_relro.
5d5722e8 31181
37233df9
TS
311822012-05-10 Thomas Schwinge <thomas@schwinge.name>
31183
be971a2b
TS
31184 [BZ #3748]
31185 * bits/libc-lock.h (__libc_once_get): New macro.
31186 * sysdeps/mach/bits/libc-lock.h: Likewise.
31187 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31188 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31189 instead of using implementation details.
31190
37233df9
TS
31191 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31192 * libio/freopen.c: Likewise.
31193 * libio/freopen64.c: Likewise.
31194 * misc/syslog.c: Likewise.
31195 * nscd/connections.c: Likewise.
31196 * nscd/netgroupcache.c: Likewise.
31197 * sysdeps/posix/getcwd.c: Likewise.
31198
38de94a5
RM
311992012-05-10 Roland McGrath <roland@hack.frob.com>
31200
31201 * math/w_ilogbf.c: Add #include <limits.h>.
31202
67530489
ST
312032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31204
a4186cff 31205 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31206 path instead of returning without unlocking.
31207
67530489
ST
31208 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31209 immediate-write ioctls.
31210 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31211
5aa3a74a
TS
312122012-05-10 Thomas Schwinge <thomas@schwinge.name>
31213
18bad2ae
TS
31214 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31215 __builtin_frame_address instead of making assumptions about the
31216 location of the return address relative to DATA. Force early load of
31217 the return address.
31218 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31219 __builtin_frame_address.
31220
5aa3a74a
TS
31221 dup3 for GNU Hurd.
31222 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31223 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31224 implement dup3 and do some further code clean-ups.
31225 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31226 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31227
ecd0de9a
ST
312282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31229
cd9fa985
ST
31230 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31231
a4186cff
PT
31232 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31233 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31234 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31235 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31236 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31237 d->port.lock.
802ca5a5 31238
a4186cff
PT
31239 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31240 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31241 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31242
bcf55240
TS
312432012-05-10 Thomas Schwinge <thomas@schwinge.name>
31244
6960eb42
TS
31245 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31246 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31247 definitions.
31248
eb43375f
TS
31249 accept4 for GNU Hurd.
31250 * include/sys/socket.h (__libc_accept4): New prototype.
31251 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31252 to implement __libc_accept4.
31253 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31254 __libc_accept4.
31255 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31256
bcf55240
TS
31257 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31258 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31259 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31260 signal-defines.sym.
31261
6178c55b
ST
312622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31263
a4186cff 31264 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31265
6f080c2f
TS
312662012-05-10 Thomas Schwinge <thomas@schwinge.name>
31267
31268 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31269 assertion on O_CLOEXEC flag.
31270 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31271 * hurd/intern-fd.c: Likewise.
31272 * hurd/port2fd.c: Likewise.
31273
bcfe3a54
ST
312742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31275
31276 [BZ #3906]
31277 * bits/in.h (IPV6_PKTINFO): Define new macro.
31278 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31279
89c9aa49
AZ
312802012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31281
31282 [BZ #13954]
31283 [BZ #13955]
31284 [BZ #13956]
31285 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31286 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31287 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31288 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31289 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31290 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31291 * math/libm-test.inc (logb_test) : Additional logb tests.
31292
021db4be
AJ
312932012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31294 Andreas Jaeger <aj@suse.de>
31295
31296 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31297 * configure: Regenerated.
31298 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31299 * config.make.in (link-obsolete-rpc): New substituted variable.
31300 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31301 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31302 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31303 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31304 so that libc.a contains the symbols.
31305 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31306 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31307 * sunrpc/auth_none.c: Likewise.
31308 * sunrpc/auth_unix.c: Likewise.
31309 * sunrpc/authdes_prot.c: Likewise.
31310 * sunrpc/authuxprot.c: Likewise.
31311 * sunrpc/clnt_gen.c: Likewise.
31312 * sunrpc/clnt_perr.c: Likewise.
31313 * sunrpc/clnt_raw.c: Likewise.
31314 * sunrpc/clnt_simp.c: Likewise.
31315 * sunrpc/clnt_tcp.c: Likewise.
31316 * sunrpc/clnt_udp.c: Likewise.
31317 * sunrpc/clnt_unix.c: Likewise.
31318 * sunrpc/des_crypt.c: Likewise.
31319 * sunrpc/des_soft.c: Likewise.
31320 * sunrpc/get_myaddr.c: Likewise.
31321 * sunrpc/key_call.c: Likewise.
31322 * sunrpc/key_prot.c: Likewise.
31323 * sunrpc/netname.c: Likewise.
31324 * sunrpc/pm_getmaps.c: Likewise.
31325 * sunrpc/pm_getport.c: Likewise.
31326 * sunrpc/pmap_clnt.c: Likewise.
31327 * sunrpc/pmap_prot.c: Likewise.
31328 * sunrpc/pmap_prot2.c: Likewise.
31329 * sunrpc/pmap_rmt.c: Likewise.
31330 * sunrpc/publickey.c: Likewise.
31331 * sunrpc/rpc_cmsg.c: Likewise.
31332 * sunrpc/rpc_common.c: Likewise.
31333 * sunrpc/rpc_dtable.c: Likewise.
31334 * sunrpc/rpc_prot.c: Likewise.
31335 * sunrpc/rpc_thread.c: Likewise.
31336 * sunrpc/rtime.c: Likewise.
31337 * sunrpc/svc.c: Likewise.
31338 * sunrpc/svc_auth.c: Likewise.
31339 * sunrpc/svc_raw.c: Likewise.
31340 * sunrpc/svc_run.c: Likewise.
31341 * sunrpc/svc_tcp.c: Likewise.
31342 * sunrpc/svc_udp.c: Likewise.
31343 * sunrpc/svc_unix.c: Likewise.
31344 * sunrpc/svcauth_des.c: Likewise.
31345 * sunrpc/xcrypt.c: Likewise.
31346 * sunrpc/xdr.c: Likewise.
31347 * sunrpc/xdr_array.c: Likewise.
31348 * sunrpc/xdr_float.c: Likewise.
31349 * sunrpc/xdr_intXX_t.c: Likewise.
31350 * sunrpc/xdr_mem.c: Likewise.
31351 * sunrpc/xdr_rec.c: Likewise.
31352 * sunrpc/xdr_ref.c: Likewise.
31353 * sunrpc/xdr_sizeof.c: Likewise.
31354 * sunrpc/xdr_stdio.c: Likewise.
31355
b5c086a2
RM
313562012-05-10 Roland McGrath <roland@hack.frob.com>
31357
31358 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31359 change. Update copyright years.
31360
6d74dd09
JM
313612012-05-10 Joseph Myers <joseph@codesourcery.com>
31362
31363 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31364
28e72501
MK
313652012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31366 Joseph Myers <joseph@codesourcery.com>
31367 Paul Pluzhnikov <ppluzhnikov@google.com>
31368
31369 [BZ #14012]
31370 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31371 requiring rpcgen.
31372 [cross-compiling] (extra-libs): Likewise.
31373 [cross-compiling] (extra-libs-others): Likewise.
31374 [cross-compiling] (librpcsvc-routines): Likewise.
31375 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31376 [cross-compiling] (omit-deps): Likewise.
31377 (sunrpc-CPPFLAGS): New variable.
31378 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31379 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31380 (cross-rpcgen-objs): New variable.
31381 (extra-objs): Append $(cross-rpcgen-objs).
31382 ($(cross-rpcgen-objs)): New rule.
31383 ($(objpfx)cross-rpcgen): Likewise.
31384 (rpcgen-cmd): Define to use $(built-program-file). Expand
31385 comment.
31386 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31387 ($(objpfx)x%.stmp): Likewise.
31388 * sunrpc/proto.h [IS_IN_build] (_): Define.
31389 [IS_IN_build] (_libc_intl_domainname): Likewise.
31390
c8c59454
L
313912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31392
31393 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31394 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31395 and R_X86_64_TPOFF64.
31396
6f27cd16
JM
313972012-05-10 Joseph Myers <joseph@codesourcery.com>
31398
31399 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31400 sysdeps/unix/sysv/syscalls.list.
31401 (stime): Likewise.
31402 (utime): Likewise.
31403 * sysdeps/unix/sysv/syscalls.list: Remove file.
31404
02467e1c
PE
314052012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31406
31407 [BZ #3440]
31408 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31409 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31410 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31411 (__LC_IDENTIFICATION): Make these macros useful in #if
31412 expressions, as required by C99.
31413
da392631
AS
314142012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31415
31416 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31417 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31418 after this.
31419
8115f29b
L
314202012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31421
31422 * stdlib/longlong.h: Updated from GCC.
31423
bdd74070
AJ
314242012-05-09 Andreas Jaeger <aj@suse.de>
31425
edfe0dbe
AJ
31426 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31427 default is first entry.
31428 (run_mode): Set type.
31429 (main): Remove informal message about syslog.
31430 (options): Fix typo.
31431
bcfe3a54
ST
31432 [BZ #14053]
31433 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31434 to asm.
bcfe3a54
ST
31435 (lrint): Likewise.
31436 (llrintf): Likewise.
31437 (llrint): Likewise.
31438 (rint): Likewise.
31439 (rintf): Likewise.
31440 (nearbyint): Likewise.
31441 (nearbyintf): Likewise.
bdd74070 31442
91d8d69e
AJ
314432012-05-09 Andreas Jaeger <aj@suse.de>
31444 Pedro Alves <palves@redhat.com>
31445
31446 * nscd/nscd.c (run_mode): Use enum.
31447 (main): Cleanup coding style issue.
31448
bb90b80b
AJ
314492012-05-09 Alexandre Oliva <aoliva@redhat.com>
31450 Andreas Jaeger <aj@suse.de>
31451
bcfe3a54
ST
31452 * nscd/nscd.c (go_background): Replaced with...
31453 (run_mode): ... this.
bb90b80b 31454 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31455 (options): Add -F --foreground.
31456 (main): Implement it.
31457 (parse_opt): Parse it.
bb90b80b 31458
1a4b75a1
AJ
314592012-05-09 Andreas Jaeger <aj@suse.de>
31460
31461 [BZ #14083]
31462 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31463 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31464 -Wconversion warning.
31465 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31466 Likewise.
31467
b1cc2472
JM
314682012-05-09 Joseph Myers <joseph@codesourcery.com>
31469
31470 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31471 == 0.
31472 (LC_ALL): Use macro-int-constant.
31473 (LC_COLLATE): Likewise.
31474 (LC_CTYPE): Likewise.
31475 (LC_MESSAGES): Likewise.
31476 (LC_MONETARY): Likewise.
31477 (LC_NUMERIC): Likewise.
31478 (LC_TIME): Likewise.
31479 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31480 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31482 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31483 Specify type.
31484 [C99-based standards] (float_t): Expect type.
31485 [C99-based standards] (double_t): Expect type.
31486 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31487 type.
31488 [C99-based standards] (HUGE_VALL): Likewise.
31489 [C99-based standards] (INFINITY): Likewise.
31490 [C99-based standards] (NAN): Likewise.
31491 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31492 [C99-based standards] (FP_NAN): Likewise.
31493 [C99-based standards] (FP_NORMAL): Likewise.
31494 [C99-based standards] (FP_SUBNORMAL): Likewise.
31495 [C99-based standards] (FP_ZERO): Likewise.
31496 [C99-based standards] (FP_FAST_FMA): Use
31497 optional-macro-int-constant. Specify type. Require == 1.
31498 [C99-based standards] (FP_FAST_FMAF): Likewise.
31499 [C99-based standards] (FP_FAST_FMAL): Likewise.
31500 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31501 [C99-based standards] (FP_ILOGBNAN): Likewise.
31502 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31503 Specify type.
31504 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31505 [C99-based standards] (math_errhandling): Specify type.
31506 [ISO99 || ISO11] (signgam): Do not allow.
31507 [non-C99-based standards] (copysignf): Do not allow.
31508 [non-C99-based standards] (exp2f): Likewise.
31509 [non-C99-based standards] (log2f): Likewise.
31510 [non-C99-based standards] (modff): Allow.
31511 [non-C99-based standards] (erff): Do not allow.
31512 [non-C99-based standards] (erfcf): Likewise.
31513 [non-C99-based standards] (gammaf): Likewise.
31514 [non-C99-based standards] (hypotf): Likewise.
31515 [non-C99-based standards] (j0f): Likewise.
31516 [non-C99-based standards] (j1f): Likewise.
31517 [non-C99-based standards] (jnf): Likewise.
31518 [non-C99-based standards] (lgammaf): Likewise.
31519 [non-C99-based standards] (tgammaf): Likewise.
31520 [non-C99-based standards] (y0f): Likewise.
31521 [non-C99-based standards] (y1f): Likewise.
31522 [non-C99-based standards] (ynf): Likewise.
31523 [non-C99-based standards] (isnanf): Likewise.
31524 [non-C99-based standards] (acoshf): Likewise.
31525 [non-C99-based standards] (asinhf): Likewise.
31526 [non-C99-based standards] (atanhf): Likewise.
31527 [non-C99-based standards] (cbrtf): Likewise.
31528 [non-C99-based standards] (expm1f): Likewise.
31529 [non-C99-based standards] (ilogbf): Likewise.
31530 [non-C99-based standards] (log1pf): Likewise.
31531 [non-C99-based standards] (logbf): Likewise.
31532 [non-C99-based standards] (nextafterf): Likewise.
31533 [non-C99-based standards] (remainderf): Likewise.
31534 [non-C99-based standards] (rintf): Likewise.
31535 [non-C99-based standards] (scalbf): Likewise.
31536 [non-C99-based standards] (copysignl): Likewise.
31537 [non-C99-based standards] (exp2l): Likewise.
31538 [non-C99-based standards] (log2l): Likewise.
31539 [non-C99-based standards] (modfl): Allow.
31540 [non-C99-based standards] (erfl): Do not allow.
31541 [non-C99-based standards] (erfcl): Likewise.
31542 [non-C99-based standards] (gammal): Likewise.
31543 [non-C99-based standards] (hypotl): Likewise.
31544 [non-C99-based standards] (j0l): Likewise.
31545 [non-C99-based standards] (j1l): Likewise.
31546 [non-C99-based standards] (jnl): Likewise.
31547 [non-C99-based standards] (lgammal): Likewise.
31548 [non-C99-based standards] (tgammal): Likewise.
31549 [non-C99-based standards] (y0l): Likewise.
31550 [non-C99-based standards] (y1l): Likewise.
31551 [non-C99-based standards] (ynl): Likewise.
31552 [non-C99-based standards] (isnanl): Likewise.
31553 [non-C99-based standards] (acoshl): Likewise.
31554 [non-C99-based standards] (asinhl): Likewise.
31555 [non-C99-based standards] (atanhl): Likewise.
31556 [non-C99-based standards] (cbrtl): Likewise.
31557 [non-C99-based standards] (expm1l): Likewise.
31558 [non-C99-based standards] (ilogbl): Likewise.
31559 [non-C99-based standards] (log1pl): Likewise.
31560 [non-C99-based standards] (logbl): Likewise.
31561 [non-C99-based standards] (nextafterl): Likewise.
31562 [non-C99-based standards] (remainderl): Likewise.
31563 [non-C99-based standards] (rintl): Likewise.
31564 [non-C99-based standards] (scalbl): Likewise.
31565 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31566 [non-C99-based standards] (FP_*): Do not allow.
31567 [C99-based standards] (FP_*): Change to
31568 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31569 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31570 allow.
31571 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31572 (SIG_ERR): Likewise.
31573 [X/Open-based standards] (SIG_HOLD): Likewise.
31574 (SIG_IGN): Likewise.
31575 (SIGABRT): Use macro-int-constant. Specify type. Require
31576 positive value.
31577 (SIGFPE): Likewise.
31578 (SIGILL): Likewise.
31579 (SIGINT): Likewise.
31580 (SIGSEGV): Likewise.
31581 (SIGTER): Likewise.
31582 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31583 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31584 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31585 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31586 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31587 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31588 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31589 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31590 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31591 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31592 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31593 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31594 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31595 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31596 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31597 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31598 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31599 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31600 [X/Open-based standards] (SIGTRAP): Likewise.
31601 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31602 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31603 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31604 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31605 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31606 allow.
31607
b9f1922d
IW
316082012-05-08 Ian Wienand <ianw@vmware.com>
31609
31610 [BZ #14080]
31611 * time/tzset.c (__tzset_parse_tz): Update default rules for
31612 daylight time changes in the Energy Policy Act of 2005.
31613
1db86e88
AJ
316142012-05-09 Andreas Jaeger <aj@suse.de>
31615
31616 [BZ #13983]
31617 * elf/ldconfig.c (parse_conf): Change string to make clear that
31618 ldconfig only issued a warning if ld.so.conf does not exist.
31619
dee4a4e3
DM
316202012-05-08 David S. Miller <davem@davemloft.net>
31621
ee0db190
DM
31622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31623 movxtod instead of popping the value on the stack.
31624
dee4a4e3
DM
31625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31626
6a43ec98
CD
316272012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31628
31629 * config.h.in: Add HAVE_ARM_PCS_VFP.
31630
05c2c961
RMG
316312012-05-08 Roland Mc Grath <roland@hack.frob.com>
31632
bcfe3a54
ST
31633 [BZ #13979]
31634 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31635 checking but the checks are disabled for any reason.
05c2c961 31636
4b30f61a
L
316372012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31638
31639 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31640 and ELF64_R_TYPE with ELFW(R_TYPE).
31641
eee2bc67
JM
316422012-05-08 Joseph Myers <joseph@codesourcery.com>
31643
7ea5391a
JM
31644 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31645 (ulimit): Likewise.
31646
eee2bc67
JM
31647 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31648 (settimeofday): Likewise.
31649
abb66a67
MF
316502012-05-08 Mike Frysinger <vapier@gentoo.org>
31651
31652 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31653 a struct th_u2 inside the union, and move tu_block/tu_code into
31654 a new th_u3 union of tu_block/tu_code inside of that. Move
31655 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31656 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31657 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31658 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31659 (th_stuff): Change to th_u1.tu_stuff.
31660 (th_data): Define.
31661 (th_msg): Change to th_u1.th_u2.tu_data.
31662
7f18b530
DM
316632012-05-07 David S. Miller <davem@davemloft.net>
31664
05760585
DM
31665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31666
7f18b530
DM
31667 [BZ #14074]
31668 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31669 (SETUP_PIC_REG): Use it.
31670 (SETUP_PIC_REG_LEAF): Use it.
31671
495fd99f
JM
316722012-05-07 Joseph Myers <joseph@codesourcery.com>
31673
31674 [BZ #13885]
31675 [BZ #13923]
31676 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31677 USE_AS_EXPM1L.
31678 (EXPL_FINITE): Likewise.
31679 (FLDLOG): Likewise.
31680 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31681 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31682 e_expl.S.
31683 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31684 USE_AS_EXPM1L.
31685 (EXPL_FINITE): Likewise.
31686 (FLDLOG): Likewise.
31687 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31688 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31689 e_expl.S.
31690 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31691 test of -max_value argument for long double.
31692 * sysdeps/i386/fpu/libm-test-ulps: Update.
31693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31694
6693d694
DM
316952012-05-06 David S. Miller <davem@davemloft.net>
31696
31697 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31698 quad soft-float symbols whose references which are compiler
31699 generated.
31700 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31701
6c23e11c
JM
317022012-05-06 Joseph Myers <joseph@codesourcery.com>
31703
d8b82cad
JM
31704 [BZ #13884]
31705 [BZ #13914]
31706 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31707 USE_AS_EXP10L.
31708 (EXPL_FINITE): Likewise.
31709 (FLDLOG): Likewise.
31710 (c0): Likewise.
31711 (c1): Likewise.
31712 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31713 Adjust comments for base varying.
31714 (__expl_finite): Change alias to EXPL_FINITE.
31715 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31716 e_expl.S.
31717 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31718 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31719 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31720 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31721 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31722 USE_AS_EXP10L.
31723 (EXPL_FINITE): Likewise.
31724 (FLDLOG): Likewise.
31725 (c0): Likewise.
31726 (c1): Likewise.
31727 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31728 Adjust comments for base varying.
31729 (__expl_finite): Change alias to EXPL_FINITE.
31730 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31731 tests for bugs.
31732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31733
6c23e11c
JM
31734 [BZ #14064]
31735 * math/libm-test.inc (check_float_internal): Correct ulp
31736 calculation for subnormal expected results.
31737
29ba805c
AJ
317382012-05-06 Andreas Jaeger <aj@suse.de>
31739
31740 * Makeconfig (+math-flags): New, set to -frounding-math.
31741 (+cflags): Add +math-flags so that all of glibc gets compiled with
31742 it.
31743
31744 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31745
7b17aeda
JM
317462012-05-05 Joseph Myers <joseph@codesourcery.com>
31747
5779f134
JM
31748 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31749 Disable one test.
31750
41498f4d
JM
31751 [BZ #13787]
31752 [BZ #13922]
31753 [BZ #14036]
31754 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31755 (__ieee754_expl): Allow for and saturate large arguments.
31756 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31757 (u_threshold): Likewise.
31758 (__exp): Call __ieee754_exp before checking for overflow and
31759 underflow.
31760 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31761 (u_threshold): Likewise.
31762 (__expf): Call __ieee754_expf before checking for overflow and
31763 underflow.
31764 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31765 (u_threshold): Likewise.
31766 (__expl): Call __ieee754_expl before checking for overflow and
31767 underflow.
31768 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31769 (__ieee754_expl): Allow for and saturate large arguments.
31770 * math/libm-test.inc (exp_test): Add another test. Do not allow
31771 missing overflow exception on overflow.
31772 (expm1_test): Do not allow missing overflow exception on overflow.
31773
6698b8bf
JM
31774 * sysdeps/i386/fpu/e_expl.c: Move to ...
31775 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31776 rather than using inline asm.
31777 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31778 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31779 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31780
7b17aeda
JM
31781 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31782 (nice): Likewise.
31783 (poll): Likewise.
31784 (signal): Likewise.
31785 (time): Likewise.
31786 (times): Likewise.
31787
f7c85819
JM
317882012-05-04 Joseph Myers <joseph@codesourcery.com>
31789
31790 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31791 sysdeps/unix/common/syscalls.list.
31792 (fchmod): Likewise.
31793 (fchown): Likewise.
31794 (ftruncate): Likewise.
31795 (getrusage): Likewise.
31796 (gettimeofday): Likewise.
31797 (setpgid): Likewise.
31798 (setregid): Likewise.
31799 (setreuid): Likewise.
31800 (sigaction): Likewise.
31801 (truncate): Likewise.
31802 (vhangup): Likewise.
31803 * sysdeps/unix/common/syscalls.list: Remove file.
31804 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31805 * sysdeps/unix/sysv/linux/Implies: Likewise.
31806
336270d0
L
318072012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31808
31809 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31811 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31812 Moved to ...
31813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31814 Here.
31815 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31816 to ...
31817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31818 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31819 to ...
31820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31821 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31822 to ...
31823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31824 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31825 to ...
31826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31827 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31828 to ...
31829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31830 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31831 to ...
31832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31833 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31834 to ...
31835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31836 Here.
31837 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31838 to ...
31839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31840 Here.
31841 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31842 to ...
31843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31844 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31845 Moved to ...
31846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31847 Here.
31848 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31849 to ...
31850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31851
d128e450
JM
318522012-05-04 Joseph Myers <joseph@codesourcery.com>
31853
fa8ee516
JM
31854 * sysdeps/unix/common/bits/dirent.h: Remove file.
31855 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31856
d128e450
JM
31857 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31858 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31859 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31860 * sysdeps/unix/bsd/isatty.c: Likewise.
31861 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31862 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31863 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31864
ff8faaf0 318652012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31866
62881be4 31867 [BZ #13563]
31dc8730
AZ
31868 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31869 long double comparison inaccuracies.
31870 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31872
6fef930c
AS
318732012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31874
31875 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31876 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31877
8f203e6c
JM
318782012-05-04 Joseph Myers <joseph@codesourcery.com>
31879
31880 [BZ #14049]
31881 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31882 nonzero digits before rounding a hex value.
31883 * stdlib/tst-strtod.c (tests): Add another test.
31884
5197d9c2
AK
318852012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31886
31887 * sysdeps/s390/fpu/libm-test-ulps: Update.
31888
f0c1dedf
AJ
318892012-05-03 Andreas Jaeger <aj@suse.de>
31890
31891 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31892 does not get optimized out.
31893 (malloc_opt_barrier): New.
31894
a65ef2ae 318952012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31896 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31897
2b942cb7 31898 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31899 intermediate file deletion.
2b942cb7 31900 (generated): Add .symlist files.
a65ef2ae 31901
54b71e02
JM
319022012-05-03 Joseph Myers <joseph@codesourcery.com>
31903
31904 [BZ #13775]
31905 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31906 Redirect under this condition.
31907 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31908 [__USE_GNU] (__dprintf_chk): Not under this condition.
31909 [__USE_GNU] (__vdprintf_chk): Likewise.
31910 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31911 under this condition.
31912 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31913 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31914 [__USE_XOPEN2K8] (vdprintf): Likewise.
31915 [__USE_GNU] (__dprintf_chk): Not under this condition.
31916 [__USE_GNU] (__vdprintf_chk): Likewise.
31917 [__USE_GNU] (dprintf): Likewise.
31918 [__USE_GNU] (vdprintf): Likewise.
31919
d3dfcc41
RM
319202012-05-03 Roland McGrath <roland@hack.frob.com>
31921
31922 * elf/Makefile (common-generated): Set this instead of generated for
31923 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31924 $(all-built-dso)-derived lists.
31925
7ac30cc5
AJ
319262012-05-03 Andreas Jaeger <aj@suse.de>
31927
0c51e550
AJ
31928 * sysdeps/i386/fpu/libm-test-ulps: Update.
31929
7ac30cc5
AJ
31930 * FAQ: Removed.
31931 * FAQ.in: Likewise.
31932 * scripts/gen-FAQ.pl: Likewise.
31933 * manual/install.texi (Installation): Point to online location of
31934 FAQ.
31935 * Makefile (files-for-dist): Remove FAQ.
31936 (FAQ): Remove.
31937
d4c2917f
AM
319382012-05-02 Allan McRae <allan@archlinux.org>
31939
31940 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31941 (LDFLAGS-reldepmod5.so): Likewise.
31942 (LDFLAGS-reldep6mod1.so): Likewise.
31943 (LDFLAGS-reldep6mod4.so): Likewise.
31944 (LDFLAGS-reldep8mod3.so): Likewise.
31945 (LDFLAGS-unload4mod1.so): Likewise.
31946 (LDFLAGS-unload4mod2.so): Likewise.
31947 (LDFLAGS-tst-initorder): Likewise.
31948 (LDFLAGS-tst-initordera2.so): Likewise.
31949 (LDFLAGS-tst-initordera3.so): Likewise.
31950 (LDFLAGS-tst-initordera4.so): Likewise.
31951 (LDFLAGS-tst-initorderb2.so): Likewise.
31952 (LDFLAGS-noload): Likewise.
31953 (LDFLAGS-next): Likewise.
31954 (LDFLAGS-order2mod1.so): Likewise.
31955 (LDFLAGS-order2mod2.so): Likewise.
31956 (LDFLAGS-tst-initorder2): Likewise.
31957 (LDFLAGS-tst-initorder2a.so): Likewise.
31958 (LDFLAGS-tst-initorder2b.so): Likewise.
31959 (LDFLAGS-tst-initorder2c.so): Likewise.
31960 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31961
d77f993f
DM
319622012-05-02 David S. Miller <davem@davemloft.net>
31963
31964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31965
171a70b4
PP
319662012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31967
31968 [BZ #14055]
31969 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31970
0be196ad
AJ
319712012-05-02 Andreas Jaeger <aj@suse.de>
31972
31973 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31974 since we manipulate rounding mode.
31975 (CPPFLAGS-test-idouble.c): Likewise.
31976 (CPPFLAGS-test-ifloat.c): Likewise.
31977 (CFLAGS-test-ldouble.c): Likewise.
31978 (CFLAGS-test-double.c): Likewise.
31979 (CFLAGS-test-float.c): Likewise.
31980 (CFLAGS-test-misc.c): Likewise.
31981 (CFLAGS-test-test-fenv.c): Likewise.
31982
4f9d04aa
AZ
319832012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31984
2b942cb7
RM
31985 [BZ #2550]
31986 [BZ #2570]
31987 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31988 comparisons to determine direction to adjust input.
4f9d04aa 31989
82a79e7d
RM
319902012-05-01 Roland McGrath <roland@hack.frob.com>
31991
f5a01ca9
RM
31992 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31993 output to the target.
31994
90fe4186
RM
31995 * scripts/localplt.awk: New file.
31996 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31997 (check-localplt-CFLAGS): Variable removed.
31998 ($(all-built-dso:=.jmprel)): New static pattern rule.
31999 (generated): Add those targets.
32000 (localplt-built-dso): New variable.
32001 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32002
32003 * elf/check-localplt.c: File removed.
32004
82397ed6
RM
32005 * scripts/check-execstack.awk: New file.
32006 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32007 (check-execstack-CFLAGS): Variable removed.
32008 ($(objpfx)check-execstack.h): Target removed.
32009 ($(objpfx)execstack-default): New target.
32010 (generated): Add that instead of check-execstack.h.
32011 ($(all-built-dso:=.phdr)): New static pattern rule.
32012 (generated): Add those targets.
32013 * elf/check-execstack.c: File removed.
32014
82a79e7d
RM
32015 * scripts/check-textrel.awk: New file.
32016 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32017 (check-textrel-CFLAGS): Variable removed.
32018 (all-built-dso): Use := to define.o
32019 ($(all-built-dso:=.dyn)): New static pattern rule.
32020 (generated): Add those targets.
32021 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32022 * config.make.in (READELF): New substituted variable.
32023 * elf/check-textrel.c: File removed.
32024
62fde54f 320252012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32026
615605c9
JM
32027 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32028 allow.
32029 * conform/data/ctype.h-data [C99-based standards] (isblank):
32030 Expect function.
32031 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32032 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32034 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32035 Specify type. Require positive value.
32036 (EILSEQ): Likewise.
32037 (ERANGE): Likewise.
32038 [ISO || POSIX] (EILSEQ): Do not expect.
32039 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32040 Specify type. Require positive value.
32041 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32042 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32043 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32044 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32045 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32046 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32047 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32048 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32049 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32050 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32051 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32052 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32053 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32054 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32055 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32056 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32057 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32058 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32059 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32060 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32061 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32062 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32063 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32064 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32065 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32066 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32067 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32068 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32069 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32070 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32071 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32072 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32073 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32074 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32075 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32076 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32077 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32078 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32079 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32080 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32081 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32082 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32083 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32084 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32085 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32086 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32087 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32088 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32089 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32090 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32091 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32092 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32093 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32094 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32095 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32096 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32097 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32098 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32099 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32100 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32101 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32102 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32103 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32104 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32105 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32106 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32107 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32108 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32109 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32110 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32111 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32112 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32113 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32114 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32115 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32116 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32117 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32118 Require >= 2.
32119 (FLT_ROUNDS): Expect as macro, not constant.
32120 (FLT_MANT_DIG): Use macro-int-constant.
32121 (DBL_MANT_DIG): Likewise.
32122 (LDBL_MANT_DIG): Likewise.
32123 (FLT_DIG): Likewise.
32124 (DBL_DIG): Likewise.
32125 (LDBL_DIG): Likewise.
32126 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32127 (DBL_MIN_EXP): Likewise.
32128 (LDBL_MIN_EXP): Likewise.
32129 (FLT_MAX_EXP): Use macro-int-constant.
32130 (DBL_MAX_EXP): Likewise.
32131 (LDBL_MAX_EXP): Likewise.
32132 (FLT_MAX_10_EXP): Likewise.
32133 (DBL_MAX_10_EXP): Likewise.
32134 (LDBL_MAX_10_EXP): Likewise.
32135 (FLT_MAX): Use macro-constant.
32136 (DBL_MAX): Likewise.
32137 (LDBL_MAX): Likewise.
32138 (FLT_EPSILON): Use macro-constant. Give upper bound.
32139 (DBL_EPSILON): Likewise.
32140 (LDBL_EPSILON): Likewise.
32141 (FLT_MIN): Likewise.
32142 (DBL_MIN): Likewise.
32143 (LDBL_MIN): Likewise.
32144 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32145 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32146 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32147 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32148 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32149 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32150 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32151 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32152 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32153 [ISO11] (FLT_TRUE_MIN): Likewise.
32154 [ISO11] (LDBL_TRUE_MIN): Likewise.
32155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32156 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32157 (SCHAR_MIN): Use macro-int-constant. Specify type.
32158 (SCHAR_MAX): Likewise.
32159 (UCHAR_MAX): Likewise.
32160 (CHAR_MIN): Likewise.
32161 (CHAR_MAX): Likewise.
32162 (MB_LEN_MAX): Use macro-int-constant.
32163 (SHRT_MIN): Use macro-int-constant. Specify type.
32164 (SHRT_MAX): Likewise.
32165 (USHRT_MAX): Likewise.
32166 (INT_MAX): Likewise.
32167 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32168 bound negative.
32169 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32170 bound with "U".
32171 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32172 bound with "L".
32173 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32174 bound negative. Suffix upper bound with "L".
32175 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32176 bound with "UL".
32177 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32178 Specify type.
32179 [C99-based standards] (LLONG_MAX): Likewise.
32180 [C99-based standards] (ULLONG_MAX): Likewise.
32181 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32182 == 0.
32183 [ISO11] (max_align_t): Require type.
32184 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32185
c9140a62
JM
32186 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32187 from $CFLAGS, without defining away __attribute__ calls.
32188 (checknamespace): Use $CFLAGS_namespace.
32189
9af0bf29
JM
32190 * conform/conformtest.pl (@keywords): Only include C99 keywords
32191 for standards based on C99 or C11.
32192
343222a2
JM
32193 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32194 Disable tests.
32195 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32196 UNIX98]: Likewise.
32197
661f8cf0
JM
32198 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32199 usability of symbols in #if.
32200
ee74b9cb
JM
32201 * conform/conformtest.pl: If macro or constant types start
32202 "promoted:", expect the symbol to be of the following type
32203 promoted by the integer promotions.
62fde54f 32204
aafc49b3
JM
32205 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32206 in one place. Also handle "macro-constant".
32207
fefdf574
JM
32208 * conform/conformtest.pl: Only accept expected macro values with
32209 "==". Parse all "macro" lines in one place.
32210 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32211
f2d922fe
JM
32212 * conform/conformtest.pl: Handle braced types on "constant" lines
32213 instead of handling "typed-constant".
32214 * conform/data/signal.h-data: Use "constant" instead of
32215 "typed-constant".
32216
d22956c9
JM
32217 * conform/conformtest.pl: Handle "optional-" at start of lines in
32218 one place rather than duplicating several cases. Handle each
32219 format of "macro" line with initial "optional-".
32220
028e2e38
JM
32221 * conform/conformtest.pl: Only accept expected constant or
32222 optional-constant values with "==". Parse all "constant" lines in
32223 one place. Parse all "optional-constant" lines in one place.
32224 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32225 * conform/data/fmtmsg.h-data: Likewise.
32226 * conform/data/netinet/in.h-data: Likewise.
32227 * conform/data/tar.h-data: Likewise.
32228 * conform/data/limits.h-data: Use "==" form on "constant" and
32229 "optional-constant" lines.
32230
1b8f2850
JM
32231 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32232 Use -std=c99 for XOPEN2K.
32233 (@knownproblems): Remove.
32234 (newtoken): Don't check %isknown.
32235
a05a144b
JM
32236 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32237 Do not expect macro.
32238 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32239 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32240 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32241 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32242 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32243 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32244 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32245 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32246 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32247 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32248 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32249 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32250 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32251 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32252 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32253 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32254 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32255 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32256 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32257 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32258 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32259 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32260 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32261 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32262 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32263 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32264 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32265 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32266 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32267 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32268 [XPG3] (acosh): Likewise.
32269 [XPG3] (asinh): Likewise.
32270 [XPG3] (atanh): Likewise.
32271 [XPG3] (cbrt): Likewise.
32272 [XPG3] (expm1): Likewise.
32273 [XPG3] (ilogb): Likewise.
32274 [XPG3] (log1p): Likewise.
32275 [XPG3] (logb): Likewise.
32276 [XPG3] (nextafter): Likewise.
32277 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32278 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32279 [XPG3] (remainder): Likewise.
32280 [XPG3] (rint): Likewise.
32281 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32282 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32283 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32284 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32285 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32286 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32287 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32288 [UNIX98 || XOPEN2K] (scalb): Expect.
32289 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32290 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32291 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32292 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32293 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32294 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32295 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32296 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32297 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32298 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32299 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32300 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32301 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32302 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32303 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32304 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32305 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32306 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32307 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32308 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32309 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32310 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32311 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32312 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32313 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32314 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32315 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32316 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32317 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32318 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32319 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32320 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32321 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32322 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32323 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32324 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32325 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32326 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32327 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32328 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32329 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32330 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32331 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32332 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32333 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32334 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32335 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32336 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32337 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32338 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32339 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32340 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32341 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32342 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32343 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32344 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32345 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32346 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32347 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32348 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32349 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32350 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32351 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32352 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32353 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32354 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32355 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32356 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32357 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32358 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32359 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32360 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32361 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32362 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32363 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32364 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32365 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32366 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32367 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32368 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32369 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32370 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32371 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32372 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32373 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32374 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32375 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32376 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32377 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32378 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32379 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32380 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32381 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32382 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32383 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32384 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32385 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32386 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32387 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32388 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32389 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32390 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32391 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32392 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32393 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32394 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32395 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32396 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32397 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32398 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32399 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32400 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32401 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32402 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32403 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32404 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32405 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32406 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32407 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32408 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32409 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32410 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32411 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32412 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32413 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32414 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32415 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32416 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32417 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32418 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32419 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32420 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32421 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32422 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32423 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32424 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32425 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32426
73c5ebe3
JM
32427 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32428 _XOPEN_SOURCE_EXTENDED for XPG4.
32429
39c33b6c
JM
32430 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32431
62fde54f
JM
32432 * Makeconfig (localtime): Remove variable.
32433 (inst_localtime-file): Likewise.
32434
0741d64c
AS
324352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32436
32437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32438 Update.
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32440 Update.
32441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32442 Update.
32443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32444 Update.
32445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32446 Update.
32447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32448 Update.
32449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32450 Update.
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32452 Update.
32453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32454 Update.
32455
7cb029ee
JM
324562012-05-01 Joseph Myers <joseph@codesourcery.com>
32457
32458 [BZ #2550]
32459 [BZ #2570]
32460 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32461 comparisons to determine direction to adjust input.
32462 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32463 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32464 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32465 Likewise.
32466 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32467 Likewise.
32468 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32469 Likewise.
32470 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32471 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32472 Likewise.
32473 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32474 Likewise.
32475 * math/libm-test.inc (nexttoward_test): Add more tests.
32476
412bd966
AS
324772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32478
32479 [BZ #14040]
32480 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32481 in version GLIBC_2.1, not GLIBC_2.0.
32482 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32483 Likewise.
32484
9568c0c2
JM
324852012-04-30 Joseph Myers <joseph@codesourcery.com>
32486
adfbc8ac
JM
32487 [BZ #13942]
32488 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32489 (1 - x) * (1 + x).
32490 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32491 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32492 * math/libm-test.inc (acos_test): Add more tests.
32493 (asin_test): Likewise.
32494 * sysdeps/i386/fpu/libm-test-ulps: Update.
32495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32496
5ba3cc69
JM
32497 [BZ #14034]
32498 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32499 of square root.
32500 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32501 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32502 * math/libm-test.inc (acos_test_tonearest): New function.
32503 (acos_test_towardzero): Likewise.
32504 (acos_test_downward): Likewise.
32505 (acos_test_upward): Likewise.
32506 (asin_test_tonearest): Likewise.
32507 (asin_test_towardzero): Likewise.
32508 (asin_test_downward): Likewise.
32509 (asin_test_upward): Likewise.
32510 (main): Call the new functions.
32511 * sysdeps/i386/fpu/libm-test-ulps: Update.
32512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32513
9568c0c2
JM
32514 [BZ #13884]
32515 [BZ #13924]
32516 * math/e_exp10.c: Include <float.h>.
32517 (__ieee754_exp10): Handle underflow here rather than multiplying
32518 large negative argument by M_LN10.
32519 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32520 of __ieee754_expf.
32521 * math/e_exp10l.c: Include <float.h>.
32522 (__ieee754_exp10l): Handle underflow here rather than multiplying
32523 large negative argument by M_LN10l.
32524 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32525 spurious overflow exception on underflow.
32526
5ac3ea17
MP
325272012-04-29 Marek Polacek <polacek@redhat.com>
32528
32529 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32530 (__fortify_function): New macro.
32531 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32532 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32533 __extern_always_inline.
32534 * libio/bits/stdio2.h: Likewise.
32535 * libio/bits/stdio.h: Likewise.
32536 * string/string.h: Likewise.
32537 * string/bits/string3.h: Likewise.
32538 * include/stdio.h: Likewise.
32539 * stdlib/bits/stdlib.h: Likewise.
32540 * stdlib/stdlib.h: Likewise.
32541 * rt/bits/mqueue2.h: Likewise.
32542 * rt/mqueue.h: Likewise.
32543 * posix/bits/unistd.h: Likewise.
32544 * posix/unistd.h: Likewise.
32545 * io/bits/poll2.h: Likewise.
32546 * io/bits/fcntl2.h: Likewise.
32547 * io/fcntl.h: Likewise.
32548 * io/sys/poll.h: Likewise.
32549 * misc/bits/syslog.h: Likewise.
32550 * misc/bits/syslog-ldbl.h: Likewise.
32551 * misc/sys/syslog.h: Likewise.
32552 * socket/bits/socket2.h: Likewise.
32553 * socket/sys/socket.h: Likewise.
32554 * debug/tst-chk1.c: Likewise.
32555 * wcsmbs/bits/wchar2.h: Likewise.
32556 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32557 * wcsmbs/wchar.h: Likewise.
32558
ecf0ebfb
AJ
325592012-04-29 Andreas Jaeger <aj@suse.de>
32560
32561 * Makerules (tests): Remove enable-check-abi protection.
32562 (check-abi-warn): Remove.
32563 (check-abi-%): Remove check-abi-warn usage.
32564
32565 * configure.in: Remove check-abi configure option.
32566 * configure: Regenerated.
32567 * config.make.in (enable-check-abi): Remove.
32568
6d5c57fa
AS
325692012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32570
24c5d07e 32571 [BZ #14033]
ded5180a
AS
32572 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32573 double functions to double *_finite functions.
32574
7e0d315d
AS
32575 [BZ #13941]
32576 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32577 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32578 LDBL_MIN_EXP.
32579 * stdio-common/Makefile (tests): Add tst-sprintf3.
32580 * stdio-common/tst-sprintf3.c: New file.
32581
6d5c57fa
AS
32582 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32583 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32584
0749ff8b
JM
325852012-04-28 Joseph Myers <joseph@codesourcery.com>
32586
32587 * conform/conformtest.pl: Remove duplicate typed-constant
32588 handling.
32589
8dbd5d7b
DM
325902012-04-28 David S. Miller <davem@davemloft.net>
32591
32592 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32593 (check-abi-%): Remove AWK script prerequisite and explicit
32594 abilist directory.
32595 (check-abi): Rewrite to just diff the symlist with the abilist.
32596 (config-tls, config-abi-config): Delete, no longer used.
32597 (update-abi-%): Remove AWK script and explicit abilist directory.
32598 (update-abi): Rewrite to simply compare and conditionally copy the
32599 symlist and the sysdep abilist file. Remove update-abi-config
32600 checks.
32601 * abilist/ld.abilist: Remove.
32602 * abilist/libBrokenLocale.abilist: Remove.
32603 * abilist/libanl.abilist: Remove.
32604 * abilist/libcrypt.abilist: Remove.
32605 * abilist/libdl.abilist: Remove.
32606 * abilist/librt.abilist: Remove.
32607 * abilist/libthread_db.abilist: Remove.
32608 * abilist/libutil.abilist: Remove.
32609 * scripts/extract-abilist.awk: Remove.
32610 * scripts/merge-abilist.awk: Remove.
32611 * sysdeps/generic/libcidn.abilist: New file.
32612 * sysdeps/generic/libnss_compat.abilist: New file.
32613 * sysdeps/generic/libnss_db.abilist: New file.
32614 * sysdeps/generic/libnss_dns.abilist: New file.
32615 * sysdeps/generic/libnss_files.abilist: New file.
32616 * sysdeps/generic/libnss_hesiod.abilist: New file.
32617 * sysdeps/generic/libnss_nis.abilist: New file.
32618 * sysdeps/generic/libnss_nisplus.abilist: New file.
32619 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32620 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32621 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32622 file.
32623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32624 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32625 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32626 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32627 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32628 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32629 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32630 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32631 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32632 file.
32633 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32634 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32635 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32636 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32637 file.
32638 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32639 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32640 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32641 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32642 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32643 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32644 file.
32645 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32646 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32647 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32648 file.
32649 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32651 New file.
32652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32653 New file.
32654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32655 New file.
32656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32657 New file.
32658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32659 New file.
32660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32661 New file.
32662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32663 New file.
32664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32665 New file.
32666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32667 New file.
32668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32669 New file.
32670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32671 New file.
32672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32673 New file.
32674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32675 New file.
32676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32677 file.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32679 New file.
32680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32681 New file.
32682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32683 file.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32685 New file.
32686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32687 New file.
32688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32689 file.
32690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32691 New file.
32692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32693 New file.
32694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32695 New file.
32696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32697 New file.
32698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32699 New file.
32700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32701 New file.
32702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32704 file.
32705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32706 New file.
32707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32708 file.
32709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32710 file.
32711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32712 file.
32713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32714 file.
32715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32716 file.
32717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32718 New file.
32719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32720 file.
32721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32722 file.
32723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32724 New file.
32725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32726 file.
32727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32729 file.
32730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32731 New file.
32732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32733 file.
32734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32735 file.
32736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32737 file.
32738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32739 file.
32740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32741 file.
32742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32743 New file.
32744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32745 file.
32746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32747 file.
32748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32749 New file.
32750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32751 file.
32752 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32753 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32754 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32755 file.
32756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32757 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32758 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32759 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32760 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32761 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32762 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32763 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32764 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32765 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32768 file.
32769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32770 New file.
32771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32772 file.
32773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32774 file.
32775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32776 file.
32777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32778 file.
32779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32780 file.
32781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32782 New file.
32783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32784 New file.
32785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32786 file.
32787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32788 New file.
32789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32790 file.
32791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32793 file.
32794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32795 New file.
32796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32797 file.
32798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32799 file.
32800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32801 file.
32802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32803 file.
32804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32805 file.
32806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32807 New file.
32808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32809 New file.
32810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32811 file.
32812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32813 New file.
32814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32815 file.
32816
41d73a1b
JM
328172012-04-28 Joseph Myers <joseph@codesourcery.com>
32818
32819 * conform/conformtest.pl: Fix typo in handling typed-constant from
32820 allow-header.
32821
28aeeda4
JM
328222012-04-27 Joseph Myers <joseph@codesourcery.com>
32823
adae8f5e
JM
32824 * README: Cut down references to pre-2.6 Linux kernels and
32825 Linuxthreads. Update lists of configurations in libc and ports
32826 and sort alphabetically. Say "or newer" with Linux kernel version
32827 requirements.
32828
28aeeda4
JM
32829 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32830
a462cb63
RA
328312012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32832
32833 [BZ #887]
32834 * math/libm-test.inc (logb_test_downward): New test to expose
32835 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32836 rounding mode.
32837
6ad3493e
JM
328382012-04-27 Joseph Myers <joseph@codesourcery.com>
32839
32840 [BZ #14027]
32841 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32842 to be done.
32843 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32844 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32845
2ce4f015
JM
328462012-04-26 Joseph Myers <joseph@codesourcery.com>
32847
5aeb141a
JM
32848 * sysdeps/unix/i386/brk.S: Remove file.
32849 * sysdeps/unix/i386/dl-brk.S: Likewise.
32850 * sysdeps/unix/i386/pipe.S: Likewise.
32851 * sysdeps/unix/i386/sigreturn.S: Likewise.
32852 * sysdeps/unix/i386/syscall.S: Likewise.
32853 * sysdeps/unix/i386/vfork.S: Likewise.
32854 * sysdeps/unix/i386/wait.S: Likewise.
32855
7143acae
JM
32856 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32857 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32858
2ce4f015
JM
32859 * configure.in (arm*-none*): Do not allow without
32860 --enable-hacker-mode.
32861 (netbsd*): Remove case setting base_os.
32862 (386bsd*): Likewise.
32863 (freebsd*): Likewise.
32864 (bsdi*): Likewise.
32865 (osf*): Likewise.
32866 (sunos*): Likewise.
32867 (ultrix*): Likewise.
32868 (newsos*): Likewise.
32869 (dynix*): Likewise.
32870 (*bsd*): Likewise.
32871 (sysv*): Likewise.
32872 (isc*): Likewise.
32873 (esix*): Likewise.
32874 (sco*): Likewise.
32875 (minix*): Likewise.
32876 (irix4*): Likewise.
32877 (irix6*): Likewise.
32878 (solaris[2-9]*): Likewise.
32879 (none): Likewise.
32880 * configure: Regenerated.
32881
0ac229c8
AZ
328822012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32883
32884 [BZ #11521]
32885 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32886 overflow or cancellation in calculating denominator.
32887 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32888 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32889 down expression to avoid unexpected rounding in newer GCCs.
32890 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32891
33f244f4
DM
328922012-04-26 David S. Miller <davem@davemloft.net>
32893
32894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32895 long-double compat symbols.
32896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32909
cfa1f3e8
DM
329102012-04-25 David S. Miller <davem@davemloft.net>
32911
32912 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32913 HWCAP_* values only after the memory barriers have been defined.
32914 (atomic_full_barrier): Define.
32915 (atomic_read_barrier): Define.
32916 (atomic_write_barrier): Define.
32917
6e236b92
SP
329182012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32919
32920 * shlib-versions: Add libgcc_s version information.
32921 * sysdeps/generic/libgcc_s.h: Remove.
32922 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32923 libgcc_s.h.
32924 * sysdeps/gnu/unwind-resume.c: Likewise.
32925 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32926
aab39a09
DM
329272012-04-25 David S. Miller <davem@davemloft.net>
32928
32929 * sysdeps/unix/sparc/brk.S: Delete.
32930 * sysdeps/unix/sparc/dl-brk.S: Delete.
32931 * sysdeps/unix/sparc/pipe.S: Delete.
32932 * sysdeps/unix/sparc/sysdep.S: Delete.
32933 * sysdeps/unix/sparc/sysdep.h: Delete.
32934 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32935 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32936 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32937 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32938 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32939 (JUMPTARGET): Remove.
32940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32941 sysdeps/unix/sparc/sysdep.h
32942 (ENTRY, END): Remove.
32943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32944
a3cc4f48
JM
329452012-04-25 Joseph Myers <joseph@codesourcery.com>
32946
2ed8cda2
JM
32947 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32948 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32949 -DIS_IN_build.
32950
35d76d59
JM
32951 * timezone/README: Update upstream location and email address for
32952 tzcode and tzdata.
32953 * timezone/zdump.c: Update from tzcode 2012b.
32954 * timezone/zic.c: Likewise.
32955
a3cc4f48
JM
32956 * configure.in (libc_cv_as_needed): Remove test.
32957 * configure: Regenerated.
32958 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32959 conditional definition.
32960 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32961 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32962 * config.make.in (have-as-needed): Remove variable.
32963
ceab42c3
SP
329642012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32965 Paul Pluzhnikov <ppluzhnikov@google.com>
32966
32967 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32968 strings correctly.
32969
3ce2865f
CLT
329702012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32971
32972 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32973 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32974 * sysdeps/sh/strlen.S: Likewise.
32975
f37e0d68
JM
329762012-04-24 Joseph Myers <joseph@codesourcery.com>
32977
ae186e9a
JM
32978 * sysdeps/unix/fork.S: Remove file.
32979 * sysdeps/unix/i386/fork.S: Likewise.
32980 * sysdeps/unix/sparc/fork.S: Likewise.
32981
b96914af
JM
32982 * sysdeps/unix/system.c: Remove file.
32983 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32984
f37e0d68
JM
32985 * sysdeps/unix/getegid.S: Remove file.
32986 * sysdeps/unix/geteuid.S: Likewise.
32987
87ef29ca
RM
329882012-04-24 Roland McGrath <roland@hack.frob.com>
32989
83bcd236
RM
32990 * scripts/check-localplt.awk: New file.
32991 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32992 of diff.
32993 * scripts/data/localplt-generic.data: Add a comment.
32994
87ef29ca
RM
32995 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32996 NODE when __dir_mkfile failed.
32997 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32998 Reported by Ludovic Courtès <ludo@gnu.org>.
32999
e5a6e567
AJ
330002012-04-24 Andreas Jaeger <aj@suse.de>
33001
33002 * Makerules (common-clean): Also remove gen-as-const-headers
33003 files.
33004
c1820385
JM
330052012-04-24 Joseph Myers <joseph@codesourcery.com>
33006
33007 * Makerules (native-compile): Do not change working directory for
33008 build. Use $(OUTPUT_OPTION) in command.
33009 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33010
94e02fc4
AZ
330112012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33012
33013 [BZ #13886]
33014 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33015 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33016 * math/libm-test.inc (floor_test): Add more tests.
33017 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33018
3a533ca3
JM
330192012-04-24 Joseph Myers <joseph@codesourcery.com>
33020
940ab4b3
JM
33021 * sysdeps/unix/getdents.c: Remove file.
33022 * sysdeps/unix/sysv/getdents.c: Likewise.
33023 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33024
90e037bd
JM
33025 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33026 sysdeps/unix/mman/syscalls.list.
33027 (mmap): Likewise.
33028 (mprotect): Likewise.
33029 (msync): Likewise.
33030 (munmap): Likewise.
33031 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33032 * sysdeps/unix/mman/syscalls.list: Remove.
33033 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33034
3a533ca3
JM
33035 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33036 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33037 * configure: Regenerated.
33038 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33039 $(libgcc_s_suffix).
33040 * config.make.in (libgcc_s_suffix): Remove variable.
33041
1ad743de
JM
330422012-04-23 Joseph Myers <joseph@codesourcery.com>
33043
4ad451e2
JM
33044 * sysdeps/unix/sysv/gethostname.c: Move to ...
33045 * sysdeps/posix/gethostname.c: ... here.
33046
5e37ce39
JM
33047 * sysdeps/unix/execve.S: Remove file.
33048
1ad743de
JM
33049 * sysdeps/unix/_exit.S: Remove file.
33050
4e681b5b
AJ
330512012-04-23 Andreas Jaeger <aj@suse.de>
33052
33053 [BZ #13739]
33054 * manual/Makefile: Remove make dist support, there's no
33055 need for a stand-alone documentation tar ball.
33056 (TEXI2DVI): Define always, it's not in Makeconfig.
33057 (dist): Removed.
33058 (tar-it): Removed.
33059 (edition): Removed.
33060 (glibc-doc-$(edition).tar): Removed
33061 (%.Z): Removed.
33062 (%.gz): Removed.
33063 (%.uu): Removed.
33064 (ETAGS): Remove, it's in Makeconfig.
33065 (move-if-change): Remove, it's in Makeconfig.
33066
38686a03 330672012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33068
33069 [BZ #13970]
33070 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33071 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33072 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33073 (strtod_l, strtof_l, strtold_l): Remove __wur.
33074 It is not necessarily an error to ignore strtol's return value.
33075 One can reliably look at the stored endptr to decide whether
33076 the number had valid syntax.
33077
7c0616fa
AJ
330782012-04-21 Andreas Jaeger <aj@suse.de>
33079
803cb6b7 33080 [BZ #13739]
7c0616fa
AJ
33081 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33082
b0fe253f
JM
330832012-04-21 Joseph Myers <joseph@codesourcery.com>
33084
33085 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33086 * sysdeps/unix/sysv/Versions: Remove file.
33087
8280f22d
MT
330882012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33089
33090 [BZ #13927]
33091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33092
75ce411f 330932012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33094
33095 [BZ #7064]
33096 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33097 version from __vm86.
33098
097d59fa
JM
330992012-04-20 Joseph Myers <joseph@codesourcery.com>
33100
a90f3bcb
JM
33101 * sysdeps/unix/common/lxstat.c: Remove file.
33102 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33103
edc7ea78
JM
33104 * sysdeps/unix/sysv/Makefile: Remove file.
33105
cb78c221
JM
33106 * sysdeps/unix/sysv/direct.h: Remove file.
33107
efa6a45f
JM
33108 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33109 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33110 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33111 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33112 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33113 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33114 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33115
9c9f2d0c
JM
33116 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33117
4541c83b
JM
33118 * sysdeps/unix/xmknod.c: Remove file.
33119 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33120
f5d153a0
JM
33121 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33122
aa746595
JM
33123 * sysdeps/unix/sysv/i386/time.S: Remove file.
33124
cce5905e
JM
33125 * sysdeps/unix/fxstat.c: Remove file.
33126 * sysdeps/unix/xstat.c: Likewise.
33127 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33128
37fa3841
JM
33129 * sysdeps/unix/sysv/sigaction.c: Remove file.
33130
ff1962a3
JM
33131 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33132 (sysdep_headers): Remove variable.
33133 [termio.h not in sysdep_headers] (generated): Likewise.
33134 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33135 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33136 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33137 * sysdeps/unix/sysv/tcflow.c: Likewise.
33138 * sysdeps/unix/sysv/tcflush.c: Likewise.
33139 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33140 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33141 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33142 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33143 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33144
e7740d31
JM
33145 * sysdeps/unix/siglist.c: Remove file.
33146
ee06f18b
JM
33147 * sysdeps/unix/getppid.S: Remove file.
33148
097d59fa
JM
33149 * sysdeps/unix/mkdir.c: Remove file.
33150 * sysdeps/unix/rmdir.c: Likewise.
33151
ff3d51ec
AS
331522012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33153
33154 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33155 ERR_MAX value.
33156 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33157 errlist-compat value.
33158
50f81fd7
DM
331592012-04-18 David S. Miller <davem@davemloft.net>
33160
33161 * sysdeps/generic/memcopy.h (reg_char): Delete.
33162 * debug/strcat_chk.c: Use char, not reg_char.
33163 * debug/strcpy_chk.c: Likewise.
33164 * debug/strncat_chk.c: Likewise.
33165 * debug/strncpy_chk.c: Likewise.
33166 * string/memchr.c: Likewise.
33167 * string/memrchr.c: Likewise.
33168 * string/rawmemchr.c: Likewise.
33169 * string/strcat.c: Likewise.
33170 * string/strchr.c: Likewise.
33171 * string/strchrnul.c: Likewise.
33172 * string/strcmp.c: Likewise.
33173 * string/strcpy.c: Likewise.
33174 * string/strncat.c: Likewise.
33175 * string/strncmp.c: Likewise.
33176 * string/strncpy.c: Likewise.
33177
8ff41c46
WS
331782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33179
33180 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33181 __builtin_memcopy is called when src and dest ranges are known to not
33182 overlap.
33183
6b652f46
WS
331842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33185
33186 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33187 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33188 fwd_align_merge macro call.
33189 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33190 bwd_align_merge macro call.
33191 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33192
b282631e
WS
331932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33194
33195 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33196 bwd_align_merge macros.
33197 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33198 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33199 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33200
95aa737c
DM
332012012-04-18 David S. Miller <davem@davemloft.net>
33202
33203 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33204
7a99a614
AJ
332052012-04-18 Andreas Jaeger <aj@suse.de>
33206
33207 [BZ# 6794]
33208 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33209 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33210 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33211
33212 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33213 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33214 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33215
33216 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33217 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33218 Adjust for changed ldbl-128 files.
33219
33220 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33221 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33222 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33223
e5270c23
DM
332242012-04-17 David S. Miller <davem@davemloft.net>
33225
33226 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33227
fb5e92c9
AS
332282012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33229
33230 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33231 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33232 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33233 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33234 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33235 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33236
76da7265
AZ
332372012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33238
33239 [BZ #6794]
33240 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33241 * math/libm-test.inc: Add ilogb errno and exception tests.
33242 * math/w_ilogb.c: New file: ilogb wrapper.
33243 * math/w_ilogbf.c: New file: ilogbf wrapper.
33244 * math/w_ilogbl.c: New file: ilogbl wrapper.
33245 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33246 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33247 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33248 exception being thrown with 0.0 as argument.
33249 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33250 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33251 exception being thrown with 0.0 as argument.
33252 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33253 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33254 exception being thrown with 0.0 as argument.
33255 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33256 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33257 exception being thrown with 0.0 as argument.
33258 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33259 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33260 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33261 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33262 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33263 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33264 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33265 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33266 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33267
0396e69d
PB
332682012-04-17 Petr Baudis <pasky@ucw.cz>
33269
33270 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33271 with altivec.
33272
750b5926
MP
332732012-04-16 Marek Polacek <polacek@redhat.com>
33274
33275 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33276
751728a1
MP
332772012-04-16 Marek Polacek <polacek@redhat.com>
33278
33279 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33280 operands of fdivp instruction.
33281
34a27407
L
332822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33283
33284 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33285 * elf/tst-auditmod3b.c: Likewise.
33286 * elf/tst-auditmod4b.c: Likewise.
33287 * elf/tst-auditmod5b.c: Likewise.
33288 * elf/tst-auditmod6b.c: Likewise.
33289 * elf/tst-auditmod6c.c: Likewise.
33290 * elf/tst-auditmod7b.c: Likewise.
33291 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33292 * sysdeps/x86_64/preconfigure.in: Likewise.
33293 * sysdeps/x86_64/preconfigure: Regenerated.
33294
7e73e17d
L
332952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33296
33297 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33298 __ILP32__.
33299
c7a6ab72
AB
333002012-04-13 Antoine Balestrat <merkil33@gmail.com>
33301
33302 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33303 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33304
a9e8e0e0
CL
333052012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33306
33307 [BZ #13973]
33308 * locale/iso-639.def: Fix gl language name. Spotted by
33309 Yaron Shahrabani.
33310
ec98af7d
RM
333112012-04-12 Roland McGrath <roland@hack.frob.com>
33312
33313 [BZ #2074]
33314 * libio/libio.h (__io_write_fn): Update comment.
33315
247c3ede
PB
333162012-04-12 Petr Baudis <pasky@ucw.cz>
33317
33318 [BZ #2074]
33319 * stdio.texi (Hook Functions): The user provided writer function
33320 is not allowed to return -1.
33321
55939d6d
DM
333222012-04-11 David S. Miller <davem@davemloft.net>
33323
33324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33325
90020f5a
MF
333262012-04-11 Mike Frysinger <vapier@gentoo.org>
33327
33328 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33329 Add a leading slash to rtkaio.
33330
288f9098
JM
333312012-04-11 Jim Meyering <meyering@redhat.com>
33332
90020f5a
MF
33333 [BZ #11959]
33334 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33335 It is not necessarily an error to ignore fwrite's return
33336 value. One can reliably use ferror to test for errors after
33337 the fact.
288f9098 33338
4be2b570
L
333392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33340
33341 * bits/types.h (__snseconds_t): New type.
33342 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33343
33344 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33345 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33346 (__SNSECONDS_T_TYPE): Likewise.
33347 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33348 (__SNSECONDS_T_TYPE): Likewise.
33349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33350 (__SNSECONDS_T_TYPE): Likewise.
33351
288f9098 333522012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33353
33354 [BZ #2636]
33355 * manual/time.texi (Processor Time): Return type of times is
33356 elapsed real time since an arbitrary point in the past.
33357 (CPU Time): Move CLK_TCK from here...
33358 (Processor Time): ...to here. Correct description.
33359 * manual/conf.texi (Constants for Sysconf): Correct description of
33360 _SC_CLK_TCK.
33361
d7dd4413
DM
333622012-04-10 David S. Miller <davem@davemloft.net>
33363
33364 [BZ #13967]
33365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33366 where the is a gap between DT_REL(A) and DT_JMPREL.
33367
b46068fc
L
333682012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33369
33370 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33371 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33372 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33373
73d65cc3
SP
333742012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33375
33376 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33377 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33378 (dl_main): Handle --inhibit-cache.
33379 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33380 _dl_inhibit_cache.
33381 * elf/dl-load.c (_dl_map_object): Use it.
33382 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33383
bcc8d661
JM
333842012-04-09 Joseph Myers <joseph@codesourcery.com>
33385
8f9a2fae
JM
33386 [BZ #13872]
33387 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33388 (__ieee754_powl): Saturate large exponents rather than testing for
33389 overflow of y*log2(x).
33390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33391 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33392 exceptions.
33393
bcc8d661
JM
33394 [BZ #11521]
33395 * math/s_ctan.c: Include <float.h>.
33396 (__ctan): Avoid internal overflow or cancellation in calculating
33397 denominator.
33398 * math/s_ctanf.c: Likewise.
33399 * math/s_ctanl.c: Likewise.
33400 * math/s_ctanh.c: Likewise.
33401 * math/s_ctanhf.c: Likewise.
33402 * math/s_ctanhl.c: Likewise.
33403 * math/libm-test.inc (ctan_test): Add more tests.
33404 (ctanh_test): Likewise.
33405 * sysdeps/i386/fpu/libm-test-ulps: Update.
33406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33407
823fbbb4
AJ
334082012-04-09 Andreas Jaeger <aj@suse.de>
33409
03879793
AJ
33410 [BZ #6894]
33411 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33412 is an optional BSD extension.
33413
823fbbb4
AJ
33414 [BZ #10254]
33415 * manual/stdio.texi (Opening Streams): Document additional fopen
33416 parameters.
33417
8de131cb
RM
334182012-04-09 Roland McGrath <roland@hack.frob.com>
33419
33420 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33421 %eax without telling the compiler.
33422
c0ed9d7d
CD
334232012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33424
33425 [BZ # 13963]
33426 * manual/install.texi: Use sourceware.org.
33427
c483f6b4
JM
334282012-04-09 Joseph Myers <joseph@codesourcery.com>
33429
d7dd9453
JM
33430 [BZ #13873]
33431 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33432 (__ieee754_pow): Generate overflow and underflow using huge*huge
33433 and tiny*tiny rather than just returning constant infinity or zero
33434 for large exponents.
33435 * math/libm-test.inc (pow_test): Require overflow exceptions for
33436 applicable cases of large exponents.
33437
c483f6b4
JM
33438 [BZ #706]
33439 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33440 (__ieee754_pow): Use iterative multiplication algorithm only for
33441 integer exponents with absolute value below 1024. Check for odd
33442 integer exponents when using algorithm for real exponents.
33443 * math/libm-test.inc (pow_test): Add more tests.
33444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33445
d2de7579
JM
334462012-04-08 Joseph Myers <joseph@codesourcery.com>
33447
33448 [BZ #13705]
33449 * math/libm-test.inc (exp_test): Do not allow overflow exception
33450 on underflow test.
33451
f77f1232
AJ
334522012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33453
33454 [BZ #13705]
33455 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33456 instead of __kernel_standard_f.
33457
3884932b
MF
334582012-04-08 Mike Frysinger <vapier@gentoo.org>
33459
33460 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33461 * sysdeps/x86_64/memset_chk.S: Likewise.
33462
54472e9c
AJ
334632012-04-08 Andreas Jaeger <aj@suse.de>
33464
6ab0fbfc
AJ
33465 [BZ #10153]
33466 * manual/startup.texi (Environment Access): Describe return value
33467 for putenv and setenv.
33468
61efba8c
AJ
33469 [BZ #6895]
33470 * manual/filesys.texi (Directory Entries): Add description for
33471 DT_LNK.
33472
95c3f29a
AJ
33473 [BZ #6890]
33474 * manual/filesys.texi (Directory Entries): Clarify that it's file
33475 system not operating system in the description of DT_UNKNOWN.
33476
54472e9c
AJ
33477 [BZ #6578]
33478 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33479
624254b1
SC
334802012-04-08 Stephen Compall <s11@member.fsf.org>
33481
33482 [BZ #6649]
33483 * manual/llio.texi (Opening and Closing Files): Add cross
33484 reference to explain mode argument.
33485
1e4920e0
MF
334862012-04-07 Mike Frysinger <vapier@gentoo.org>
33487
33488 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33489 * sysdeps/x86_64/memset_chk.S: Likewise.
33490
5ed848f3
DM
334912012-04-07 David S. Miller <davem@davemloft.net>
33492
33493 * elf/elf.h (R_SPARC_WDISP10): Define.
33494 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33495 R_SPARC_SIZE32.
33496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33497 R_SPARC_SIZE64 and R_SPARC_H34.
33498
96154cd8
CD
334992012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33500
33501 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33502 conditions and remove no longer applicable assertion.
33503
9904dc47
L
335042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33505
33506 * bits/byteswap.h: Include <features.h>.
33507 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33508 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33509
f8887d0a
L
335102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33511
33512 * bits/byteswap.h (__bswap_16): Removed.
33513 Include <bits/byteswap-16.h> to get __bswap_16.
33514 * sysdeps/i386/bits/byteswap.h: Likewise.
33515 * sysdeps/s390/bits/byteswap.h: Likewise.
33516 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33517 * bits/byteswap-16.h: New file.
33518 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33519 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33520 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33521 * string/Makefile (headers): Add bits/byteswap-16.h.
33522
62470f60
PP
335232012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33524
33525 [BZ #13895]
33526 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33527 extra indirection.
33528 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33529 * nss/tst-nss-static.c: New.
33530
4dad7bab
RM
335312012-04-06 Robert Millan <rmh@gnu.org>
33532
33533 [BZ #6486]
33534 * manual/llio.texi (File Position Primitive): lseek
33535 refers to WHENCE when it really means OFFSET.
33536
e9142a17
AJ
335372012-04-06 Andreas Jaeger <aj@suse.de>
33538
2c040eff
AJ
33539 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33540 strncmp declarations.
33541
e9142a17
AJ
33542 * abilist/libc.abilist: Add __poll and __ppoll.
33543
ff9f1c5f
DM
335442012-04-05 David S. Miller <davem@davemloft.net>
33545
dcd2ae90
DM
33546 * scripts/check-local-headers.sh: Accept a host triplet in the
33547 path matched by the exclude regexp.
33548
993eb054
DM
33549 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33550 definition.
33551 * sysdeps/powerpc/powerpc32/dl-machine.h
33552 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33553 * sysdeps/s390/s390-32/dl-machine.h
33554 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33555 * sysdeps/sparc/sparc32/dl-machine.h
33556 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33557 * sysdeps/sparc/sparc64/dl-machine.h
33558 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33559
ff9f1c5f
DM
33560 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33561 lazy binding.
48e2e132 33562 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33563 undefined symbol errors.
33564
48e2e132 33565 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33566 DT_NEEDED entries.
33567
e80d6f94
MM
335682012-04-05 Michael Matz <matz@suse.de>
33569
33570 [BZ #13592]
33571 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33572
349fa79f
AJ
335732012-04-05 Andreas Jaeger <aj@suse.de>
33574
33575 [BZ #13908]
33576 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33577 comment.
33578
f402708f
KK
335792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33580
33581 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33582 which ROUND is no valid rounding mode.
33583
2ecccfc9
KK
335842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33585
33586 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33587 read again.
33588 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33589
8a53f50f
KK
335902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33591
33592 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33593 an exception using FPU order intentionally.
33594
335952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33596
33597 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33598 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33599 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33600 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33601
d653abb7
SJ
336022012-04-05 Simon Josefsson <simon@josefsson.org>
33603
33604 [BZ #12340]
33605 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33606 EINVAL when BUFLEN is too smal.
33607
c3b1bf7d
TS
336082012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33609
33610 [BZ #13553]
33611 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33612 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33613
b1aa60f3
AJ
336142012-04-03 Andreas Jaeger <aj@suse.de>
33615
c3b1bf7d 33616 [BZ #13938]
67f60a26
AJ
33617 * manual/setjmp.texi (System V contexts): Fix sentence.
33618
b1aa60f3
AJ
33619 [BZ #13926]
33620 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33621 New macro for this case.
33622 [!__GNUC__] (__bswap_64): New inline function for this case.
33623 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33624 * bits/byteswap.h: Likewise.
33625 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33626 ull, guard with __GLIBC_HAVE_LONG_LONG.
33627
33628 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33629 __GLIBC_HAVE_LONG_LONG.
33630
33631 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33632 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33633
39c59c35
TMQMF
336342012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33635
33636 [BZ #13691]
33637 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33638 inptr and inend, rather than using last_ch.
33639
135ffda8
DM
336402012-04-02 David S. Miller <davem@davemloft.net>
33641
33642 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33643 * stdio-common/printf-parse.h (read_int): Change return type to
33644 'int', return -1 on INT_MAX overflow.
33645 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33646 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33647 overflows INT_MAX. Check for overflow of in-format-string precision
33648 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33649 SIZE_MAX not INT_MAX for integer overflow test.
33650 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33651 skip the construct in the format string but do not record anything.
33652 * stdio-common/bug22.c: Adjust to test both width/prevision
33653 INT_MAX overflow as well as total length INT_MAX overflow. Check
33654 explicitly for proper errno values.
33655
228c019e
TS
336562012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33657
302cadd3
TS
33658 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33659 CHAR_MAX.
33660 * string/test-strcmp.c [! WIDE]: Likewise.
33661 * time/tst-mktime2.c: Likewise for INT_MAX.
33662 * string/test-string.h: #include <sys/param.h> for MIN.
33663
228c019e
TS
33664 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33665 * sysdeps/i386/init-first.c (init): Likewise.
33666 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33667 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33668 * sysdeps/sh/init-first.c (init): Likewise.
33669
cfa633f5
UD
336702012-04-01 Ulrich Drepper <drepper@gmail.com>
33671
33672 * po/ru.po: Update from translation team.
d1635ef8 33673 * po/vi.po: Likewise.
cfa633f5 33674
6cd0a5ea
SP
336752012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33676
33677 * resolv/nss_dns/dns-host.c: Merge copyright years.
33678
4b43400f
LD
336792012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33680
33681 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33682 Optimize memcpy with prefetch if
33683 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33684 src, dst pointers have unequal 16 byte alignments.
33685
48c41d04
SP
336862012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33687
33688 [BZ #13928]
33689 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33690 from a CNAME entry and return the minimum ttl for the query.
33691 (gaih_getanswer_slice): Likewise.
33692
b8dc394d
JL
336932012-03-30 Jeff Law <law@redhat.com>
33694
33695 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33696 due to long keys.
33697 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33698 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33699
2f5a5ed0
JL
33700 * resolv/nss_dns/dns-host.c: Update copyright year.
33701
1d39e359
UD
337022012-03-30 Ulrich Drepper <drepper@gmail.com>
33703
c030f70c 33704 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33705 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33706
1d39e359
UD
33707 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33708 comments for sendmmsg.
33709
337102012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33711
33712 [BZ #13691]
33713 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33714 with only 1 character between 0x0041 and 0x01b0.
33715 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33716 * wcsmbs/tst-mbsnrtowcs.c: New file.
33717
20fde227
DM
337182012-03-29 David S. Miller <davem@davemloft.net>
33719
33720 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33721 small copies by hand.
33722
984a4237
JL
337232012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33724
33725 [BZ #13761]
57f41c40
AS
33726 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33727 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33728 group memberships.
984a4237 33729
18c9d62b
DM
337302012-03-28 David S. Miller <davem@davemloft.net>
33731
88d85d4f
DM
33732 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33733 that branches into memcpy.
33734 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33736 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33737 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33738 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33739 bits.
33740 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33741 implementation too.
33742 * sysdeps/sparc/mempcpy.S: New file.
33743
e5aa83e1
DM
33744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33745 the IFUNC routine in the libc case.
33746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33747
88570753
DM
33748 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33749 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33750 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33751 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33752 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33753 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33754 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33755 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33756
249d7567
DM
33757 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33758 loop to 256 bytes instead of 64 bytes and fix test signedness.
33759
18c9d62b
DM
33760 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33761 * sysdeps/sparc/sparc32/Makefile: rather than here...
33762 * sysdeps/sparc/sparc64/Makefile: and here.
33763
05f3d1f6
UD
337642012-03-28 Ulrich Drepper <drepper@gmail.com>
33765
33766 * malloc/mallocbug.c: Avoid warnings about unused variables.
33767
86ae07a8
JL
337682012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33769
33770 [BZ #13760]
33771 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33772 in the right place. Discard and retry query if response is
33773 larger than input buffer size.
33774
41bf21a1
JM
337752012-03-28 Joseph Myers <joseph@codesourcery.com>
33776
d6270972
JM
33777 [BZ #369]
33778 [BZ #2678]
33779 [BZ #3866]
33780 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33781 x for large integer exponent.
33782 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33783 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33784 sign of result as needed afterwards.
33785 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33786 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33787 result for underflowing pow the same as for overflow.
33788 (__kernel_standard_l): Handle powl overflow and underflow here
33789 rather than calling __kernel_standard.
33790 * math/libm-test.inc (pow_test): Add more tests.
33791
414fca03 33792 [BZ #3868]
41bf21a1
JM
33793 [BZ #13879]
33794 [BZ #13910]
33795 [BZ #13911]
33796 [BZ #13912]
33797 [BZ #13913]
33798 [BZ #13915]
33799 [BZ #13916]
33800 [BZ #13917]
33801 [BZ #13918]
33802 [BZ #13919]
33803 [BZ #13920]
33804 [BZ #13921]
33805 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33806 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33807 (__kernel_standard_l): New function.
33808 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33809 __kernel_standard.
33810 * math/w_acosl.c (__acosl): Likewise.
33811 * math/w_asinl.c (__asinl): Likewise.
33812 * math/w_atan2l.c (__atan2l): Likewise.
33813 * math/w_atanhl.c (__atanhl): Likewise.
33814 * math/w_coshl.c (__coshl): Likewise.
33815 * math/w_exp10l.c (__exp10l): Likewise.
33816 * math/w_exp2l.c (__exp2l): Likewise.
33817 * math/w_fmodl.c (__fmodl): Likewise.
33818 * math/w_hypotl.c (__hypotl): Likewise.
33819 * math/w_j0l.c (__j0l, __y0l): Likewise.
33820 * math/w_j1l.c (__j1l, __y1l): Likewise.
33821 * math/w_jnl.c (__jnl, __ynl): Likewise.
33822 * math/w_lgammal.c (__lgammal): Likewise.
33823 * math/w_log10l.c (__log10l): Likewise.
33824 * math/w_log2l.c (__log2l): Likewise.
33825 * math/w_logl.c (__logl): Likewise.
33826 * math/w_powl.c (__powl): Likewise.
33827 * math/w_remainderl.c (__remainderl): Likewise.
33828 * math/w_scalbl.c (sysv_scalbl): Likewise.
33829 * math/w_sinhl.c (__sinhl): Likewise.
33830 * math/w_sqrtl.c (__sqrtl): Likewise.
33831 * math/w_tgammal.c (__tgammal): Likewise.
33832 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33833 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33834 * math/libm-test.inc (acos_test): Add more tests.
33835 (acosh_test): Likewise.
33836 (asin_test): Likewise.
33837 (atanh_test): Likewise.
33838 (exp_test): Likewise.
33839 (exp10_test): Likewise.
33840 (exp2_test): Likewise.
33841 (expm1_test): Likewise.
33842 (lgamma_test): Likewise.
33843 (log_test): Likewise.
33844 (log10_test): Likewise.
33845 (log1p_test): Likewise.
33846 (log2_test): Likewise.
33847 (pow_test): Do not allow some spurious overflow exceptions.
33848 (sqrt_test): Add more tests.
33849 (tgamma_test): Likewise.
33850 (y0_test): Likewise.
33851 (y1_test): Likewise.
33852 (yn_test): Likewise.
33853
dd62fda6
AB
338542012-03-27 Anton Blanchard <anton@samba.org>
33855
33856 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33857 MAP_HUGETLB.
33858 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33859 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33860 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33861
1e3cdfda
AJ
338622012-03-27 David S. Miller <davem@davemloft.net>
33863
b855ab85
DM
33864 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33865
1e3cdfda
AJ
33866 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33867 have-as-vis3 check.
33868
338692012-03-27 Andreas Jaeger <aj@suse.de>
33870
33871 * sysdeps/x86_64/elf/configure.in: Moved to ...
33872 * sysdeps/x86_64/configure.in: ... here.
33873 * sysdeps/x86_64/elf/start.S: Moved to ...
33874 * sysdeps/x86_64/start.S: ... here.
33875 * sysdeps/x86_64/elf/configure: Delete.
33876
33877 * sysdeps/x86_64/configure.in: Merge contents from
33878 sysdeps/i386/configure.in (without i686 check).
33879
33880 * sysdeps/i386/elf/Versions: Merge into ...
33881 * sysdeps/i386/Versions: ... this.
33882 * sysdeps/i386/elf/Versions: Delete file.
33883 * sysdeps/i386/elf/start.S: Moved to ...
33884 * sysdeps/i386/start.S: ...here.
33885 * sysdeps/i386/elf/configure.in: Merge into...
33886 * sysdeps/i386/configure.in: ...here.
33887 * sysdeps/i386/elf/configure.in: Delete file.
33888 * sysdeps/i386/elf/configure: Delete file.
33889
33890 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33891 * debug/backtracesyms.c: ... here.
33892 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33893 * debug/backtracesymsfd.c: ... here.
33894 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33895 * sysdeps/generic/ifunc-sel.h: ... here.
33896
33897 * sysdeps/unix/i386/start.c: Delete file.
33898 * sysdeps/unix/sparc/start.c: Delete file.
33899 * sysdeps/unix/start.c: Delete file.
33900
33901 * sysdeps/sh/elf/configure.in: Moved to ...
33902 * sysdeps/sh/configure.in: ... here.
33903 * sysdeps/sh/elf/start.S: Moved to ...
33904 * sysdeps/sh/start.S: ... here.
33905 * sysdeps/sh/elf/configure: Delete file.
33906
33907 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33908 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33909 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33910 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33911 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33912 * sysdeps/powerpc/powerpc64/start.S: here.
33913 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33914 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33915 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33916 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33917 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33918
33919 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33920 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33921 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33922 * sysdeps/powerpc/powerpc32/start.S: ... here.
33923 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33924 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33925 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33926
33927 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33928 * sysdeps/powerpc/ifunc-sel.h: ... here.
33929 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33930 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33931
33932 * sysdeps/sparc/elf/configure.in: Moved to ...
33933 * sysdeps/sparc/configure.in: ... here.
33934 * sysdeps/sparc/elf/configure: Delete file.
33935 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33936 * sysdeps/sparc/sparc32/start.S: ... here.
33937 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33938 * sysdeps/sparc/sparc64/start.S: ... here.
33939 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33940 * sysdeps/sparc/sparc32/Makefile: ... this.
33941 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33942 * sysdeps/sparc/sparc64/Makefile: ... this.
33943
33944 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33945 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33946 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33947 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33948 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33949 * sysdeps/s390/s390-32/setjmp.S: ... here.
33950 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33951 * sysdeps/s390/s390-32/configure.in: ... here.
33952 * sysdeps/s390/s390-32/elf/configure: Delete file.
33953 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33954 * sysdeps/s390/s390-32/start.S: ... here.
33955
33956 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33957 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33958 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33959 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33960 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33961 * sysdeps/s390/s390-64/setjmp.S: ... here.
33962 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33963 * sysdeps/s390/s390-64/configure.in: ... here
33964 * sysdeps/s390/s390-64/elf/configure: Delete file.
33965 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33966 * sysdeps/s390/s390-64/start.S: ... here.
33967 * sysdeps/s390/s390-64/elf/configure: Delete.
33968
33969 * configure.in: Remove support for elf directories in sysdeps.
33970
33971 * configure: Regenerated.
33972 * sysdeps/i386/configure: Regenerated.
33973 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33974 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33975 * sysdeps/s390/s390-32/configure: Regenerated.
33976 * sysdeps/s390/s390-64/configure: Regenerated.
33977 * sysdeps/sh/configure: Regenerated.
33978 * sysdeps/sparc/configure: Regenerated.
33979 * sysdeps/x86_64/configure: Regenerated.
33980
a3f61311
AS
339812012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33982
c876e002
AS
33983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33984
a3f61311
AS
33985 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33986 denormal result into account.
33987
ac4c54f0
RM
339882012-03-25 Roland McGrath <roland@hack.frob.com>
33989
33990 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33991 Reported by Allan McRae <allan@archlinux.org>.
33992
6a9b9c02
JL
339932012-03-23 Jeff Law <law@redhat.com>
33994
33995 * nss/getnssent.c (__nss_getent): Fix typo.
33996
4c42a0c1
DM
339972012-03-23 David S. Miller <davem@davemloft.net>
33998
33999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34000
1532c7ac
L
340012012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34002
34003 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34004 to pad to uint64_t for each field.
34005 (dl_tls_index): Replace unsigned long with uint64_t.
34006
3ff42526
PP
340072012-03-23 Daniel Jacobowitz <dmj@google.com>
34008 Paul Pluzhnikov <ppluzhnikov@google.com>
34009
34010 [BZ #6528]
34011 * grp/Makefile (otherlibs): Don't set it.
34012 * inet/Makefile (otherlibs): Likewise.
34013 * login/Makefile (otherlibs): Likewise.
34014 * nscd/Makefile (otherlibs): Likewise.
34015 * posix/Makefile (otherlibs): Likewise.
34016 * pwd/Makefile (otherlibs): Likewise.
34017 * rt/Makefile (otherlibs): Likewise.
34018 * sunrpc/Makefile (otherlibs): Likewise.
34019 * nss/Makefile (otherlibs): Likewise.
34020 Add libnss_files to routines and static-only-routines.
34021 ($(objpfx)getent): Remove rule.
34022 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34023 static-only-routines.
34024
7c69cd14
JM
340252012-03-22 Joseph Myers <joseph@codesourcery.com>
34026
34027 [BZ #13892]
34028 * math/s_cexp.c: Include <float.h>.
34029 (__cexp): Handle exp result overflowing not necessarily
34030 overflowing both real and imaginary parts of result.
34031 * math/s_cexpf.c: Likewise.
34032 * math/s_cexpl.c: Likewise.
34033 * math/libm-test.inc (cexp_test): Add more tests.
34034 * sysdeps/i386/fpu/libm-test-ulps: Update.
34035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34036
81b035fe
L
340372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34038
34039 * include/link.h (ELFW): New macro.
34040 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34041 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34042
1da7940c
L
340432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34044
34045 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34046 with uint64_t.
34047
b749dbb9
L
340482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34049
34050 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34051 declaration.
34052 (struct La_x32_retval): Likewise.
34053
2ff87f3f
L
340542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34055
34056 * sysdeps/x86_64/preconfigure.in: New file.
34057 * sysdeps/x86_64/preconfigure: New generated file.
34058
c0df8e69
JM
340592012-03-22 Joseph Myers <joseph@codesourcery.com>
34060
48e44791
JM
34061 [BZ #13824]
34062 * math/e_exp2l.c: Include <float.h>.
34063 (__ieee754_exp2l): Handle overflow and underflow cases
34064 separately. Only pass fractional part of argument to
34065 __ieee754_expl.
34066 * math/libm-test.inc (exp2_test): Add more tests.
34067
c0df8e69
JM
34068 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34069 negating x to take absolute value.
34070 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34071 Likewise.
34072 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34073 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34074 Likewise.
34075 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34076 computing low part if x was negated.
34077 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34078
c8e43ba7
L
340792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34080
34081 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34082 la_x32_gnu_pltexit.
34083 (pltexit): Cast int_retval to ptrdiff_t.
34084 * elf/tst-auditmod3b.c: Likewise.
34085 * elf/tst-auditmod4b.c: Likewise.
34086 * elf/tst-auditmod5b.c: Likewise.
34087 * elf/tst-auditmod6b.c: Likewise.
34088 * elf/tst-auditmod6c.c: Likewise.
34089 * elf/tst-auditmod7b.c: Likewise.
34090
34091 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34092 and x32_gnu_pltexit.
34093
34094 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34095 __ELF_NATIVE_CLASS.
34096 (La_x32_regs): New macro.
34097 (La_x32_retval): Likewise.
34098 (la_x32_gnu_pltenter): New function prototype.
34099 (la_x32_gnu_pltexit): Likewise.
34100
7998fa78
AS
341012012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34102
dcb33988
AS
34103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34104 exponent.
34105
233fc563
AS
34106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34107
7998fa78
AS
34108 * configure.in (libc_cv_cc_nofma): Check for option to disable
34109 generation of FMA instructions.
34110 * configure: Regenerate.
34111 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34112 * sysdeps/ieee754/dbl-64/Makefile: New file.
34113 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34114 Remove brandred-fma4.
34115 (CFLAGS-brandred-fma4.c): Remove.
34116 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34118 define.
34119 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34120 define.
34121
8e95c99a
L
341222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34123
34124 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34125 LLONG_MAX != LONG_MAX.
34126 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34127 (_fitoa_word): Likewise.
34128 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34129 LLONG_MAX != LONG_MAX.
34130 * stdio-common/_itowa.h: Include <_itoa.h>.
34131 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34132 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34133 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34134 only if not defined.
34135 (_ITOA_WORD_TYPE): Likewise.
34136 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34137 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34138
6f4db457
DM
341392012-03-21 David S. Miller <davem@davemloft.net>
34140
34141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34142
7785fe5a
L
341432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34144
34145 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34146 of x86_64 when setting libc_cv_slibdir, libdir and
34147 libc_cv_localedir.
34148 * sysdeps/unix/sysv/linux/configure: Regenerated.
34149
4535cd55
JM
341502012-03-21 Joseph Myers <joseph@codesourcery.com>
34151
34152 * manual/lang.texi (Old Varargs): Remove section.
34153 (How Variadic): Update menu.
34154 (va_start): Do not mention varargs.h.
34155
17228132
TS
341562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34157 Joseph Myers <joseph@codesourcery.com>
34158
34159 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34160 link test.
34161 * configure: Regenerated.
34162
8149f976
TS
341632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34164
05f3d1f6
UD
34165 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34166 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34167 conformtest.pl
8149f976 34168
1a4ac776
JM
341692012-03-21 Joseph Myers <joseph@codesourcery.com>
34170
be22ce65
JM
34171 * NOTES: Remove.
34172 * Makefile (files-for-dist): Remove NOTES.
34173 (NOTES): Remove rule.
34174 * README: Don't refer to NOTES.
34175 * manual/creature.texi: Don't include macros.texi.
34176 * manual/intro.texi (creature.texi): Remove comment referring to
34177 NOTES.
34178
40b601fb
JM
34179 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34180 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34181 * configure: Regenerated.
34182 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34183 LIBC_TRY_CC_OPTION.
34184 (libc_cv_as_i686): Likewise.
34185 (libc_cv_cc_avx): Likewise.
34186 (libc_cv_cc_sse2avx): Likewise.
34187 (libc_cv_cc_fma4): Likewise.
34188 (libc_cv_cc_novzeroupper): Likewise.
34189 * sysdeps/i386/configure: Regenerated.
34190
1a4ac776
JM
34191 [BZ #13883]
34192 * sysdeps/i386/fpu/s_cexp.S: Remove.
34193 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34194 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34195 * math/libm-test.inc (cexp_test): Add more tests.
34196 * sysdeps/i386/fpu/libm-test-ulps: Update.
34197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34198
a458e7fe
AM
341992012-03-21 Allan McRae <allan@archlinux.org>
34200
34201 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34202
0cb7efc5
JM
342032012-03-21 Joseph Myers <joseph@codesourcery.com>
34204
34205 [BZ #13871]
34206 * math/w_exp2.c: Do not include <float.h>.
34207 (o_threshold, u_threshold): Remove.
34208 (__exp2): Calculate result before checking finiteness and calling
34209 __kernel_standard.
34210 * math/w_exp2f.c: Likewise.
34211 * math/w_exp2l.c: Likewise.
34212 * math/libm-test.inc (exp2_test): Require overflow exception for
34213 1e6 input.
2460d3aa
JM
34214
34215 [BZ #3866]
34216 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34217 range of signed 64-bit integers before using fistpll. Remove
34218 checks for whether integers fit in mantissa bits.
34219 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34220 the range of signed 32-bit integers before using fistpl. Remove
34221 checks for whether integers fit in mantissa bits.
34222 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34223 (__ieee754_powl): Test for y outside the range of signed 64-bit
34224 integers before using fistpll. Reduce 64-bit values to 63-bit
34225 ones as needed.
34226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34227 divide-by-zero is raised for zero to large negative powers.
34228 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34229 (__ieee754_powl): Test for y outside the range of signed 64-bit
34230 integers before using fistpll. Reduce 64-bit values to 63-bit
34231 ones as needed.
34232 * math/libm-test.inc (pow_test): Add more tests.
34233
eb96ffb0
L
342342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34235
34236 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34237 <stdio-common/_itoa.h>.
34238 * debug/segfault.c: Likewise.
34239 * elf/dl-cache.c: Likewise.
34240 * elf/dl-minimal.c: Likewise.
34241 * elf/dl-misc.c: Likewise.
34242 * elf/dl-sysdep.c: Likewise.
34243 * elf/dl-version.c: Likewise.
34244 * elf/rtld.c: Likewise.
34245 * hurd/hurdsock.c: Likewise.
34246 * hurd/lookup-retry.c: Likewise.
34247 * malloc/malloc.c: Likewise.
34248 * malloc/mtrace.c: Likewise.
34249 * nscd/nscd_getgr_r.c: Likewise.
34250 * nscd/nscd_getpw_r.c: Likewise.
34251 * nscd/nscd_getserv_r.c: Likewise.
34252 * posix/getopt_init.c: Likewise.
34253 * posix/wordexp.c: Likewise.
34254 * stdio-common/_itoa.c: Likewise.
34255 * stdio-common/printf_fphex.c: Likewise.
34256 * stdio-common/vfprintf.c: Likewise.
34257 * string/_strerror.c: Likewise.
34258 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34259 * sysdeps/i386/i686/hp-timing.h: Likewise.
34260 * sysdeps/mach/_strerror.c: Likewise.
34261 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34262 * sysdeps/mach/hurd/sethostid.c: Likewise.
34263 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34264 * sysdeps/mach/xpg-strerror.c: Likewise.
34265 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34266 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34267 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34268 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34269 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34270 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34271 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34272 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34273 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34274 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34275 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34276 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34277 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34278 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34279 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34280 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34281 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34282 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34283 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34284 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34285 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34286
34287 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34288
34289 * stdio-common/_itoa.h: Moved to ...
34290 * sysdeps/generic/_itoa.h: Here.
34291
34292 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34293
34294 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34295 instead of "_itoa.h" and "_itowa.h".
34296 * stdio-common/vfprintf.: Likewise.
34297
d1af992d
L
342982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34299
34300 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34301 <bits/wordsize.h>.
34302 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34303 (__signbit): Likwise.
34304 (llrintf): Likwise.
34305 (llrint): Likwise.
34306
114883e0
L
343072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34308
34309 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34310 __WORDSIZE != 64.
34311
c135cc1b
JM
343122012-03-20 Joseph Myers <joseph@codesourcery.com>
34313
34314 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34315 OVERFLOW_EXCEPTION_OK.
34316 * math/libm-test.inc ("Philosophy"): Update comment about
34317 exception testing.
34318 (OVERFLOW_EXCEPTION): Define.
34319 (OVERFLOW_EXCEPTION_OK): Likewise.
34320 (INVALID_EXCEPTION_OK): Renumber.
34321 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34322 (IGNORE_ZERO_INF_SIGN): Likewise.
34323 (test_exceptions): Handle FE_OVERFLOW.
34324 (exp10_test): Expect overflow exceptions.
34325 (exp2_test): Likewise.
34326 (expm1_test): Likewise.
34327 (nextafter_test): Likewise.
34328 (pow_test): Likewise.
34329 (scalbn_test): Likewise.
34330 (scalbln_test): Likewise.
34331
95443d88
L
343322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34333
34334 * sysdeps/x86_64/bits/atomic.h
34335 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34336 64bit integer.
34337 (atomic_exchange_acq): Likewise.
34338 (__arch_exchange_and_add_body): Likewise.
34339 (__arch_add_body): Likewise.
34340 (atomic_add_negative): Likewise.
34341 (atomic_add_zero): Likewise.
34342
490df6c4
L
343432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34344
c2722551 34345 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34346 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34347
5e52b189
L
343482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34349
34350 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34351 Check __x86_64__ instead of __WORDSIZE.
34352
a9879d4c
L
343532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34354
34355 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34356
5df98260
DM
343572012-03-19 David S. Miller <davem@davemloft.net>
34358
e1497744
DM
34359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34360
5df98260
DM
34361 * sysdeps/sparc/fpu/fenv_private.h: New file.
34362 * sysdeps/sparc/fpu/math_private.h: Use it.
34363 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34364 Remove.
57f41c40 34365 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34366 (libc_feholdexcept_setroundl): Remove.
34367 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34368 Remove.
34369 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34370 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34371
b4c35121
L
343722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34373
34374 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34375 int64_t instead of long int.
34376 (INSERT_WORDS64): Likwise.
34377
56965fd7
L
343782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34379
34380 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34381 _Unwind_GetCFA return to _Unwind_Ptr first.
34382
83d1aec8
JM
343832012-03-19 Joseph Myers <joseph@codesourcery.com>
34384
1897ad44
JM
34385 [BZ #13629]
34386 * math/s_clog.c: Include <float.h>.
34387 (__clog): Scale large or subnormal inputs.
34388 * math/s_clogf.c: Likewise.
34389 * math/s_clogl.c: Likewise.
34390 * math/s_clog10.c: Include <float.h>.
34391 (M_LOG10_2): Define.
34392 (__clog10): Scale large or subnormal inputs.
34393 * math/s_clog10f.c: Likewise.
34394 * math/s_clog10l.c: Likewise.
34395 * math/libm-test.inc (clog_test): Add more tests.
34396 (clog10_test): Likewise.
34397 * sysdeps/i386/fpu/libm-test-ulps: Update.
34398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34399
7726d6a9
JM
34400 [BZ #11451]
34401 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34402 x and y.
34403 * math/libm-test.inc (atan2_test): Add another test.
34404
83d1aec8
JM
34405 * Makerules (common-objdir-compile): Remove.
34406 * sysdeps/unix/Makefile (config-generated): Do not add
34407 $(unix-generated) to variable.
34408 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34409 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34410 Remove rule.
34411 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34412 Likewise.
34413 [generic bits/local_lim.h] (before-compile): Do not append to
34414 variable.
34415 [generic bits/local_lim.h] (common-generated): Likewise.
34416 [generic sys/param.h] (before-compile): Do not append to variable.
34417 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34418 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34419 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34420 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34421 include.
34422 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34423 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34424 [generic sys/param.h] ($(addprefix
34425 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34426 [generic sys/param.h] (common-generated): Do not append to
34427 variable.
34428 [generic sys/param.h] (sysdep_headers): Likewise.
34429 [generic bits/errno.h] (before-compile): Do not append to
34430 variable.
34431 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34432 rule.
34433 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34434 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34435 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34436 [generic bits/errno.h] (common-generated): Do not append to
34437 variable.
34438 [generic bits/ioctls.h] (before-compile): Do not append to
34439 variable.
34440 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34441 rule.
34442 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34443 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34444 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34445 rule.
34446 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34447 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34448 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34449 [generic bits/ioctls.h] (common-generated): Do not append to
34450 variable.
34451 [generic sys/syscall.h] (syscall.h): Remove variable.
34452 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34453 rule.
34454 [generic sys/syscall.h] (before-compile): Do not append to
34455 variable.
34456 [generic sys/syscall.h] (common-generated): Likewise.
34457 * sysdeps/unix/errnos-tmpl.c: Remove file.
34458 * sysdeps/unix/errnos.awk: Likewise.
34459 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34460 * sysdeps/unix/ioctls.awk: Likewise.
34461 * sysdeps/unix/mk-local_lim.c: Likewise.
34462 * sysdeps/unix/snarf-ioctls: Likewise.
34463
4851a949
RH
344642012-03-19 Richard Henderson <rth@twiddle.net>
34465
bd37f2ee
RH
34466 * sysdeps/i386/fpu/fenv_private.h: New file.
34467 * sysdeps/i386/fpu/math_private.h: Use it.
34468 (math_opt_barrier, math_force_eval): Remove.
34469 (libc_feholdexcept_setround_53bit): Remove.
34470 (libc_feupdateenv_53bit): Remove.
34471 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34472 (math_opt_barrier, math_force_eval): Remove.
34473 (libc_feholdexcept): Remove.
34474 (libc_feholdexcept_setround): Remove.
34475 (libc_fetestexcept, libc_fesetenv): Remove.
34476 (libc_feupdateenv_test): Remove.
34477 (libc_feupdateenv, libc_feholdsetround): Remove.
34478 (libc_feresetround): Remove.
34479
d0adc922
RH
34480 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34481 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34482
0fe0f1f8
RH
34483 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34484 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34485 (libc_feupdateenv_testl): New.
34486 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34487 (libc_feupdateenv_testf): New.
34488 (libc_feupdateenv): Use libc_feupdateenv_test.
34489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34490 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34491
eb92c487
RH
34492 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34493 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34494 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34495 (libc_feresetround_noex): New.
34496 (libc_feresetround_noexf): New.
34497 (libc_feresetround_noexl): New.
34498 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34499 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34500 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34501 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34502 SET_RESTORE_ROUND.
34503 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34504 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34505 (__cos): Likewise.
34506 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34507 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34508 SET_RESTORE_ROUND_NOEX.
34509 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34510 SET_RESTORE_ROUND_NOEXF.
34511 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34512 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34513 (libc_feholdsetroundf): New.
34514 (libc_feresetround, libc_feresetroundf): New.
34515
7d2e8012
RH
34516 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34517 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34518 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34519
b4dabbb4
RH
34520 * sysdeps/generic/math_private.h: Include <fenv.h>.
34521 (default_libc_feholdexcept): New.
34522 (default_libc_feholdexcept_setround): New.
34523 (default_libc_fesetenv, default_libc_feupdateenv): New.
34524 (libc_feholdexcept): Only define if undefined.
34525 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34526 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34527 (libc_feholdexcept_setroundl): Likewise.
34528 (libc_feholdexcept_setround_53bit): Likewise.
34529 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34530 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34531 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34532 (libc_feupdateenv_53bit): Likewise.
34533 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34534 (libc_feholdexcept): Convert from macro to inline function.
34535 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34536 (libc_fesetenv, libc_feupdateenv): Likewise.
34537
4851a949
RH
34538 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34539 not previously defined.
34540 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34541 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34542 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34543 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34544 * sysdeps/ieee754/flt-32/math_private.h: New file.
34545 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34546 math_private.h below SET_FLOAT_WORD.
34547 (__isnan, __isinf_ns, __finite): Remove.
34548 (__isnanf, __isinf_nsf, __finitef): Remove.
34549
e79d442e
AS
345502012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34551
34552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34553
90b80344
DM
345542012-03-17 David S. Miller <davem@davemloft.net>
34555
34556 [BZ #6471]
34557 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34558 for 2.16.
34559
edc21804
DM
345602012-03-16 David S. Miller <davem@davemloft.net>
34561
77e927af
DM
34562 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34563 warnings.
34564
374976dd
DM
34565 [BZ #6471]
34566 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34567 properly.
34568 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34569 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34570 sysdep_routines when subdir is sysvipc.
34571 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34572 __getshmlba helper.
34573
edc21804
DM
34574 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34575
473c3ef3
L
345762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34577
34578 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34579 [__LP64__].
34580
eb0f39b6
L
345812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34582
34583 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34584 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34585 (__lround): Renamed to ...
34586 (__llround): This. Replace long int with long long int.
34587 Define lround functions as aliases of llround functions.
34588 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34589
6b6cd74b
L
345902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34591
34592 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34593 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34594 adresses to uintptr_t. Replace "long int" and "unsigned long
34595 int" with "greg_t" on va_arg.
34596
f1a77b01
L
345972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34598
34599 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34600 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34601
34602 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34603 Move e_machine check before EI_CLASS check. Handle x32
34604 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34605 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34606 SKIP_EM_IA_64 and include
34607 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34608
34609 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34610 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34611 (add_system_dir): New macro.
34612
34613 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34614 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34615
11b90b9f
JM
346162012-03-16 Joseph Myers <joseph@codesourcery.com>
34617
c36e1d23
JM
34618 [BZ #2551]
34619 [BZ #2552]
34620 [BZ #2553]
34621 [BZ #2554]
34622 [BZ #2562]
34623 [BZ #2563]
34624 [BZ #2565]
34625 [BZ #2566]
34626 [BZ #2576]
34627 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34628 (y0): Likewise.
34629 * math/w_j0f.c (j0f): Likewise.
34630 (y0f): Likewise.
34631 * math/w_j0l.c (__j0l): Likewise.
34632 (__y0l): Likewise.
34633 * math/w_j1.c (j1): Likewise.
34634 (y1): Likewise.
34635 * math/w_j1f.c (j1f): Likewise.
34636 (y1f): Likewise.
34637 * math/w_j1l.c (__j1l): Likewise.
34638 (__y1l): Likewise.
34639 * math/w_jn.c (jn): Likewise.
34640 (yn): Likewise.
34641 * math/w_jnf.c (jnf): Likewise.
34642 (ynf): Likewise.
34643 * math/w_jnl.c (__jnl): Likewise.
34644 (__ynl): Likewise.
34645 * math/libm-test.inc (j0_test): Add more tests.
34646 (j1_test): Likewise.
34647 (jn_test): Likewise. Add trailing semicolon to existing test.
34648 (y0_test): Likewise.
34649 (y1_test): Likewise.
34650 * sysdeps/i386/fpu/libm-test-ulps: Update.
34651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34652
11b90b9f
JM
34653 [BZ #13851]
34654 [BZ #13854]
34655 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34656 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34657 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34658 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34659 (__tanl): Set errno for infinite argument.
34660 * sysdeps/i386/fpu/mptan.c: Remove.
34661 * sysdeps/i386/fpu/s_tan.S: Likewise.
34662 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34663 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34664 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34665 * math/libm-test.inc (tan_test): Add more tests and enable more
34666 tests for double and long double.
34667 * sysdeps/i386/fpu/libm-test-ulps: Update.
34668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34669
6a1bd2a1
JK
346702012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34671
34672 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34673 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34674
10a803e0
RM
346752012-03-16 Roland McGrath <roland@hack.frob.com>
34676
34677 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34678 * configure.in: Use it for both main tree and add-ons.
34679 * configure: Regenerated.
34680
f196c7f7
L
346812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34682
34683 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34684
8848d99d
JM
346852012-03-16 Joseph Myers <joseph@codesourcery.com>
34686
96cbe7f4
JM
34687 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34688 in comment.
34689
8848d99d
JM
34690 [BZ #13851]
34691 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34692 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34693 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34696 infinite argument.
34697 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34698 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34699 != 0 for prec == 2.
34700 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34701 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34702 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34703 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34704 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34705 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34706 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34707 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34708 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34709 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34710 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34711 * math/libm-test.inc (cos_test): Add more tests and enable more
34712 tests for long double.
34713 (sin_test): Likewise.
34714 (sincos_test): Likewise.
34715 * sysdeps/i386/fpu/libm-test-ulps: Update.
34716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34717
dd7f4703
DM
347182012-03-16 David S. Miller <davem@davemloft.net>
34719
34720 * sysdeps/sparc/fpu/math_private.h: New file.
34721
006f1daa
DM
347222012-03-15 David S. Miller <davem@davemloft.net>
34723
c0c83bc8
DM
34724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34725 file.
e6a62e18 34726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34728 file.
e6a62e18
DM
34729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34735 sysdep routines.
34736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34737
88cb87d9
DM
34738 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34739 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34740
006f1daa 34741 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34743 sparc-ifunc.h
006f1daa 34744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34746 Likewise.
34747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34748 Likewise.
006f1daa
DM
34749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34753 Likewise.
006f1daa
DM
34754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34759 Likewise.
34760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34761 Likewise.
006f1daa
DM
34762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34769 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34781 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34786
11e0098e
AS
347872012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34788
34789 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34790 scaling.
34791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34792
e85b09d0
AJ
347932012-03-15 Andreas Jaeger <aj@suse.de>
34794
34795 [BZ #13852]
34796 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34797 ieee754/flt-32 implementation for sin, cos and sincos.
34798 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34799 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34800 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34801 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34802 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34803 ieee754/flt-32 implementation for tan.
34804
34805 * math/libm-test.inc (cos_test): Enable some large input tests for
34806 float as well
34807 (sin_test): Likewise.
34808 (sincos_test): Likewise.
34809 (tan_test): Add tests for large input.
34810
34811 * sysdeps/i386/fpu/libm-test-ulps: Update.
34812
81c64153
AJ
348132012-03-15 Andreas Jaeger <aj@suse.de>
34814
34815 [BZ #13658]
34816 * math/libm-test.inc (cos_test): Add more test cases.
34817 (sin_test): Likewise.
34818 (sincos_test): Likewise.
34819
7bbfa5c6
AJ
348202012-03-15 Andreas Jaeger <aj@suse.de>
34821
34822 [BZ #13837]
34823 * math/libm-test.inc (cos_test): Add a test case for large input
34824 value.
34825 (sin_test): Likewise.
34826 (sincos_test): Likewise.
34827
57f41c40
AS
348282012-03-15 Andreas Jaeger <aj@suse.de>
34829 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34830
34831 [BZ #13658]
0671f479 34832 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34833 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34834 * sysdeps/i386/fpu/branred.c: Likewise.
34835 * sysdeps/i386/fpu/dosincos.c: Likewise.
34836 * sysdeps/i386/fpu/mpa.c: Likewise.
34837 * sysdeps/i386/fpu/s_cos.S: Likewise.
34838 * sysdeps/i386/fpu/s_sin.S: Likewise.
34839 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34840 * sysdeps/i386/fpu/sincos32.c: Likewise.
34841
34842 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34843 Define.
34844 (libc_feupdateenv_53bit): Define.
34845 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34846 Define.
34847 (libc_feupdateenv_53bit): Define.
34848
34849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34850 53 bit (without extend i386 double precision).
34851
34852 * math/libm-test.inc (sincos_test): Add tests for large input.
34853 (sin): Likewise.
34854 (cos): Likewise.
34855
34856 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34857
9cad04ea
AS
348582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34859
34860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34861
f7062b9a
DM
348622012-03-15 David S. Miller <davem@davemloft.net>
34863
34864 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34865 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34866 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34867 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34880 file.
f7062b9a 34881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34883 file.
f7062b9a 34884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34886 file.
f7062b9a 34887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34889 file.
f7062b9a
DM
34890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34892 fmin/fmax sysdep routines.
34893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34894
7bd951ff
DM
348952012-03-14 David S. Miller <davem@davemloft.net>
34896
559398ab
DM
34897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34904 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34924 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34925 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34926 routines.
34927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34928 file.
559398ab 34929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34931 file.
559398ab 34932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34934 file.
559398ab 34935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34937 file.
559398ab 34938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34940 file.
559398ab 34941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34943 file.
34944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34945 file.
34946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34947 file.
34948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34949 file.
34950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34951 New file.
34952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34953 file.
34954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34955 file.
559398ab 34956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34958 file.
559398ab 34959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34961 file.
559398ab 34962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34964 file.
559398ab 34965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34967 VIS3 routines.
559398ab
DM
34968
34969 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34970 New file.
34971
5a1c1e32
DM
34972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34973
eae47a36
DM
34974 * sysdeps/sparc/configure.in: New file.
34975 * sysdeps/sparc/configure: Generate.
34976 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34977 * configure: Regenerate.
34978 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34979 * config.make.in (have-as-vis3): New.
34980 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34981 available use -Av9d instead of -Av9a.
34982 * sysdeps/sparc/sparc64/Makefile: Likewise.
34983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34985 New file.
34986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34987 file.
34988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34989 New file.
34990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34991 file.
eae47a36
DM
34992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34997
c0c83bc8
DM
34998 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34999 fzeros/fnegs to load 0x80000000 into a float register instead of
35000 using the stack.
7bd951ff
DM
35001 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35002
bd951ccb
JM
350032012-03-14 Joseph Myers <joseph@codesourcery.com>
35004
35005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35006 bits/syscall.h.
35007 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35008 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35009 ($(inst_includedir)/bits/syscall.h): Remove rule.
35010 ($(objpfx)bits/syscall.d): Include instead of
35011 $(objpfx)syscall-list.d.
35012 (generated): Change syscall-list.h and syscall-list.d to
35013 bits/syscall.h and bits/syscall.d.
35014
bb4e6db2
RM
350152012-03-14 Roland McGrath <roland@hack.frob.com>
35016
35017 [BZ #13846]
35018 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35019
aa4a2ae1
JM
350202012-03-14 Joseph Myers <joseph@codesourcery.com>
35021
e456826d
JM
35022 [BZ #13841]
35023 * math/s_csqrt.c: Include <float.h>.
35024 (__csqrt): Scale large or subnormal inputs.
35025 * math/s_csqrtf.c: Likewise.
35026 * math/s_csqrtl.c: Likewise.
35027 * math/libm-test.inc (csqrt_test): Add more tests.
35028 * sysdeps/i386/fpu/libm-test-ulps: Update.
35029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35030
aa4a2ae1
JM
35031 [BZ #13840]
35032 * math/libm-test.inc (hypot_test): Add more tests.
35033
7c10fd35
DM
350342012-03-13 David S. Miller <davem@davemloft.net>
35035
35036 [BZ #13840]
35037 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35038 double-precision for the calculation instead of scaling.
35039
f453b98b
JM
350402012-03-13 Joseph Myers <joseph@codesourcery.com>
35041
35042 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35043 manipulate bits before adding and subtracting TWO52[sx].
35044 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35045 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35046 Likewise.
35047 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35048
09a3453f
DM
350492012-03-13 David S. Miller <davem@davemloft.net>
35050
8e59da90
DM
35051 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35052 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35054 rtld-global-offsets.h
35055 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35056
2a8ab7f2
DM
35057 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35058 large parameters.
35059
10f62770
DM
35060 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35061
5f0bdb18
DM
35062 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35063 'err' in the ifdef scope in which it is actually used.
35064
09a3453f
DM
35065 * nss/nss_db/db-init.c: Include string.h
35066
b4b2eb5e
DM
350672012-03-12 David S. Miller <davem@davemloft.net>
35068
98bb2f1c
DM
35069 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35070 masking out of the most significant byte of random value used.
35071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35072 Fix coding style in previous change.
35073
b4b2eb5e
DM
35074 * sysdeps/unix/sysv/linux/kernel-features.h
35075 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35076 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35077 expression.
35078 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35079 later.
35080
6e226b09
DM
350812012-03-11 David S. Miller <davem@davemloft.net>
35082
a1bcbd40
DM
35083 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35084 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35085 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35086 for 'resultvar' otherwise things get truncated on 64-bit.
35087
cb9d6174
DM
35088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35089 Fix masking out of the most significant byte of random value used.
35090
6e226b09
DM
35091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35092
058c132d
AS
350932012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35094
35095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35096
2d2cd515
DM
350972012-03-09 David S. Miller <davem@davemloft.net>
35098
35099 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35100 variables with appropriate CPP guards.
57f41c40
AS
35101 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35102 from the frame pointer, not the stack pointer. Correct layout
35103 comments. Fix test on resulting framesize and the management of
35104 the outregs buffer for pltexit. Preserve floating point return
35105 values across _dl_call_pltexit call.
2d2cd515
DM
35106 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35107 framesize and the management of the outregs buffer for pltexit.
35108 Preserve floating point return values across _dl_call_pltexit
35109 call.
57f41c40
AS
35110 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35111 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35112 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35113 (print_exit): Fix format string for return register value.
35114
9a07f9d0
JM
351152012-03-10 Joseph Myers <joseph@codesourcery.com>
35116
35117 * sunrpc/Makefile (others): Add rpcgen.
35118 ($(objpfx)rpcgen): Remove special build rule and dependency on
35119 libc.
35120 * sunrpc/rpcgen.c: New file.
35121
547b5e30
PE
351222012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35123
c524201a
PE
35124 [BZ #13673]
35125 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35126 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35127 * sysdeps/i386/crti.S: Likewise.
35128 * sysdeps/i386/crtn.S: Likewise.
35129 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35130 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35131 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35132 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35133 * sysdeps/sh/crti.S: Likewise.
35134 * sysdeps/sh/crtn.S: Likewise.
35135 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35136
7b6235f2
PE
35137 [BZ #13673]
35138 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35139 with URL.
35140 * locale/programs/locfile-kw.gperf: Likewise.
35141 * locale/programs/charmap-kw.h: Regenerated.
35142 * locale/programs/locfile-kw.h: Likewise.
35143
547b5e30
PE
35144 [BZ #13673]
35145 * intl/plural.y: Replace FSF snail mail address with URL.
35146 * intl/plural.c: Regenerated.
35147
5f0a5dae
RH
351482012-03-09 Richard Henderson <rth@twiddle.net>
35149
35150 * include/math_private.h: Remove file.
35151 * math/math_private.h: Move file ...
35152 * sysdeps/generic/math_private.h: ... here.
35153
b8c03620
RH
35154 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35155 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35156 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35157
4e234f5d 35158 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35159 and <math_private.h>.
35160 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35161 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35162 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35163 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35164 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35165 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35166 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35168 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35169 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35171 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35172 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35173 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35174 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35175 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35177 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35178 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35179 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35181 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35182 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35184 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35185 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35186 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35187 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35190 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35191 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35192 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35193 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35194 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35195 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35196 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35197 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35198 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35200 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35201 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35202 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35203 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35204 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35205 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35206 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35207 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35208 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35209 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35210 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35211 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35212 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35213 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35214 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35215 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35216 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35218 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35219 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35221 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35222 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35223 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35224 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35225 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35226 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35227 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35228 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35229 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35230 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35232 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35234 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35238 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35239 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35240 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35241 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35242 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35243 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35244 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35247 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35248 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35249 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35250 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35251 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35252 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35253 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35254 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35255 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35256 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35257 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35258 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35259 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35260 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35261 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35262 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35263 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35264 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35265 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35266 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35267 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35268 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35269 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35270 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35271 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35272 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35273 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35274 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35275 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35276 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35277 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35278 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35279 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35280 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35281 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35282 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35283 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35284 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35285 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35286 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35287 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35288 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35289 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35290 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35291 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35292 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35293 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35294 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35295 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35296 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35297 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35298 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35299 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35300 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35301 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35302 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35303 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35304 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35305 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35306 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35307 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35308 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35309 * sysdeps/ieee754/k_standard.c: Likewise.
35310 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35311 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35312 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35313 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35314 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35315 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35316 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35317 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35318 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35319 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35320 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35321 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35322 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35323 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35324 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35325 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35326 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35327 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35328 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35329 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35330 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35331 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35332 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35333 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35334 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35335 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35336 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35337 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35338 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35339 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35340 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35341 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35342 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35343 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35344 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35345 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35346 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35347 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35348 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35349 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35350 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35351 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35352 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35353 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35354 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35355 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35356 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35358 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35359 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35360 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35361 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35362 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35363 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35364 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35368 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35369 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35370 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35371 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35372 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35373 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35374 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35376 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35377 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35378 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35379 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35382 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35383 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35384 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35385 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35386 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35387 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35388 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35389 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35390 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35391 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35392 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35393 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35394 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35396 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35397 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35398 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35400 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35401 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35402 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35403 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35404 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35405 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35406 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35407 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35408 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35409 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35411 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35412 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35414 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35417 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35418 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35419 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35420 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35421 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35422 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35423 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35424 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35425 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35426 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35427 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35428 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35429 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35430 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35431 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35432 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35433 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35434 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35435 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35436 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35437 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35438 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35439 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35442 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35443 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35445 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35446 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35448 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35449 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35450 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35451 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35452 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35454 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35455 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35458 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35459 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35460 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35463 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35465 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35466 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35467 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35468 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35469 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35470 * sysdeps/ieee754/s_lib_version.c: Likewise.
35471 * sysdeps/ieee754/s_matherr.c: Likewise.
35472 * sysdeps/ieee754/s_signgam.c: Likewise.
35473 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35474 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35475 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35476 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35477 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35478 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35479 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35480 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35481 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35482 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35483 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35484 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35485 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35486 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35487 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35488 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35489 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35490 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35491 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35492 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35493 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35494
1991fa03
JM
354952012-03-09 Joseph Myers <joseph@codesourcery.com>
35496
35497 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35498 * sunrpc/rpc_main.c: Likewise.
35499 * sunrpc/rpc_svcout.c: Likewise.
35500
60d6f5a6
DM
355012012-03-09 David S. Miller <davem@davemloft.net>
35502
35503 * include/math_private.h: New file.
35504
4962050e
JM
355052012-03-09 Joseph Myers <joseph@codesourcery.com>
35506
02a6f887
JM
35507 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35508 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35509 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35510 from <bits/socket_type.h>.
35511 (enum __socket_type): Don't define here.
35512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35514 bits/socket_type.h.
35515
c6e013c1
JM
35516 [BZ #13566]
35517 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35518 checking __USE_GNU.
35519
4962050e
JM
35520 * Makerules ($(inst_includedir)/%.h): New rule.
35521 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35522 (install-others): Remove variable setting.
35523 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35524
38842f45
RH
355252012-03-08 Richard Henderson <rth@twiddle.net>
35526
67bb6da6
RH
35527 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35528 from macro to inline function; merge with the
35529 !__LIBC_INTERNAL_MATH_INLINES version.
35530 (__ieee754_sqrtf): Likewise.
35531
15194b4b
RH
35532 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35533 to inline function.
35534 (__rintf, __floor, __floorf): Likewise.
35535
64e21ede
RH
35536 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35537 macro to inline function.
35538 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35539
38842f45
RH
35540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35541 not <math/math_private.h>.
35542
c64bf5fe
DM
355432012-03-08 David S. Miller <davem@davemloft.net>
35544
35545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35546 copyright year.
35547 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35548
82d86f28
TS
355492012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35550
35551 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35552 normalization.
35553 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35554 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35555
aea5d727
UD
355562012-03-08 Ulrich Drepper <drepper@gmail.com>
35557
35558 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35559 be defined individually, they must be defined as a block. Define
35560 S for printing a string instead of hidint the different by using a
35561 macro for adding the 'l'.
35562 * stdio-common/tst-fphex-wide.c: Adjust.
35563
70bca0a3
MP
355642012-03-07 Marek Polacek <polacek@redhat.com>
35565
35566 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35567
65b81130
MP
355682012-03-08 Marek Polacek <polacek@redhat.com>
35569
35570 [BZ #13806]
35571 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35572 * stdio-common/tst-fphex.c: Define a few macros to make the
35573 test reusable. Use them.
35574 * stdio-common/tst-fphex-wide.c: New file.
35575
07037eeb
JM
355762012-03-08 Joseph Myers <joseph@codesourcery.com>
35577
a7a93d50
JM
35578 [BZ #6911]
35579 * manual/macros.texi (gnusystems): New macro.
35580 (nongnusystems): Likewise.
35581 (gnulinuxhurdsystems): Likewise.
35582 (gnuhurdsystems): Likewise..
35583 (gnulinuxsystems): Likewise.
35584 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35585 variants of the GNU system, not "GNU system".
35586 * manual/conf.texi: Likewise.
35587 * manual/errno.texi: Likewise. Update example of errno macro
35588 expansion.
35589 * manual/filesys.texi: Likewise.
35590 (getumask): Document as specific to GNU/Hurd.
35591 * manual/install.texi: Likewise. Reword some references to
35592 GNU/Linux.
35593 * manual/intro.texi: Likewise.
35594 * manual/io.texi: Likewise.
35595 (File Name Portability): Detail which constraints are inapplicable
35596 to all GNU systems and which are only inapplicable to GNU/Hurd.
35597 * manual/job.texi: Likewise.
35598 * manual/llio.texi: Likewise.
35599 (O_NOCTTY): Document as present on GNU/Linux.
35600 * manual/maint.texi: Likewise.
35601 * manual/memory.texi: Likewise.
35602 * manual/pattern.texi: Likewise.
35603 * manual/pipe.texi: Likewise.
35604 * manual/process.texi: Likewise.
35605 * manual/resource.texi: Likewise.
35606 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35607 child on GNU/Hurd.
35608 * manual/setjmp.texi: Likewise.
35609 * manual/signal.texi: Likewise.
35610 * manual/startup.texi: Likewise.
35611 * manual/stdio.texi: Likewise.
35612 * manual/terminal.texi: Likewise.
35613 (ONLCR): Document as POSIX.
35614 (OXTABS): Document availability on GNU/Linux as XTABS.
35615 (ONOEOT): Document availability separately from other bits.
35616 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35617 * manual/time.texi: Likewise.
35618 * manual/users.texi: Likewise.
35619 * INSTALL: Regenerated.
35620 * sysdeps/gnu/errlist.c: Regenerated.
35621
07037eeb
JM
35622 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35623 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35624 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35625 puts.
35626 * configure: Regenerated.
35627
d1d3431a
JM
356282012-03-07 Joseph Myers <joseph@codesourcery.com>
35629
af6a1e37
JM
35630 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35631 default includes instead of AC_HEADER_CHECK.
35632 * sysdeps/i386/configure: Regenerated.
35633
d1d3431a
JM
35634 [BZ #10716]
35635 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35636 * math/s_cacoshf.c (__cacoshf): Likewise.
35637 * math/s_cacoshl.c (__cacoshl): Likewise.
35638 * math/s_casinh.c (__casinh): Set signs of result from argument.
35639 * math/s_casinhf.c (__casinhf): Likewise.
35640 * math/s_casinhl.c (__casinhl): Likewise.
35641 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35642 (casinh_test): Add more tests.
35643 * sysdeps/i386/fpu/libm-test-ulps: Update.
35644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35645
482ff4da
UD
356462012-03-07 Ulrich Drepper <drepper@gmail.com>
35647
872fda05
UD
35648 * po/zh_TW.po: Update from translation team.
35649
a4300c7a
UD
35650 * login/Makefile (distribute): Remove variable.
35651 * catgets/Makefile: Likewise.
35652 * mach/Makefile: Likewise.
35653 * malloc/Makefile: Likewise.
35654 * misc/Makefile: Likewise.
35655 * iconv/Makefile: Likewise.
35656 * nscd/Makefile: Likewise.
35657 * hurd/Makefile: Likewise.
35658 * manual/Makefile: Likewise.
35659 * locale/Makefile: Likewise.
35660 * intl/Makefile: Likewise.
35661 * conform/Makefile: Likewise.
35662 * nss/Makefile: Likewise.
35663 * time/Makefile: Likewise.
35664 * soft-fp/Makefile: Likewise.
35665 * dirent/Makefile: Likewise.
35666 * gmon/Makefile: Likewise.
35667 * po/Makefile: Likewise.
35668 * rt/Makefile: Likewise.
35669 * socket/Makefile: Likewise.
35670 * math/Makefile: Likewise.
35671 * signal/Makefile: Likewise.
35672 * debug/Makefile: Likewise.
35673 * elf/Makefile: Likewise.
35674 * timezone/Makefile: Likewise.
35675 * stdlib/Makefile: Likewise.
35676 * iconvdata/Makefile: Likewise.
35677 * sunrpc/Makefile: Likewise.
35678 * io/Makefile: Likewise.
35679 * argp/Makefile: Likewise.
35680 * inet/Makefile: Likewise.
35681 * hesiod/Makefile: Likewise.
35682 * grp/Makefile: Likewise.
35683 * csu/Makefile: Likewise.
35684 * wctype/Makefile: Likewise.
35685 * crypt/Makefile: Likewise.
35686 * libio/Makefile: Likewise.
35687 * string/Makefile: Likewise.
35688 * nis/Makefile: Likewise.
35689 * resolv/Makefile: Likewise.
35690 * stdio-common/Makefile: Likewise.
35691 * wcsmbs/Makefile: Likewise.
35692 * dlfcn/Makefile: Likewise.
35693 * posix/Makefile: Likewise.
35694
3b7c4e74 35695 [BZ #6959]
482ff4da
UD
35696 * timezone/Makefile: Don't install timezone files, just the programs
35697 and scripts.
35698
f72ed77d
UD
356992012-03-06 Ulrich Drepper <drepper@gmail.com>
35700
a000466f
UD
35701 * nss/databases.def: Add missing gshadow entry.
35702
f72ed77d
UD
35703 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35704
a53b7a4e
MP
357052012-03-06 Marek Polacek <polacek@redhat.com>
35706
35707 [BZ #13726]
35708 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35709 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35710 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35711 * stdio-common/tst-long-dbl-fphex.c: New file.
35712
e9258400
DM
357132012-03-06 David S. Miller <davem@davemloft.net>
35714
35715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35716 (set_obp_int): New function.
35717 (get_obp_int): New function.
35718 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35720 Avoid unused variable warnings on 'val' and use builtin_expect.
35721 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35722 __builtin_expect.
e9258400
DM
35723 (INLINE_CLONE_SYSCALL): Likewise.
35724
3bd2c723
DM
357252012-03-05 David S. Miller <davem@davemloft.net>
35726
35727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35728
bbb78d03
AS
357292012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35730
884c5db4
AS
35731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35732
bbb78d03
AS
35733 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35734 only for |x| >= 40.
35735 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35736
1c9f702a 357372012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35738
35739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35740 Replace gettimeofday with __vdso_gettimeofday.
35741
7be16f82
RM
35742 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35743 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35744 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35745
35746 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35747 time with __vdso_time.
35748
ed58a00f
JM
357492012-03-05 Joseph Myers <joseph@codesourcery.com>
35750
35751 * manual/lang.texi (size_t): Note types to which size_t may be
35752 equivalent with the GNU C Library, but do not describe when
35753 differences between them are significant.
35754
30ee4ced
AJ
357552012-03-05 Andreas Jaeger <aj@suse.de>
35756
35757 * sysdeps/i386/fpu/libm-test-ulps: Update.
35758
b7cd39e8
JM
357592012-03-05 Joseph Myers <joseph@codesourcery.com>
35760
35761 [BZ #3976]
35762 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35763 (__ieee754_pow): Save and restore rounding mode and use
35764 round-to-nearest for main computations.
35765 * math/libm-test.inc (pow_test_tonearest): New function.
35766 (pow_test_towardzero): Likewise.
35767 (pow_test_downward): Likewise.
35768 (pow_test_upward): Likewise.
35769 (main): Call the new functions.
35770 * sysdeps/i386/fpu/libm-test-ulps: Update.
35771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35772
35773 [BZ #3976]
35774 * math/libm-test.inc (cosh_test_tonearest): New function.
35775 (cosh_test_towardzero): Likewise.
35776 (cosh_test_downward): Likewise.
35777 (cosh_test_upward): Likewise.
35778 (sinh_test_tonearest): Likewise.
35779 (sinh_test_towardzero): Likewise.
35780 (sinh_test_downward): Likewise.
35781 (sinh_test_upward): Likewise.
35782 (main): Call the new functions.
35783 * sysdeps/i386/fpu/libm-test-ulps: Update.
35784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35785
6c6a98c9
TV
357862012-03-05 Tom de Vries <tom@codesourcery.com>
35787
35788 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35789 default stack guard is set in last bytes.
35790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35791
21bb2d2e 357922012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35793
21bb2d2e 35794 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35795
21bb2d2e
AJ
35796 [BZ #13656]
35797 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35798 possibly allocate from heap instead of stack.
35799 * stdio-common/bug-vfprintf-nargs.c: New file.
35800 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35801
c6922934
AS
358022012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35803
35804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35805
bc957d53
MP
358062012-03-03 Marek Polacek <polacek@redhat.com>
35807
35808 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35809 * math/math_private.h: Likewise.
35810 * stdlib/tst-strtod.c: Likewise.
35811 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35812 * sysdeps/x86_64/bits/atomic.h: Likewise.
35813
6358490d
DM
358142012-03-02 David S. Miller <davem@davemloft.net>
35815
35816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35820 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35821 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35822 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35823 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35824
01ae168d
RM
358252012-03-02 Roland McGrath <roland@hack.frob.com>
35826
d9a17c07
RM
35827 [BZ #13792]
35828 * manual/examples/README: New file, says the example source files
35829 can be used under GPL>=2.
35830 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35831 line containing just "*/".
35832 * manual/examples/add.c: Add copyright header (GPL>=2).
35833 * manual/examples/argp-ex1.c: Likewise.
35834 * manual/examples/argp-ex2.c: Likewise.
35835 * manual/examples/argp-ex3.c: Likewise.
35836 * manual/examples/argp-ex4.c: Likewise.
35837 * manual/examples/atexit.c: Likewise.
35838 * manual/examples/db.c: Likewise.
35839 * manual/examples/dir.c: Likewise.
35840 * manual/examples/dir2.c: Likewise.
35841 * manual/examples/execinfo.c: Likewise.
35842 * manual/examples/filecli.c: Likewise.
35843 * manual/examples/filesrv.c: Likewise.
35844 * manual/examples/fmtmsgexpl.c: Likewise.
35845 * manual/examples/genpass.c: Likewise.
35846 * manual/examples/inetcli.c: Likewise.
35847 * manual/examples/inetsrv.c: Likewise.
35848 * manual/examples/isockad.c: Likewise.
35849 * manual/examples/longopt.c: Likewise.
35850 * manual/examples/memopen.c: Likewise.
35851 * manual/examples/memstrm.c: Likewise.
35852 * manual/examples/mkfsock.c: Likewise.
35853 * manual/examples/mkisock.c: Likewise.
35854 * manual/examples/mygetpass.c: Likewise.
35855 * manual/examples/pipe.c: Likewise.
35856 * manual/examples/popen.c: Likewise.
35857 * manual/examples/rprintf.c: Likewise.
35858 * manual/examples/search.c: Likewise.
35859 * manual/examples/select.c: Likewise.
35860 * manual/examples/setjmp.c: Likewise.
35861 * manual/examples/sigh1.c: Likewise.
35862 * manual/examples/sigusr.c: Likewise.
35863 * manual/examples/stpcpy.c: Likewise.
35864 * manual/examples/strdupa.c: Likewise.
35865 * manual/examples/strftim.c: Likewise.
35866 * manual/examples/strncat.c: Likewise.
35867 * manual/examples/subopt.c: Likewise.
35868 * manual/examples/swapcontext.c: Likewise.
35869 * manual/examples/termios.c: Likewise.
35870 * manual/examples/testopt.c: Likewise.
35871 * manual/examples/testpass.c: Likewise.
35872 * manual/examples/timeval_subtract.c: Likewise.
35873
01ae168d
RM
35874 [BZ #13792]
35875 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35876 function to ...
35877 * manual/timeval_subtract.c.texi: ... here, new file.
35878
49efa33d
DM
358792012-03-02 David S. Miller <davem@davemloft.net>
35880
35881 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35882
28afd92d
JM
358832012-03-02 Joseph Myers <joseph@codesourcery.com>
35884
804360ed
JM
35885 [BZ #3976]
35886 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35887 (__sin): Save and restore rounding mode and use round-to-nearest
35888 for all computations.
35889 (__cos): Save and restore rounding mode and use round-to-nearest
35890 for all computations.
35891 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35892 <fenv.h>.
35893 (tan): Save and restore rounding mode and use round-to-nearest for
35894 all computations.
35895 * math/libm-test.inc (cos_test_tonearest): New function.
35896 (cos_test_towardzero): Likewise.
35897 (cos_test_downward): Likewise.
35898 (cos_test_upward): Likewise.
35899 (sin_test_tonearest): Likewise.
35900 (sin_test_towardzero): Likewise.
35901 (sin_test_downward): Likewise.
35902 (sin_test_upward): Likewise.
35903 (tan_test_tonearest): Likewise.
35904 (tan_test_towardzero): Likewise.
35905 (tan_test_downward): Likewise.
35906 (tan_test_upward): Likewise.
35907 (main): Call the new functions.
35908 * sysdeps/i386/fpu/libm-test-ulps: Update.
35909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35910
a6d06d7b
JM
35911 [BZ #10135]
35912 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35913 small n, then large n, before computing and testing k+n.
35914 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35916 Likewise.
35917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35918 Likewise.
35919 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35920 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35921 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35922 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35923 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35925 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35926 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35927 * math/libm-test.inc (scalbn_test): Add more tests.
35928 (scalbln_test): Likewise.
35929
07e12bb3
JM
35930 * manual/filesys.texi (mode_t): Describe constraints on size and
35931 signedness, not exact equivalence to a particular type.
35932 (ino_t): Likewise.
35933 (ino64_t): Likewise.
35934 (dev_t): Likewise.
35935 (nlink_t): Likewise.
35936 (blkcnt_t): Likewise.
35937 (blkcnt64_t): Likewise.
35938 * manual/llio.texi (off_t): Likewise.
35939
28afd92d
JM
35940 [BZ #3976]
35941 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35942 (__ieee754_exp): Save and restore rounding mode and use
35943 round-to-nearest for all computations.
35944 * math/libm-test.inc (exp_test_tonearest): New function.
35945 (exp_test_towardzero): Likewise.
35946 (exp_test_downward): Likewise.
35947 (exp_test_upward): Likewise.
35948 (main): Call the new functions.
35949 * sysdeps/i386/fpu/libm-test-ulps: Update.
35950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35951
b1eeb65d
CD
359522012-03-01 Chris Demetriou <cgd@google.com>
35953
35954 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35955 have predictable order.
35956
53362a4b
DM
359572012-03-01 David S. Miller <davem@davemloft.net>
35958
3c969083
DM
35959 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35960
759707de
DM
35961 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35962 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35963 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35964 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35965
dfdb8ff2
DM
35966 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35967 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35968 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35970 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35971 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35972 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35973 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35974 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35975
ead89f96
DM
35976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35977
7f66bd07
DM
35978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35979 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35980 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35981
53362a4b
DM
35982 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35983 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35984 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35985 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35986 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35987 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35989 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35990 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35991 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35992 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35995 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35996 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35998 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35999 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36000 * sysdeps/sparc/elf/configure: Regenerated.
36001
7b1902cb
JM
360022012-03-01 Joseph Myers <joseph@codesourcery.com>
36003
bec039bc
JM
36004 * configure.in (AS, LD): Require binutils 2.20 or later.
36005 * configure: Regenerated.
36006 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36007 as required minimum version.
36008 * INSTALL: Regenerated.
36009
7b1902cb
JM
36010 [BZ #2541]
36011 [BZ #4108]
36012 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36013 before squaring exponent.
36014 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36015 bottom long double and 27 bits of top long double before squaring
36016 exponent.
36017 * math/libm-test.inc (erfc_test): Add more tests.
36018 * sysdeps/i386/fpu/libm-test-ulps: Update.
36019 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36021
f775c276
KT
360222012-03-01 Kai Tietz <ktietz@redhat.com>
36023
36024 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36025 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36026 containing bit-fields.
36027 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36028 * soft-fp/single.h (_FP_UNION_S): Likewise.
36029 * soft-fp/double.h (_FP_UNION_D): Likewise.
36030
5b8a4d4a
JM
360312012-02-29 Joseph Myers <joseph@codesourcery.com>
36032
0bab47b6
JM
36033 [BZ #13786]
36034 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36035 not include ../strcmp.S.
36036 [USE_AS_STRNCASECMP_L]: Likewise.
36037 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36038 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36039 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36040 (__strncasecmp_l_ia32): Define as alias to
36041 __strncasecmp_l_nonascii.
36042
0fcad3e2
JM
36043 [BZ #5794]
36044 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36045 * sysdeps/i386/fpu/libm-test-ulps: Update.
36046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36047
5b8a4d4a
JM
36048 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36050
8fdceb2e
JL
360512012-02-29 Jeff Law <law@redhat.com>
36052
36053 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36054 out of bounds read.
36055
1f393a11
MP
360562012-02-29 Marek Polacek <polacek@redhat.com>
36057
36058 [BZ #13706]
36059 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36060 * elf/Makefile: Add rules to run tst-unused-dep.out.
36061
8847f037
DM
360622012-02-28 David S. Miller <davem@davemloft.net>
36063
36064 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36065 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36066 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36067 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36068 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36069 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36070
169d7f11
JM
360712012-02-29 Joseph Myers <joseph@codesourcery.com>
36072
36073 * math/libm-test.inc (llround_test): Move one test from
36074 lround_test. Use TEST_f_L in moved test.
36075 (lround_test): Move misplaced test to llround_test. Add testcase
36076 from bug 2561.
36077
39adf059
UD
360782012-02-28 Ulrich Drepper <drepper@gmail.com>
36079
36080 * sysdeps/x86_64/fpu/e_expf.S: New file.
36081 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36082
71b5d1c5
SB
360832012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36084
36085 [BZ #13637]
36086 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36087 of remain_len that may cause incomplete multi-byte character and
36088 false match.
36089 * posix/bug-regex33.c: New file.
36090 * posix/Makefile (tests): Add bug-regex33.
36091
1f77f049
JM
360922012-02-28 Joseph Myers <joseph@codesourcery.com>
36093
36094 * manual/macros.texi: New file.
36095 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36096 * manual/libc.texinfo: Include macros.texi.
36097 * manual/creatute.texi: Likewise.
36098 * manual/install.texi: Likewise.
36099 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36100 @glibcadj{} in references to the GNU C Library.
36101 * manual/charset.texi: Likewise.
36102 * manual/conf.texi: Likewise.
36103 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36104 when not using those macros.
36105 * manual/creature.texi: Likewise.
36106 * manual/crypt.texi: Likewise.
36107 * manual/errno.texi: Likewise.
36108 * manual/filesys.texi: Likewise.
36109 * manual/header.texi: Likewise.
36110 * manual/install.texi: Likewise.
36111 * manual/intro.texi: Likewise.
36112 * manual/io.texi: Likewise.
36113 * manual/job.texi: Likewise.
36114 * manual/lang.texi: Likewise.
36115 * manual/libc.texiinfo: Likewise.
36116 * manual/llio.texi: Likewise.
36117 * manual/locale.texi: Likewise.
36118 * manual/maint.texi: Likewise.
36119 * manual/math.texi: Likewise.
36120 * manual/memory.texi: Likewise.
36121 * manual/message.texi: Likewise.
36122 * manual/nss.texi: Likewise.
36123 * manual/pattern.texi: Likewise.
36124 * manual/process.texi: Likewise.
36125 * manual/resource.texi: Likewise.
36126 * manual/search.texi: Likewise.
36127 * manual/setjmp.texi: Likewise.
36128 * manual/signal.texi: Likewise.
36129 * manual/socket.texi: Likewise.
36130 * manual/startup.texi: Likewise.
36131 * manual/stdio.texi: Likewise.
36132 * manual/string.texi: Likewise.
36133 * manual/sysinfo.texi: Likewise.
36134 * manual/syslog.texi: Likewise.
36135 * manual/terminal.texi: Likewise.
36136 * manual/time.texi: Likewise.
36137 * manual/users.texi: Likewise.
36138 * INSTALL: Regenerated.
36139 * NOTES: Regenerated.
d40c5d54 36140 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36141
450bf206
AS
361422012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36143
36144 * include/dirent.h: Include <dirstream.h> before
36145 <dirent/dirent.h>.
36146
741a235b
DM
361472012-02-28 David S. Miller <davem@davemloft.net>
36148
36149 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36150 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36151 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36152 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36153
d6b5aa58
DM
361542012-02-27 David S. Miller <davem@davemloft.net>
36155
1aff59a3
DM
36156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36158 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36159 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36160
d6b5aa58
DM
36161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36162 frame pointer instead of stack pointer relative arg slot.
36163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36164 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36165 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36166
433f48bf
CD
361672012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36168
36169 [BZ #3992]
36170 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36171
d674b76d
DM
361722012-02-27 David S. Miller <davem@davemloft.net>
36173
36174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36178 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36179 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36180 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36181 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36182
0e7727f7
JM
361832012-02-27 Joseph Myers <joseph@codesourcery.com>
36184
36185 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36186 later. Allow versions 5-9.
43be4ca2 36187 * configure: Regenerated.
0e7727f7
JM
36188 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36189 required minimum version and 4.6 as recommended version. Do not
36190 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36191 * INSTALL: Regenerated.
0e7727f7 36192
a78bc654
DM
361932012-02-27 David S. Miller <davem@davemloft.net>
36194
428d5830
DM
36195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36199 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36200 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36201 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36202 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36203
a78bc654
DM
36204 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36205 manipulate bits before adding and subtracting TWO112[sx].
36206 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36207
4579f81c
RM
362082012-02-27 Roland McGrath <roland@hack.frob.com>
36209
36c8acb4
RM
36210 [BZ #13775]
36211 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36212 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36213 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36214 being in POSIX, because they are in 1003.1-2008.
36215
84ad622b
RM
36216 * rt/tst-aio.c: Include <fcntl.h>.
36217 * rt/tst-aio7.c: Likewise.
36218 * rt/tst-aio64.c: Likewise.
36219
4579f81c
RM
36220 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36221
abd923db
JM
362222012-02-27 Joseph Myers <joseph@codesourcery.com>
36223
36224 * manual/install.texi (--with-headers): Describe headers as
36225 interface headers, not private headers.
36226 (Specific advice for GNU/Linux systems): Describe use of headers
36227 from "make headers_install", not private headers from older
36228 kernels.
43be4ca2 36229 * INSTALL: Regenerated.
abd923db
JM
36230 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36231 Change to 2.6.19.
36232 * sysdeps/unix/sysv/linux/configure: Regenerated.
36233
6664049b
JM
36234 * manual/llio.texi (fclean): Remove documentation.
36235
bb8b6697
JM
36236 * manual/Makefile (libc-texi-generated): New variable. Include
36237 version.texi.
36238 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36239 $(libc-texi-generated), not duplicated list of files.
36240 (version.texi, stamp-version): New rules.
36241 (realclean): Remove $(libc-texi-generated), not individual files
36242 from that list. Do not remove dir-add.texinfo.
36243 * manual/libc.texinfo: Comment out uses of edition numbers and
36244 references to printed manual. Remove last-updated dates.
36245 (EDITION): Comment out.
36246 (ISBN): Likewise.
36247 (VERSION, UPDATED): Remove.
36248 (version.texi): Include.
36249
12e5c3b9
AS
362502012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36251
36252 * sysdeps/posix/spawni.c: Include <signal.h>.
36253 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36254 * sysdeps/pthread/aio_fsync.c: Likewise.
36255
4efeffc1 362562012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36257
ba63ba08
UD
36258 * conform/Makefile (tests): Run only when not cross-compiling and
36259 when fast-check is not defined.
36260
d94a4670
UD
36261 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36262 * conform/data/limits.h-data: Fixes for POSIX2008.
36263 * conform/run-conformtest.sh: Run all tests.
36264 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36265 headers.
36266 * include/bits/dlfcn.h: Likewise.
36267 * include/langinfo.h: Likewise.
36268 * include/monetary.h: Likewise.
36269 * include/sys/poll.h: Likewise.
36270
36271 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36272 for __USE_GNU.
36273 * posix/spawn.h: Define __need_sigset_t.
36274 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36275 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36276 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36277 to get sigevent_t only.
36278 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36279 only for __USE_GNU.
36280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36281 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36282 process_vm_writev only for __USE_GNU.
36283 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36284
36285 * conform/Makefile: For now ignore errors from run-conformtest.
36286 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36287 POSIX to avoid namespace pollution. Don't prepend headers.
36288 * conform/data/aio.h-data: Fixes for POSIX testing.
36289 * conform/data/fcntl.h-data: Likewise.
36290 * conform/data/glob.h-data: Likewise.
36291 * conform/data/grp.h-data: Likewise.
36292 * conform/data/pthread.h-data: Likewise.
36293 * conform/data/pwd.h-data: Likewise.
36294 * conform/data/signal.h-data: Likewise.
36295 * conform/data/spawn.h-data: Likewise.
36296 * conform/data/stdio.h-data: Likewise.
36297 * conform/data/stdlib.h-data: Likewise.
36298 * conform/data/stropts.h-data: Likewise.
36299 * conform/data/sys/mman.h-data: Likewise.
36300 * conform/data/sys/stat.h-data: Likewise.
36301 * conform/data/sys/types.h-data: Likewise.
36302 * conform/data/sys/wait.h-data: Likewise.
36303 * conform/data/time.h-data: Likewise.
36304 * conform/data/unistd.h-data: Likewise.
36305 * conform/data/utime.h-data: Likewise.
36306
36307 * io/sys/stat.h: fchmod was always in POSIX.
36308 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36309 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36310 * rt/aio.h: Define __need_timespec before including <time.h>.
36311 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36312 struct. Add forward declaration of pthread_attr_t and use it in
36313 sigevent.
36314 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36316 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36317 always remove CLK_TCK definition.
36318
c20105c3
AS
363192012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36320
36321 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36322
7a270350
UD
363232012-02-25 Ulrich Drepper <drepper@gmail.com>
36324
31341567
UD
36325 * conform/run-conformtest.sh: New file.
36326 * conform/Makefile: Run run-conformtest for tests.
36327 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36328 support.
36329
36330 * conform/data/uchar.h-data: New file.
36331 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36332 * conform/data/arpa/inet.h-data: Likewise.
36333 * conform/data/assert.h-data: Likewise.
36334 * conform/data/complex.h-data: Likewise.
36335 * conform/data/cpio.h-data: Likewise.
36336 * conform/data/ctype.h-data: Likewise.
36337 * conform/data/dirent.h-data: Likewise.
36338 * conform/data/dlfcn.h-data: Likewise.
36339 * conform/data/errno.h-data: Likewise.
36340 * conform/data/fcntl.h-data: Likewise.
36341 * conform/data/float.h-data: Likewise.
36342 * conform/data/fmtmsg.h-data: Likewise.
36343 * conform/data/fnmatch.h-data: Likewise.
36344 * conform/data/ftw.h-data: Likewise.
36345 * conform/data/glob.h-data: Likewise.
36346 * conform/data/grp.h-data: Likewise.
36347 * conform/data/iconv.h-data: Likewise.
36348 * conform/data/inttypes.h-data: Likewise.
36349 * conform/data/langinfo.h-data: Likewise.
36350 * conform/data/libgen.h-data: Likewise.
36351 * conform/data/limits.h-data: Likewise.
36352 * conform/data/locale.h-data: Likewise.
36353 * conform/data/math.h-data: Likewise.
36354 * conform/data/monetary.h-data: Likewise.
36355 * conform/data/mqueue.h-data: Likewise.
36356 * conform/data/ndbm.h-data: Likewise.
36357 * conform/data/net/if.h-data: Likewise.
36358 * conform/data/netdb.h-data: Likewise.
36359 * conform/data/netinet/in.h-data: Likewise.
36360 * conform/data/nl_types.h-data: Likewise.
36361 * conform/data/poll.h-data: Likewise.
36362 * conform/data/pthread.h-data: Likewise.
36363 * conform/data/pwd.h-data: Likewise.
36364 * conform/data/regex.h-data: Likewise.
36365 * conform/data/sched.h-data: Likewise.
36366 * conform/data/search.h-data: Likewise.
36367 * conform/data/semaphore.h-data: Likewise.
36368 * conform/data/setjmp.h-data: Likewise.
36369 * conform/data/signal.h-data: Likewise.
36370 * conform/data/spawn.h-data: Likewise.
36371 * conform/data/stdarg.h-data: Likewise.
36372 * conform/data/stdio.h-data: Likewise.
36373 * conform/data/stdlib.h-data: Likewise.
36374 * conform/data/string.h-data: Likewise.
36375 * conform/data/strings.h-data: Likewise.
36376 * conform/data/stropts.h-data: Likewise.
36377 * conform/data/sys/ipc.h-data: Likewise.
36378 * conform/data/sys/mman.h-data: Likewise.
36379 * conform/data/sys/msg.h-data: Likewise.
36380 * conform/data/sys/resource.h-data: Likewise.
36381 * conform/data/sys/select.h-data: Likewise.
36382 * conform/data/sys/sem.h-data: Likewise.
36383 * conform/data/sys/shm.h-data: Likewise.
36384 * conform/data/sys/socket.h-data: Likewise.
36385 * conform/data/sys/stat.h-data: Likewise.
36386 * conform/data/sys/statvfs.h-data: Likewise.
36387 * conform/data/sys/time.h-data: Likewise.
36388 * conform/data/sys/timeb.h-data: Likewise.
36389 * conform/data/sys/times.h-data: Likewise.
36390 * conform/data/sys/types.h-data: Likewise.
36391 * conform/data/sys/uio.h-data: Likewise.
36392 * conform/data/sys/un.h-data: Likewise.
36393 * conform/data/sys/utsname.h-data: Likewise.
36394 * conform/data/sys/wait.h-data: Likewise.
36395 * conform/data/syslog.h-data: Likewise.
36396 * conform/data/tar.h-data: Likewise.
36397 * conform/data/termios.h-data: Likewise.
36398 * conform/data/utime.h-data: Likewise.
36399 * conform/data/utmpx.h-data: Likewise.
36400 * conform/data/varargs.h-data: Likewise.
36401 * conform/data/wchar.h-data: Likewise.
36402 * conform/data/wctype.h-data: Likewise.
36403 * conform/data/wordexp.h-data: Likewise.
36404
36405 * include/stropts.h: New file.
36406 * include/uchar.h: New file.
36407 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36408 * include/assert.h: Likewise.
36409 * include/ctype.h: Likewise.
36410 * include/dirent.h: Likewise.
36411 * include/dlfcn.h: Likewise.
36412 * include/fcntl.h: Likewise.
36413 * include/fnmatch.h: Likewise.
36414 * include/glob.h: Likewise.
36415 * include/grp.h: Likewise.
36416 * include/libio.h: Likewise.
36417 * include/locale.h: Likewise.
36418 * include/math.h: Likewise.
36419 * include/net/if.h: Likewise.
36420 * include/netdb.h: Likewise.
36421 * include/netinet/in.h: Likewise.
36422 * include/pthread.h: Likewise.
36423 * include/pwd.h: Likewise.
36424 * include/regex.h: Likewise.
36425 * include/sched.h: Likewise.
36426 * include/search.h: Likewise.
36427 * include/setjmp.h: Likewise.
36428 * include/signal.h: Likewise.
36429 * include/stdio.h: Likewise.
36430 * include/stdlib.h: Likewise.
36431 * include/string.h: Likewise.
36432 * include/sys/cdefs.h: Likewise.
36433 * include/sys/mman.h: Likewise.
36434 * include/sys/msg.h: Likewise.
36435 * include/sys/resource.h: Likewise.
36436 * include/sys/select.h: Likewise.
36437 * include/sys/socket.h: Likewise.
36438 * include/sys/stat.h: Likewise.
36439 * include/sys/statvfs.h: Likewise.
36440 * include/sys/time.h: Likewise.
36441 * include/sys/times.h: Likewise.
36442 * include/sys/uio.h: Likewise.
36443 * include/sys/utsname.h: Likewise.
36444 * include/sys/wait.h: Likewise.
36445 * include/termios.h: Likewise.
36446 * include/time.h: Likewise.
36447 * include/ulimit.h: Likewise.
36448 * include/unistd.h: Likewise.
36449 * include/utime.h: Likewise.
36450 * include/wchar.h: Likewise.
36451 * include/wctype.h: Likewise.
36452 * include/wordexp.h: Likewise.
36453
36454 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36455
7a270350
UD
36456 * time/time.h: TIME_UTC must be a macro.
36457 Make timespec_get available for ISO C11 only as well.
36458
7724defc
UD
364592012-02-24 Ulrich Drepper <drepper@gmail.com>
36460
36461 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36462 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36463
6b1d1d46
JM
364642012-02-24 Joseph Myers <joseph@codesourcery.com>
36465
36466 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36467
0f8bbd69
JM
364682012-02-24 Joseph Myers <joseph@codesourcery.com>
36469
36470 * manual/texinfo.tex: Update to version 2012-01-19.16.
36471
66ab80bc
JM
364722012-02-24 Joseph Myers <joseph@codesourcery.com>
36473
36474 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36475
74981cc5
RM
364762012-02-24 Roland McGrath <roland@hack.frob.com>
36477
ee968201
RM
36478 [BZ #13738]
36479 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36480 * manual/fdl-1.3.texi: New file.
36481 * manual/fdl-1.1.texi: File removed.
36482
74981cc5
RM
36483 [BZ #13738]
36484 * manual/libc.texinfo (FDL_VERSION): New @set.
36485 Use it for mention of FDL in cover text.
36486 (Documentation License): Use it in @include file name.
36487
7bb764bc
JM
364882012-02-22 Joseph Myers <joseph@codesourcery.com>
36489 Roland McGrath <roland@hack.frob.com>
36490
36491 [BZ #5461]
57f41c40
AS
36492 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36493 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36494 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36495 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36496 name.
36497 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36498
6cbeae47
JM
364992012-02-22 Joseph Myers <joseph@codesourcery.com>
36500
36501 [BZ #2547]
36502 [BZ #11365]
36503 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36504 manipulate bits before adding and subtracting TWO23[sx].
36505 * math/libm-test.inc (nearbyint_test): Add more tests.
36506
fe45ce09
JM
365072012-02-22 Joseph Myers <joseph@codesourcery.com>
36508
36509 [BZ #2548]
36510 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36511 bits before adding and subtracting TWO23[sx].
36512 * math/libm-test.inc (rint_test): Add more tests.
36513 (rint_test_tonearest): Likewise.
36514 (rint_test_towardzero): Likewise.
36515 (rint_test_downward): Likewise.
36516 (rint_test_upward: Likewise.
36517
ff3b3d82
JM
365182012-02-22 Joseph Myers <joseph@codesourcery.com>
36519
36520 [BZ #10110]
36521 * include/stdc-predef.h: New file. Extracted from features.h.
36522 * include/features.h: Include stdc-predef.h.
36523 * Makefile (headers): Add stdc-predef.h.
36524 * CONFORMANCE (Compiler limitations): Update.
36525
ef0aab35
JM
365262012-02-22 Joseph Myers <joseph@codesourcery.com>
36527
36528 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36529
58639409
DM
365302012-02-21 David S. Miller <davem@davemloft.net>
36531
36532 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36533 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36534
c0e70b25
DM
365352012-02-20 David S. Miller <davem@davemloft.net>
36536
36537 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36538 using a normal save/restore sequence, rather than allocating a
36539 dummy stack frame just to store a frame pointer and restore.
36540 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36541
fb06851d
JM
365422012-02-21 Joseph Myers <joseph@codesourcery.com>
36543
36544 * manual/install.texi: Fix stray word in line-wrapped comment.
36545
7a8b71c3
DM
365462012-02-20 David S. Miller <davem@davemloft.net>
36547
d510c123
DM
36548 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36549 both binutils and gcc support GOTDATA.
36550
0722d7c2
DM
36551 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36552 "rd %pc" in the PIC register setup sequences.
36553
3d2b3019
DM
36554 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36555 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36556 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36557 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36558 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36559 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36561 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36563 (SYSCALL_ERROR_HANDLER): Likewise.
36564 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36565 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36566 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36567 (SYSCALL_ERROR_HANDLER): Likewise.
36568
c80098a9
DM
36569 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36570 (HAVE_GCC_GOTDATA): New.
36571 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36572 relocation support in both binutils and gcc.
36573 * sysdeps/sparc/elf/configure: Regenerate.
36574
3a2545a0
DM
36575 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36576 * sysdeps/sparc/sparc32/elf/configure: Delete.
36577 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36578 * sysdeps/sparc/sparc64/elf/configure: Delete.
36579 * sysdeps/sparc/elf/configure.in: New file.
36580 * sysdeps/sparc/elf/configure: Generate.
36581
7a8b71c3
DM
36582 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36583 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36584 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36585 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36586 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36587
f1e86fca
JM
365882012-02-21 Joseph Myers <joseph@codesourcery.com>
36589
36590 * manual/install.texi: Do not mention specific glibc version
36591 numbers.
36592 * manual/libc.texinfo (VERSION, UPDATED): Update.
36593 (@copying): Use @copyright{} and range of years.
36594
0e7dfaef
JM
365952012-02-21 Joseph Myers <joseph@codesourcery.com>
36596
36597 [BZ #13695]
36598 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36599 [crti.S not in sysdirs] (generated): Do not append.
36600 [crti.S not in sysdirs] (omit-deps): Likewise.
36601 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36602 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36603 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36604 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36605 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36606 Likewise.
36607 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36608 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36609 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36610 * csu/defs.awk: Remove file.
36611 * sysdeps/generic/initfini.c: Likewise.
36612 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36613 variable.
36614 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36615 Likewise.
36616
599af3ca
JM
366172012-02-20 Joseph Myers <joseph@codesourcery.com>
36618
36619 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36620 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36621 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36622 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36623 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36624 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36625 <bits/epoll.h>.
36626 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36627 (__EPOLL_PACKED): Define to empty if not defined by
36628 <bits/epoll.h>.
36629 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36631 bits/epoll.h.
36632
0e499750
JM
366332012-02-20 Joseph Myers <joseph@codesourcery.com>
36634
36635 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36636 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36637 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36638 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36639 <bits/timerfd.h>.
36640 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36642 bits/timerfd.h.
36643
5ad91f6e
JM
366442012-02-20 Joseph Myers <joseph@codesourcery.com>
36645
36646 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36647 in C locale.
36648 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36649 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36652
06b99b02
AJ
366532012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36654
36655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36656 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36657
7638c0fd
AS
366582012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36659
36660 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36661 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36662 defined.
36663 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36664 Likewise.
36665 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36666 entry for 2.16.
36667
92221550
AJ
366682012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36669
36670 * math/w_acos.c: Use non-signaling floating-point comparisons.
36671 * math/w_acosf.c: Likewise.
36672 * math/w_acosh.c: Likewise.
36673 * math/w_acoshf.c: Likewise.
36674 * math/w_acoshl.c: Likewise.
36675 * math/w_acosl.c: Likewise.
36676 * math/w_asin.c: Likewise.
36677 * math/w_asinf.c: Likewise.
36678 * math/w_asinl.c: Likewise.
36679 * math/w_atanh.c: Likewise.
36680 * math/w_atanhf.c: Likewise.
36681 * math/w_atanhl.c: Likewise.
36682 * math/w_exp2.c: Likewise.
36683 * math/w_exp2f.c: Likewise.
36684 * math/w_exp2l.c: Likewise.
36685 * math/w_j0.c: Likewise.
36686 * math/w_j0f.c: Likewise.
36687 * math/w_j0l.c: Likewise.
36688 * math/w_j1.c: Likewise.
36689 * math/w_j1f.c: Likewise.
36690 * math/w_j1l.c: Likewise.
36691 * math/w_jn.c: Likewise.
36692 * math/w_jnf.c: Likewise.
36693 * math/w_log.c: Likewise.
36694 * math/w_log10.c: Likewise.
36695 * math/w_log10f.c: Likewise.
36696 * math/w_log10l.c: Likewise.
36697 * math/w_log2.c: Likewise.
36698 * math/w_log2f.c: Likewise.
36699 * math/w_log2l.c: Likewise.
36700 * math/w_logf.c: Likewise.
36701 * math/w_logl.c: Likewise.
36702 * math/w_sqrt.c: Likewise.
36703 * math/w_sqrtf.c: Likewise.
36704 * math/w_sqrtl.c: Likewise.
36705 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36706 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36707 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36708 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36709 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36710
ebaf36eb
JM
367112012-02-19 Joseph Myers <joseph@codesourcery.com>
36712
36713 [BZ #9739]
36714 * manual/string.texi (strnlen): Use correct parameter name in
36715 equivalent expression.
36716
71c254a6
JM
367172012-02-19 Joseph Myers <joseph@codesourcery.com>
36718
36719 [BZ #11174]
36720 * manual/users.texi (seteuid): Consistently use neweuid for
36721 argument name.
36722
16d2c631
JM
367232012-02-19 Joseph Myers <joseph@codesourcery.com>
36724
36725 [BZ #13704]
36726 * manual/nss.texi (Services in the NSS configuration): Correct
36727 list of services in example configuration file.
36728
cd837b09
NB
367292012-02-19 Nick Bowler <nbowler@draconx.ca>
36730
36731 [BZ #11322]
36732 * manual/arith.texi: Remove statements about negative zero
36733 behaving identically to zero.
36734
02c4bbad
JM
367352012-02-18 Joseph Myers <joseph@codesourcery.com>
36736
36737 [BZ #5993]
36738 * manual/install.texi: Do not document upgrading from libc5.
36739
366842e7
JM
367402012-02-18 Joseph Myers <joseph@codesourcery.com>
36741
36742 [BZ #4596]
36743 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36744
dd54084d
DM
367452012-02-18 David S. Miller <davem@davemloft.net>
36746
36747 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36748 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36749 %o7 across the call.
36750 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36751 instead.
36752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36753 SETUP_PIC_REG_LEAF.
36754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36755 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36756 * sysdeps/sparc/crtn.S: Likewise.
36757
2bcc53a3
UD
367582012-02-17 Ulrich Drepper <drepper@gmail.com>
36759
36760 * aout/Makefile: Remove.
36761
09c093b5
RK
367622012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36763
36764 [BZ #13058]
36765 * manual/examples/argp-ex1.c (main): Format definition in GNU
36766 style.
36767 * manual/examples/argp-ex2.c (main): Likewise.
36768 * manual/examples/argp-ex3.c (main): Likewise.
36769 * manual/examples/argp-ex4.c (main): Likewise.
36770 * manual/examples/longopt.c (main): Use new-style prototype
36771 definition.
36772 * manual/examples/strncat.c (main): Specify return type and use
36773 (void) for arguments.
36774 * manual/examples/subopt.c (main): Use char **argv argument.
36775
2ee633a2
JM
367762012-02-17 Joseph Myers <joseph@codesourcery.com>
36777
36778 [BZ #5077]
36779 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36780 rounding modes.
36781
0520adde
FB
367822012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36783
36784 [BZ #6907]
36785 * manual/string.texi (strchr): Change when strchrnul is
36786 recommended.
36787
3f4081cd
DGM
367882012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36789
36790 [BZ #174]
36791 * manual/locale.texi (setlocale): Document LOCPATH.
36792
d1b10e78
JM
367932012-02-17 Joseph Myers <joseph@codesourcery.com>
36794
36795 [BZ #10210]
36796 * manual/process.texi (execle): Move @dots{} before last argument.
36797
79c6869c
PB
367982012-02-17 Paul Bolle <pebolle@tiscali.nl>
36799
36800 [BZ #12047]
36801 * manual/charset.texi (Generic Charset Conversion): Fix typo
36802 (LC_TYPE -> LC_CTYPE).
36803
cc6e48bc
NB
368042012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36805
36806 [BZ #5805]
36807 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36808 (scalbnf): Likewise.
36809 (scalbnl): Likewise.
36810 (scalbln): Likewise.
36811 (scalblnf): Likewise.
36812 (scalblnl): Likewise.
36813 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36814 (vwarnx): Likewise.
36815 (verr): Likewise.
36816 (verrx): Likewise.
36817 * manual/filesys.texi (telldir): Use braces around return type.
36818 * manual/llio.texi (mmap): Add space after comma.
36819 (mmap64): Likewise.
36820 * manual/math.texi (jn): Use @var{} on parameter names.
36821 (jnf): Likewise.
36822 (jnl): Likewise.
36823 (yn): Likewise.
36824 (ynf): Likewise.
36825 (ynl): Likewise.
36826 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36827 line.
36828 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36829 "...".
36830 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36831 (sched_get_priority_max): Likewise.
36832 * manual/signal.texi (sigvec): Add space after comma.
36833 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36834 names.
36835 (if_indextoname): Likewise.
36836 (if_freenameindex): Likewise.
36837 (sendto): Use ',' instead of '.' in prototype.
36838 * manual/startup.texi (syscall): Use @dots{} instead of literal
36839 "...".
36840 * manual/stdio.texi (__fpending): Separate initial words of
36841 paragraph from @deftypefun line.
36842 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36843 "...".
36844 (vsyslog): Use @var{} on parameter names.
36845 * manual/terminal.texi (stty): Use @var{} on parameter names.
36846 * manual/users.texi (getutmp): Use @var{} on parameter names.
36847 (getutmpx): Likewise.
36848
5b23062f
JM
368492012-02-17 Joseph Myers <joseph@codesourcery.com>
36850
36851 [BZ #6884]
36852 * manual/stdio.texi (fopen): Fix typos in description of
36853 ",ccs=STRING".
36854
8dee4833
AJ
368552012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36856
36857 [BZ #4026]
36858 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36859 get clock_id definition.
36860
9078ce93
TS
368612012-02-17 Thomas Schwinge <thomas@schwinge.name>
36862
36863 [BZ #4822]
36864 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36865 (madvise): Cast every argument to void on its own.
36866
3835c55f
JM
368672012-02-17 Joseph Myers <joseph@codesourcery.com>
36868
36869 [BZ #9902]
36870 * manual/startup.texi (Exit Status): Fix typo.
36871
35c47e37
JM
368722012-02-17 Joseph Myers <joseph@codesourcery.com>
36873
36874 [BZ #10140]
36875 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36876 * manual/examples/argp-ex2.c: Likewise.
36877 * manual/examples/argp-ex3.c: Likewise.
36878
e3b69ca7
RH
368792012-02-16 Richard Henderson <rth@redhat.com>
36880
36881 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36882 * sysdeps/s390/s390-32/initfini.c: Remove.
36883 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36884 * sysdeps/s390/s390-64/initfini.c: Remove.
36885
df83af67
KK
368862012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36887
36888 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36889 compiler output for sysdeps/generic/initfini.c.
36890 * sysdeps/sh/elf/initfini.c: Remove file.
36891
f63f3380
DM
368922012-02-16 David S. Miller <davem@davemloft.net>
36893
fb59b3a4
DM
36894 [BZ #11494]
36895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36896
f63f3380
DM
36897 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36898 * sysdeps/sparc/crti.S: New file.
36899 * sysdeps/sparc/crtn.S: New file.
36900 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36901 * sysdeps/sparc/sparc64/Makefile: Likewise.
36902
df6a4a4a
MF
369032012-02-15 Mike Frysinger <vapier@gentoo.org>
36904
6dd8f3dc 36905 [BZ #3335]
df6a4a4a
MF
36906 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36907
1cac7236
RM
369082012-02-15 Roland McGrath <roland@hack.frob.com>
36909
d2c736f8
RM
36910 [BZ #4822]
36911 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36912
1cac7236
RM
36913 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36914 (write, read, close): Likewise.
36915 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36916
8e475601
JM
369172012-02-15 Joseph Myers <joseph@codesourcery.com>
36918
36919 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36920 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36921 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36922 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36923 <bits/signalfd.h>.
36924 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36926 bits/signalfd.h.
36927
ed656b40
MP
369282012-02-14 Marek Polacek <polacek@redhat.com>
36929
36930 * sysdeps/x86_64/crti.S: New file.
36931 * sysdeps/x86_64/crtn.S: New file.
36932 * sysdeps/x86_64/elf/initfini.c: Remove file.
36933
2a979d3a
JM
369342012-02-13 Joseph Myers <joseph@codesourcery.com>
36935
36936 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36937 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36938 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36939 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36940 <bits/inotify.h>.
36941 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36943 bits/inotify.h.
36944
2a418ac3
JM
369452012-02-13 Joseph Myers <joseph@codesourcery.com>
36946
36947 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36948 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36949 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36950 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36951 <bits/eventfd.h>.
36952 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36954 bits/eventfd.h.
36955
fb779be7
TS
369562012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36957
e19e83c5
RM
36958 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36959 __feraiseexcept instead of feraiseexcept.
7c35ffed 36960
fb779be7
TS
36961 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36962 nanosleep invocations.
36963 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36964 strings, and add error checking for a nanosleep invocations.
36965
59ba27a6
PE
369662012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36967
36968 Replace FSF snail mail address with URLs, as per GNU coding standards.
36969 Most of the snail mail addresses were wrong anyway, and omitting
36970 them makes the source code easier to maintain. Almost all of the
36971 changes are to license notices and to locale LC_IDENTIFICATION
36972 addresses, except for this one:
36973 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36974 not its snail mail address.
36975
57b957eb
RH
369762012-02-09 Richard Henderson <rth@twiddle.net>
36977
af850b1c
RH
36978 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36979 of kernel-features.h.
36980
57b957eb
RH
36981 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36982
6b73181a
MP
369832012-02-08 Marek Polacek <polacek@redhat.com>
36984
36985 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36986 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36987 * sysdeps/gnu/_G_config.h: Likewise.
36988 * sysdeps/generic/_G_config.h: Likewise.
36989
26ecc33a
AS
369902012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36991
6c6dbc63
AS
36992 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36993 tests.
36994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36995
e216c012
AS
36996 * sysdeps/powerpc/powerpc32/crti.S: New file.
36997 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36998 * sysdeps/powerpc/powerpc64/crti.S: New file.
36999 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37000
26ecc33a
AS
37001 * Makeconfig (have-initfini): Don't set.
37002 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37003 * configure.in (nopic_initfini): Don't substitute.
37004 * config.h.in (HAVE_INITFINI): Don't #undef.
37005 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37006 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37007
3add8e13
JM
370082012-02-08 Joseph Myers <joseph@codesourcery.com>
37009
37010 Support crti.S and crtn.S provided directly by architectures.
37011 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37012 [crti.S in sysdirs] (omit-deps): Likewise.
37013 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37014 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37015 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37016 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37017 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37018 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37019 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37020 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37021 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37022 compiler output for sysdeps/generic/initfini.c.
37023 * sysdeps/i386/elf/Makefile: Remove file.
37024 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37025
a22f12b4
MP
370262012-02-07 Marek Polacek <polacek@redhat.com>
37027
37028 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37029 * sysdeps/gnu/_G_config.h: Likewise.
37030 * sysdeps/mach/hurd/_G_config.h: Likewise.
37031
148cf100
MP
370322012-02-07 Marek Polacek <polacek@redhat.com>
37033
37034 * math/Makefile (tests): Add tst-CMPLX2.
37035 * math/tst-CMPLX2.c: New file.
37036
cfdc0dd7
AS
370372012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37038
84ba42c4
AS
37039 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37040
cfdc0dd7
AS
37041 * math/libm-test.inc (jn_test): Add missing L suffix.
37042
622c86f4
MP
370432012-02-06 Marek Polacek <polacek@redhat.com>
37044
37045 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37046 * sysdeps/i386/fpu/e_powf.S: Likewise.
37047 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37048 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37049 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37050 * sysdeps/i386/fpu/e_pow.S: Likewise.
37051 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37052 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37053 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37054 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37055 * sysdeps/i386/fpu/e_log2.S: Likewise.
37056 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37057 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37058 * sysdeps/i386/fpu/e_powl.S: Likewise.
37059 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37060 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37061 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37062 * sysdeps/i386/fpu/e_logl.S: Likewise.
37063 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37064 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37065 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37066 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37067 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37068 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37069 * sysdeps/i386/fpu/e_log.S: Likewise.
37070 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37071 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37072 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37073 * sysdeps/i386/fpu/e_logf.S: Likewise.
37074 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37075 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37076 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37077 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37078 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37079 * sysdeps/i386/fpu/e_log10.S: Likewise.
37080 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37081 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37082 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37083 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37084 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37085 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37086 * sysdeps/i386/asm-syntax.h: Likewise.
37087 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37089 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37090 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37091 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37092 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37093 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37094 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37096 * sysdeps/powerpc/sysdep.h: Likewise.
37097 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37098 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37099
d4a54ac6
JM
371002012-02-06 Joseph Myers <joseph@codesourcery.com>
37101
37102 [BZ #411]
37103 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37104
314054ea
JM
371052012-02-06 Joseph Myers <joseph@codesourcery.com>
37106
37107 * sysdeps/i386/sysdep.h: Include <features.h>.
37108 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37109 version.
37110
d8e0ca50
JM
371112012-02-05 Joseph Myers <joseph@codesourcery.com>
37112
37113 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37114 Define.
37115 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37116 LOAD_PIC_REG_STR.
37117
b1da7dd9
JM
371182012-02-03 Joseph Myers <joseph@codesourcery.com>
37119
37120 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37121 (SETUP_PIC_REG): Use GET_PC_THUNK.
37122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37123 macro.
37124
9a1d9254
JM
371252012-02-03 Joseph Myers <joseph@codesourcery.com>
37126
37127 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37128 for non-PIC compilation.
37129 (SETUP_PIC_REG): Add .p2align directive.
37130 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37131 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37132 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37133 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37134 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37135 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37136 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37137 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37138 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37139 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37140 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37141 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37142 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37143 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37144 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37145 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37146 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37147 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37148 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37149 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37150 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37151 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37152 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37153 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37154 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37155 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37156 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37157 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37158 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37159 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37160 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37161 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37162 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37163 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37164 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37165 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37166 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37167 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37168 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37169 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37170 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37171
65dc3b75
JM
371722012-02-03 Joseph Myers <joseph@codesourcery.com>
37173
37174 * math/tst-CMPLX.c: Include <stdio.h>.
37175
d55bf177
JM
371762012-01-31 Joseph Myers <joseph@codesourcery.com>
37177
37178 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37179 float.
37180 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37181 * sysdeps/sparc/bits/mathdef.h: Likewise.
37182
69db4f8f
MP
371832012-01-31 Marek Polacek <polacek@redhat.com>
37184
37185 * libio/libio.h: Don't define _PARAMS.
37186 * locale/programs/config.h: Don't define PARAMS.
37187 * stdlib/strtol_l.c: Likewise.
37188 (__strtol_l): Remove PARAMS from the prototype.
37189
41b81892
UD
371902012-01-31 Ulrich Drepper <drepper@gmail.com>
37191
3b49edc0
UD
37192 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37193 names. Just use the correct names. Remove unnecessary wrapper
37194 functions.
37195 * malloc/arena.c: Likewise.
37196 * malloc/hooks.c: Likewise.
37197
41b81892
UD
37198 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37199 ARENA_TEST says not to. Simplify test for creation of a new arena.
37200 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37201
27a25b6e
UD
372022012-01-30 Ulrich Drepper <drepper@gmail.com>
37203
37204 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37205 into tail calls.
37206 (update_get_addr): New function.
37207 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37208 GET_ADDR_MODULE parameter.
37209
c8a89e7d
JM
372102012-01-30 Joseph Myers <joseph@codesourcery.com>
37211
37212 * crypt/cert.c: Remove __STDC__ conditionals.
37213 * crypt/crypt-entry.c: Likewise.
37214 * crypt/crypt_util.c: Likewise.
37215 * libio/filedoalloc.c: Likewise.
37216 * libio/fileops.c: Likewise.
37217 * libio/genops.c: Likewise.
37218 * libio/iofclose.c: Likewise.
37219 * libio/iofdopen.c: Likewise.
37220 * libio/iofopen.c: Likewise.
37221 * libio/iofopen64.c: Likewise.
37222 * libio/iogetdelim.c: Likewise.
37223 * libio/iopopen.c: Likewise.
37224 * libio/obprintf.c: Likewise.
37225 * libio/oldfileops.c: Likewise.
37226 * libio/oldiofclose.c: Likewise.
37227 * libio/oldiofdopen.c: Likewise.
37228 * libio/oldiofopen.c: Likewise.
37229 * libio/oldiopopen.c: Likewise.
37230 * libio/wfiledoalloc.c: Likewise.
37231 * libio/wgenops.c: Likewise.
37232 * locale/programs/xmalloc.c: Likewise.
37233 * misc/syslog.c: Likewise.
37234 * stdio-common/xbug.c: Likewise.
37235 * string/memchr.c: Likewise.
37236 * string/memcmp.c: Likewise.
37237 * string/memrchr.c: Likewise.
37238 * string/rawmemchr.c: Likewise.
37239 * sysdeps/posix/getcwd.c: Likewise.
37240 * time/strftime_l.c: Likewise.
37241
3b100462
JM
372422012-01-30 Joseph Myers <joseph@codesourcery.com>
37243
37244 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37245 * config.make.in (config-cflags-sse2avx): Define.
37246 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37247 Fix typo.
37248
607998af
CM
372492012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37250
37251 * scripts/config.guess: Update from upstream config git repository.
37252 * scripts/config.sub: Likewise.
37253
3601428f
CM
372542012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37255
3ac8b282
CM
37256 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37257 (EM_NUM): Update.
37258 (R_TILEPRO_*, R_TILEGX_*): New macros.
37259
e034841e
CM
37260 * scripts/firstversions.awk: Fix bug in version range handling.
37261
540d7568
CM
37262 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37263
3601428f
CM
37264 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37265
463de862
CM
37266 * include/sys/epoll.h: New file.
37267 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37268 libc_hidden_def.
37269
73139a76
UD
372702012-01-28 Ulrich Drepper <drepper@gmail.com>
37271
96bc5b45
UD
37272 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37273 Avoid unnecessary __WORDSIZE == 64 test.
37274 (fmaxf): Use VEX format if possible.
37275 (fmax): Likewise.
37276 (fminf): Likewise.
37277 (fmin): Likewise.
37278
56f6f6a2
UD
37279 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37280 * math/math_private.h: Remove libc_fegetround* and
37281 libc_fesetround*.
37282 * sysdeps/i386/configure.in: Check for -msse2avx.
37283 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37284 also if SSE2AVX is defined.
37285 Remove libc_fegetround* and libc_fesetround*.
37286 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37287 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37288 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37289 of HAS_YMM_USABLE.
37290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37291 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37292 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37295
73139a76
UD
37296 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37297
d73f93a4
AZ
372982012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37299
37300 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37301 size is not set.
37302 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37303
6ee65ed6
UD
373042012-01-27 Ulrich Drepper <drepper@gmail.com>
37305
37306 [BZ #13618]
37307 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37308 relocation.
37309 * Makeconfig (libm): Define.
37310 * elf/Makefile: Add rules to build and run tst-relsort1.
37311 * elf/tst-relsort1.c: New file.
37312 * elf/tst-relsort1mod1.c: New file.
37313 * elf/tst-relsort1mod2.c: New file.
37314
8db21882
JM
373152012-01-27 Joseph Myers <joseph@codesourcery.com>
37316
37317 * math/s_ldexp.c: Remove __STDC__ conditionals.
37318 * math/s_ldexpf.c: Likewise.
37319 * math/s_ldexpl.c: Likewise.
37320 * math/s_nextafter.c: Likewise.
37321 * math/s_nexttowardf.c: Likewise.
37322 * math/s_significand.c: Likewise.
37323 * math/s_significandf.c: Likewise.
37324 * math/s_significandl.c: Likewise.
37325 * math/w_jnl.c: Likewise.
37326 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37327 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37328 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37329 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37330 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37332 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37333 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37334 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37335 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37336 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37338 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37339 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37340 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37341 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37342 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37343 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37344 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37345 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37346 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37347 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37348 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37349 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37350 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37351 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37352 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37353 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37354 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37355 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37356 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37357 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37358 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37359 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37360 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37361 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37362 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37363 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37364 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37365 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37366 * sysdeps/ieee754/k_standard.c: Likewise.
37367 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37368 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37371 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37376 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37385 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37386 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37393 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37394 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37397 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37398 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37399 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37404 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37406 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37407 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37409 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37410 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37411 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37412 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37413 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37416 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37417 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37418 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37419 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37420 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37421 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37422 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37423 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37424 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37425 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37426 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37427 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37428 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37429 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37430 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37431 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37432 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37433 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37434 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37435 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37436 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37437 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37438 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37439 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37440 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37441 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37442 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37443 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37444 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37445 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37446 * sysdeps/ieee754/s_matherr.c: Likewise.
37447 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37448 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37449 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37451
965a54a4
JM
374522012-01-26 Joseph Myers <joseph@codesourcery.com>
37453
37454 * crypt/md5.h: Remove __STDC__ conditionals.
37455 * libio/libioP.h: Likewise.
37456 * locale/programs/config.h: Likewise.
37457 * sysdeps/generic/sysdep.h: Likewise.
37458 * sysdeps/i386/asm-syntax.h: Likewise.
37459 * sysdeps/s390/asm-syntax.h: Likewise.
37460 * sysdeps/unix/sysdep.h: Likewise.
37461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37463
7071ad79
JM
374642012-01-26 Joseph Myers <joseph@codesourcery.com>
37465
37466 * libio/libio.h: Remove __STDC__ conditionals.
37467 * malloc/obstack.h: Likewise.
37468 * math/complex.h: Likewise.
37469 * math/math.h: Likewise.
37470 * sysdeps/generic/_G_config.h: Likewise.
37471 * sysdeps/gnu/_G_config.h: Likewise.
37472 * sysdeps/mach/hurd/_G_config.h: Likewise.
37473 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37474 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37475 * sysdeps/sparc/bits/mathdef.h: Likewise.
37476
afc5ed09
UD
374772012-01-26 Ulrich Drepper <drepper@gmail.com>
37478
37479 [BZ #13583]
37480 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37481 Clean up HAS_* macros.
afc5ed09 37482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37483 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37484 possible.
37485 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37486 HAS_AVX.
37487 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37488 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37489 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37490 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37491 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37492
bdb6de1d
JM
374932012-01-25 Joseph Myers <joseph@codesourcery.com>
37494
37495 * elf/tst-unique3.cc (gets): Remove declaration.
37496 * elf/tst-unique3lib.cc (gets): Likewise.
37497 * elf/tst-unique3lib2.cc (gets): Likewise.
37498 * elf/tst-unique4.cc (gets): Likewise.
37499
b15549e6
UD
375002012-01-24 Ulrich Drepper <drepper@gmail.com>
37501
37502 * include/stdio.h: Add C++ protection. Add gets declarations and
37503 definitions.
37504 * debug/tst-chk1.c: Don't declare gets here.
37505 * stdio-common/tst-gets.c: Likewise.
37506
a037381f
JM
375072012-01-24 Joseph Myers <joseph@codesourcery.com>
37508
37509 * posix/glob: Remove directory.
37510
f1d4aa75
JM
375112012-01-24 Joseph Myers <joseph@codesourcery.com>
37512
37513 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37514
81c0c964
PT
375152012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37516
37517 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37518 of the non-standard EPFNOSUPPORT.
37519
0ea698ae
ST
375202011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37521
37522 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37523 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37524 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37525
d220b117
UD
375262012-01-21 Ulrich Drepper <drepper@gmail.com>
37527
37528 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37529
3e1aa84e
UD
375302012-01-20 Ulrich Drepper <drepper@gmail.com>
37531
37532 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37533 transient errors.
37534 * nscd/grpcache.c (cache_addgr): Likewise.
37535 * nscd/hstcache.c (cache_addhst): Likewise.
37536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37537 * nscd/pwdcache.c (cache_addpw): Likewise.
37538 * nscd/servicescache.c (cache_addserv): Likewise.
37539
400aa020
UD
375402012-01-16 Ulrich Drepper <drepper@gmail.com>
37541
d77e7869
UD
37542 * malloc/malloc.c: Various cleanups.
37543 * malloc/hooks.c: Likewise.
37544
400aa020
UD
37545 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37546 * stdlib/bug-fmtmsg1.c: New file.
37547
37548 * stdlib/fmtmsg.c (init): Add missing unlock.
37549 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37550
e0a309cf
MP
375512012-01-12 Marek Polacek <polacek@redhat.com>
37552
37553 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37554 and _GNU_SOURCE.
37555
929d11c7
WS
375562012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37557
37558 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37559 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37560 macro to ensure uniqueness of label name.
37561 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37562 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37563
41d0e869
UD
375642012-01-11 Ulrich Drepper <drepper@gmail.com>
37565
0cc5ed3b
UD
37566 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37567
41d0e869
UD
37568 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37569 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37570 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37572
a47a831a
UD
375732012-01-10 Ulrich Drepper <drepper@gmail.com>
37574
daa891c0
UD
37575 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37576
37577 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37578 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37579 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37580
e58ef0f2
UD
37581 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37582
a47a831a 37583 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37584 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37585 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37587
37588 * math/bits/math-finite.h: Add ldexp support.
37589
a0bfc9c7
MP
375902012-01-10 Marek Polacek <polacek@redhat.com>
37591
37592 * locale/programs/localedef.h (show_archive_content): Add noreturn
37593 attribute.
37594
d6e97a1d
UD
375952012-01-09 Ulrich Drepper <drepper@gmail.com>
37596
37597 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37598
d5835c26
UD
375992012-01-08 Ulrich Drepper <drepper@gmail.com>
37600
e5f484c6
UD
37601 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37602
d5835c26
UD
37603 * io/Makefile (headers): Add bits/poll2.h.
37604
d1f741e9
WS
376052011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37606
37607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37608 typo #include statement.
37609
ec09c1c4
UD
376102012-01-08 Ulrich Drepper <drepper@gmail.com>
37611
37612 * include/sys/cdefs.h: Define __attribute_alloc_size.
37613 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37614 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37615 * elf/pldd.c: Likewise.
37616 * iconv/iconv_charmap.c: Likewise.
37617 * iconv/iconvconfig.c: Likewise.
37618 * iconv/strtab.c: Likewise.
37619 * locale/programs/locale.c: Likewise.
37620 * locale/programs/localedef.h: Likewise.
37621 * locale/programs/simple-hash.c: Likewise.
37622 * nscd/nscd.h: Likewise.
37623 * nss/makedb.c: Likewise.
37624 * sysdeps/generic/ldconfig.h: Likewise.
37625 * locale/programs/localedef.c: Remove xmalloc prototype.
37626 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37627
20b38e03
PP
376282012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37629
37630 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37631 appropriate.
37632
a0da5fe1
UD
376332012-01-08 Ulrich Drepper <drepper@gmail.com>
37634
1d5a644a 37635 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37636 * math/tst-CMPLX.c: New file.
1d5a644a 37637
8784a6db
UD
37638 * math/complex.h (CMPLXL): Fix typo.
37639
d9a216c0
UD
37640 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37641 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37642 GLIBC_2.16.
37643 * debug/tst-chk1.c: Add poll and ppoll tests.
37644 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37645 * include/sys/poll.h: Add hidden proto for ppoll.
37646 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37647 * sysdeps/mach/hurd/ppoll.c: Likewise.
37648 * io/ppoll.c: Likewise.
37649 * debug/poll_chk.c: New file.
37650 * debug/ppoll_chk.c: New file.
37651 * include/bits/poll2.h: New file.
37652 * io/bits/poll2.h: New file.
37653
ac097f5c
UD
37654 [BZ #1350]
37655 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37656
2119dcfa
UD
37657 * configure.in: static is always set to yes. Remove.
37658 * config.make.in: Don't set build-static.
37659 * Makeconfig: Remove use of build-static.
37660 * dlfcn/Makefile: Likewise.
37661 * elf/Makefile: Likewise.
37662 * math/Makefile: Likewise.
37663 * misc/Makefile: Likewise.
37664 * nptl/Makefile: Likewise.
37665 * sysdeps/mach/hurd/Makefile: Likewise.
37666
121766a9
UD
37667 * configure.in: PWD_P is not used anymore.
37668 * config.make.in: Remove PWD_P entry.
37669
51a1d39c 37670 * configure.in: Remove last remnants of RANLIB.
8720d066 37671 No need to check for signed size_t anymore.
215f4bdc
UD
37672 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37673 and IA-64.
3857022a 37674 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37675 * aclocal.m4: Likewise.
37676
d3ed7225
UD
37677 * wcsmbs/mbrtoc16.c: Implement using towc function.
37678 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37679 * wcsmbs/wcsmbsload.c: Likewise.
37680 * iconv/gconv_simple.c: Likewise.
37681 * iconv/gconv_int.h: Likewise.
37682 * iconv/gconv_builtin.h: Likewise.
37683 * iconv/iconv_prog.c: Remove CHAR16 handling.
37684
37685 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37686
37687 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37688
a0da5fe1
UD
37689 * configure.in: Remove --with-elf and --enable-bounded options.
37690 Dont set base_machine for ia64. More non-ELF conditions removed.
37691 Remove testing and setting of leading underscore information.
37692 * config.make.in (build-bounded): Set to no.
37693 * config.h.in: Remove NO_UNDERSCORES entry.
37694 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37695 them.
37696 * csu/start.c: Remove !NO_UNDERSCORE code.
37697 * locale/localeinfo.h: Likewise.
37698 * sysdeps/generic/machine-gmon.h: Likewise.
37699 * sysdeps/generic/sysdep.h: Likewise.
37700 * sysdeps/i386/sysdep.h: Likewise.
37701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37702 * sysdeps/mach/sysdep.h: Likewise.
37703 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37704 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37705 * sysdeps/sh/sysdep.h: Likewise.
37706 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37707 * sysdeps/unix/i386/sysdep.S: Likewise.
37708 * sysdeps/unix/sparc/start.c: Likewise.
37709 * sysdeps/unix/sparc/sysdep.S: Likewise.
37710 * sysdeps/unix/sparc/sysdep.h: Likewise.
37711 * sysdeps/unix/start.c: Likewise.
37712 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37713 * sysdeps/x86_64/sysdep.h: Likewise.
37714
df78418a
UD
377152012-01-07 Ulrich Drepper <drepper@gmail.com>
37716
a784e502
UD
37717 [BZ #13553]
37718 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37719 for non-gcc.
37720 * argp/argp-fmtstream.h: Use const instead __const.
37721 * argp/argp.h: Likewise.
37722 * assert/assert.h: Likewise.
37723 * bits/fenv.h: Likewise.
37724 * bits/sched.h: Likewise.
37725 * bits/sigset.h: Likewise.
37726 * bits/sigthread.h: Likewise.
37727 * catgets/nl_types.h: Likewise.
37728 * conform/data/pthread.h-data: Likewise.
37729 * crypt/crypt-private.h: Likewise.
37730 * crypt/crypt.h: Likewise.
37731 * crypt/crypt_util.c: Likewise.
37732 * ctype/ctype.h: Likewise.
37733 * debug/execinfo.h: Likewise.
37734 * debug/mbsnrtowcs_chk.c: Likewise.
37735 * debug/mbsrtowcs_chk.c: Likewise.
37736 * debug/wcsnrtombs_chk.c: Likewise.
37737 * debug/wcsrtombs_chk.c: Likewise.
37738 * debug/wcstombs_chk.c: Likewise.
37739 * dirent/dirent.h: Likewise.
37740 * dlfcn/dlfcn.h: Likewise.
37741 * elf/neededtest4.c: Likewise.
37742 * grp/grp.h: Likewise.
37743 * gshadow/gshadow.h: Likewise.
37744 * iconv/gconv.h: Likewise.
37745 * iconv/gconv_int.h: Likewise.
37746 * iconv/gconv_simple.c: Likewise.
37747 * iconv/iconv.h: Likewise.
37748 * iconv/loop.c: Likewise.
37749 * iconv/skeleton.c: Likewise.
37750 * include/aio.h: Likewise.
37751 * include/aliases.h: Likewise.
37752 * include/argz.h: Likewise.
37753 * include/arpa/inet.h: Likewise.
37754 * include/assert.h: Likewise.
37755 * include/dirent.h: Likewise.
37756 * include/dlfcn.h: Likewise.
37757 * include/execinfo.h: Likewise.
37758 * include/fcntl.h: Likewise.
37759 * include/fenv.h: Likewise.
37760 * include/glob.h: Likewise.
37761 * include/grp.h: Likewise.
37762 * include/libintl.h: Likewise.
37763 * include/mntent.h: Likewise.
37764 * include/netdb.h: Likewise.
37765 * include/pwd.h: Likewise.
37766 * include/rpc/netdb.h: Likewise.
37767 * include/sched.h: Likewise.
37768 * include/search.h: Likewise.
37769 * include/shadow.h: Likewise.
37770 * include/signal.h: Likewise.
37771 * include/stdio.h: Likewise.
37772 * include/stdlib.h: Likewise.
37773 * include/string.h: Likewise.
37774 * include/sys/socket.h: Likewise.
37775 * include/sys/stat.h: Likewise.
37776 * include/sys/statfs.h: Likewise.
37777 * include/sys/statvfs.h: Likewise.
37778 * include/sys/syslog.h: Likewise.
37779 * include/sys/time.h: Likewise.
37780 * include/sys/uio.h: Likewise.
37781 * include/time.h: Likewise.
37782 * include/unistd.h: Likewise.
37783 * include/utmp.h: Likewise.
37784 * include/wchar.h: Likewise.
37785 * include/wctype.h: Likewise.
37786 * inet/aliases.h: Likewise.
37787 * inet/arpa/inet.h: Likewise.
37788 * inet/netinet/ether.h: Likewise.
37789 * inet/netinet/in.h: Likewise.
37790 * intl/libintl.h: Likewise.
37791 * io/bits/fcntl2.h: Likewise.
37792 * io/fcntl.h: Likewise.
37793 * io/ftw.h: Likewise.
37794 * io/sys/poll.h: Likewise.
37795 * io/sys/stat.h: Likewise.
37796 * io/sys/statfs.h: Likewise.
37797 * io/sys/statvfs.h: Likewise.
37798 * io/utime.h: Likewise.
37799 * libio/bits/stdio.h: Likewise.
37800 * libio/bits/stdio2.h: Likewise.
37801 * libio/libio.h: Likewise.
37802 * libio/libioP.h: Likewise.
37803 * libio/stdio.h: Likewise.
37804 * locale/lc-ctype.c: Likewise.
37805 * locale/locale.h: Likewise.
37806 * login/utmp.h: Likewise.
37807 * malloc/arena.c: Likewise.
37808 * malloc/malloc.c: Likewise.
37809 * malloc/malloc.h: Likewise.
37810 * malloc/mcheck.c: Likewise.
37811 * malloc/mtrace.c: Likewise.
37812 * math/bits/mathcalls.h: Likewise.
37813 * math/fenv.h: Likewise.
37814 * math/math_private.h: Likewise.
37815 * misc/bits/error.h: Likewise.
37816 * misc/bits/syslog.h: Likewise.
37817 * misc/err.h: Likewise.
37818 * misc/error.h: Likewise.
37819 * misc/fstab.h: Likewise.
37820 * misc/mntent.h: Likewise.
37821 * misc/regexp.h: Likewise.
37822 * misc/search.h: Likewise.
37823 * misc/sgtty.h: Likewise.
37824 * misc/sys/mman.h: Likewise.
37825 * misc/sys/syslog.h: Likewise.
37826 * misc/sys/uio.h: Likewise.
37827 * misc/sys/xattr.h: Likewise.
37828 * misc/ttyent.h: Likewise.
37829 * nis/rpcsvc/ypclnt.h: Likewise.
37830 * nss/nss.h: Likewise.
37831 * posix/bits/unistd.h: Likewise.
37832 * posix/fnmatch.h: Likewise.
37833 * posix/glob.h: Likewise.
37834 * posix/sched.h: Likewise.
37835 * posix/spawn.h: Likewise.
37836 * posix/sys/wait.h: Likewise.
37837 * posix/unistd.h: Likewise.
37838 * posix/wordexp.h: Likewise.
37839 * pwd/pwd.h: Likewise.
37840 * resolv/netdb.h: Likewise.
37841 * resource/sys/resource.h: Likewise.
37842 * rt/aio.h: Likewise.
37843 * rt/bits/mqueue2.h: Likewise.
37844 * rt/mqueue.h: Likewise.
37845 * shadow/shadow.h: Likewise.
37846 * signal/signal.h: Likewise.
37847 * socket/send.c: Likewise.
37848 * socket/sendto.c: Likewise.
37849 * socket/sys/socket.h: Likewise.
37850 * stdio-common/printf.h: Likewise.
37851 * stdlib/bits/stdlib.h: Likewise.
37852 * stdlib/fmtmsg.h: Likewise.
37853 * stdlib/monetary.h: Likewise.
37854 * stdlib/stdlib.h: Likewise.
37855 * stdlib/ucontext.h: Likewise.
37856 * streams/stropts.h: Likewise.
37857 * string/argz.h: Likewise.
37858 * string/bits/string2.h: Likewise.
37859 * string/string.h: Likewise.
37860 * string/strings.h: Likewise.
37861 * sunrpc/rpc/auth.h: Likewise.
37862 * sunrpc/rpc/auth_des.h: Likewise.
37863 * sunrpc/rpc/clnt.h: Likewise.
37864 * sunrpc/rpc/netdb.h: Likewise.
37865 * sunrpc/rpc/pmap_clnt.h: Likewise.
37866 * sunrpc/rpc/xdr.h: Likewise.
37867 * sysdeps/generic/inttypes.h: Likewise.
37868 * sysdeps/generic/net/if.h: Likewise.
37869 * sysdeps/generic/sys/swap.h: Likewise.
37870 * sysdeps/gnu/net/if.h: Likewise.
37871 * sysdeps/gnu/utmpx.h: Likewise.
37872 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37873 * sysdeps/i386/i486/bits/string.h: Likewise.
37874 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37875 * sysdeps/s390/bits/string.h: Likewise.
37876 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37877 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37878 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37879 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37880 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37881 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37882 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37883 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37884 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37885 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37886 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37887 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37888 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37889 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37890 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37891 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37892 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37894 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37896 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37897 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37898 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37899 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37900 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37901 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37902 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37904 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37905 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37906 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37907 * sysvipc/sys/ipc.h: Likewise.
37908 * sysvipc/sys/msg.h: Likewise.
37909 * sysvipc/sys/sem.h: Likewise.
37910 * sysvipc/sys/shm.h: Likewise.
37911 * termios/termios.h: Likewise.
37912 * time/sys/time.h: Likewise.
37913 * time/time.h: Likewise.
37914 * wcsmbs/bits/wchar2.h: Likewise.
37915 * wcsmbs/uchar.h: Likewise.
37916 * wcsmbs/wchar.h: Likewise.
37917 * wctype/wctype.h: Likewise.
37918
0269750c
UD
37919 [BZ #13551]
37920 * Makeconfig: Remove all but ELF support including AIX support.
37921 * Makerules: Likewise.
37922 * config.h.in: Likewise.
37923 * config.make.in: Likewise.
37924 * configure: Likewise.
37925 * configure.in: Likewise.
37926 * csu/Makefile: Likewise.
37927 * csu/version.c: Likewise.
37928 * debug/Makefile: Likewise.
37929 * dlfcn/Makefile: Likewise.
37930 * elf/Makefile: Likewise.
37931 * extra-lib.mk: Likewise.
37932 * iconv/Makefile: Likewise.
37933 * include/libc-symbols.h: Likewise.
37934 * include/shlib-compat.h: Likewise.
37935 * resolv/Makefile: Likewise.
37936 * resolv/res_libc.c: Likewise.
37937 * rt/Makefile: Likewise.
37938 * sysdeps/i386/asm-syntax.h: Likewise.
37939 * sysdeps/i386/sysdep.h: Likewise.
37940 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37941 * sysdeps/mach/sysdep.h: Likewise.
37942 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37943 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37944 * sysdeps/s390/asm-syntax.h: Likewise.
37945 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37946 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37947 * sysdeps/sh/sysdep.h: Likewise.
37948 * sysdeps/unix/sparc/sysdep.h: Likewise.
37949 * sysdeps/wordsize-32/divdi3.c: Likewise.
37950 * sysdeps/x86_64/sysdep.h: Likewise.
37951
00bbd29b
UD
37952 * argp/Versions: Remove _argp_unlock_xxx.
37953
37954 [BZ #13559]
37955 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37956 * abilist/libBrokenLocale.abilist: Likewise.
37957 * abilist/libanl.abilist: Likewise.
37958 * abilist/libc.abilist: Likewise.
37959 * abilist/libcrypt.abilist: Likewise.
37960 * abilist/libdl.abilist: Likewise.
37961 * abilist/libm.abilist: Likewise.
37962 * abilist/libnsl.abilist: Likewise.
37963 * abilist/libpthread.abilist: Likewise.
37964 * abilist/libresolv.abilist: Likewise.
37965 * abilist/librt.abilist: Likewise.
37966 * abilist/libthread_db.abilist: Likewise.
37967 * abilist/libutil.abilist: Likewise.
37968 * abilist/libnss_db.abilist: New file.
37969
37970 * scripts/abilist.awk: Add support for indirect functions.
37971
a2693a0e
UD
37972 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37973
3f05895f
UD
37974 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37975
ecb6fb48
UD
37976 * shlib-versions: Remove entries for ports architectures.
37977
664f8cb9
UD
37978 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37979 files in ports.
37980 * elf/stackguard-macros.h: Remove support for IA-64.
37981 * elf/tst-auditmod1.c: Likewise.
37982 * sysdeps/generic/ldsodefs.h: Likewise.
37983
7ae81d88
UD
37984 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37985 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37986 configure files.
37987
bdeba135
UD
37988 [BZ #13552]
37989 * configure.in: Remove --enable-omitfp support.
37990 * FAQ.in: Adjust.
37991 * config.make.in: Likewise.
37992 * Makeconfig: Likewise.
37993 * manual/install.texi: Likewise.
37994
d75a0a62
UD
37995 In case anyone cares, the IA-64 architecture could move to ports.
37996 * sysdeps/ia64/*: Removed.
37997 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37998 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37999
dcc9756b
UD
38000 [BZ #13555]
38001 * configure.in: Remove entries for unsupported architectures.
38002
d3761ebc 38003 [BZ #13533]
9954432e
UD
38004 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38005 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38006 routines.
38007 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38008 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38009 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38010 fall back to using wcrtomb.
38011 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38012 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38013 renaming.
38014 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38015 * wcsmbs/tst-c16c32-1.c: New file.
38016
38017 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38018 local variable.
38019
c3a87236
UD
38020 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38021
28926a1b
UD
38022 * elf/tst-unique3.cc: Add explicit declaration of gets.
38023 * elf/tst-unique3lib.cc: Likewise.
38024 * elf/tst-unique3lib2.cc: Likewise.
38025 * elf/tst-unique4.cc: Likewise.
38026
df78418a
UD
38027 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38028
8ecd6b2a
JM
380292012-01-06 Joseph Myers <joseph@codesourcery.com>
38030
38031 [BZ #13566]
38032 * assert/assert.h (static_assert): Don't define for C++.
38033 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38034 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38035
9f115170
UD
380362012-01-03 Ulrich Drepper <drepper@gmail.com>
38037
5e0d0300
UD
38038 * iconv/loop.c (single loop): Fix assertion in storing of
38039 remaining bytes.
38040
9f115170
UD
38041 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38042
81fb02b0
UD
380432012-01-01 Ulrich Drepper <drepper@gmail.com>
38044
38045 * posix/getconf.c: Update copyright year.
38046 * nss/getent.c: Likewise.
a316c1f6 38047 * nss/makedb.c: Likewise.
81fb02b0
UD
38048 * iconv/iconvconfig.c: Likewise.
38049 * iconv/iconv_prog.c: Likewise.
38050 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38051 * elf/pldd.c: Likewise.
38052 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38053 * catgets/gencat.c: Likewise.
38054 * csu/version.c: Likewise.
38055 * elf/ldd.bash.in: Likewise.
38056 * elf/sprof.c (print_version): Likewise.
38057 * locale/programs/locale.c: Likewise.
38058 * locale/programs/localedef.c: Likewise.
a316c1f6 38059 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38060 * nscd/nscd.c (print_version): Likewise.
38061 * debug/xtrace.sh: Likewise.
38062 * malloc/memusage.sh: Likewise.
38063 * malloc/mtrace.pl: Likewise.
38064 * debug/catchsegv.sh: Likewise.
38065
2ba92745
JJ
380662011-12-30 Jakub Jelinek <jakub@redhat.com>
38067
38068 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38069 pure attribute.
38070
dadebdae
UD
380712011-12-24 Ulrich Drepper <drepper@gmail.com>
38072
d3761ebc 38073 [BZ #13533]
db6af3eb
UD
38074 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38075 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38076 transformations.
38077 * iconv/gconv_int.h: Likewise.
38078 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38079 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38080 from libc for GLIBC_2.16.
38081 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38082 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38083 * wcsmbs/uchar.h: Really define mbstate_t.
38084 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38085 * wcsmbs/c16rtomb.c: New file.
38086 * wcsmbs/mbrtoc16.c: New file.
38087 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38088 for C/POSIX locale.
38089 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38090 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38091
dadebdae
UD
38092 * wcsmbs/wchar.h: Add missing __restrict.
38093
67371b56
UD
380942011-12-23 Ulrich Drepper <drepper@gmail.com>
38095
74033a25
UD
38096 [BZ #13532]
38097 * time/Makefile (routines): Add timespec_get.
38098 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38099 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38100 timespec for ISO C11.
38101 * time/timespec_get.c: New file.
38102 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38103 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38104
380d7e87
UD
38105 [BZ #13531]
38106 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38107 * stdlib/stdlib.h: Declare aligned_alloc.
38108 * Versions.def: Add GLIBC_2.16 for libc.
38109 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38110
4e9e7a35
UD
38111 [BZ 13527]
38112 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38113 ISO C11.
38114
380d7e87 38115 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38116 code.
38117
03a71829
UD
38118 [BZ #13528]
38119 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38120
839e283e
UD
38121 [BZ #13529]
38122 * assert/assert.h (static_assert): Define.
38123
ce5294e2 38124 * version.h: Update for 2.16 development version.
90fa7312 38125
8d44e150 38126 [BZ #13526]
d7809905
UD
38127 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38128 _ISOC11_SOURCE.
38129
c0da14cd
UD
38130 * version.h (RELEASE): Bump for 2.15 release.
38131 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38132
530a3249
MP
38133 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38134 Patch by Marek Polacek <mpolacek@redhat.com>.
38135
67371b56
UD
38136 * bits/byteswap.h: Protect long long constants with __extension__.
38137 * sysdeps/i386/bits/byteswap.h: Likewise.
38138 * sysdeps/ia64/bits/byteswap.h: Likewise.
38139 * sysdeps/s390/bits/byteswap.h: Likewise.
38140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38141
15db4de1
LD
381422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38143
38144 [BZ #13540]
bbe315ea
LD
38145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38146 destination buffer.
15db4de1
LD
38147 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38148
2b2596b1
MP
381492011-12-23 Marek Polacek <polacek@redhat.com>
38150
38151 * elf/dl-addr.c (determine_info): Add inline keyword.
38152 * elf/tst-auditmod4b.c (check_avx): Likewise.
38153 * elf/tst-auditmod6b.c (check_avx): Likewise.
38154 * elf/tst-auditmod6c.c (check_avx): Likewise.
38155 * elf/tst-auditmod7b.c (check_avx): Likewise.
38156
70c6c246
UD
381572011-12-23 Ulrich Drepper <drepper@gmail.com>
38158
38159 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38160 !__SSE_MATH__.
38161
c044cf14
LD
381622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38163
15db4de1 38164 [BZ #13540]
c044cf14
LD
38165 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38166 processing for last bytes.
38167
6b13d9d9
BH
381682011-08-06 Bruno Haible <bruno@clisp.org>
38169
d455f537
BH
38170 [BZ #13061]
38171 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38172 U+0385, not to U+1FEE.
38173
6b13d9d9
BH
38174 [BZ #13062]
38175 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38176 entry for U+00A5 U+0301.
38177
db910efd
UD
381782011-12-22 Ulrich Drepper <drepper@gmail.com>
38179
27deeafc
UD
38180 [BZ #13166]
38181 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38182 buffer for the output is too small.
38183
aed9d171
UD
38184 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38185 optimization.
38186
db910efd
UD
38187 [BZ #13185]
38188 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38189 SSE flags if possible.
38190
2bd779ae
LD
381912011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38192
e7f9dac3 38193 [BZ #13540]
2bd779ae
LD
38194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38195 processing for last bytes.
38196
154bfc16
JM
381972011-12-22 Joseph Myers <joseph@codesourcery.com>
38198
38199 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38200 (syscall-list-default-options, syscall-list-default-condition)
38201 (syscall-list-includes): Define.
38202 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38203 list of ABIs and options and #if conditions for each ABI. Do not
38204 handle common syscalls between ABIs specially.
38205 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38206 Remove.
38207 (syscall-list-variants, syscall-list-32bit-options)
38208 (syscall-list-32bit-condition, syscall-list-64bit-options)
38209 (syscall-list-64bit-condition): Define.
38210 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38211 (syscall-list-variants, syscall-list-32bit-options)
38212 (syscall-list-32bit-condition, syscall-list-64bit-options)
38213 (syscall-list-64bit-condition): Define.
38214 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38215 Remove.
38216 (syscall-list-variants, syscall-list-32bit-options)
38217 (syscall-list-32bit-condition, syscall-list-64bit-options)
38218 (syscall-list-64bit-condition): Define.
38219 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38220 Remove.
38221 (syscall-list-variants, syscall-list-32bit-options)
38222 (syscall-list-32bit-condition, syscall-list-64bit-options)
38223 (syscall-list-64bit-condition): Define.
38224
21eaf3a5
UD
382252011-12-22 Ulrich Drepper <drepper@gmail.com>
38226
16c6f992
UD
38227 * locale/iso-639.def: Add brx entry.
38228
41043168
UD
38229 [BZ #13328]
38230 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38231 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38232
21eaf3a5
UD
38233 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38234 __feraiseexcept_renamed.
38235
e3a851a2
UD
382362011-12-21 Ulrich Drepper <drepper@gmail.com>
38237
4920765e
UD
38238 [BZ #13538]
38239 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38240 EPOLLET with unsigned values.
38241 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38242 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38243
e3a851a2
UD
38244 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38245 to large cancellation.
38246 * math/s_cacoshf.c: Likewise.
38247 * math/s_cacoshl.c: Likewise.
38248
b27e24b8
RK
382492011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38250
38251 [BZ #13305]
aebefeee 38252 [BZ #12786]
b27e24b8
RK
38253 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38254 * math/s_cacoshf.c: Likewise.
38255 * math/s_cacoshl.c: Likewise.
38256
ee190f67
UD
382572011-12-21 Ulrich Drepper <drepper@gmail.com>
38258
38259 [BZ #13439]
38260 * iconv/gconv.h: Define __GCONV_SWAP.
38261 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38262 * iconvdata/utf-16.c: Likewise.
38263 * iconvdata/utf-32.c: Likewise.
38264
707f25df
AS
382652011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38266
38267 [BZ #13524]
38268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38269 numerator after shifting it by one limb.
38270
d2daaa1e
RÁE
382712011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38272
38273 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38274 under [__USE_EXTERN_INLINES].
38275
a4647e72
UD
382762011-12-17 Ulrich Drepper <drepper@gmail.com>
38277
38278 [BZ #13446]
38279 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38280
f0b264f1
AZ
382812011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38282
38283 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38284 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38285 optimized code.
38286 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38287 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38288 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38289 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38290 for strncasecmp/strncasecmp_l compilation.
38291 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38292 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38293
8ef4f244
MP
382942011-12-08 Marek Polacek <mpolacek@redhat.com>
38295
38296 [BZ #13484]
38297 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38298 of __asm__.
38299
97ac2654
UD
383002011-12-17 Ulrich Drepper <drepper@gmail.com>
38301
38302 [BZ #13506]
38303 * time/tzfile.c (__tzfile_read): Check values from file header.
38304
91d2a845
WS
383052011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38306
38307 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38308 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38309 * powerpc/powerpc32/dl-start.S: Likewise.
38310 * powerpc/powerpc32/elf/start.S: Likewise.
38311 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38312 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38313 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38314 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38315 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38316 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38317 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38318 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38319 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38320 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38321 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38322 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38323 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38324 * powerpc/powerpc32/memset.S: Likewise.
38325 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38326 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38327 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38328 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38329 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38330 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38331 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38332 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38333 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38334 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38335 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38336 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38337 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38338
a1267ba1
AZ
383392011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38340
38341 * math/libm-test.inc: Added more nearbyint tests.
38342 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38343 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38344 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38346
ad8ac1bd
RL
383472011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38348
38349 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38350 FD_CLOEXEC.
38351
1d3e4b61
UD
383522011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38353
38354 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38355 Add wcscpy-ssse3 wcscpy-c.
38356 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38357 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38358 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38359 * sysdeps/x86_64/wcschr.S: New file.
38360 * sysdeps/x86_64/wcsrchr.S: New file.
38361 * string/test-strcmp.c: Remove checking of wcscmp function for
38362 wrong alignments.
38363 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38364 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38365 wcsrchr-sse2 wcsrchr-c.
38366 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38367 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38368 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38369 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38370 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38371 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38372 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38373 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38374 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38375 * wcsmbc/wcschr.c (WCSCHR): New macro.
38376
5b330a2d
UD
383772011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38378
38379 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38380 * wcsmbs/test-wcsrchr.c: New file.
38381 * string/test-strrchr.c: Add wcsrchr support.
38382 (WIDE): New macro.
38383 * wcsmbs/test-wcscpy.c: New file.
38384 * string/test-strcpy.c: Add wcscpy support.
38385 (WIDE): New macro.
26428b7c 38386
f039c043
UD
383872011-12-10 Ulrich Drepper <drepper@gmail.com>
38388
38389 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38390 the inner loop.
38391
850fb039
AS
383922011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38393
38394 [BZ #13472]
38395 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38396
4efbd5cb
UD
383972011-12-04 Ulrich Drepper <drepper@gmail.com>
38398
52ff5dd0 38399 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38400 Minor optimizations.
52ff5dd0 38401
4efbd5cb
UD
38402 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38403 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38404 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38405
8a426e12
UD
384062011-12-03 Ulrich Drepper <drepper@gmail.com>
38407
aff2453d
UD
38408 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38409 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38410 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38411 for gcc to avoid warnings.
38412 * inet/Makefile (tests): Add tst-checks.
38413 * inet/tst-checks.c: New file.
38414
38415 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38416 warning.
38417
38418 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38419 __wmemcmp_sse2.
38420
38421 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38422 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38423
8a426e12
UD
38424 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38425
9bea3473
UD
384262011-12-02 Ulrich Drepper <drepper@gmail.com>
38427
3a965496
UD
38428 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38429 problem.
38430
9bea3473
UD
38431 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38432
f101631b
UD
384332011-11-29 Joseph Myers <joseph@codesourcery.com>
38434
38435 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38436 conditional on GCC version.
38437 (__arch_compare_and_exchange_val_8_acq)
38438 (__arch_compare_and_exchange_val_16_acq)
38439 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38440 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38441 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38442
a98275aa
UD
384432011-12-02 Joseph Myers <joseph@codesourcery.com>
38444
38445 * sysdeps/sh/backtrace.c: New file.
38446
d4cc29a2
AS
384472011-12-02 Andreas Schwab <schwab@redhat.com>
38448
38449 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38450 parenthesis.
38451
6257af2d
AS
384522011-12-01 Andreas Schwab <schwab@redhat.com>
38453
38454 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38455 falling back to utime.
38456
b5f44c1a
AS
384572011-11-30 Andreas Schwab <schwab@redhat.com>
38458
38459 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38460 expectations for float.
38461
f3a6cc0a
AS
384622011-11-29 Andreas Schwab <schwab@redhat.com>
38463
38464 * locale/weight.h (findidx): Add parameter len.
38465 * locale/weightwc.h (findidx): Likewise.
38466 * posix/fnmatch_loop.c (FCT): Adjust caller.
38467 * posix/regcomp.c (build_equiv_class): Likewise.
38468 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38469 * posix/regexec.c (check_node_accept_bytes): Likewise.
38470 * string/strcoll_l.c (STRCOLL): Likewise.
38471 * string/strxfrm_l.c (STRXFRM): Likewise.
38472
9d65ea3a
UD
384732011-11-17 Ulrich Drepper <drepper@gmail.com>
38474
38475 * Makefile.in: Remove CVSOPT handling.
38476 * configure.in: Remove use of AC_REVISION.
38477 * iconvdata/Makefile (distribute): No need to filter out CVS.
38478 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38479 handling.
38480
5583a086
AS
384812011-11-16 Andreas Schwab <schwab@redhat.com>
38482
38483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38484 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38485 [USE_AS_STRNCASECMP_L]: Likewise.
38486 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38487 NO_TLS_DIRECT_SEG_REFS.
38488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38489 Fix argument offsets for non-PIC.
38490 [USE_AS_STRNCASECMP_L]: Likewise.
38491 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38492 NO_TLS_DIRECT_SEG_REFS.
38493
d62a8200
UD
384942011-11-15 Ulrich Drepper <drepper@gmail.com>
38495
9d65ea3a 38496 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38497 O_CLOEXEC.
38498 * locale/loadlocale.c (_nl_load_locale): Likewise.
38499
09f93bd3
AS
385002011-11-15 Andreas Schwab <schwab@redhat.com>
38501
446514f9
AS
38502 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38503 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38504 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38505 (SYSCALL_GETTIME): Set errno on error.
38506
09f93bd3
AS
38507 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38508 count references to noai6ai_cached.
38509
312be3f9
UD
385102011-11-15 Ulrich Drepper <drepper@gmail.com>
38511
38512 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38513
38514 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38515 FD_CLOEXEC for /proc/self/maps.
38516
38517 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38518 FD_CLOEXEC for /proc/meminfo.
38519
38520 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38521 gai.conf.
38522
38523 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38524 FD_CLOEXEC for given file.
38525
38526 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38527
38528 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38529 FD_CLOEXEC for /etc/hosts.
38530 (_gethtent): Likewise.
38531
38532 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38533
38534 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38535 cancellation and set FD_CLOEXEC for /etc/netgroup.
38536
38537 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38538 reading /etc/publickey.
38539
38540 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38541 allow cancellation when reading /etc/group.
38542
38543 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38544 cancellation.
38545 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38546
38547 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38548 when using data file.
38549
38550 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38551
38552 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38553 (write_nis_obj): Use "c" and "e" in fopen.
38554
38555 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38556
38557 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38558
38559 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38560
38561 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38562
38563 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38564 locale.alias.
38565
38566 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38567
38568 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38569
38570 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38571
38572 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38573 file parsing and set FD_CLOEXEC.
38574
82af0fa8
UD
385752011-11-14 Ulrich Drepper <drepper@gmail.com>
38576
38577 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38578
a5fb313c
AS
385792011-11-14 Andreas Schwab <schwab@redhat.com>
38580
38581 * malloc/arena.c (arena_get2): Don't call reused_arena when
38582 _int_new_arena failed.
38583
6abf3465
UD
385842011-11-14 Ulrich Drepper <drepper@gmail.com>
38585
38586 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38587 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38588 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38589 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38590 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38591 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38592 to compile strcasecmp and strncasecmp.
38593 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38594 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38595
38596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38597
76e3966e
UD
385982011-11-13 Ulrich Drepper <drepper@gmail.com>
38599
38600 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38601 locale-defines.sym to gen-as-const-headers.
38602 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38603 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38605 to compile strcasecmp and strncasecmp.
38606 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38607 strcasecmp_l and strncasecmp_l.
38608 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38609 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38610 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38611 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38612 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38613 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38614 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38615 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38616 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38617 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38618 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38619
ab26144e
UD
386202011-11-12 Ulrich Drepper <drepper@gmail.com>
38621
7edb22ef
UD
38622 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38623 result of SYSDEP_GETTIME_CPU to retval.
38624 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38625 parameter list to macro. Remove trailing semicolon. Adjust users.
38626
9694fc44
UD
38627 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38628 variable.
38629
8ad89ef8
UD
38630 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38631 mantissa words.
38632 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38633
0c822ef9
UD
38634 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38635 from unused variable.
38636
874e0564
UD
38637 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38638 DWARF definitions.
38639 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38640 for assembling.
38641
3a2edc79
UD
38642 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38643 over namespaces.
38644
f3c2577f
UD
38645 * sunrpc/rpc_prot.c (rejected): Fix case value.
38646
294ce126
UD
38647 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38648 unsigned long long int to avoid warnings in shift.
38649
5e2b63c6
UD
38650 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38651 of use of trans.
38652 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38653 variable tmp.
38654
e7f4b08e
UD
38655 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38656 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38657 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38658
ab26144e
UD
38659 * nis/nis_table.c (nis_list): Use variable of correct type for
38660 result of __follow_path call.
38661
8a6d5255
AZ
386622011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38663
38664 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38665 of math functions ceil, trunc, floor, round, and sqrt, when
38666 avaliable on the platform.
38667 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38668 name clash.
38669 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38670 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38671 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38672
aaddc98c
MP
386732011-10-30 Marek Polacek <mpolacek@redhat.com>
38674
38675 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38676 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38677
95b7042b
RM
386782011-11-11 Roland McGrath <roland@hack.frob.com>
38679
38680 * include/unistd.h: Fix __readlink return type.
38681 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38682
57769839
UD
386832011-11-11 Ulrich Drepper <drepper@gmail.com>
38684
38685 * stdlib/ucontext.h: Undo last change for makecontext.
38686
edc5984d
AS
386872011-11-11 Andreas Schwab <schwab@redhat.com>
38688
98591e58
AS
38689 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38690
edc5984d
AS
38691 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38692 * setjmp/setjmp.h: Mark functions as non-leaf.
38693 * setjmp/bits/setjmp2.h: Likewise.
38694 * stdlib/ucontext.h: Likewise.
38695
77cdc054
AS
386962011-11-10 Andreas Schwab <schwab@redhat.com>
38697
38698 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38699 (reused_arena): Don't check arena limit.
38700 (arena_get2): Atomically check arena limit.
38701
fe72eebd
UD
387022011-11-08 Ulrich Drepper <drepper@gmail.com>
38703
5f078c32
UD
38704 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38705 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38706
fe72eebd
UD
38707 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38708 instructions.
38709
ae1bc2fa
AS
387102011-11-07 Andreas Schwab <schwab@redhat.com>
38711
7583a88d
AS
38712 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38713 handler when locking.
38714
ae1bc2fa
AS
38715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38716 Fix size of allocated buffer.
38717
10fb0bfa
AS
387182011-11-04 Andreas Schwab <schwab@redhat.com>
38719
998832a4
AS
38720 [BZ #10103]
38721 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38722 declarations for long double functions.
38723 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38724
10fb0bfa
AS
38725 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38726
3d7ba52b
AS
387272011-11-03 Andreas Schwab <schwab@redhat.com>
38728
a9ae54a1
AS
38729 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38730 installed.
38731
3d7ba52b
AS
38732 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38733 is disabled.
38734
bc8db248
ST
387352011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38736
38737 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38738
45b96dd6
AS
387392011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38740
647776f6
AS
38741 * include/alloca.h (stackinfo_alloca_round): Define.
38742 (extend_alloca): Use it.
38743 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38744 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38745 here.
38746
d91a8b93
AS
38747 * scripts/check-local-headers.sh: Ignore libaudit.h.
38748
45b96dd6
AS
38749 * nscd/Makefile (extra-objs): Make recursively expanded.
38750
432d41ce
UD
387512011-11-01 Ulrich Drepper <drepper@gmail.com>
38752
34372fc6
UD
38753 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38755
fadb59f8
UD
38756 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38757 * posix/tst-rfc3484-2.c: Likewise.
38758 * posix/tst-rfc3484-3.c: Likewise.
38759
78239589
UD
38760 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38761 process_vm_writev.
38762 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38763 process_vm_writev.
38764 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38765 process_vm_writev from libc using GLIBC_2.15 version.
38766
432d41ce
UD
38767 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38768
02f9c6cf
PP
387692011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38770
38771 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38772 stack usage.
38773
3a2c0242
UD
387742011-10-31 Ulrich Drepper <drepper@gmail.com>
38775
f4ec4833
UD
38776 [BZ #13367]
38777 * nss/getent.c (initgroups_keys): Show error message in case no group
38778 names are given.
38779
3a2c0242
UD
38780 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38781 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38782 __bump_nl_timestamp.
38783 * nscd/connections (nscd_init): When host database is served open
38784 netlink socket and request notification about configuration changes.
38785 (main_loop_poll): Track netlink file descriptor and bump timestamp
38786 in case data becomes available.
38787 (main_loop_epoll): Likewise.
38788 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38789 (database_pers_head): Add extra_data fileds.
38790 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38791 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38792 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38793 Adjust caller.
38794 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38795 in6ai data, call __free_in6ai.
38796 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38797 Add -DHAVE_NETLINK.
38798 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38799 interface information. Reuse previous data if netlink timestamp
38800 is not changed.
38801 (__bump_nl_timestamp): New function.
38802 (__free_in6ai): New function.
38803
636064eb
UD
388042011-10-30 Ulrich Drepper <drepper@gmail.com>
38805
38806 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38807 close_not_cancel_no_status here.
38808 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38809
9beb2334
UD
388102011-10-29 Ulrich Drepper <drepper@gmail.com>
38811
6ef76f3b
UD
38812 [BZ #13276]
38813 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38814 return value.
38815
0ffc4f3e 38816 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38817 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38818 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38819
cb95113e
UD
388202011-07-03 Andreas Jaeger <aj@suse.de>
38821
38822 [BZ #10709]
38823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38824 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38825 * math/libm-test.inc (sin_test): Add test case.
38826
a1b560ff
UD
388272011-10-29 Ulrich Drepper <drepper@gmail.com>
38828
c9aaface
UD
38829 [BZ #13337]
38830 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38831 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38832
d272e7f1
UD
38833 * elf/chroot_canon.c (chroot_canon): Cleanups.
38834
1bc33071
UD
38835 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38836
1760874d
TJ
38837 [BZ #13335]
38838 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38839 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38840
51d91b18
UD
38841 * string/test-strchr.c: Make usable for strchrnul testing.
38842 * string/test-strchrnul.c: New file.
38843 * string/Makefile (strop-tests): Add strchrnul.
38844
a1b560ff 38845 * po/it.po: Update from translation team.
b611fb81 38846 * po/es.po: Likewise.
a1b560ff 38847
a5b81e1f
UD
388482011-10-28 Ulrich Drepper <drepper@gmail.com>
38849
fd52bc6d
UD
38850 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38851 the three constants needed as parameters. Drop the others.
38852 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38853 __m128i_strloadu_tolower.
52e4b9eb
UD
38854 Create and initialize variable zero and use it in all the places
38855 where _mm_setzero_si128 was used.
fd52bc6d 38856
a5b81e1f
UD
38857 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38858 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38859 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38860 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38861 anymore.
38862 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38863 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38864 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38865 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38866 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38867 __mpranred, __mptan.
38868 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38869 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38870 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38871 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38872 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38873 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38875 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38876 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38877
b4343346
AS
388782011-10-28 Andreas Schwab <schwab@redhat.com>
38879
0c92d8a8
AS
38880 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38881 redefine if SHARED.
38882 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38883
b4343346
AS
38884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38885 wide char related routines to wcsmbs subdir.
38886
3871f58f
AS
388872011-10-27 Andreas Schwab <schwab@redhat.com>
38888
38889 [BZ #13344]
38890 * misc/sys/cdefs.h (__THROWNL): Define.
38891 * posix/unistd.h: Use __THREADNL instead of __THREAD
38892 for memory synchronization functions.
38893
94d44d9f
RM
388942011-10-26 Roland McGrath <roland@hack.frob.com>
38895
21b64b15 38896 [BZ #13349]
94d44d9f
RM
38897 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38898 doesn't exist.
38899 * manual/stdio.texi (Obstack Streams): Node removed.
38900
f6ce9294
AS
389012011-10-26 Andreas Schwab <schwab@redhat.com>
38902
80479147
AS
38903 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38904 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38905 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38906
f6ce9294
AS
38907 * math/math_private.h (math_force_eval): Allow non-addressable
38908 arguments.
38909 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38910
618280a1
UD
389112011-10-25 Ulrich Drepper <drepper@gmail.com>
38912
e0016b11
UD
38913 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38914 file is not needed.
38915
38916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38917 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38923 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38924 Add AVX variants.
38925 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38926 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38927 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38928 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38929 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38930 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38931 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38932 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38933 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38934 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38935 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38936 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38938 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38939 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38940 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38941 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38942 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38943 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38944
38945 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38946 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38947
618280a1
UD
38948 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38949 place. Use VEX encoding when compiling for AVX.
38950
37822576
AS
389512011-10-25 Andreas Schwab <schwab@redhat.com>
38952
1f1e1947
AS
38953 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38954 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38955
37822576
AS
38956 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38957
31ea014d
UD
389582011-10-25 Ulrich Drepper <drepper@gmail.com>
38959
d7826aa1 38960 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38961 useless if() expression.
d7826aa1
UD
38962 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38963 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38964 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38966 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38967 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38970 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38972 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38973 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38974 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38975 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38976 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38977 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38978 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38979 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38980 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38981
31ea014d
UD
38982 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38983
16437fec
AS
389842011-10-25 Andreas Schwab <schwab@redhat.com>
38985
38986 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38987 condition.
38988 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38989
31d3cc00
UD
389902011-10-25 Ulrich Drepper <drepper@gmail.com>
38991
38992 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38993 .text section. Avoid duplicate constants.
38994 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38998 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39004 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39006 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39009 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39010 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39011 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39014 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39015 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39017 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39018 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39019 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39020 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39021 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39022 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39023 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39024 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39025 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39026 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39027 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39028 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39029 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39030 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39032 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39033 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39034 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39035 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39036 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39037 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39039
58985aa9
UD
390402011-10-24 Ulrich Drepper <drepper@gmail.com>
39041
202c9deb
UD
39042 * sysdeps/x86_64/dla.h: Move to ...
39043 * sysdeps/x86_64/fpu/dla.h: ...here.
39044 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39045 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39046
af968f62
UD
39047 * config.make.in: Add have-mfma4 entry.
39048 * configure.in: Substitute libc_cv_cc_fma4.
39049 * math/Makefile (dbl-only-routines): Add sincostab.
39050 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39051 Use __sincostab not sincos.
39052 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39053 name is a macro.
39054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39058 using __copysign.
39059 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39060 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39061 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39062 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39063 and __inv.
39064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39065 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39066 __copysign.
39067 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39068 define aliases when function name is a macro.
39069 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39070 sysdeps/ieee754/dbl-64/sincos.tbl.
39071 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39072 fma4-enabled routines.
39073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39074 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39075 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39076 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39077 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39078 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39079 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39081 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39082 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39083 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39084 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39085 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39086 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39087 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39088 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39089 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39090 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39091 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39093 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39094 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39096 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39098 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39100 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39101 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39102 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39103
58985aa9
UD
39104 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39105 rename.
39106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39107 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39112 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39113 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39114
a201fbcf
AS
391152011-10-24 Andreas Schwab <schwab@redhat.com>
39116
39117 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39118
fc2ee42a
LD
391192011-10-23 Ulrich Drepper <drepper@gmail.com>
39120
bb3129bd
UD
39121 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39122
0275fff8
UD
39123 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39124 prediction.
39125 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39126
2fa2ae85
UD
39127 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39128 Remove unused variable magic_bits.
39129 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39130
fc2ee42a
LD
39131 * string/strnlen.c: Define and use STRNLEN macro.
39132 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39133 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39134 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39135 * wcsmbs/wcslen.c: Define and use WCSLEN.
39136 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39137 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39138 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39139 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39140 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39141 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39142 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39143
ce7dd29f
LD
391442011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39145
39146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39147 strnlen-sse2-no-bsf.
39148 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39149 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39150 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39151 Add strnlen support.
39152 (USE_AS_STRNLEN): New macro.
39153 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39154 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39155 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39156 * sysdeps/x86_64/wcslen.S: New file.
39157
979c70a3
MZ
391582011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39159
39160 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39161 XMM-moves are used for copying on small sizes.
39162
2d09f82f
LD
391632011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39164
39165 * wcsmbs/Makefile (strop-tests): Add wcschr.
39166 * wcsmbs/test-wcschr.c: New file.
39167 * string/test-strchr.c: Update.
39168 Add wcschr support.
39169 (WIDE): New macro.
39170
619fccca
LD
391712011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39172
2d09f82f 39173 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39174 * wcsmbs/test-wcslen.c: New file.
39175 * string/test-strlen.c: Update.
39176 Add wcslen support.
39177 (WIDE): New macro.
39178
09f699ea
UD
391792011-10-23 Ulrich Drepper <drepper@gmail.com>
39180
39181 * po/it.po: Update from translation team.
39182
95584d3b
LD
391832011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39184
39185 * sysdeps/x86_64/wcscmp.S: Update.
39186 Fix wrong comparison semantics.
39187 wcscmp shall use signed comparison not unsigned.
39188 Don't use substraction to avoid overflow bug.
39189 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39190 * wcsmbc/wcscmp.c: Likewise.
39191 * string/test-strcmp.c: Likewise.
39192 Add new tests to check cases with negative values.
39193
c8b3296b
UD
391942011-10-23 Ulrich Drepper <drepper@gmail.com>
39195
39196 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39197 * sysdeps/x86_64/dla.h: ...here. New file.
39198 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39199 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39203 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39204 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39205 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39206 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39207
246ad57a
AS
392082011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39209
39210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39211 __ynl_finite aliases.
39212
a1a87169
UD
392132011-10-22 Ulrich Drepper <drepper@gmail.com>
39214
0d355eb7
UD
39215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39216
a1a87169
UD
39217 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39218 define DLA_FMA.
39219 [DLA_FMA] (EMULV): Use DLA_FMA.
39220 [DLA_FMA] (MUL12): Use EMULV.
39221 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39222 that are not needed.
39223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39228 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39229 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39230
ee2aafe0
AS
392312011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39232
39233 * math/s_nan.c: Undef __nan.
39234 * math/s_nanf.c: Undef __nanf.
39235 * math/s_nanl.c: Undef __nanl.
39236 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39237 "math_private.h".
39238
bc62c2fb
UD
392392011-10-22 Ulrich Drepper <drepper@gmail.com>
39240
77425c63
UD
39241 * math/s_catan.c: Add branch predictions.
39242 * math/s_catanf.c: Likewise.
39243 * math/s_catanh.c: Likewise.
39244 * math/s_catanhf.c: Likewise.
39245 * math/s_catanhl.c: Likewise.
39246 * math/s_catanl.c: Likewise.
39247 * math/s_cexp.c: Likewise.
39248 * math/s_cexpf.c: Likewise.
39249 * math/s_cexpl.c: Likewise.
39250 * math/s_clog.c: Likewise.
39251 * math/s_clog10.c: Likewise.
39252 * math/s_clog10f.c: Likewise.
39253 * math/s_clog10l.c: Likewise.
39254 * math/s_clogf.c: Likewise.
39255 * math/s_clogl.c: Likewise.
39256 * math/s_csqrt.c: Likewise.
39257 * math/s_csqrtf.c: Likewise.
39258 * math/s_csqrtl.c: Likewise.
39259 * math/s_ctanf.c: Likewise.
39260 * math/s_ctanh.c: Likewise.
39261 * math/s_ctanhf.c: Likewise.
39262 * math/s_ctanhl.c: Likewise.
39263 * math/s_ctanl.c: Likewise.
39264
bc62c2fb
UD
39265 * math/math_private.h: Define __nan, __nanf, __nanl.
39266 * math/s_cacosh.c: Include <math_private.h>.
39267 * math/s_cacoshl.c: Likewise.
39268 * math/s_casinh.c: Likewise.
39269 * math/s_casinhf.c: Likewise.
39270 * math/s_casinhl.c: Likewise.
39271 * math/s_ccos.c: Rely entire on ccosh.
39272 * math/s_ccosf.c: Rely entire on ccoshf.
39273 * math/s_ccosl.c: Rely entirely on ccoshl.
39274 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39275 Remove tests for FE_INVALID.
39276 * math/s_ccoshf.c: Likewise.
39277 * math/s_ccoshl.c: Likewise.
39278 * math/s_csin.c: Likewise.
39279 * math/s_csinf.c: Likewise.
39280 * math/s_csinh.c Likewise.
39281 * math/s_csinhf.c: Likewise.
39282 * math/s_csinhl.c: Likewise.
39283 * math/s_csinl.c: Likewise.
39284 * math/s_ctan.c: Likewise.
39285 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39286 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39287 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39288
8ec250a4
UD
392892011-10-21 Ulrich Drepper <drepper@gmail.com>
39290
c196fed8
UD
39291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39292 compilation problems.
39293
8ec250a4
UD
39294 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39295 __builtin_expect.
39296
8d4f46c6
UD
392972011-10-20 Ulrich Drepper <drepper@gmail.com>
39298
ed72b654
UD
39299 * sysdeps/i386/configure.in: Test for -mfma4 option.
39300 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39301 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39302 COMMON_CPUID_INDEX_80000001.
39303 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39304 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39305 use it if FMA3 is not supported.
39306 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39307
8d4f46c6
UD
39308 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39309 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39310
d45c60c2
AS
393112011-10-20 Andreas Schwab <schwab@redhat.com>
39312
39313 [BZ #12892]
39314 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39315 it would create a cycle with a link time dependency.
39316
d9a4d2ab
UD
393172011-10-19 Ulrich Drepper <drepper@gmail.com>
39318
855d1560
UD
39319 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39320 instruction.
39321 * string/Makefile (strop-tests): Add rawmemchr.
39322 * string/test-rawmemchr.c: New file.
39323
d9a4d2ab
UD
39324 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39326 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39327 when compiling str{,n}casecmp and when AVX is available. Hook up
39328 new optimized code in initializers.
39329
8f3b1ffe
AS
393302011-10-19 Andreas Schwab <schwab@redhat.com>
39331
39332 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39333 __feraiseexcept instead of feraiseexcept.
39334
d38f1dba
UD
393352011-10-18 Ulrich Drepper <drepper@gmail.com>
39336
d9a8d0ab
UD
39337 * math/math_private.h: Define defaults for libc_fetestexcept and
39338 libc_feupdateenv.
39339 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39340 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39341 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39342 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39343 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39344 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39345 libc_fetestexcept and libc_feupdateenv.
39346
4855e3dd
UD
39347 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39348 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39349 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39350 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39351 libc_feholdexcept_setround.
39352
581d30e3
UD
39353 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39354 Add s_nearbyint-c and s_nearbyintf-c.
39355 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39356 nearbyintf inlines.
39357 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39358 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39359 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39360 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39361
d38f1dba
UD
39362 * math/math_private.h: Define defaults for libc_fegetround,
39363 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39364 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39365 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39366 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39367 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39368 standard functions.
39369 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39370 Remove comments and hacks for old compiler versions.
39371 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39372 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39373 libc_feholdexceptl.
39374
caa6c9d8
AS
393752011-10-18 Andreas Schwab <schwab@redhat.com>
39376
39377 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39378 (__feraiseexcept_renamed): Add __NTH.
39379 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39380 namespace violations.
39381
97c066e6
UD
393822011-10-17 Ulrich Drepper <drepper@gmail.com>
39383
99ce7b04
UD
39384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39385
1004d182
UD
39386 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39387
228a984d
UD
39388 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39389 recently added interfaces.
39390 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39391
c8553a6a
UD
39392 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39393 about macro parameter expansion.
39394
ed22dcf6
UD
39395 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39396 __NO_MATH_INLINES is defined. Cleanups.
39397
39398 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39399 and __floorf is target has SSE4.1.
39400 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39401 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39402 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39403 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39404
b171c137
UD
39405 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39406 name.
39407 (floorf): Likewise.
39408
97c066e6
UD
39409 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39410
629f62ef
AS
394112011-10-17 Andreas Schwab <schwab@redhat.com>
39412
49a43d80
AS
39413 * misc/sys/cdefs.h: Fix last change.
39414
629f62ef
AS
39415 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39416 database lookup.
39417
e453f6cd
UD
394182011-10-16 Ulrich Drepper <drepper@gmail.com>
39419
aa78043a
UD
39420 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39421
ad0f5cad
UD
39422 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39423 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39427 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39428 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39429 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39430 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39431 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39432 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39433 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39434 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39435 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39436 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39437 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39438 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39439 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39440 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39441 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39442 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39443 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39444
39445 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39446 ceil, ceilf, floor, floorf.
39447
39448 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39449 Perform IRELATIVE relocations last.
39450
e453f6cd
UD
39451 * elf/do-rel.h: Add another parameter nrelative, replacing the
39452 local variable with the same name. Change name of the function
39453 to end in Rel or Rela (uppercase).
39454 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39455 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39456 elf_dynamic_do_##reloc function.
39457
fd5bdc09
UD
394582011-10-15 Ulrich Drepper <drepper@gmail.com>
39459
79b195b5
UD
39460 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39461 is sufficient, at least on modern CPUs.
39462
d4a28569
UD
39463 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39464
b61099b5
UD
39465 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39466 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39467
bcf01e6d
UD
39468 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39469 __expl_finite.
39470 * math/bits/math-finite.h: Add entries for exp.
39471 * math/e_expl.c: Add __*_finite alias.
39472 * sysdeps/i386/fpu/e_exp.S: Likewise.
39473 * sysdeps/i386/fpu/e_expf.S: Likewise.
39474 * sysdeps/i386/fpu/e_expl.c: Likewise.
39475 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39476 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39477 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39478 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39479 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39480 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39481 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39482
ba1a0d59
UD
39483 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39484 is sufficient, at least on modern CPUs.
39485
fd5bdc09
UD
39486 * ctype/ctype-info.c (__ctype_init): Define.
39487 * include/ctype.h (__ctype_init): Declare.
39488 (__ctype_b_loc): The variable is always initialized.
39489 (__ctype_toupper_loc): Likewise.
39490 (__ctype_tolower_loc): Likewise.
39491 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39492 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39493
7872cfb0
AS
394942011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39495
b468825a
AS
39496 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39497
7872cfb0
AS
39498 * configure.in: Also look in $cxxmachine/include for C++ system
39499 headers.
39500
be13f7bf
LD
395012011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39502
39503 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39504 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39505 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39506 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39507 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39508 (USE_AS_WMEMCMP): New macro.
39509 Fixing indents.
39510 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39511 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39512 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39513 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39515 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39516 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39517 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39518 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39519 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39521 (USE_AS_WMEMCMP): New macro.
39522 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39523 * sysdeps/string/test-memcmp.c: Update.
39524 Fix simple_wmemcmp.
39525 Add new tests.
39526 * wcsmbs/wmemcmp.c: Update.
39527 (WMEMCMP): New macro.
39528 Fix overflow bug.
39529
556a2007
AJ
395302011-10-12 Andreas Jaeger <aj@suse.de>
39531
39532 [BZ #13268]
39533 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39534
538faaa7
UD
395352011-10-15 Ulrich Drepper <drepper@gmail.com>
39536
ab6737ff
UD
39537 * libio/iofwide.c (do_length): Avoid warning.
39538
538faaa7
UD
39539 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39540
396a21b1
UD
395412011-10-14 Ulrich Drepper <drepper@gmail.com>
39542
cdf2901f
UD
39543 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39544
38ad40ce
UD
39545 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39546 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39547 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39548 * sysdeps/i386/i686/fpu/e_log.S: New file.
39549 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39550 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39551
396a21b1
UD
39552 * ctype/ctype.h: Add support for inlined isXXX functions when
39553 compiling C++ code.
39554
6b1f68c9
AS
395552011-10-14 Andreas Schwab <schwab@redhat.com>
39556
349290c0
AS
39557 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39558
6b1f68c9
AS
39559 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39560
f2282d42
RM
395612011-10-13 Roland McGrath <roland@hack.frob.com>
39562
39563 [BZ #13291]
39564 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39565
5298ffa8
AS
395662011-10-13 Andreas Schwab <schwab@redhat.com>
39567
714fad23
AS
39568 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39569 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39570 feraiseexcept.
39571
81dcc7fb
AS
39572 * sysdeps/x86_64/memrchr.S: Check for zero size.
39573
5298ffa8
AS
39574 * string/stratcliff.c: Add memrchr tests.
39575
951fbcec
LD
395762011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39577
39578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39579 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39580 rawmemchr-sse2 rawmemchr-sse2-bsf.
39581 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39582 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39583 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39584 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39585 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39586 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39587 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39588 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39589 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39590 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39591 * string/memrchr.c (MEMRCHR): New macro.
39592
0ac5ae23
UD
395932011-10-12 Ulrich Drepper <drepper@gmail.com>
39594
39595 Add integration with gcc's -ffinite-math-only and optimize wrapper
39596 functions in libm.
39597 * Versions.def: Define GLIBC_2.15 version for libm.
39598 * math/Makefile (headers): Add bits/math-finite.h.
39599 * math/bits/math-finite.h: New file.
39600 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39601 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39602 * math/e_acoshl.c: Add __*_finite alias.
39603 * math/e_acosl.c: Likewise.
39604 * math/e_asinl.c: Likewise.
39605 * math/e_atan2l.c: Likewise.
39606 * math/e_atanhl.c: Likewise.
39607 * math/e_coshl.c: Likewise.
39608 * math/e_exp10.c: Likewise.
39609 * math/e_exp10f.c: Likewise.
39610 * math/e_exp10l.c: Likewise.
39611 * math/e_exp2l.c: Likewise.
39612 * math/e_fmodl.c: Likewise.
39613 * math/e_gammal_r.c: Likewise.
39614 * math/e_hypotl.c: Likewise.
39615 * math/e_j0l.c: Likewise.
39616 * math/e_j1l.c: Likewise.
39617 * math/e_jnl.c: Likewise.
39618 * math/e_lgammal_r.c: Likewise.
39619 * math/e_log10l.c: Likewise.
39620 * math/e_log2l.c: Likewise.
39621 * math/e_logl.c: Likewise.
39622 * math/e_powl.c: Likewise.
39623 * math/e_sinhl.c: Likewise.
39624 * math/e_sqrtl.c: Likewise.
39625 * math/e_scalb.c: Completely rewritten and optimized.
39626 * math/e_scalbf.c: Likewise.
39627 * math/e_scalbl.c: Likewise.
39628 * math/w_acos.c: Likewise.
39629 * math/w_acosf.c: Likewise.
39630 * math/w_acosl.c: Likewise.
39631 * math/w_acosh.c: Likewise.
39632 * math/w_acoshf.c: Likewise.
39633 * math/w_acoshl.c: Likewise.
39634 * math/w_asin.c: Likewise.
39635 * math/w_asinf.c: Likewise.
39636 * math/w_asinl.c: Likewise.
39637 * math/w_atan2.c: Likewise.
39638 * math/w_atan2f.c: Likewise.
39639 * math/w_atan2l.c: Likewise.
39640 * math/w_atanh.c: Likewise.
39641 * math/w_atanhf.c: Likewise.
39642 * math/w_atanhl.c: Likewise.
39643 * math/w_exp10.c: Likewise.
39644 * math/w_exp10f.c: Likewise.
39645 * math/w_exp10l.c: Likewise.
39646 * math/w_fmod.c: Likewise.
39647 * math/w_fmodf.c: Likewise.
39648 * math/w_fmodl.c: Likewise.
39649 * math/w_j0.c: Likewise.
39650 * math/w_j0f.c: Likewise.
39651 * math/w_j0l.c: Likewise.
39652 * math/w_j1.c: Likewise.
39653 * math/w_j1f.c: Likewise.
39654 * math/w_j1l.c: Likewise.
39655 * math/w_jn.c: Likewise.
39656 * math/w_jnf.c: Likewise.
39657 * math/w_log.c: Likewise.
39658 * math/w_logf.c: Likewise.
39659 * math/w_logl.c: Likewise.
39660 * math/w_log10.c: Likewise.
39661 * math/w_log10f.c: Likewise.
39662 * math/w_log10l.c: Likewise.
39663 * math/w_log2.c: Likewise.
39664 * math/w_log2f.c: Likewise.
39665 * math/w_log2l.c: Likewise.
39666 * math/w_pow.c: Likewise.
39667 * math/w_powf.c: Likewise.
39668 * math/w_powl.c: Likewise.
39669 * math/w_remainder.c: Likewise.
39670 * math/w_remainderf.c: Likewise.
39671 * math/w_remainderl.c: Likewise.
39672 * math/w_scalb.c: Likewise.
39673 * math/w_scalbf.c: Likewise.
39674 * math/w_scalbl.c: Likewise.
39675 * math/w_sqrt.c: Likewise.
39676 * math/w_sqrtf.c: Likewise.
39677 * math/w_sqrtl.c: Likewise.
39678 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39679 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39680 used.
39681 * math/math_private.h: Declare __kernel_standard_f.
39682 * math/w_cosh.c: Remove cruft and optimize a bit.
39683 * math/w_coshf.c: Likewise.
39684 * math/w_coshl.c: Likewise.
39685 * math/w_exp2.c: Likewise.
39686 * math/w_exp2f.c: Likewise.
39687 * math/w_exp2l.c: Likewise.
39688 * math/w_hypot.c: Likewise.
39689 * math/w_hypotf.c: Likewise.
39690 * math/w_hypotl.c: Likewise.
39691 * math/w_lgamma.c: Likewise.
39692 * math/w_lgamma_r.c: Likewise.
39693 * math/w_lgammaf.c: Likewise.
39694 * math/w_lgammaf_r.c: Likewise.
39695 * math/w_lgammal.c: Likewise.
39696 * math/w_lgammal_r.c: Likewise.
39697 * math/w_sinh.c: Likewise.
39698 * math/w_sinhf.c: Likewise.
39699 * math/w_sinhl.c: Likewise.
39700 * math/w_tgamma.c: Likewise.
39701 * math/w_tgammaf.c: Likewise.
39702 * math/w_tgammal.c: Likewise.
39703 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39704 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39705 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39706 Minor optimizations. Pretty printing. Remove cruft.
39707 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39709 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39710 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39711 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39712 * sysdeps/i386/fpu/e_asin.S: Likewise.
39713 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39714 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39715 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39716 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39717 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39718 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39719 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39720 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39721 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39722 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39723 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39724 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39725 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39726 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39727 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39728 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39729 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39730 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39731 * sysdeps/i386/fpu/e_log.S: Likewise.
39732 * sysdeps/i386/fpu/e_log10.S: Likewise.
39733 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39734 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39735 * sysdeps/i386/fpu/e_log2.S: Likewise.
39736 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39737 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39738 * sysdeps/i386/fpu/e_logf.S: Likewise.
39739 * sysdeps/i386/fpu/e_logl.S: Likewise.
39740 * sysdeps/i386/fpu/e_pow.S: Likewise.
39741 * sysdeps/i386/fpu/e_powf.S: Likewise.
39742 * sysdeps/i386/fpu/e_powl.S: Likewise.
39743 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39744 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39745 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39746 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39747 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39748 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39749 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39750 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39751 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39752 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39753 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39755 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39756 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39757 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39758 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39759 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39760 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39761 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39762 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39763 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39765 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39766 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39769 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39772 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39773 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39774 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39775 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39776 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39777 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39778 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39779 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39780 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39781 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39782 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39783 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39784 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39785 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39786 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39787 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39788 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39789 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39790 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39791 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39792 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39793 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39794 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39796 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39798 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39800 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39801 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39802 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39804 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39805 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39808 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39811 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39832 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39835 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39837 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39838 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39840 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39843 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39844 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39845 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39847 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39848 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39849 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39850 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39851 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39852 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39853 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39854 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39855 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39856 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39857 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39858 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39860 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39861 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39862 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39863 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39864 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39865 (__isnanf): Likewise.
39866 (__isinf_ns): Likewise.
39867 (__isinf_nsf): Likewise.
39868 (__finite): Likewise.
39869 (__finitef): Likewise.
39870 (__ieee754_sqrt): Define as macro.
39871 (__ieee754_sqrtf): Define as macro.
39872 (__ieee754_sqrtl): Define as macro.
39873 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39874 inlined copy.
39875 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39876 __FINITE_MATH_ONLY__ consistent.
39877 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39878
12cc2fcd
AS
398792011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39880
a843a204
AS
39881 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39882 of rawmemchr.
39883
12cc2fcd
AS
39884 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39885
c853acd5
UD
398862011-10-09 Ulrich Drepper <drepper@gmail.com>
39887
39888 * po/ja.po: Update from translation team.
39889
c658d255
RM
398902011-10-08 Roland McGrath <roland@hack.frob.com>
39891
110946e4
RM
39892 * locale/programs/locarchive.c (prepare_address_space): New function.
39893 (create_archive, enlarge_archive, open_archive): Use it.
39894
50604220
RM
39895 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39896 inside [SHARED], where it is used.
39897
c658d255
RM
39898 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39899
39900 * nss/getent.c (netgroup_keys): Remove unused variable.
39901 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39902
6a621eb7
UD
399032011-10-08 Ulrich Drepper <drepper@gmail.com>
39904
7edb55ce
UD
39905 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39906 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39908 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39909 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39910 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39911 * math/Makefile (libm-calls): Add s_isinf_ns.
39912 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39913 * math/multc3.c: Likewise.
39914 * math/s_casin.c: Likewise.
39915 * math/s_casinf.c: Likewise.
39916 * math/s_casinl.c: Likewise.
39917 * math/s_ccos.c: Likewise.
39918 * math/s_ccosf.c: Likewise.
39919 * math/s_ccosl.c: Likewise.
39920 * math/s_ctan.c: Likewise.
39921 * math/s_ctanf.c: Likewise.
39922 * math/s_ctanh.c: Likewise.
39923 * math/s_ctanhf.c: Likewise.
39924 * math/s_ctanhl.c: Likewise.
39925 * math/s_ctanl.c: Likewise.
39926 * math/w_fmod.c: Likewise.
39927 * math/w_fmodf.c: Likewise.
39928 * math/w_fmodl.c: Likewise.
39929 * math/w_remainder.c: Likewise.
39930 * math/w_remainderf.c: Likewise.
39931 * math/w_remainderl.c: Likewise.
39932 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39933 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39934 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39936 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39937 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39938 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39939 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39940
187da0ae
UD
39941 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39942 of the number.
39943 * stdio-common/printf_fphex.c: Likewise.
39944 * stdio-common/printf_size.c: Likewise.
39945
9277c064
UD
39946 * math/e_exp10.c: Include math_private.h using <...> not "...".
39947 * math/e_exp10f.c: Likewise.
39948 * math/e_exp10l.c: Likewise.
39949 * math/e_exp2l.c: Likewise.
39950 * math/e_j0l.c: Likewise.
39951 * math/e_j1l.c: Likewise.
39952 * math/e_jnl.c: Likewise.
39953 * math/e_lgammal_r.c: Likewise.
39954 * math/e_rem_pio2l.c: Likewise.
39955 * math/e_scalb.c: Likewise.
39956 * math/e_scalbf.c: Likewise.
39957 * math/e_scalbl.c: Likewise.
39958 * math/k_cosl.c: Likewise.
39959 * math/k_sinl.c: Likewise.
39960 * math/k_tanl.c: Likewise.
39961 * math/s_cacoshf.c: Likewise.
39962 * math/s_catan.c: Likewise.
39963 * math/s_catanf.c: Likewise.
39964 * math/s_catanh.c: Likewise.
39965 * math/s_catanhf.c: Likewise.
39966 * math/s_catanhl.c: Likewise.
39967 * math/s_catanl.c: Likewise.
39968 * math/s_ccosh.c: Likewise.
39969 * math/s_ccoshf.c: Likewise.
39970 * math/s_ccoshl.c: Likewise.
39971 * math/s_cexp.c: Likewise.
39972 * math/s_cexpf.c: Likewise.
39973 * math/s_cexpl.c: Likewise.
39974 * math/s_clog.c: Likewise.
39975 * math/s_clog10.c: Likewise.
39976 * math/s_clog10f.c: Likewise.
39977 * math/s_clog10l.c: Likewise.
39978 * math/s_clogf.c: Likewise.
39979 * math/s_clogl.c: Likewise.
39980 * math/s_csin.c: Likewise.
39981 * math/s_csinf.c: Likewise.
39982 * math/s_csinh.c: Likewise.
39983 * math/s_csinhf.c: Likewise.
39984 * math/s_csinhl.c: Likewise.
39985 * math/s_csinl.c: Likewise.
39986 * math/s_csqrt.c: Likewise.
39987 * math/s_csqrtf.c: Likewise.
39988 * math/s_csqrtl.c: Likewise.
39989 * math/s_ctan.c: Likewise.
39990 * math/s_ctanf.c: Likewise.
39991 * math/s_ctanh.c: Likewise.
39992 * math/s_ctanhf.c: Likewise.
39993 * math/s_ctanhl.c: Likewise.
39994 * math/s_ctanl.c: Likewise.
39995 * math/s_ldexp.c: Likewise.
39996 * math/s_ldexpf.c: Likewise.
39997 * math/s_ldexpl.c: Likewise.
39998 * math/s_significand.c: Likewise.
39999 * math/s_significandf.c: Likewise.
40000 * math/s_significandl.c: Likewise.
40001 * math/w_acos.c: Likewise.
40002 * math/w_acosf.c: Likewise.
40003 * math/w_acosh.c: Likewise.
40004 * math/w_acoshf.c: Likewise.
40005 * math/w_acoshl.c: Likewise.
40006 * math/w_acosl.c: Likewise.
40007 * math/w_asin.c: Likewise.
40008 * math/w_asinf.c: Likewise.
40009 * math/w_asinl.c: Likewise.
40010 * math/w_atan2.c: Likewise.
40011 * math/w_atan2f.c: Likewise.
40012 * math/w_atan2l.c: Likewise.
40013 * math/w_atanh.c: Likewise.
40014 * math/w_atanhf.c: Likewise.
40015 * math/w_atanhl.c: Likewise.
40016 * math/w_cosh.c: Likewise.
40017 * math/w_coshf.c: Likewise.
40018 * math/w_coshl.c: Likewise.
40019 * math/w_dremf.c: Likewise.
40020 * math/w_exp10.c: Likewise.
40021 * math/w_exp10f.c: Likewise.
40022 * math/w_exp10l.c: Likewise.
40023 * math/w_exp2.c: Likewise.
40024 * math/w_exp2f.c: Likewise.
40025 * math/w_fmod.c: Likewise.
40026 * math/w_fmodf.c: Likewise.
40027 * math/w_fmodl.c: Likewise.
40028 * math/w_hypot.c: Likewise.
40029 * math/w_hypotf.c: Likewise.
40030 * math/w_hypotl.c: Likewise.
40031 * math/w_j0.c: Likewise.
40032 * math/w_j0f.c: Likewise.
40033 * math/w_j0l.c: Likewise.
40034 * math/w_j1.c: Likewise.
40035 * math/w_j1f.c: Likewise.
40036 * math/w_j1l.c: Likewise.
40037 * math/w_jn.c: Likewise.
40038 * math/w_jnf.c: Likewise.
40039 * math/w_jnl.c: Likewise.
40040 * math/w_lgamma.c: Likewise.
40041 * math/w_lgamma_r.c: Likewise.
40042 * math/w_lgammaf.c: Likewise.
40043 * math/w_lgammaf_r.c: Likewise.
40044 * math/w_lgammal.c: Likewise.
40045 * math/w_lgammal_r.c: Likewise.
40046 * math/w_log.c: Likewise.
40047 * math/w_log10.c: Likewise.
40048 * math/w_log10f.c: Likewise.
40049 * math/w_log10l.c: Likewise.
40050 * math/w_log2.c: Likewise.
40051 * math/w_log2f.c: Likewise.
40052 * math/w_log2l.c: Likewise.
40053 * math/w_logf.c: Likewise.
40054 * math/w_logl.c: Likewise.
40055 * math/w_pow.c: Likewise.
40056 * math/w_powf.c: Likewise.
40057 * math/w_powl.c: Likewise.
40058 * math/w_remainder.c: Likewise.
40059 * math/w_remainderf.c: Likewise.
40060 * math/w_remainderl.c: Likewise.
40061 * math/w_scalb.c: Likewise.
40062 * math/w_scalbf.c: Likewise.
40063 * math/w_scalbl.c: Likewise.
40064 * math/w_sinh.c: Likewise.
40065 * math/w_sinhf.c: Likewise.
40066 * math/w_sinhl.c: Likewise.
40067 * math/w_sqrt.c: Likewise.
40068 * math/w_sqrtf.c: Likewise.
40069 * math/w_sqrtl.c: Likewise.
40070 * math/w_tgamma.c: Likewise.
40071 * math/w_tgammaf.c: Likewise.
40072 * math/w_tgammal.c: Likewise.
40073
6a621eb7
UD
40074 * po/ja.po: Update from translation team.
40075
bf582445
AJ
400762011-09-29 Andreas Jaeger <aj@suse.de>
40077
f9efbf3a
AJ
40078 [BZ #13179]
40079 * sunrpc/netname.c (netname2host): Fix logic.
40080
bf582445
AJ
40081 [BZ #6779]
40082 [BZ #6783]
40083 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40084 correctly.
40085 * math/w_remainder.c (__remainder): Likewise.
40086 * math/w_remainderf.c (__remainderf): Likewise.
40087 * math/libm-test.inc (remainder_test): Add test cases.
40088
48693bea
AK
400892011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40090
40091 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40092 sdiv_qrnnd.
40093
42622229
LD
400942011-10-07 Ulrich Drepper <drepper@gmail.com>
40095
40096 * string/test-memcmp.c: Avoid unncessary #defines.
40097 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40098
093ecf92
LD
400992011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40100
40101 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40102 Use new sse2 version for core i3 - i7 as it's faster
40103 than sse42 version.
40104 (bit_Prefer_PMINUB_for_stringop): New.
40105 * sysdeps/x86_64/rawmemchr.S: Update.
40106 Replace with faster SSE2 version.
40107 * sysdeps/x86_64/memrchr.S: New file.
40108 * sysdeps/x86_64/memchr.S: Update.
40109 Replace with faster SSE2 version.
40110
fde56e5c
MP
401112011-09-12 Marek Polacek <mpolacek@redhat.com>
40112
40113 * elf/dl-load.c (lose): Add cast to avoid warning.
40114
21fd49a9
UD
401152011-10-07 Ulrich Drepper <drepper@gmail.com>
40116
5a06e643
UD
40117 * po/ca.po: Update from translation team.
40118
684ae515
UD
40119 * inet/getnetgrent_r.c: Hook up nscd.
40120 * nscd/Makefile (routines): Add nscd_netgroup.
40121 (nscd-modules): Add netgroupcache.
40122 (CFLAGS-netgroupcache.c): Define.
40123 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40124 (cache_search): Add const to second parameter.
40125 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40126 INNETGR.
40127 (dbs): Add netgrdb entry.
40128 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40129 (verify_persistent_db): Handle netgrdb.
40130 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40131 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40132 GETFDNETGR.
40133 (netgroup_response_header): Define.
40134 (innetgroup_response_header): Define.
40135 (datahead): Add netgroup_response_header and innetgroup_response_header
40136 elements.
40137 * nscd/nscd.conf: Add entries for netgroup cache.
40138 * nscd/nscd.h (dbtype): Add netgrdb.
40139 (_PATH_NSCD_NETGROUP_DB): Define.
40140 (netgroup_iov_disabled): Declare.
40141 (xmalloc, xcalloc, xrealloc): Move declarations here.
40142 (cache_search): Adjust prototype.
40143 Add netgroup-related prototypes.
40144 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40145 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40146 (__nscd_innetgr): Declare.
40147 * nscd/selinux.c (perms): Use access_vector_t as element type and
40148 add netgroup-related initializers.
40149 * nscd/netgroupcache.c: New file.
40150 * nscd/nscd_netgroup.c: New file.
40151 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40152 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40153 For four parameters use innetgr.
40154 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40155 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40156 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40157 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40158
21fd49a9
UD
40159 * nscd/connections.c (register_traced_file): Don't register file
40160 for disabled databases.
40161
054c0457
UD
401622011-10-06 Ulrich Drepper <drepper@gmail.com>
40163
32b63198
UD
40164 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40165
054c0457
UD
40166 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40167 from tree and freeing node.
40168
64031225
JO
401692011-09-25 Jiri Olsa <jolsa@redhat.com>
40170
40171 * nss/nsswitch.c (__nss_database_lookup): Handle
40172 nss_parse_service_list out of memory case.
40173
0490345c
JO
401742011-09-15 Jiri Olsa <jolsa@redhat.com>
40175
40176 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40177 out of memory case.
40178
3a62d00d
AS
401792011-10-04 Andreas Schwab <schwab@redhat.com>
40180
40181 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40182 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40183 pass it down.
40184 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40185 elf_machine_rela, elf_machine_lazy_rel.
40186 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40187 (ELF_DYNAMIC_DO_REL): Likewise.
40188 (ELF_DYNAMIC_DO_RELA): Likewise.
40189 (ELF_DYNAMIC_RELOCATE): Likewise.
40190 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40191 to ELF_DYNAMIC_DO_REL.
40192 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40193 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40194 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40195 elf_machine_rela.
40196 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40197 skip_ifunc, don't call ifunc function if non-zero.
40198 (elf_machine_rela): Likewise.
40199 (elf_machine_lazy_rel): Likewise.
40200 (elf_machine_lazy_rela): Likewise.
40201 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40202 (elf_machine_lazy_rel): Likewise.
40203 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40204 Likewise.
40205 (elf_machine_lazy_rel): Likewise.
40206 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40207 Likewise.
40208 (elf_machine_lazy_rel): Likewise.
40209 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40210 (elf_machine_lazy_rel): Likewise.
40211 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40212 (elf_machine_lazy_rel): Likewise.
40213 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40214 (elf_machine_lazy_rel): Likewise.
40215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40216 (elf_machine_lazy_rel): Likewise.
40217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40218 (elf_machine_lazy_rel): Likewise.
40219 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40220 (elf_machine_lazy_rel): Likewise.
40221
68577918
UD
402222011-09-28 Ulrich Drepper <drepper@gmail.com>
40223
40224 * nss/nss_files/files-init.c (_nss_files_init): Use static
40225 initialization for all the *_traced_file variables.
40226
68822d74
AS
402272011-09-28 Andreas Schwab <schwab@redhat.com>
40228
40229 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40230
2056100b
RM
402312011-09-27 Roland McGrath <roland@hack.frob.com>
40232
40233 [BZ #13226]
40234 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40235
32c76b63
AS
402362011-09-27 Andreas Schwab <schwab@redhat.com>
40237
40238 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40239 Reread the line before reparsing it.
40240
bf972c9d
AS
402412011-09-26 Andreas Schwab <schwab@redhat.com>
40242
40243 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40244
e057a1b5
JM
402452011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40246 Maxim Kuvyrkov <maxim@codesourcery.com>
40247 Joseph Myers <joseph@codesourcery.com>
40248
40249 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40250 if needed for __stack_chk_guard.
40251
bc7e1c36
RM
402522011-09-19 Roland McGrath <roland@hack.frob.com>
40253
ecb1482f
RM
40254 * sysdeps/posix/spawni.c (script_execute): Always define it.
40255 It will be optimized away if unused.
40256 (maybe_script_execute): New function.
40257 (__spawni): Call it.
40258
bc7e1c36
RM
40259 * Makerules: Don't include tls.make.
40260 (config-tls): Always set to thread.
40261 * tls.make.c: File removed.
40262
1c3b002b
MF
402632011-09-19 Mike Frysinger <vapier@gentoo.org>
40264
40265 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40266 * config.make.in (CPPFLAGS-config): New substituted variable.
40267
2840865d
UD
402682011-09-15 Ulrich Drepper <drepper@gmail.com>
40269
88738eb6
UD
40270 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40271
cbf645a6 40272 [BZ #13192]
2840865d
UD
40273 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40274 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40275
b402e91a
RM
402762011-09-15 Roland McGrath <roland@hack.frob.com>
40277
40278 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40279 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40281 (CALL_FAIL): Likewise.
40282 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40283 (CALL_FAIL): Macro removed.
40284 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40285
4c1a1f71
UD
402862011-09-15 Ulrich Drepper <drepper@gmail.com>
40287
40288 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40289 for __FINITE_MATH_ONLY__ == 1.
40290
edc121be
AS
402912011-09-15 Andreas Schwab <schwab@redhat.com>
40292
40293 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40294 __ieee754_sqrt instead of sqrt.
40295 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40296 __ieee754_sqrtf instead of sqrtf.
40297 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40298 __floorf instead of floorf.
40299 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40300 __floorf, __truncf instead of floorf, truncf.
40301
cd205654
UD
403022011-09-14 Ulrich Drepper <drepper@gmail.com>
40303
ee4d0315
UD
40304 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40305
cd205654
UD
40306 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40307 __extern_always_inline.
40308 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40309 32-bit.
40310
48b67d71
AS
403112011-09-14 Andreas Schwab <schwab@redhat.com>
40312
40313 * elf/rtld.c (dl_main): Also relocate in dependency order when
40314 doing symbol dependency testing.
40315
1ae12c75
AS
403162011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40317
40318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40319 Always define `refsym'.
40320
995a80df
AS
403212011-09-13 Andreas Schwab <schwab@redhat.com>
40322
e529793b
AS
40323 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40324 (__FD_ELT): Renamed from __FDELT.
40325 * misc/bits/select2.h (__FD_ELT): Likewise.
40326 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40327 __FD_MASK instead of __FDELT, __FDMASK.
40328 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40329 Likewise.
40330 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40331 Likewise.
40332
52d4fef8
AS
40333 * elf/Makefile (gen-ldd): Fix pattern.
40334
995a80df
AS
40335 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40336 (init_tls): Likewise.
40337
8682f8b0
UD
403382011-09-12 Ulrich Drepper <drepper@gmail.com>
40339
40340 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40341
de82006d
AS
403422011-09-12 Andreas Schwab <schwab@redhat.com>
40343
a7c8e6a1
AS
40344 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40345 `struct cmsghdr *' instead of `void *'.
40346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40347 Likewise.
40348
0f31fe77
AS
403492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40350
40351 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40352 if non-absolute.
40353 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40354 ldd_rewrite_script.
0f31fe77 40355
32b4c839
UD
403562011-09-11 Ulrich Drepper <drepper@gmail.com>
40357
83cd1420
UD
40358 * configure.in: Remove --with-tls option.
40359 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40360 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40361 out in case it is missing.
40362 * sysdeps/ia64/elf/configure.in: Likewise.
40363 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40364 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40365 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40366 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40367 * sysdeps/sh/elf/configure.in: Likewise.
40368 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40369 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40370 * sysdeps/x86_64/elf/configure.in: Likewise.
40371 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40372 * sysdeps/mach/hurd/tls.h: Likewise.
40373
633f745d
UD
40374 [BZ #13067]
40375 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40376
f318beb8
UD
40377 [BZ #13090]
40378 * configure.in: Fix use of AC_INIT.
40379
32b4c839
UD
40380 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40381
3ce1f295
UD
403822011-09-10 Ulrich Drepper <drepper@gmail.com>
40383
bb016596
UD
40384 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40385 __set_errno.
8e58439c
UD
40386 * malloc/hooks.c: Likewise.
40387
aebae053 40388 [BZ #11929]
02d46fc4
UD
40389 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40390 variables statically.
40391 (narenas): Initialize.
40392 (list_lock): Initialize.
bb016596
UD
40393 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40394 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40395 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40396 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40397 Add initializers to main_arena and mp_.
40398 (malloc_state): Remove pagesize member. Change all users to use
40399 GLRO(dl_pagesize).
40400
40401 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40402 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40403 is always initialized.
40404
22a89187
UD
40405 * malloc/malloc.c: Removed unused configurations and dead code.
40406 * malloc/arena.c: Likewise.
40407 * malloc/hooks.c: Likewise.
02d46fc4 40408 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40409
d063d164
UD
40410 * include/tls.h: Removed. USE___THREAD must always be defined.
40411 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40412 * elf/dl-libc.c: Likewise.
40413 * elf/dl-tsd.c: Likewise.
40414 * include/errno.h: Likewise.
40415 * include/netdb.h: Likewise.
40416 * include/resolv.h: Likewise.
40417 * inet/herrno-loc.c: Likewise.
40418 * inet/herrno.c: Likewise.
40419 * malloc/arena.c: Likewise.
40420 * malloc/hooks.c: Likewise.
40421 * malloc/malloc.c: Likewise.
40422 * resolv/res-state.c: Likewise.
40423 * resolv/res_libc.c: Likewise.
40424 * sysdeps/i386/dl-machine.h: Likewise.
40425 * sysdeps/ia64/dl-machine.h: Likewise.
40426 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40427 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40428 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40429 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40430 * sysdeps/sh/dl-machine.h: Likewise.
40431 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40432 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40433 * sysdeps/unix/i386/sysdep.S: Likewise.
40434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40435 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40438 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40440 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40444 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40445 * sysdeps/x86_64/dl-machine.h: Likewise.
40446 * tls.make.c: Likewise.
40447
3ce1f295
UD
40448 * configure.in: Remove --with-__thread option. Make tests for
40449 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40450 tls_model attribute fail if no support is available. Remove
40451 USE_IN_LIBIO.
40452 * Makeconfig: Adjust for dropped configure option. All features are
40453 now mandatory.
40454 * Makerules: Likewise.
40455 * Versions.def: Likewise.
40456 * argp/argp-fmtstream.c: Likewise.
40457 * argp/argp-fmtstream.h: Likewise.
40458 * argp/argp-help.c: Likewise.
40459 * assert/assert.c: Likewise.
40460 * config.h.in: Likewise.
40461 * config.make.in: Likewise.
40462 * configure: Likewise.
40463 * configure.in: Likewise.
40464 * csu/Versions: Likewise.
40465 * csu/init.c: Likewise.
40466 * elf/tst-audit2.c: Likewise.
40467 * elf/tst-tls10.c: Likewise.
40468 * elf/tst-tls10.h: Likewise.
40469 * elf/tst-tls11.c: Likewise.
40470 * elf/tst-tls12.c: Likewise.
40471 * elf/tst-tls14.c: Likewise.
40472 * elf/tst-tlsmod11.c: Likewise.
40473 * elf/tst-tlsmod12.c: Likewise.
40474 * elf/tst-tlsmod13.c: Likewise.
40475 * elf/tst-tlsmod13a.c: Likewise.
40476 * elf/tst-tlsmod14a.c: Likewise.
40477 * elf/tst-tlsmod15b.c: Likewise.
40478 * elf/tst-tlsmod16a.c: Likewise.
40479 * elf/tst-tlsmod16b.c: Likewise.
40480 * elf/tst-tlsmod7.c: Likewise.
40481 * elf/tst-tlsmod8.c: Likewise.
40482 * elf/tst-tlsmod9.c: Likewise.
40483 * gmon/gmon.c: Likewise.
40484 * grp/fgetgrent_r.c: Likewise.
40485 * grp/putgrent.c: Likewise.
40486 * hurd/fopenport.c: Likewise.
40487 * include/libc-symbols.h: Likewise.
40488 * include/tls.h: Likewise.
40489 * intl/gettextP.h: Likewise.
40490 * intl/loadinfo.h: Likewise.
40491 * locale/global-locale.c: Likewise.
40492 * locale/localeinfo.h: Likewise.
40493 * mach/devstream.c: Likewise.
40494 * malloc/arena.c: Likewise.
40495 * malloc/set-freeres.c: Likewise.
40496 * misc/err.c: Likewise.
40497 * misc/getttyent.c: Likewise.
40498 * misc/mntent_r.c: Likewise.
40499 * posix/getopt.c: Likewise.
40500 * posix/wordexp.c: Likewise.
40501 * pwd/fgetpwent_r.c: Likewise.
40502 * resolv/Versions: Likewise.
40503 * resolv/res_hconf.c: Likewise.
40504 * shadow/fgetspent_r.c: Likewise.
40505 * shadow/putspent.c: Likewise.
40506 * stdio-common/printf_fphex.c: Likewise.
40507 * stdio-common/tmpfile.c: Likewise.
40508 * stdlib/abort.c: Likewise.
40509 * stdlib/fmtmsg.c: Likewise.
40510 * sunrpc/auth_unix.c: Likewise.
40511 * sunrpc/clnt_perr.c: Likewise.
40512 * sunrpc/clnt_tcp.c: Likewise.
40513 * sunrpc/clnt_udp.c: Likewise.
40514 * sunrpc/clnt_unix.c: Likewise.
40515 * sunrpc/openchild.c: Likewise.
40516 * sunrpc/svc_simple.c: Likewise.
40517 * sunrpc/svc_tcp.c: Likewise.
40518 * sunrpc/svc_udp.c: Likewise.
40519 * sunrpc/svc_unix.c: Likewise.
40520 * sunrpc/xdr.c: Likewise.
40521 * sunrpc/xdr_array.c: Likewise.
40522 * sunrpc/xdr_rec.c: Likewise.
40523 * sunrpc/xdr_ref.c: Likewise.
40524 * sunrpc/xdr_stdio.c: Likewise.
40525
1248c1c4
PB
405262011-09-09 Ulrich Drepper <drepper@gmail.com>
40527
40528 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40529
405302011-07-03 Andreas Jaeger <aj@suse.de>
40531
40532 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40533 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40534 regenerate with gen-libm-tests.pl.
40535
405362010-05-12 Petr Baudis <pasky@suse.cz>
40537
40538 [BZ #11589]
40539 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40540 around j0() zero points by switching to j1().
40541 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40544 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40545
f22e1074
UD
405462011-09-09 Ulrich Drepper <drepper@gmail.com>
40547
f19009c1
UD
40548 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40549 instead of 0.
40550 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40551 instead of 0.
f19009c1
UD
40552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40553 Patch in part by Pavel Roskin <proski@gnu.org>.
40554
3f8cc204
UD
40555 [BZ #13138]
40556 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40557 realloc.
40558 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40559 Free memory block if necessary.
40560
f22e1074
UD
40561 [BZ #12847]
40562 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40563 be NULL. Don't lock in this case.
40564
0a2349f9
RM
405652011-09-09 Roland McGrath <roland@hack.frob.com>
40566
40567 * elf/elf.h (ELFOSABI_GNU): New macro.
40568 (ELFOSABI_LINUX): Define to that.
40569
f3cdd467
DZ
405702011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40571
40572 * string/strncat.c (strncat): Undef the symbol in case it has been
40573 defined in bits/string.h.
40574
74718d13
UD
405752011-09-09 Ulrich Drepper <drepper@gmail.com>
40576
633e9e0f
UD
40577 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40578
0a2349f9 40579 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40580 link map.
40581
f9924780
AJ
405822011-08-17 Andreas Jaeger <aj@suse.de>
40583
40584 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40585
7f5517aa
PP
405862011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40587 Ian Lance Taylor <iant@google.com>
40588
40589 * math/libm-test.inc (lround_test): New testcase.
40590 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40591
762011fe
UD
405922011-09-08 Ulrich Drepper <drepper@gmail.com>
40593
92963737
UD
40594 * Makefile: Remove support for automatic cvs check-ins.
40595 * Makerules: Likewise.
40596 * config.make.in: Likewise.
40597 * configure.in: Likewise.
40598 * intl/Makefile: Likewise.
40599 * locale/Makefile: Likewise.
40600 * po/Makefile: Likewise.
40601 * posix/Makefile: Likewise.
40602 * sysdeps/gnu/Makefile: Likewise.
40603 * sysdeps/mach/hurd/Makefile: Likewise.
40604 * sysdeps/sparc/sparc32/Makefile: Likewise.
40605
b0727fd8
JS
40606 [BZ #13118]
40607 * posix/Makefile (bug-regex32-ENV): Define.
40608 Patch by John Stanley <jpsinthemix@verizon.net>.
40609
a0f33f99
UD
40610 * misc/Makefile (headers): Add bits/select2.h.
40611 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40612 * misc/bits/select2.h: New file.
40613 * include/bits/select2.h: New file.
40614 * debug/Makefile (routines): Add fdelt_chk.
40615 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40616 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40617 FD_ISSET.
40618 * debug/fdelt_chk.c: New file.
40619
762011fe
UD
40620 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40621 * wcsmbs/test-wmemcmp.c: Likewise.
40622 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40623 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40624
406252011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40626
40627 * string/Makefile (strop-tests): Add memcmp.
40628 * string/test-wmemcmp.c: New file.
40629 * string/test-memcmp.c: Add wmemcmp support.
40630
7f513ec8
RM
406312011-09-08 Roland McGrath <roland@hack.frob.com>
40632
0442afb4
RM
40633 [BZ #13153]
40634 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40635 2011-07-19 change.
40636
7f513ec8
RM
40637 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40638 garbage value in a __mach_port_mod_refs call in the cases of the
40639 task-self and thread-self ports.
40640
a12b2239
ST
406412011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40642
40643 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40644
610f9ab4
AS
406452011-09-08 Andreas Schwab <schwab@redhat.com>
40646
7f513ec8 40647 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40648
48882a1a
LD
406492011-09-07 Ulrich Drepper <drepper@gmail.com>
40650
b49865be
UD
40651 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40652
fdc86bc9
UD
40653 * elf/dl-libc.c (dlerror_run): Pass back error code from
40654 dl_catch_error.
40655
c966526a
UD
40656 [BZ #13123]
40657 * elf/dl-load.c (lose): Free l_origin if it is valid.
40658
48882a1a
LD
40659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40660 names.
40661 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40662 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40663 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40664 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40665 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40666 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40667
77a2a8b4
AZ
406682011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40669
40670 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40671 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40672 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40673 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40674 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40675 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40676 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40677 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40678 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40679 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40680
24f579d8
AM
406812011-08-15 Alan Modra <amodra@gmail.com>
40682
40683 [BZ #13092]
40684 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40685 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40686 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40687 ppc_mcount to static-only-routines.
40688 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40689 __mcount_internal.
40690 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40691 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40692
3d4837df
UD
406932011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40694
40695 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40696 for finite and infinity parameters.
40697
22700377
WS
406982011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40699
40700 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40701 and add nop instructions for throughput optimization.
40702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40703
5025581e
WS
407042011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40705
40706 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40707 aligned copy for power7 with vector-scalar instructions.
40708 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40709
08a300c9
L
407102011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40711
40712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40713 AVX check.
40714
59178ef9
AS
407152011-09-07 Andreas Schwab <schwab@redhat.com>
40716
40717 [BZ #13144]
40718 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40719 last change.
40720
e38ba7ab
UD
407212011-09-07 Ulrich Drepper <drepper@gmail.com>
40722
40723 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40724 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40725 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40726 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40727 clock_gettime.
40728
d53a73ac
UD
407292011-09-06 Ulrich Drepper <drepper@gmail.com>
40730
fc8bffcc
UD
40731 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40732 Forgot to demangle the pointer.
40733
ceaa0c5d
UD
40734 * sysdeps/i386/sysdep.h: Define atom_text_section.
40735 * sysdeps/x86_64/sysdep.h: Likewise.
40736 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40737 section with atom_text_section.
40738 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40739 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40740 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40743
a77d3c17
UD
40744 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40745 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40746 already be defined. Change to take two parameters and don't assign
40747 result to variable. Adjust all users.
40748 Define INTERNAL_GETTIME if not already defined.
40749 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40750 call.
40751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40752 HAVE_CLOCK_GETTIME_VSYSCALL.
40753 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40754
d53a73ac
UD
40755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40756 gettimeofday vsyscall, just use time.
40757
a8f84144
AS
407582011-09-06 Andreas Schwab <schwab@redhat.com>
40759
40760 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40761 <errno.h>.
40762
ef606249
UD
407632011-09-06 Ulrich Drepper <drepper@gmail.com>
40764
40765 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40766 syscall on x86-64.
40767 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40768 syscall.
40769 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40770 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40771 syscall if possible.
40772
6585cb60
UD
407732011-09-05 Ulrich Drepper <drepper@gmail.com>
40774
40775 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40776 e_ident. Don't pass to find_mapsXX.
40777 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40778
a5f524e4
LD
407792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40780
40781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40782 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40783 * sysdeps/x86_64/multiarch/strchr.S: Update.
40784 Check bit_slow_BSF bit.
40785 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40786 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40787 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40788
554881ef
UD
407892011-09-05 Ulrich Drepper <drepper@gmail.com>
40790
d96de963
UD
40791 [BZ #13134]
40792 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40793 before glibc 2.15.
40794 (tryshell): Define.
40795 (__spawni): Change last parameter to be flag. Test
40796 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40797 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40798 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40799 * posix/spawni.c: Likewise.
40800 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40801 * posix/spawnp.c: Likewise. Change normal version to use
40802 SPAWN_XFLAGS_USE_PATH.
40803 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40804 SPAWN_XFLAGS_TRY_SHELL.
40805
d48e5868
UD
40806 [BZ #13150]
40807 * posix/glob.h: Remove gcc 1.x support.
40808
554881ef
UD
40809 [BZ #13068]
40810 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40811
693fb948
LD
408122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40813
40814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40815 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40816 strrchr-sse2-bsf
40817 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40818 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40819 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40820 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40821 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40822 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40823
1b48c537
UD
408242011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40825
49d42c37
UD
40826 * sysdeps/x86_64/wcscmp.S: New file.
40827
1b48c537
UD
40828 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40829 wcscmp-c wcscmp-sse2
40830 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40831 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40832 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40833 * wcsmbs/wcscmp.c: Allow renaming.
40834
15c95c5d
DM
408352011-09-05 David S. Miller <davem@davemloft.net>
40836
40837 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40838 stack slot, rather than the struct return pointer slot.
40839 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40840 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40842 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40843
2f0ad8f3
UD
408442011-09-05 Ulrich Drepper <drepper@gmail.com>
40845
d88ae418
UD
40846 * po/ja.po: Update from translation team.
40847
2f0ad8f3
UD
40848 [BZ #13144]
40849 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40850 kernel in 64-bit binaries.
40851
5f4318d1
DM
408522011-09-01 David S. Miller <davem@davemloft.net>
40853
40854 * elf/elf.h (HWCAP_SPARC_*): Move to..
40855 * sysdeps/sparc/sysdep.h: this new file and add new values.
40856 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40857 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40858 _DL_HWCAP_COUNT to 24.
40859 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40860 entries.
40861 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40862 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40863 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40865 instead of magic constants.
40866 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40867
3ba57516
DM
408682011-08-31 David S. Miller <davem@davemloft.net>
40869
40870 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40872 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
40878 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40879 (PSEUDO): Reimplement to do errno handling inline.
40880 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40881 (SYSCALL_ERROR_HANDLER): New macro.
40882 (__SYSCALL_STRING): Do not do errno handling in asm.
40883 (__CLONE_SYSCALL_STRING): Delete.
40884 (__INTERNAL_SYSCALL_STRING): Delete.
40885 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40886 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40887 i386.
40888 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40889 (inline_syscall*): Add 'err' argument.
40890 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40891 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40892 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40893 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40894
40895 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40896 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40897
2bc17433
AS
408982011-08-30 Andreas Schwab <schwab@redhat.com>
40899
40900 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40901
fbeb5f4d
JO
409022011-08-29 Jiri Olsa <jolsa@redhat.com>
40903
40904 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40905 directive.
40906
ad69cc26
DM
409072011-08-24 David S. Miller <davem@davemloft.net>
40908
40909 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40910
39dd69df
AS
409112011-08-24 Andreas Schwab <schwab@redhat.com>
40912
40913 * elf/Makefile: Add rules to build and run unload8 test.
40914 * elf/unload8.c: New file.
40915 * elf/unload8mod1.c: New file.
40916 * elf/unload8mod1x.c: New file.
40917 * elf/unload8mod2.c: New file.
40918 * elf/unload8mod3.c: New file.
40919
40920 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40921 it wasn't used.
40922
2c0b250a
DM
409232011-08-23 David S. Miller <davem@davemloft.net>
40924
40925 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40926 subtract stack bias.
40927 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40928 %sp not %fp in calculations.
40929 (_JMPBUF_UNWINDS_ADJ): Likewise.
40930
22044b48
DM
40931 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40932 (aio_suspend): Call it to force an exception region around the
40933 AIO_MISC_WAIT() invocation.
40934
2cae4995
AS
409352011-08-23 Andreas Schwab <schwab@redhat.com>
40936
40937 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40938 backslash.
40939
873a772e
AJ
409402011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40941
40942 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40943 protection macro.
40944 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40945 and <dl-machine.h>.
40946 (Elf64_FuncDesc): Remove.
40947
25ad0df1
DM
409482011-08-22 David S. Miller <davem@davemloft.net>
40949
40950 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40951 sigaltstack check, add missing cfi directives.
40952 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40953 missing cfi directives, and sigaltstack handling.
40954
e888bcbe
AS
409552011-08-16 Andreas Schwab <schwab@redhat.com>
40956
40957 [BZ #11724]
40958 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40959 object is seen twice.
40960 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40961
40962 * elf/Makefile (distribute): Add tst-initorder2.c.
40963 (tests): Add tst-initorder2.
40964 (modules-names): Add tst-initorder2a tst-initorder2b
40965 tst-initorder2c tst-initorder2d. Add rules to build them.
40966 ($(objpfx)tst-initorder2.out): New rule.
40967 * elf/tst-initorder2.c: New file.
40968 * elf/tst-initorder2.exp: New file.
40969
87162f46
AS
409702011-08-22 Andreas Schwab <schwab@redhat.com>
40971
70538b7f
AS
40972 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40973
f55ffe58
AS
40974 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40975 dependencies back to end of function.
40976
87162f46
AS
40977 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40978 $(elfobjdir)/ld.so.
40979
91b392a4
UD
409802011-08-21 Ulrich Drepper <drepper@gmail.com>
40981
40982 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40983 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40984 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40985 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40986 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40987 of __vdso_gettimeofday.
40988 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40989 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40990 attribute_hidden.
40991 (_libc_vdso_platform_setup): Remove initialization of
40992 __vdso_gettimeofday and __vdso_time.
40993
5c43483f
UD
409942011-08-20 Ulrich Drepper <drepper@gmail.com>
40995
775a77e7
UD
40996 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40997 and fgetc_unlocked.
40998 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40999 getc_unlocked.
89f447ed 41000
49c74ba9
UD
41001 * elf/dl-open.c (add_to_global): Report additions to the global scope
41002 for LD_DEBUG=scopes.
41003 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41004 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41005
5c43483f
UD
41006 [BZ #13114]
41007 * stdio-common/Makefile (tests): Add bug24.
41008 * stdio-common/bug24.c: New file.
41009
a101b025
AJ
410102011-08-19 Andreas Jaeger <aj@suse.de>
41011
41012 [BZ #13114]
41013 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41014 non-existant file when using close-on-exec mode.
41015
c88f1766
UD
410162011-08-20 Ulrich Drepper <drepper@gmail.com>
41017
0276a718
UD
41018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41019 the very first instruction.
41020
c88f1766
UD
41021 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41022 the CFI state in the end.
41023 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41024 inclusion of dl-trampoline.h.
41025 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41026
51ccffa0
AS
410272011-08-19 Andreas Schwab <schwab@redhat.com>
41028
94d7165f
AS
41029 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41030 expectations for long double.
41031
51ccffa0
AS
41032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41033 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41034
fd708658 410352011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41036
41037 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41038 artificual limit depends upon the system page size.
41039
44f0a71e
UD
410402011-08-17 Ulrich Drepper <drepper@gmail.com>
41041
41042 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41043 * resolv/Makefile: Define CFLAGS-libresolv.
41044
8de79a24
AS
410452011-08-17 Andreas Schwab <schwab@redhat.com>
41046
41047 * nss/makedb.c (compute_tables): Make variables used in nested
41048 function static.
41049
27724598
UD
410502011-08-17 Ulrich Drepper <drepper@gmail.com>
41051
c5305d88
UD
41052 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41053 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41054 if buffer was too small.
41055
27724598
UD
41056 * elf/pldd.c (main): Attach to all threads in the process.
41057 Rewrite /proc handling to use *at functions.
41058
076fe015
UD
410592011-08-16 Ulrich Drepper <drepper@gmail.com>
41060
174baab3
UD
41061 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41062 specifies first scope to show.
41063 (dl_open_worker): Update callers. Move printing scope of new
41064 object to before the relocation.
44f0a71e 41065 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41066 * sysdeps/generic/ldsodefs.h: Update declaration.
41067
076fe015
UD
41068 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41069 string for the scope number.
41070
a60df2c3
UD
410712011-08-14 Ulrich Drepper <drepper@gmail.com>
41072
41073 * nscd/servicescache.c (cache_addserv): Make sure written is always
41074 initialized.
41075
5e4287d1
RM
410762011-08-14 Roland McGrath <roland@hack.frob.com>
41077
85ae0589
RM
41078 * sysdeps/i386/i486/bits/atomic.h
41079 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41080 statement expression, so as to suppress "set but not used" warning.
41081 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41082
69f63097
RM
41083 * string/strncat.c (STRNCAT): Use prototype definition.
41084
675456ef
RM
41085 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41086 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41087 -Iprograms here.
41088 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41089 (localedef-modules): Add localedef.
41090 (locale-modules): Add locale.
41091
5e4287d1
RM
41092 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41093 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41094 to avoid a warning.
41095
9c96ff23
DM
410962011-08-14 David S. Miller <davem@davemloft.net>
41097
41098 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41099 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41100
f9ddf089
UD
411012011-08-13 Ulrich Drepper <drepper@gmail.com>
41102
44f0a71e 41103 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41104 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41105 * elf/rtld.c (dl_main): Set l_name of vDSO.
41106 Call _dl_show_scope when DL_DEBUG_SCOPES.
41107 (process_dl_debug): Recognize scopes flag and also set it for all.
41108 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41109 Declare _dl_show_scope.
41110
1dc27704
UD
41111 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41112 (do_dlopen): Pass caller_dlopen to dl_open.
41113 (__libc_dlopen_mode): Initialize caller_dlopen.
41114
f9ddf089
UD
41115 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41116 of libc. Make tolower call locale-independent. Optimize a bit by
41117 using isdigit instead of isalnum.
41118 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41119
9ac533d3
UD
411202011-08-12 Ulrich Drepper <drepper@gmail.com>
41121
41122 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41123 was a dependency or dynamically loaded.
41124
89edf2e9
UD
411252011-08-11 Ulrich Drepper <drepper@gmail.com>
41126
8e999d29
UD
41127 * intl/l10nflist.c: Allow architecture-specific pop function.
41128 * sysdeps/x86_64/l10nflist.c: New file.
41129
89edf2e9
UD
41130 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41131 classification.
41132
14d96785
AS
411332011-08-10 Andreas Schwab <schwab@redhat.com>
41134
41135 * include/dirent.h: Add libc_hidden_proto for scandirat and
41136 scandirat64. Don't declare __scandirat64.
41137 * dirent/scandirat.c: Add libc_hidden_def.
41138 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41139 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41140
6761ac04
DM
411412011-08-10 David S. Miller <davem@davemloft.net>
41142
41143 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41144 enum.
41145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41146 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41147 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41148
c55fbd1e
UD
411492011-08-09 Ulrich Drepper <drepper@gmail.com>
41150
41151 * Versions.def [libc]: Add GLIBC_2.15.
41152 * dirent/Makefile (routines): Add scandirat and scandirat64.
41153 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41154 GLIBC_2.15.
41155 * dirent/dirent.h: Declare scandirat and scandirat64.
41156 * dirent/scandirat.c: New file.
41157 * dirent/scandirat64.c: New file.
41158 * sysdeps/wordsize-64/scandirat.c: New file.
41159 * sysdeps/wordsize-64/scandirat64.c: New file.
41160 * dirent/opendir.c: Define opendirat.
41161 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41162 using scandirat.
41163 * dirent/scandir64.c: Adjust for scandir.c change.
41164 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41165 __scandirat64, and __scandir_cancel_handler.
41166 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41167 additional parameter and use openat instead of open (outside of ld.so).
41168 Add new __opendir as wrapper around __opendirat.
41169 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41170 here without requiring old scandirat implementation.
41171
879165f2
UD
411722011-08-08 Ulrich Drepper <drepper@gmail.com>
41173
41174 * dirent/scandir.c (cancel_handler): Renamed to
41175 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41176 defined. Adjust users.
41177 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41178 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41179
cb7e923b
UD
411802011-08-04 Ulrich Drepper <drepper@gmail.com>
41181
16292edd
UD
41182 * string/test-string.h (IMPL): Use __STRING to expand name and then
41183 stringify it.
41184
cb7e923b
UD
41185 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41186 of cleanups.
41187
cff82933
LD
411882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41189
41190 * string/Makefile: Update.
41191 (strop-tests): Append strncat.
41192 * string/test-wcscmp.c: New file.
41193 New comprehensive test for wcscmp.
41194 * string/test-strcmp.c: Update.
41195 (WIDE): New define.
41196
9be9bfcc
AS
411972011-07-22 Andreas Schwab <schwab@redhat.com>
41198
41199 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41200 line.
41201
2e96f1c7
AS
412022011-07-26 Andreas Schwab <schwab@redhat.com>
41203
41204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41205 encoding to ACE if AI_IDN.
41206
85188888
JJ
412072011-08-01 Jakub Jelinek <jakub@redhat.com>
41208
41209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41210 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41211
5fa16e9b
LD
412122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41213
41214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41215 Fix overflow bug in strncat.
41216 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41217
41218 * string/test-strncat.c: Update.
41219 Add new tests for checking overflow bugs.
41220
412212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41222
41223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41224 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41225 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41226 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41227 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41228 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41229 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41230 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41231 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41232
41233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41234 (USE_AS_STRCAT): Define.
41235 Add strcat and strncat support.
41236 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41237
8c1a459f
AS
412382011-07-25 Andreas Schwab <schwab@redhat.com>
41239
41240 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41241 __n bigger than INT_MAX+1.
41242 (__strncmp_g): Likewise.
41243
bba33c28
UD
412442011-07-23 Ulrich Drepper <drepper@gmail.com>
41245
798be72d
UD
41246 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41247 * libio/stido.h: Likewise.
41248
8accd4dc
UD
41249 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41250 (AF_NFC): Define.
41251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41252 (AF_NFC): Define.
41253
cbff0d96
UD
41254 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41255 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41256 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41257 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41258 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41259
9191c04a
UD
41260 [BZ #13021]
41261 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41262 installed.
41263
bba33c28
UD
41264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41265 typo.
41266 (_dl_x86_64_save_sse): Likewise.
41267
90f139dd
UD
412682011-07-22 Ulrich Drepper <drepper@gmail.com>
41269
1aae088a
UD
41270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41271 OSXSAVE.
41272 (_dl_x86_64_save_sse): Likewise.
41273
8e2045f5
UD
41274 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41275
90f139dd
UD
41276 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41277
1d002f25
AS
412782011-07-21 Andreas Schwab <schwab@redhat.com>
41279
41280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41281 change.
41282 (_dl_x86_64_save_sse): Use correct AVX check.
41283
21137f89
UD
412842011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41285
41286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41287 bug in strncpy/strncat.
41288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41289
a65c0b7a
UD
412902011-07-21 Ulrich Drepper <drepper@gmail.com>
41291
41292 * string/tester.c (test_strcat): Add tests for different alignments
41293 of source and destination.
41294 (test_strncat): Likewise.
41295
6986b98a
UD
412962011-07-20 Ulrich Drepper <drepper@gmail.com>
41297
90bb2039
UD
41298 [BZ #12852]
41299 * posix/glob.c (glob): Check passed in values before using them in
41300 expressions to avoid some overflows.
41301 (glob_in_dir): Likewise.
41302
5644ef54
UD
41303 [BZ #13007]
41304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41305 check for AVX enablement so that we don't crash with old kernels and
41306 new hardware.
41307 * elf/tst-audit4.c: Add same checks here.
41308 * elf/tst-audit6.c: Likewise.
41309
41310 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41311
bfc9dc9b
AS
413122011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41313
41314 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41315
702e64bb
UD
413162011-07-20 Ulrich Drepper <drepper@gmail.com>
41317
41318 * po/cs.po: Update from translation team.
41319 * po/bg.po: Likewise.
41320
295e904f
MP
413212011-07-12 Marek Polacek <mpolacek@redhat.com>
41322
41323 * misc/sys/cdefs.h: Add support for const attribute.
41324 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41325 to gnu_dev_{major,minor,makedev} functions.
41326
3ff94596
MP
413272011-07-20 Marek Polacek <mpolacek@redhat.com>
41328
41329 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41330
28b59fca
AS
413312011-07-20 Andreas Schwab <schwab@redhat.com>
41332
41333 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41334 strlen results.
41335
19df733e
AK
413362011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41337
41338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41339 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41340 register in order to avoid conflicts with the soft frame pointer
41341 being held in r11 when necessary.
41342 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41343 (INTERNAL_VSYSCALL_NCS): Likewise.
41344
c8835729
MP
413452011-07-14 Marek Polacek <mpolacek@redhat.com>
41346
41347 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41348 * elf/dl-fini.c (_dl_fini): Adjust caller.
41349 * elf/dl-close.c (_dl_close_worker): Likewise.
41350 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41351
b902330c
MP
413522011-07-15 Marek Polacek <mpolacek@redhat.com>
41353
8991e135
MP
41354 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41355 "aux_cache->nlibs < 0".
41356
b902330c
MP
41357 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41358 in the reload-count case.
41359
99710781
LD
413602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41361
41362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41363 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41364 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41365 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41366 * sysdeps/x86_64/multiarch/strcat.S: New file.
41367 * sysdeps/x86_64/multiarch/strncat.S: New file.
41368 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41369 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41370 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41371 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41372 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41373 (USE_AS_STRCAT): Define.
41374 Add strcat and strncat support.
41375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41376 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41377 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41378 * string/strncat.c: Update.
41379 (USE_AS_STRNCAT): Define.
41380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41381 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41382 and i7.
41383 * sysdeps/x86_64/multiarch/init-arch.h
41384 (bit_Prefer_PMINUB_for_stringop): New.
41385 (index_Prefer_PMINUB_for_stringop): Likewise.
41386 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41387 bit_Prefer_PMINUB_for_stringop.
41388
7dc6bd90
UD
413892011-07-19 Ulrich Drepper <drepper@gmail.com>
41390
41391 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41392 buffer64.
41393 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41394 of casting of buffer.
41395 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41396 buffer32 and buffer64.
41397 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41398 writes instead of casting of buffer.
41399 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41400 buffer32.
41401 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41402 casting of buffer.
41403
e0e72284
AS
414042011-07-19 Andreas Schwab <schwab@redhat.com>
41405
41406 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41407
feb1eb0b
UD
414082011-07-19 Ulrich Drepper <drepper@gmail.com>
41409
41410 * nscd/nscd.c (termination_handler): Don't do anything for a database
41411 if it has not yet been initialized.
41412
298711ff
UD
414132011-07-18 Ulrich Drepper <drepper@gmail.com>
41414
41415 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41416
414172011-07-15 Marek Polacek <mpolacek@redhat.com>
41418
41419 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41420
f9d68389
UD
414212011-07-18 Ulrich Drepper <drepper@gmail.com>
41422
41423 * po/nl.po: Update from translation team.
41424 * po/sv.po: Likewise.
41425
db290cf5
RM
414262011-07-16 Roland McGrath <roland@hack.frob.com>
41427
41428 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41429 now disallowed by GCC.
5c550700 41430
fd5e21c7
RM
41431 * configure.in (use-default-link): Default to yes if a test -shared
41432 link meets our qualifications.
41433 * configure: Regenerated.
41434
5c550700
RM
41435 * config.make.in (output-format): New variable.
41436 * configure.in: Check for ld --print-output-format support.
41437 * configure: Regenerated.
41438 * Makerules ($(common-objpfx)format.lds)
41439 [$(output-format) != unknown]: Just use $(output-format),
41440 instead of the linker-script munging.
41441
9fa2c032
RM
414422011-07-14 Roland McGrath <roland@hack.frob.com>
41443
a6928d51
RM
41444 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41445 of $(common-objpfx)shlib.lds.
41446 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41447
661607b3
RM
41448 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41449 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41450
9fa2c032
RM
41451 * configure.in (-z relro check): Adjust test code to add a large
41452 writable data section after it.
41453 * configure: Regenerated.
41454
defe9061
RM
414552011-07-11 Roland McGrath <roland@hack.frob.com>
41456
41457 * configure.in (-z relro check): Fix test code to make the variable
41458 truly const.
41459 * configure: Regenerated.
41460
319b9ad4
UD
414612011-07-11 Ulrich Drepper <drepper@gmail.com>
41462
41463 * nscd/nscd.h (struct traced_file): Define.
41464 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41465 elements. Add traced_files.
41466 (inotify_fd): Declare.
41467 (register_traced_file): Declare.
41468 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41469 (inotify_fd): Export.
41470 (resolv_conf_descr): Remove.
41471 (nscd_init): Move inotify descriptor creation to main.
41472 Don't register files for notification here.
41473 (register_traced_file): New function.
41474 (invalidate_cache): Don't use reset_res to determine whether to call
41475 res_init, go through the list of registered files.
41476 (main_loop_poll): The inotify descriptors are now stored in the
41477 structures for the traced files.
41478 (main_loop_epoll): Likewise
41479 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41480 to __nss_disable_nscd.
41481 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41482 for a database anymore. Check the records for all the registered
41483 files instead.
41484 * nss/Makefile (libnss_files-routines): Add files-init.
41485 (libnss_db-routines): Add db-init.
41486 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41487 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41488 * nss/nss_db/db-init.c: New file.
41489 * nss/nss_files/files-init.c: New file.
41490 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41491 __nss_lookup_function.
41492 (__nss_lookup_function): Call nss_load_library.
41493 (nss_load_all_libraries): New function.
41494 (__nss_disable_nscd): Take parameter with callback function for files
41495 to register. Set is_nscd. Load all the DSOs for the NSS modules
41496 used for the cached services.
41497 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41498 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41499 options for features to all the files in nscd.
41500
41501 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41502
23bee3e8
RM
415032011-07-10 Roland McGrath <roland@hack.frob.com>
41504
41505 * csu/elf-init.c (__libc_csu_init): Comment typo.
41506
46a5b7f0
UD
415072011-07-09 Ulrich Drepper <drepper@gmail.com>
41508
41509 * po/pl.po: Update from translation team.
41510 * po/ja.po: Likewise.
41511 * po/ru.po: Likewise.
41512 * po/ko.po: Likewise.
41513 * po/fr.po: Likewise.
41514
d30cf5bb
RM
415152011-07-09 Roland McGrath <roland@hack.frob.com>
41516
113ddea4
RM
41517 * configure.in (.ctors/.dtors header and trailer check):
41518 Use an empirical test on a built program.
41519 * configure: Regenerated.
41520
574920b4
RM
41521 * configure.in (-z relro check): Use an empirical test on a built DSO.
41522 Detect, but do not require, on ia64.
41523 * configure: Regenerated.
41524
d30cf5bb
RM
41525 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41526 Update tests that use readelf to use $READELF instead.
41527 * configure: Regenerated.
41528
8538fdb3
UD
415292011-07-08 Ulrich Drepper <drepper@gmail.com>
41530
41531 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41532 if the result is not used.
41533
04d08991
AJ
415342011-07-05 Andreas Jaeger <aj@suse.de>
41535
41536 [BZ#9696]
41537 * stdlib/tst-strtod.c: Add testcase.
41538
de283087
AD
415392011-07-07 Ulrich Drepper <drepper@gmail.com>
41540
4e5f31c8 41541 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41542 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41543 The latter has a higher limit. Take additional parameter to pass to
41544 the new function.
41545 (__pathconf): Pass file to __statfs_link_max.
41546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41547 __statfs_link_max.
41548 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41549 __statfs_link_max.
41550
de283087
AD
41551 [BZ #12868]
41552 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41553 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41554 Handle Lustre.
41555 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41556 (__statfs_filesize_max): Likewise.
41557 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41558
c75fa153
AJ
415592011-07-05 Andreas Jaeger <aj@suse.de>
41560
41561 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41562
1a544854
UD
415632011-07-06 Marek Polacek <mpolacek@redhat.com>
41564
41565 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41566 `status' variable.
41567 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41568 Likewise.
41569
6f0eec67
UD
415702011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41571
41572 * Makefile (strop-tests): Add strncat.
41573 * string/test-strncat.c: New file.
41574
aae30307
UD
415752011-06-30 Marek Polacek <mpolacek@redhat.com>
41576
41577 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41578
c0cfb5eb
UD
415792011-06-21 Andreas Jaeger <aj@suse.de>
41580
41581 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41582 Copy rule from iconvdata/Makefile.
41583
01636b21
UD
415842011-07-06 Ulrich Drepper <drepper@gmail.com>
41585
41586 [BZ #12922]
41587 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41588 but no long options are defined, just return 'W'.
41589
9895c8bc
UD
415902011-06-22 Marek Polacek <mpolacek@redhat.com>
41591
41592 [BZ #9696]
41593 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41594
5d4cf042
UD
415952011-07-06 Ulrich Drepper <drepper@gmail.com>
41596
41597 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41598 netgroups to read.
960e5535 41599 (innetgr): Likewise.
5d4cf042 41600
751eb97e
RM
416012011-07-05 Roland McGrath <roland@hack.frob.com>
41602
41603 * config.make.in (install_root): Default to $(DESTDIR).
41604
f15f1e45
UD
416052011-07-05 Ulrich Drepper <drepper@gmail.com>
41606
41607 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41608
4e34ac6a
RM
416092011-07-02 Roland McGrath <roland@hack.frob.com>
41610
5e9b6af4
RM
41611 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41612
84f9ea0f
RM
41613 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41614 containing directory rather than embedding absolute directory names.
41615
ea5ee9f7
RM
41616 * scripts/check-local-headers.sh: Rewritten using awk.
41617 Match by word, not by line. Print error messages for matches.
41618 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41619
1b74661a
RM
41620 * Makerules [shlib-lds-flags empty]:
41621 ($(common-objpfx)libc_pic.opts): New target.
41622 ($(common-objpfx)libc_pic.os.clean): New target.
41623 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41624
41625 * config.make.in (OBJCOPY): New variable.
41626 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41627 * configure: Regenerated.
41628
f781ef40
RM
41629 * config.make.in (use-default-link): New variable.
41630 * configure.in (use_default_link): Grok --with-default-link to set it.
41631 * configure: Regenerated.
41632 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41633 (shlib-lds, shlib-lds-flags): Define to empty.
41634
2d4fa81e
RM
41635 * Makerules (shlib-lds): New variable.
41636 (shlib-lds-flags): New variable.
41637 (build-shlib, build-moduile, build-module-asneeded): Use it.
41638 ($(common-objpfx)libc.so): Use $(shlib-lds).
41639 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41640 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41641
31fffa6b
RM
41642 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41643 DT_FLAGS/DT_FLAGS_1 with zero flags.
41644
4e34ac6a
RM
41645 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41646 linker script munging.
41647
fcfc776b
UD
416482011-07-02 Ulrich Drepper <drepper@gmail.com>
41649
41650 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41651 as 128-bit value.
41652 * crypt/sha512.c (sha512_process_block): Perform total addition using
41653 128-bit if possible.
41654 (__sha512_finish_ctx): Likewise.
41655 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41656 as 64-bit value.
41657 * crypt/sha256.c (SWAP64): Define.
41658 (sha256_process_block): Perform total addition using 64-bit if
41659 possible.
41660 (__sha256_finish_ctx): Likewise.
41661
99231d9a
UD
416622011-07-01 Ulrich Drepper <drepper@gmail.com>
41663
41664 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41666 * nscd/hstcache.c (cache_addhst): Likewise.
41667 * nscd/grpcache.c (cache_addgr): Likewise.
41668 * nscd/aicache.c (addhstaiX): Likewise
41669 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41670
445b4a53
TK
416712011-07-01 Thorsten Kukuk <kukuk@suse.de>
41672
41673 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41674 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41675 * nscd/hstcache.c (cache_addhst): Likewise.
41676 * nscd/grpcache.c (cache_addgr): Likewise.
41677 * nscd/aicache.c (addhstaiX): Likewise
41678
6d4d8e8e
AS
416792011-07-01 Andreas Schwab <schwab@redhat.com>
41680
41681 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41682 domain only when needed.
41683
89f654c5
AS
416842011-06-30 Andreas Schwab <schwab@redhat.com>
41685
41686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41687 is always restored.
41688
cf3b23ff
UD
416892011-06-29 Ulrich Drepper <drepper@gmail.com>
41690
41691 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41692 are re-adding the entry.
41693 * nscd/servicescache.c (cache_addserv): Likewise.
41694
751626f9
AJ
416952011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41696
41697 * sysdeps/generic/dl-irel.h: fix protection against multiple
41698 inclusions.
41699 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41700
9113ea1f
UD
417012011-06-28 Ulrich Drepper <drepper@gmail.com>
41702
5c0b8d90
UD
41703 [BZ #12935]
41704 * malloc/memusage.sh: Fix quoting in message.
41705 * debug/xtrace.sh: Likewise.
41706
9113ea1f
UD
41707 * configure.in: Remove support for --experimental-malloc option, make
41708 it the default.
41709 * config.make.in: Likewise.
41710 * malloc/Makefile: Likewise.
41711
a4172181
AS
417122011-06-27 Andreas Schwab <schwab@redhat.com>
41713
41714 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41715 two-byte characters.
41716
78a7eee7
RM
417172011-06-27 Roland McGrath <roland@hack.frob.com>
41718
62bede13
RM
41719 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41720 AC_CACHE_CHECK invocation.
41721 * configure: Regenerated.
41722
78a7eee7
RM
41723 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41724
5ce33a62
UD
417252011-06-27 Ulrich Drepper <drepper@gmail.com>
41726
034807a9
UD
41727 [BZ #12350]
41728 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41729 bit from old_res_options.
41730
4902da17
UD
41731 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41732
5ce33a62
UD
41733 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41734 value type for setfct.
41735
c2344f56
L
417362011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41737
41738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41739 __gettimeofday instead of gettimeofday.
41740
68468076
UD
417412011-06-26 Ulrich Drepper <drepper@gmail.com>
41742
41743 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41744
acb0d739
L
417452011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41746
41747 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41748
41749 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41750 info.
41751
8912479f
L
417522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41753
41754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41755 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41756 strcpy-sse2-unaligned strncpy-sse2-unaligned
41757 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41758 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41759 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41760 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41761 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41762 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41763 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41764 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41765 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41766 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41767 (STRCPY): Support SSE2 and SSSE3 versions.
41768
d5495a11
UD
417692011-06-24 Ulrich Drepper <drepper@gmail.com>
41770
41771 [BZ #12874]
41772 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41773 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41774 kernels which artificially limit size of requests.
41775
0b1cbaae
L
417762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41777
41778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41779 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41780 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41781 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41782 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41783 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41784 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41785 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41786 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41788 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41789 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41790 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41791 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41792 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41794 Enable unaligned load optimization for Intel Core i3, i5 and i7
41795 processors.
41796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41797 Define.
41798 (index_Fast_Unaligned_Load): Define.
41799 (HAS_FAST_UNALIGNED_LOAD): Define.
41800
07f494a0
MP
418012011-06-23 Marek Polacek <mpolacek@redhat.com>
41802
41803 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41804
fa3fc0fe
UD
418052011-06-22 Ulrich Drepper <drepper@gmail.com>
41806
41807 [BZ #12907]
41808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41809 until it is clear that the information is realy needed.
41810 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41811
e12df166
AS
418122011-06-22 Andreas Schwab <schwab@redhat.com>
41813
41814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41815
852eb34d
UD
418162011-06-22 Ulrich Drepper <drepper@gmail.com>
41817
84e2a551
UD
41818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41819 /sys/devices/system/cpu/online if it is usable.
41820
852eb34d
UD
41821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41822 reading the information from the /proc filesystem to once a second.
41823
6e502e19
UD
418242011-06-21 Andreas Jaeger <aj@suse.de>
41825
41826 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41827 NULL after inclusion of kernel headers.
41828
75d39ff2
UD
418292011-06-21 Ulrich Drepper <drepper@gmail.com>
41830
51f9aa6a
UD
41831 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41832 calls to internal_setent.
41833
c0244a9d
UD
41834 [BZ #12885]
41835 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41836 addresses using gethostbyname4_r ignore IPv4 addresses.
41837
c5e3c2ae
UD
41838 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41839 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41840
75d39ff2
UD
41841 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41842
42675c6f
DM
418432011-06-20 David S. Miller <davem@davemloft.net>
41844
41845 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41846 inclusions.
41847 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41848
41849 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41850 (elf_irel): Use it.
41851 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41852 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41853 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41854 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41855 * sysdeps/x86_64/dl-irel.h: Likewise.
41856
41857 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41858 * elf/dl-sym.c: Likewise.
41859
57912a71
UD
418602011-06-15 Ulrich Drepper <drepper@gmail.com>
41861
41862 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41863 need to dereference resplen2.
41864
ee22793d
AS
418652011-06-14 Andreas Schwab <schwab@redhat.com>
41866
41867 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41868
a9e836b0
UD
418692011-06-15 Ulrich Drepper <drepper@gmail.com>
41870
77fb9117
UD
41871 * Makeconfig: Define vardbdir and inst_vardbdir.
41872 * nss/Makefile: Add rules to install db-Makefile.
41873
40c1b22c
UD
41874 * nss/nss_db/db-XXX.c: Cleanup.
41875
9f2da732
UD
41876 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41877 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41878 GLIBC_PRIVATE.
41879 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41880 * nss/makedb.c: Implement -g option to specify that value strings
41881 are generated and should not be added to table iterated over for
41882 get*ent calls.
41883 * nss/nss_db/db-initgroups.c: New file.
41884
82e9a1f7
UD
41885 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41886 interface.
41887
c41af17e
UD
41888 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41889 (internal_getgrouplist): Adjust to name change.
41890 Update use_initgroups_entry if this is not the first call.
41891 * nss/databases.def: Add initgroups entry.
41892
a9e836b0
UD
41893 * nss/makedb.c (compute_tables): Check result of multiple hash table
41894 sizes to minimize maximum chain length.
41895
2666d441
UD
418962011-06-14 Ulrich Drepper <drepper@gmail.com>
41897
41898 * Versions.def: Add entry for libnss_db.
41899 * shlib-versions: Likewise.
41900 * nss/Makefile: Add rules to build libnss_db.
41901 * nss/Versions: Add libnss_db information. Organize libnss_files
41902 entries better.
41903 * nss/db-Makefile: Add gshadow support. Change rules for the new
41904 makedb progra. Some minor improvements to generate smaller files.
41905 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41906 here from...
41907 * nss/makedb.c: ...here.
41908 Improve database format to be smaller and require less memory at
41909 runtime.
41910 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41911 db anymore.
41912 * nss/nss_db/db-netgrp.c: Likewise.
41913 * nss/nss_db/db-open.c: Likewise.
41914 * nss/nss_files/flies-XXX.x: Adjust comments.
41915 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41916 * nss/nss_files/files-grp.c: Likewise.
41917 * nss/nss_files/files-hosts.c: Likewise.
41918 * nss/nss_files/files-network.c: Likewise.
41919 * nss/nss_files/files-proto.c: Likewise.
41920 * nss/nss_files/files-pwd.c: Likewise.
41921 * nss/nss_files/files-rpc.c: Likewise.
41922 * nss/nss_files/files-service.c: Likewise.
41923 * nss/nss_files/files-sgrp.c: Likewise.
41924 * nss/nss_files/files-spwd.c: Likewise.
41925 * nss/nss_db/db-alias.c: Removed.
41926 * nss/nss_db/dummy-db.h: Removed.
41927
9ee76b5a
UD
419282011-06-02 Ulrich Drepper <drepper@gmail.com>
41929
41930 * nss/makedb.c: Rewritten to not use database library.
41931 * nss/Makefile: Update to build new makedb program.
41932
c71ca1f8
AJ
419332011-06-14 Andreas Jaeger <aj@suse.de>
41934
41935 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41936 memset declaration.
41937
3154bfb8
UD
419382011-06-10 Andreas Schwab <schwab@redhat.com>
41939
41940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41941 tmpbuf.
41942
b350afab
RM
419432011-06-10 Roland McGrath <roland@hack.frob.com>
41944
decd4e50
RM
41945 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41946 * elf/Makefile ($(objpfx)ld.so): Likewise.
41947
5615eaf2
RM
41948 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41949 Don't list ld.so twice in dependencies.
41950
41951 * posix/bug-regex31.c: Include <stdlib.h>.
41952
41953 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41954
41955 * nis/nss_compat/compat-spwd.c
41956 (getspent_next_nss_netgr): Remove unused variable.
41957 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41958
41959 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41960 nonmembers" output to use the right array.
41961
41962 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41963
41964 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41965
41966 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41967 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41968 * catgets/gencat.c (read_input_file): Likewise.
41969 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41970
41971 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41972 variable definition inside #if's controlling its use.
41973
41974 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41975
41976 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41977
41978 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41979
41980 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41981 unreachable code.
41982
41983 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41984
b68e08db
RM
41985 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41986 * configure: Regenerated.
41987
b350afab
RM
41988 * Makerules: Revert last change.
41989 * elf/Makefile: Likewise.
41990
28368601
RM
419912011-06-09 Roland McGrath <roland@hack.frob.com>
41992
41993 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41994 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41995 (reloc-link): Likewise.
41996
11988f8f
UD
419972011-06-09 Ulrich Drepper <drepper@gmail.com>
41998
41999 * elf/Makefile: Add rules to build pldd.
42000 * elf/pldd.c: New file.
42001 * elf/pldd-xx.c: New file.
42002
e80fab37
UD
420032011-06-07 Ulrich Drepper <drepper@gmail.com>
42004
42005 * version.h: Update for 2.15 development version.
42006
9b849836
DM
420072011-06-07 David S. Miller <davem@davemloft.net>
42008
42009 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42010 ifuncs.
42011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42012 elf_machine_lazy_rel): Likewise.
42013 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42015 elf_machine_lazy_rel): Likewise.
42016 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42017 dl_hwcap via passed in argument.
42018 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42019 Likewise.
42020
5a31b283
AK
420212011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42022
42023 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42024
069e52f8
RM
420252011-06-06 Roland McGrath <roland@hack.frob.com>
42026
42027 [BZ #12849]
42028 * manual/fdl-1.1.texi: New file, verbatim from:
42029 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42030 * manual/lgpl-2.1.texi: New file, verbatim from:
42031 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42032 * manual/Makefile (licenses): New variable, list those new file names.
42033 (texis): Use it.
42034 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42035
42036 * manual/fdl.texi: File removed.
42037 * manual/lesser.texi: File removed.
42038 * manual/libc.texinfo (Copying, Documentation License):
42039 Use new @include file names, put @appendix directive before @include.
42040
f16846a5
JJ
420412011-06-04 Jakub Jelinek <jakub@redhat.com>
42042
42043 [BZ #12841]
42044 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42045 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42046 (mq_open): Add __NTH.
42047
3d29045b
L
420482011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42049
42050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42051 Assume Intel Core i3/i5/i7 processor if AVX is available.
42052
8c297311
UD
420532011-05-31 Ulrich Drepper <drepper@gmail.com>
42054
42055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42056 typo.
42057
c8fc0c91
UD
420582011-05-31 Andreas Schwab <schwab@redhat.com>
42059
42060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42061 memory. Use alloca_account. Fix memory leak when retrying.
42062
5b27a807
UD
420632011-05-31 Ulrich Drepper <drepper@gmail.com>
42064
356f8bc6
UD
42065 * version.h (RELEASE): Bump for 2.14 release.
42066 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42067
5b27a807
UD
42068 * config.make.in (RANLIB): Remove entry.
42069
01f16ab0
UD
420702011-05-30 Ulrich Drepper <drepper@gmail.com>
42071
41fce8bd
UD
42072 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42073 (libc.pot): Work around missing support for .ksh extension in xgettext.
42074
4769ae77
UD
42075 [BZ #12684]
42076 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42077 if both request failed.
42078 (send_dg): In case of server errors clear resplen or *resplen2.
42079
6b1e7d19
UD
42080 [BZ #12454]
42081 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42082 when there are multiple maps.
42083 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42084 (_dl_fini): Remove test here.
42085
01f16ab0
UD
42086 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42087
b1ebd700
UD
420882011-05-29 Ulrich Drepper <drepper@gmail.com>
42089
7ae22829
UD
42090 [BZ #12350]
42091 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42092 bit from old_res_options.
42093 (gaih_inet): Likewise.
42094
553149f6 42095 [BZ #11099]
18a84741 42096 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42097 as signed.
42098
652ffab1
UD
42099 * resolv/res_init.c (res_setoptions): Make the code more compact.
42100
16985fd0
UD
42101 [BZ #11558]
42102 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42103 set RES_USEVC.
42104
0464f746
UD
42105 [BZ #11634]
42106 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42107
7d17596c
UD
42108 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42109
cf6bbbd7
UD
42110 [BZ #11781]
42111 * malloc/malloc.h: Declare malloc hook variables as volatile.
42112
13f1ab36
UD
42113 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42114 in last patch.
42115
b1ebd700
UD
42116 [BZ #11799]
42117 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42118 raise in the comment.
80e2212d
UD
42119 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42121 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42122
ce67228d
UD
421232011-05-28 Ulrich Drepper <drepper@gmail.com>
42124
8887a920
UD
42125 [BZ #12811]
42126 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42127 grow the buffers more if it already has to be sufficient.
42128 (build_wcs_upper_buffer): Likewise.
42129 * posix/regexec.c (check_matching): Likewise.
42130 (clean_state_log_if_needed): Likewise.
42131 (extend_buffers): Don't enlarge buffers beyond size of the input
42132 buffer.
42133 Patches mostly by Emil Wojak <emil@wojak.eu>.
42134 * posix/bug-regex32.c: New file.
42135 * posix/Makefile (tests): Add bug-regex32.
42136
4f031072
UD
42137 * locale/findlocale.c (_nl_find_locale): Return right away if
42138 _nl_explode_name failed.
42139 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42140
d0478f0c
UD
42141 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42142
de81b246
UD
42143 * debug/xtrace.sh: Unify messages.
42144 * malloc/memusage.sh: Likewise.
42145
c738465a
UD
42146 [BZ #12813]
42147 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42148 time symbol from vDSO. Substitute with vsyscall if not available.
42149 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42150 __vdso_time.
42151
f1f929d7
UD
42152 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42153 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42154 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42155 Add sendmmsg and internal_sendmmsg.
42156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42157 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42158 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42159
ce67228d
UD
42160 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42161 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42162 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42163
e57420c6
UD
421642011-05-27 Ulrich Drepper <drepper@gmail.com>
42165
a8509ca5
UD
42166 [BZ #12813]
42167 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42168 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42169 available.
42170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42171 __vdso_getcpu.
42172
e57420c6
UD
42173 [BZ #12814]
42174 * iconvdata/Makefile (tests): Add bug-iconv9.
42175 * iconvdata/bug-iconv9.c: New file.
42176
4d07db15
AS
421772011-05-27 Andreas Schwab <schwab@redhat.com>
42178
42179 [BZ #12814]
42180 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42181
ea486f69
JJ
421822011-05-25 Jakub Jelinek <jakub@redhat.com>
42183
42184 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42185 (struct user_regs_struct): Change intcs field back to cs.
42186
6f038433
UD
421872011-05-25 Ulrich Drepper <drepper@gmail.com>
42188
42189 * po/ja.po: Update from translation team.
42190
67f86a25
UD
421912011-05-23 Ulrich Drepper <drepper@gmail.com>
42192
42193 [BZ #12795]
42194 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42195 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42196
def7fbd6
AS
421972011-05-20 Andreas Schwab <schwab@redhat.com>
42198
42199 * stdlib/longlong.h: Update from GCC.
42200
f50ef8f1
AS
422012011-05-23 Andreas Schwab <schwab@redhat.com>
42202
42203 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42204 parameter name.
42205 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42206 Add parameter name.
42207 (__sysconf): Pass it down.
42208
de7ce8f1
UD
422092011-05-22 Ulrich Drepper <drepper@gmail.com>
42210
f2962a71
UD
42211 [BZ #12671]
42212 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42213 some situations.
42214 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42215 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42216 add in in __libc_use_alloca calls. Adjust callers.
42217 (glob): Use malloc in some situations.
42218
de7ce8f1
UD
42219 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42220 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42221 pltexit.
42222
aec84f53
UD
422232011-05-21 Ulrich Drepper <drepper@gmail.com>
42224
05bb4a68
UD
42225 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42226 and CLOCK_BOOTTIME_ALARM.
42227
7ea72f99
UD
42228 [BZ #12782]
42229 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42230 is returned.
42231
7e4afad5
UD
42232 * string/_strerror.c (__strerror_r): Print negative errors as signed
42233 numbers.
42234
8e211fec
UD
42235 [BZ #12777]
42236 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42237 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42238 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42239
f7d82dc9
UD
42240 * configure.in: Fix typo in redirection and correct removal of test
42241 files in two cases.
42242
cc9e536d
UD
42243 [BZ #12788]
42244 * locale/setlocale.c (new_composite_name): Fix test to check for
42245 identical name of all categories.
42246
aec84f53
UD
42247 [BZ #12792]
42248 * libio/filedoalloc.c (local_isatty): New function.
42249 (_IO_file_doallocate): Use local_isatty.
42250 * stdio-common/perror.c (perror): In case a new stream is used
42251 forward the stream error.
42252 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42253 error flag.
42254
78e64fdc
RT
422552011-05-20 Ulrich Drepper <drepper@gmail.com>
42256
34a9094f
UD
42257 [BZ #11869]
42258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42259 alloca.
42260 * include/alloca.h (extend_alloca_account): Define.
42261
78e64fdc
RT
42262 [BZ #11857]
42263 * posix/regex.h: Fix comments with documentation of user-accessible
42264 fields after compilation and describe correct free'ing of pattern
42265 after re_compile_pattern.
42266 Patch by Reuben Thomas <rrt@sc3d.org>.
42267
457bddfc
RA
422682011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42269
42270 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42271 and -mno-altivec to prevent the compiler from using Altivec and/or
42272 VSX instructions when the corresponding registers are not available.
42273
a4527b51
AS
422742011-05-19 Andreas Schwab <schwab@redhat.com>
42275
42276 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42277
ed690b2f
UD
422782011-05-19 Ulrich Drepper <drepper@gmail.com>
42279
42280 * libio/freopen.c (freopen): Use __dup2, not dup2.
42281 * libio/freopen64.c (freopen64): Likewise.
42282
8db73634
L
422832011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42284
42285 [BZ #12775]
42286 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42287 * math/Makefile (tests): Add test-powl.
42288 (CFLAGS-test-powl.c): Define.
42289 * math/test-powl.c: New file.
42290
0a197a9d
L
422912011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42292
42293 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42294
ee30c380
UD
422952011-05-17 Ulrich Drepper <drepper@gmail.com>
42296
42297 [BZ #11837]
42298 * iconvdata/gb18030.c: Update to GB18020-2005.
42299
6ce75379
UD
423002011-05-16 Ulrich Drepper <drepper@gmail.com>
42301
a4b89fd8
AR
42302 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42303 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42304 Patch by Aharon Robbins <arnold@skeeve.com>.
42305
ea389b12
UD
42306 [BZ #11892]
42307 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42308 on the stack.
42309
68a3f91f
UD
42310 [BZ #11895]
42311 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42312 through underflows.
42313
15cc7dd1
UD
42314 [BZ #12766]
42315 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42316 point to strings before performing equality test for error_one_per_line
42317 mode.
42318
f3799213
UD
42319 [BZ #11697]
42320 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42321
d79a9c94
UD
42322 [BZ #11820]
42323 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42324 (struct user_fpregs_struct): Avoid __uint*_t types.
42325
56e5eb46
UD
42326 [BZ #6420]
42327 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42328 symbol info. Use it instead of calling _dl_addr locally.
42329 (lock_and_info): New function.
42330 (tr_freehook): Call lock_and_info and pass symbol info as additional
42331 parameter to tr_where.
42332 (tr_mallochook): Likewise.
42333 (tr_reallochook): Likewise.
42334 (tr_memalignhook): Likewise.
42335
6ce75379
UD
42336 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42337 used and couldn't be at all thread-safe.
42338
f8a3b5bf
UD
423392011-05-15 Ulrich Drepper <drepper@gmail.com>
42340
94b7cc37
UD
42341 * libio/freopen.c (freopen): Don't close old file descriptor
42342 before the new one is opened. Instead dup the new file descriptor
42343 to the old one after the new stream is created.
42344 * libio/freopen64.c (freopen64): Likewise.
42345 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42346 * libio/fileops.c (_IO_new_file_close_it): Handle new
42347 _IO_FLAGS2_NOCLOSE flag.
42348 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42349 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42350 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42351 _IO_FLAGS2_NOCLOSE flag.
42352 * include/unistd.h: Add hidden_proto for dup3.
42353 Define __have_dup3.
42354 * io/dup3.c: Define hidden symbol.
42355 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42356
bd25564e
UD
42357 [BZ #7101]
42358 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42359 when an incomplete long option is used.
42360 * posix/tst-getopt_long1.c: New file.
42361 * posix/Makefile (tests): Add tst-getopt_long1.
42362
c84cfef4
UD
42363 [BZ #10138]
42364 * scripts/config.guess: Update from autoconf-2.68.
42365 * scripts/config.sub: Likewise.
42366
3b85df27
UD
42367 [BZ #10157]
42368 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42369 tests into ...
42370 (has_cpuclock): ...this. New function.
42371 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42372 macro here based on has_cpuclock code.
42373
15a856b1
UD
42374 [BZ #10149]
42375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42376 First byte (not low byte) is now always NUL.
42377 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42378
05f399e6
UD
42379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42380 Use non-cancelable interfaces.
42381
10a52685 42382 [BZ #9809]
94ecc67d
UD
42383 * locale/iso-639.def: Add entry for Sorani.
42384
f8a3b5bf
UD
42385 [BZ #11901]
42386 * include/stdlib.h: Move include protection to the right place.
42387 Define abort_msg_s. Declare __abort_msg with it.
42388 * stdlib/abort.c (__abort_msg): Adjust type.
42389 * assert/assert.c (__assert_fail_base): New function. Majority
42390 of code from __assert_fail. Allocate memory for __abort_msg with
42391 mmap.
42392 (__assert_fail): Now call __assert_fail_base.
42393 * assert/assert-perr.c: Remove bulk of implementation. Use
42394 __assert_fail_base.
42395 * include/assert.hL Declare __assert_fail_base.
42396 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42397 mmap.
42398 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42399
1af4e298
UD
424002011-05-14 Ulrich Drepper <drepper@gmail.com>
42401
f8a3b5bf 42402 [BZ #11952]
d26dfc60
MG
42403 [BZ #12453]
42404 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42405 until all modules are registered in the DTV.
42406 * elf/Makefile: Add rules to build and run tst-tls19.
42407 * elf/tst-tls19.c: New file.
42408 * elf/tst-tls19mod1.c: New file.
42409 * elf/tst-tls19mod2.c: New file.
42410 * elf/tst-tls19mod3.c: New file.
42411 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42412
2fc54d6f
UD
42413 [BZ #12083]
42414 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42415 correctly.
42416
98d76b46
UD
42417 [BZ #12601]
42418 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42419 two-byte sequence errors.
42420 * iconvdata/Makefile (tests): Add bug-iconv8.
42421 * iconvdata/bug-iconv8.c: New file.
42422
da3c19ef
UD
42423 [BZ #12626]
42424 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42425 buf2 definition.
42426
ca408c15
UD
42427 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42428
d6f67f7d
UD
42429 [BZ #12432]
42430 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42431 (dummy_getcfa): New function.
42432 (init): Get _Unwind_GetCFA address, use dummy if not found.
42433 (backtrace_helper): In recursion check, also check whether CFA changes.
42434 (__backtrace): Completely initialize arg.
42435
1af4e298 42436 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42437 storing incomplete byte sequence in state object. Avoid testing for
42438 guaranteed too small input if we know there is enough data available.
1af4e298 42439
da62f81b
AS
424402011-05-11 Andreas Schwab <schwab@redhat.com>
42441
42442 * Makeconfig (+link-pie): Indent.
42443 * Rules (binaries-pie): Define if $(have-fpie) and
42444 $(build-shared).
42445 (binaries-shared): Also filter out $(binaries-pie).
42446 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42447 * nscd/Makefile (others-pie): Add nscd.
42448 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42449 ($(objpfx)nscd): Remove command override.
42450 * login/Makefile (others-pie): Add pt_chown.
42451 ($(objpfx)pt_chown): Remove command override.
42452 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42453 remove command overrides.
42454
fcabc0f8
UD
424552011-05-13 Ulrich Drepper <drepper@gmail.com>
42456
20030ae6
UD
42457 * libio/tst_putwc.c: Fix error messages.
42458
fcabc0f8
UD
42459 [BZ #12724]
42460 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42461 currently writing and seek to current position when not.
42462 * libio/Makefile (tests): Add bug-fclose1.
42463 * libio/bug-fclose1.c: New file.
42464
320a5dc0
PB
424652011-05-12 Ulrich Drepper <drepper@gmail.com>
42466
42467 [BZ #12511]
42468 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42469 don't set DF_1_NODELETE here.
42470 (do_lookup_x): When entering new entry test for copy relocation
42471 and if necessary set DF_1_NODELETE flag.
42472 * elf/tst-unique4.cc: New file.
42473 * elf/tst-unique4.h: New file.
42474 * elf/tst-unique4lib.cc: New file.
42475 * elf/Makefile: Add rules to build and run tst-unique4.
42476 Patch by Piotr Bury <pbury@goahead.com>.
42477
22836f52
UD
424782011-05-11 Ulrich Drepper <drepper@gmail.com>
42479
f574184a
UD
42480 [BZ #12052]
42481 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42482
e1fb097f
UD
42483 [BZ #12625]
42484 * misc/mntent_r.c (addmntent): Flush the stream after the output
42485
22836f52
UD
42486 [BZ #12393]
42487 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42488 (is_trusted_path_normalize): Skip initial colon. Append slash
42489 to empty buffer. Duplicate is_trusted_path code but allow
42490 constructed patch to be prefix.
42491 (is_dst): Allow $ORIGIN followed by /.
42492 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42493 Correct testing of result of is_trusted_path_normalize
42494 (decompose_rpath): Fix warning.
42495
7b3b0b2a
UD
424962011-05-10 Ulrich Drepper <drepper@gmail.com>
42497
42498 [BZ #11257]
42499 * grp/initgroups.c (internal_getgrouplist): When we found the service
42500 list through the initgroups entry in nsswitch.conf do not always
42501 continue on a successful lookup. Don't always use the
eac80ce2 42502 __nss_group_database value if it is set.
7b3b0b2a
UD
42503 * nss/nsswitch.conf (initgroups): Change action for successful db
42504 lookup to continue for compatibility.
42505
2a81eaa5
UD
425062011-05-09 Ulrich Drepper <drepper@gmail.com>
42507
be97a69e
UD
42508 [BZ #11532]
42509 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42510 and CP774 modules.
42511 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42512 and CP774 modules.
42513 * iconvdata/tst-tables.sh: Likewise.
42514 * iconvdata/cp770.c: New file.
42515 * iconvdata/cp771.c: New file.
42516 * iconvdata/cp772.c: New file.
42517 * iconvdata/cp773.c: New file.
42518 * iconvdata/cp774.c: New file.
42519 * iconvdata/testdata/CP770: New file.
42520 * iconvdata/testdata/CP770..UTF8: New file.
42521 * iconvdata/testdata/CP771: New file.
42522 * iconvdata/testdata/CP771..UTF8: New file.
42523 * iconvdata/testdata/CP772: New file.
42524 * iconvdata/testdata/CP772..UTF8: New file.
42525 * iconvdata/testdata/CP773: New file.
42526 * iconvdata/testdata/CP773..UTF8: New file.
42527 * iconvdata/testdata/CP774: New file.
42528 * iconvdata/testdata/CP774..UTF8: New file.
42529
42530 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42531 END CHARMAP line.
42532 * iconvdata/gen-8bit-gap.sh: Likewise.
42533 * iconvdata/gen-8bit.sh: Likewise.
42534
c1e9e399
UD
42535 * locale/iso-639.def: Add ary entry.
42536
24c55fb3 42537 [BZ #11258]
96b4b1b0
UD
42538 * locale/C-translit.h.in: Add U20A1 transliteration.
42539
bdc2f971
KB
42540 [BZ #12178]
42541 * locale/iso-639.def: Add wae entry.
42542 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42543
2952b117
UD
42544 [BZ #12545]
42545 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42546 for n.
42547
2a81eaa5
UD
42548 [BZ #12711]
42549 * locale/C-translit.h.in: Add entry for U20B9.
42550 Patch by pravin.d.s@gmail.com.
42551
28377d1b
UD
425522011-05-08 Ulrich Drepper <drepper@gmail.com>
42553
7fb90fb8
UD
42554 [BZ #12713]
42555 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42556 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42557 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42558 in rtld. Use *stat64.
7fb90fb8 42559 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42560 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42561 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42562 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42563 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42564 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42565 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42566 __fstatat64 macros.
7fb90fb8
UD
42567 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42568 * dirent/rewinddir.c: Add libc_hidden_def.
42569 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42570 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42571
28377d1b
UD
42572 * include/dirent.h (__alloc_dir): Add flags parameter.
42573 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42574 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42575 __alloc_dir.
42576 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42577 from fdopendir if O_CLOEXEC is already set.
42578
66bdbaa4
AM
425792011-03-15 Alan Modra <amodra@gmail.com>
42580
42581 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42582 l_tls_firstbyte_offset non-zero. Save padding offset in
42583 l_tls_firstbyte_offset for later use.
42584 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42585 freeing static tls block.
42586
95721191
JN
425872011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42588
42589 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42590 where #ifdef was intended. The intent is to prevent ARG_MAX from
42591 being defined by the kernel headers.
42592
f87dfb1f
UD
425932011-05-07 Ulrich Drepper <drepper@gmail.com>
42594
42595 [BZ #12734]
42596 * resolv/resolv.h: Define RES_NOTLDQUERY.
42597 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42598 no-tld-query and set RES_NOTLDQUERY.
42599 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42600 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42601 modern BIND to search name as TLD unless forbidden.
42602
47c3cd7a
UD
426032011-05-07 Petr Baudis <pasky@suse.cz>
42604 Ulrich Drepper <drepper@gmail.com>
42605
42606 [BZ #12393]
42607 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42608 (is_trusted_path): ...to here.
c1e9ea35 42609 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42610 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42611 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42612
8a35c912
PP
426132011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42614
42615 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42616 __BEGIN/__END_DECLS.
42617
acd41f47
UD
426182011-05-06 Ulrich Drepper <drepper@gmail.com>
42619
42620 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42621 NSS_STATUS_NOTFOUND if no record was found.
42622
597df647
AS
426232011-05-05 Andreas Schwab <schwab@redhat.com>
42624
42625 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42626 (headers-not-in-tirpc): Remove rpc/netdb.h
42627 * resolv/netdb.h: Revert last change.
42628
b9af1301
PP
426292011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42630
42631 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42632 circular dependency between libgcc.a and libc.a.
42633
4e34d5f5
AS
426342011-05-05 Andreas Schwab <schwab@redhat.com>
42635
42636 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42637 * nis/Makefile: Don't install rpcsvc/*.
42638 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42639 instead of <rpc/types.h>.
42640 (MAXHOSTNAMELEN): Define.
42641
00ee369c
AS
426422011-05-03 Andreas Schwab <schwab@redhat.com>
42643
42644 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42645
0b592a30
MB
426462011-04-28 Maciej Babinski <mbabinski@google.com>
42647
42648 [BZ #12714]
42649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42650 gethostbyname4_r when IPv6 results are possible.
42651
6e04cbbe
UD
426522011-05-02 Ulrich Drepper <drepper@gmail.com>
42653
42654 [BZ #12723]
42655 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42656 _PC_PIPE_BUF handling.
42657
e4ecafe0
BH
426582011-04-30 Bruno Haible <bruno@clisp.org>
42659
42660 [BZ #12717]
42661 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42662 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42663 to 'int'.
42664 * inet/getnameinfo.c (getnameinfo): Likewise.
42665
125ee683
UD
426662011-04-29 Ulrich Drepper <drepper@gmail.com>
42667
42668 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42669 to groups setting in database lookup.
42670 * nss/nsswitch.conf: Add initgroups entry.
42671
b722481a
EB
426722011-04-22 Ulrich Drepper <drepper@gmail.com>
42673
42674 [BZ #12685]
42675 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42676 mode string.
42677 Patch by Eric Blake <eblake@redhat.com>.
42678
4df46dbd
L
426792011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42680
42681 * sunrpc/Makefile (need-export-routines): Add svc_run.
42682 (routines): Remove svc_run.
42683 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42684 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42685 * sunrpc/svc_run.c (svc_run): Likewise.
42686 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42687
e84142d2
UD
426882011-04-21 Ulrich Drepper <drepper@gmail.com>
42689
42690 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42691 problem in reallocation in last patch.
42692
877175d8
UD
426932011-04-20 Ulrich Drepper <drepper@gmail.com>
42694
42695 * sunrpc/Makefile: Move inclusion of Rules.
42696
ab8eed78
UD
426972011-04-19 Ulrich Drepper <drepper@gmail.com>
42698
42699 * nss/nss_files/files-initgroups.c: New file.
42700 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42701 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42702 _nss_files_initgroups_dyn.
42703
e3d8f584
RS
427042011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42705
42706 * elf/elf.h (R_ARM_IRELATIVE): Define.
42707
af190f45
UD
427082011-04-19 Ulrich Drepper <drepper@gmail.com>
42709
42710 * po/ru.po: Update from translation team.
42711
53cf59ef
UD
427122011-04-17 Ulrich Drepper <drepper@gmail.com>
42713
42714 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42715 dependencies.
42716
4c559bcd
MF
427172011-02-06 Mike Frysinger <vapier@gentoo.org>
42718
42719 [BZ #12653]
42720 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42721 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42722 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42723 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42724 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42725
4420675c
AS
427262011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42727
42728 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42729 differing bytes.
42730 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42733
75ea32ab
UD
427342011-04-17 Ulrich Drepper <drepper@gmail.com>
42735
42736 [BZ #12420]
42737 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42738 storing it.
42739 * stdlib/bug-getcontext.c: New file.
42740 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42741
27390476
AK
427422011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42743
42744 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42745 instructions into .machine "z9-109".
42746 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42747 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42748
10442705
AK
427492011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42750
42751 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42752 between environment variables and auxiliary vector.
42753
7b57bfe5
UD
427542011-04-16 Ulrich Drepper <drepper@gmail.com>
42755
42756 * Makefile: Add rules to build linkobj/libc.so.
42757 * include/libc-symbols.h: Define libc_hidden_nolink.
42758 * include/rpc/auth.h: Mark functions which are to be hidden.
42759 * include/rpc/auth_des.h: Likewise.
42760 * include/rpc/auth_unix.h: Likewise.
42761 * include/rpc/clnt.h: Likewise.
42762 * include/rpc/des_crypt.h: Likewise.
42763 * include/rpc/key_prot.h: Likewise.
42764 * include/rpc/pmap_clnt.h: Likewise.
42765 * include/rpc/pmap_prot.h: Likewise.
42766 * include/rpc/pmap_rmt.h: Likewise.
42767 * include/rpc/rpc_msg.h: Likewise.
42768 * include/rpc/svc.h: Likewise.
42769 * include/rpc/svc_auth.h: Likewise.
42770 * include/rpc/xdr.h: Likewise.
42771 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42772 * nss/Makefile: Likewise.
42773 * sunrpc/Makefile: Don't install headers. Build library with normal
42774 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42775 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42776 for the compat linking library. Remove use of INTDEF/INTUSE.
42777 * sunrpc/auth_none.c: Likewise.
42778 * sunrpc/auth_unix.c: Likewise.
42779 * sunrpc/authdes_prot.c: Likewise.
42780 * sunrpc/authuxprot.c: Likewise.
42781 * sunrpc/clnt_gen.c: Likewise.
42782 * sunrpc/clnt_perr.c: Likewise.
42783 * sunrpc/clnt_raw.c: Likewise.
42784 * sunrpc/clnt_simp.c: Likewise.
42785 * sunrpc/clnt_tcp.c: Likewise.
42786 * sunrpc/clnt_udp.c: Likewise.
42787 * sunrpc/clnt_unix.c: Likewise.
42788 * sunrpc/des_crypt.c: Likewise.
42789 * sunrpc/des_soft.c: Likewise.
42790 * sunrpc/get_myaddr.c: Likewise.
42791 * sunrpc/key_call.c: Likewise.
42792 * sunrpc/key_prot.c: Likewise.
42793 * sunrpc/netname.c: Likewise.
42794 * sunrpc/pm_getmaps.c: Likewise.
42795 * sunrpc/pm_getport.c: Likewise.
42796 * sunrpc/pmap_clnt.c: Likewise.
42797 * sunrpc/pmap_prot.c: Likewise.
42798 * sunrpc/pmap_prot2.c: Likewise.
42799 * sunrpc/pmap_rmt.c: Likewise.
42800 * sunrpc/publickey.c: Likewise.
42801 * sunrpc/rpc_cmsg.c: Likewise.
42802 * sunrpc/rpc_common.c: Likewise.
42803 * sunrpc/rpc_dtable.c: Likewise.
42804 * sunrpc/rpc_prot.c: Likewise.
42805 * sunrpc/rpc_thread.c: Likewise.
42806 * sunrpc/rtime.c: Likewise.
42807 * sunrpc/svc.c: Likewise.
42808 * sunrpc/svc_auth.c: Likewise.
42809 * sunrpc/svc_authux.c: Likewise.
42810 * sunrpc/svc_raw.c: Likewise.
42811 * sunrpc/svc_run.c: Likewise.
42812 * sunrpc/svc_simple.c: Likewise.
42813 * sunrpc/svc_tcp.c: Likewise.
42814 * sunrpc/svc_udp.c: Likewise.
42815 * sunrpc/svc_unix.c: Likewise.
42816 * sunrpc/svcauth_des.c: Likewise.
42817 * sunrpc/xcrypt.c: Likewise.
42818 * sunrpc/xdr.c: Likewise.
42819 * sunrpc/xdr_array.c: Likewise.
42820 * sunrpc/xdr_float.c: Likewise.
42821 * sunrpc/xdr_intXX_t.c: Likewise.
42822 * sunrpc/xdr_mem.c: Likewise.
42823 * sunrpc/xdr_rec.c: Likewise.
42824 * sunrpc/xdr_ref.c: Likewise.
42825 * sunrpc/xdr_sizeof.c: Likewise.
42826 * sunrpc/xdr_stdio.c: Likewise.
42827
e6c61494
UD
428282011-04-10 Ulrich Drepper <drepper@gmail.com>
42829
42830 [BZ #12650]
42831 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42832 * sysdeps/ia64/dl-tls.h: Likewise.
42833 * sysdeps/powerpc/dl-tls.h: Likewise.
42834 * sysdeps/s390/dl-tls.h: Likewise.
42835 * sysdeps/sh/dl-tls.h: Likewise.
42836 * sysdeps/sparc/dl-tls.h: Likewise.
42837 * sysdeps/x86_64/dl-tls.h: Likewise.
42838 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42839
34fe483e
AS
428402011-03-14 Andreas Schwab <schwab@redhat.com>
42841
42842 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42843 rpath element also skip the following colon.
42844 (expand_dynamic_string_token): Add is_path parameter and pass
42845 down to DL_DST_REQUIRED and _dl_dst_substitute.
42846 (decompose_rpath): Call expand_dynamic_string_token with
42847 non-zero is_path. Ignore empty rpaths.
42848 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42849 with zero is_path.
42850
f12a32e6
AS
428512011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42852
42853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42854 Make cancelable.
42855
38a7d692
UD
428562011-04-09 Ulrich Drepper <drepper@gmail.com>
42857
42858 [BZ #12655]
42859 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42860 Patch by Filipe David Manana <fdmanana@apache.org>.
42861
e451d22b
AS
428622011-04-07 Andreas Schwab <schwab@redhat.com>
42863
42864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42865 Maintain aligned stack.
42866 (CHECK_RSP): Remove unused macro.
42867
dedc7c7b
UD
428682011-04-03 Ulrich Drepper <drepper@gmail.com>
42869
42870 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42871 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42872
94521213
UD
428732011-04-02 Ulrich Drepper <drepper@gmail.com>
42874
42875 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42876
8cb700c0 42877 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42878
0354e355
L
428792011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42880
42881 [BZ #12518]
42882 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42883 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42884 * sysdeps/x86_64/memmove.c: New file.
42885 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42886 (memcpy): Renamed to ...
42887 (__new_memcpy): This.
42888 (memcpy): Provide GLIBC_2_14 memcpy.
42889 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42890 (memcpy): Provide GLIBC_2_2_5 memcpy.
42891
8593482f
UD
428922011-04-01 Ulrich Drepper <drepper@gmail.com>
42893
42894 [BZ #12631]
42895 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42896
81a5726b
AS
428972011-03-30 Andreas Schwab <schwab@redhat.com>
42898
42899 * misc/syncfs.c: New file.
42900 * misc/Makefile (routines): Add syncfs.
42901 * posix/unistd.h: Declare syncfs.
42902 * sysdeps/unix/syscalls.list: Add syncfs.
42903
00e5419f
AS
429042011-04-01 Andreas Schwab <schwab@redhat.com>
42905
42906 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42907 open_by_handle_at.
42908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42911 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42913 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42914 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42915
748876bf
UD
429162011-04-01 Ulrich Drepper <drepper@gmail.com>
42917
658e451d
UD
42918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42920 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42925
748876bf
UD
42926 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42927 sync_file_range.c with -fexceptions.
42928 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42929 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42930 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42931 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42932 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42933 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42935 sync_file_range as cancellation point
42936 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42937 now a wrapper around __call_sync_file_range with cancellation handling.
42938 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42939 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42940 function name to __call_sync_file_range.
42941 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42942 Add call_sync_file_range.
748876bf 42943
6e63d5e1
AS
429442011-04-01 Andreas Schwab <schwab@redhat.com>
42945
42946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42947 bits/timex.h.
6e63d5e1 42948
46998f74
UD
429492011-04-01 Ulrich Drepper <drepper@gmail.com>
42950
4c1423ed
UD
42951 * iconv/iconv.h: Fix typo in comment.
42952 * io/fcntl.h: Likewise.
42953 * libio/stdio.h: Likewise.
42954 * posix/spawn.h: Likewise.
42955 * posix/unistd.h: Likewise.
42956 * stdlib/stdlib.h: Likewise.
42957 * time/time.h: Likewise.
42958 * wcsmbs/wchar.h: Likewise.
42959
158648c0
UD
42960 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42961 open_by_handle): Add.
42962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42963 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42964 Augment a few comments.
42965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42970 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42971 open_by_handle.
42972
46998f74
UD
42973 * io/fcntl.h (AT_EMPTY_PATH): Define.
42974
83fe108b
UD
429752011-03-30 Ulrich Drepper <drepper@gmail.com>
42976
42977 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42978 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42979 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42980 to...
42981 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42982 * Versions.def: Add GLIBC_2.14.
42983 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42984 Export.
83fe108b 42985
bb242059
UD
429862011-03-22 Ulrich Drepper <drepper@gmail.com>
42987
42988 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42989 round counter.
42990 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42991
c97a1282
L
429922011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42993
42994 [BZ #12597]
42995 * string/test-strncmp.c (do_page_test): New function.
42996 (check2): Likewise.
42997 (test_main): Call check2.
42998 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42999
2a115601
UD
430002011-03-20 Ulrich Drepper <drepper@gmail.com>
43001
43002 [BZ #12587]
43003 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43004 Handle cache information in CPU leaf 4.
43005 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43006
8126d904
UD
430072011-03-18 Ulrich Drepper <drepper@gmail.com>
43008
042c49c6 43009 [BZ #12583]
8126d904
UD
43010 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43011 character representation.
43012 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43013
ccfe366e
RA
430142011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43015
43016 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43017 END(__isnan) to END(__isnanf) to match function entry point/label
43018 EALIGN(__isnanf,...).
43019
c6e13027
JJ
430202011-03-10 Jakub Jelinek <jakub@redhat.com>
43021
43022 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43023
33f85a3f
UD
430242011-03-10 Ulrich Drepper <drepper@gmail.com>
43025
028478fa
UD
43026 [BZ #12510]
43027 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43028 copy from the symbol referenced in the relocation to initialize the
43029 used variable.
43030 Patch by Piotr Bury <pbury@goahead.com>.
43031 * elf/Makefile: Add rules to build and tst-unique3.
43032 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43033 * elf/tst-unique3.cc: New file.
43034 * elf/tst-unique3.h: New file.
43035 * elf/tst-unique3lib.cc: New file.
43036 * elf/tst-unique3lib2.cc: New file.
43037
33f85a3f
UD
43038 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43039
03592fc7
MF
430402011-03-10 Mike Frysinger <vapier@gentoo.org>
43041
43042 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43043 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43044 to _start.
03592fc7 43045
6a5ee102
UD
430462011-03-06 Ulrich Drepper <drepper@gmail.com>
43047
43048 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43049 to-be-loaded object along a path to loader is ld.so.
43050
7e4ba49c
HJ
430512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43052 Ulrich Drepper <drepper@gmail.com>
43053
43054 * sysdeps/x86_64/memset.S: After aligning destination, code
43055 branches to different locations depending on the value of
43056 misalignment, when multiarch is enabled. Fix this.
43057
430582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43059
43060 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43061 Set _x86_64_preferred_memory_instruction for AMD processsors.
43062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43063 Set bit_Prefer_SSE_for_memop for AMD processors.
43064
13a804de
UD
430652011-03-04 Ulrich Drepper <drepper@gmail.com>
43066
43067 * libio/fmemopen.c (fmemopen): Optimize a bit.
43068
9d25c392
AS
430692011-03-03 Andreas Schwab <schwab@redhat.com>
43070
43071 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43072
a5543c6a
RM
430732011-03-03 Roland McGrath <roland@redhat.com>
43074
43075 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43076
012d35f7
DM
430772011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43078
7e4ba49c 43079 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43080 __bzero_ultra1 instead of __memset_ultra1.
43081
4bff6e01
AS
430822011-02-23 Andreas Schwab <schwab@redhat.com>
43083 Ulrich Drepper <drepper@gmail.com>
43084
43085 [BZ #12509]
43086 * include/link.h (struct link_map): Add l_orig_initfini.
43087 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43088 returning unsuccessfully.
43089 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43090 close of a file loaded at startup, restore the original l_initfini
43091 list.
43092 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43093 list, store the pointer.
43094 * elf/Makefile ($(objpfx)noload-mem): New rule.
43095 (noload-ENV): Define.
43096 (tests): Add $(objpfx)noload-mem.
43097 * elf/noload.c: Include <memcheck.h>.
43098 (main): Call mtrace. Close all opened handles.
43099
f2092faf
AS
431002011-02-17 Andreas Schwab <schwab@redhat.com>
43101
43102 [BZ #12454]
43103 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43104 dependencies are missing.
43105
6c8a2e88
ST
431062011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43107
f2092faf 43108 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43109 Hurd needs munmap.
43110 * sysdeps/mach/hurd/ifreq.h: New file.
43111
84a42118
PB
431122011-01-27 Petr Baudis <pasky@suse.cz>
43113 Ulrich Drepper <drepper@gmail.com>
43114
071f805e 43115 [BZ 12445]#
84a42118
PB
43116 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43117 to extend_alloca().
43118 * stdio-common/bug23.c: New file.
43119 * stdio-common/Makefile (tests): Add bug23.
43120
e23fe25b
AS
431212010-09-28 Andreas Schwab <schwab@redhat.com>
43122 Ulrich Drepper <drepper@gmail.com>
43123
43124 [BZ #12489]
43125 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43126 before performing relro protection. At old place add assertion
43127 to make sure nothing changed.
43128
d3f02e10
NS
431292011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43130 Glauber de Oliveira Costa <glommer@gmail.com>
43131
43132 * elf/elf.h: Add new ARM TLS relocs.
43133
d55fd7a5
RA
431342011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43135
43136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43137 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43138 cast from r3.
43139 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43140 'tests' variable.
43141 * sysdeps/wordsize-64/tst-writev.c: New file.
43142
2206397e
RA
431432011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43144
43145 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43146 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43147 insns in _dl_start to prevent a TOC reference before relocs are
43148 resolved.
43149
e9433893
UD
431502011-02-15 Ulrich Drepper <drepper@gmail.com>
43151
43152 [BZ #12469]
43153 * Makeconfig: Remove RANLIB definition.
43154 * Makerules: Don't use RANLIB.
43155 * aclocal.m4: Remove ranlib test.
43156 * configure.in: No need to check for ranlib.
43157 * elf/rtld-Rules: Don't use RANLIB.
43158
f75286c6
ST
431592011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43160
8e31c82d
ST
43161 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43162 protection macro.
43163 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43164 inclusion protection macro.
43165
f75286c6
ST
43166 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43167 SIGRTMIN and SIGRTMAX and print information in that case only when
43168 SIGRTMIN is defined.
43169
c1d0e639
JJ
431702011-02-11 Jakub Jelinek <jakub@redhat.com>
43171
43172 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43173 arginfo fn returning -1.
43174
43175 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43176 and thousands string is zero terminated.
43177
edf9294e
AS
431782011-02-03 Andreas Schwab <schwab@redhat.com>
43179
43180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43181 sysdeps/unix/sysv/linux/bits/socket.h.
43182
2b7e92df
ST
431832011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43184
edf9294e
AS
43185 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43186 (__CPU_COUNT): Remove old macros.
43187 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43188 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43189 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43190 (__sched_cpualloc, __sched_cpufree): Add declarations.
43191
a4c7ea7b
UD
431922011-02-05 Ulrich Drepper <drepper@gmail.com>
43193
43194 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43195 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43196 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43197 (readdhstai): Return value of addhstaiX call.
43198 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43199 (addgrbyX): Return value returned by cache_addgr.
43200 (readdgrbyname): Return value returned by addgrbyX.
43201 (readdgrbygid): Likewise.
43202 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43203 (addpwbyX): Return value returned by cache_addpw.
43204 (readdpwbyname): Return value returned by addhstbyX.
43205 (readdpwbyuid): Likewise.
43206 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43207 (addservbyX): Return value returned by cache_addserv.
43208 (readdservbyname): Return value returned by addservbyX:
43209 (readdservbyport): Likewise.
43210 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43211 (addhstbyX): Return value returned by cache_addhst.
43212 (readdhstbyname): Return value returned by addhstbyX.
43213 (readdhstbyaddr): Likewise.
43214 (readdhstbynamev6): Likewise.
43215 (readdhstbyaddrv6): Likewise.
43216 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43217 (readdinitgroups): Return value returned by addinitgroupsX.
43218 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43219 (prune_cache): Keep track of timeout value of re-added entries.
43220 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43221 * nscd/nscd.h: Adjust prototypes of readd* functions.
43222
a0bf67cc
RM
432232011-02-04 Roland McGrath <roland@redhat.com>
43224
43225 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43226 (nis_stats): Likewise.
43227 * nis/nis_modify.c (nis_modify): Likewise.
43228 * nis/nis_remove.c (nis_remove): Likewise.
43229 * nis/nis_add.c (nis_add): Likewise.
43230
43231 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43232
43233 * posix/fnmatch_loop.c: Add some consts.
43234
43235 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43236
435b95eb
L
432372011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43238
43239 [BZ #12460]
43240 * config.make.in (config-cflags-novzeroupper): Define.
43241 * configure.in: Substitute libc_cv_cc_novzeroupper.
43242 * elf/Makefile (AVX-CFLAGS): Define.
43243 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43244 (CFLAGS-tst-auditmod4a.c): Likewise.
43245 (CFLAGS-tst-auditmod4b.c): Likewise.
43246 (CFLAGS-tst-auditmod6b.c): Likewise.
43247 (CFLAGS-tst-auditmod6c.c): Likewise.
43248 (CFLAGS-tst-auditmod7b.c): Likewise.
43249 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43250
8517b15e
UD
432512011-02-02 Ulrich Drepper <drepper@gmail.com>
43252
43253 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43254 function to the callback.
43255 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43256
10a656fe
AS
432572011-02-02 Andreas Schwab <schwab@redhat.com>
43258
43259 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43260 of errno.
43261
968dad0a
UD
432622011-01-19 Ulrich Drepper <drepper@gmail.com>
43263
9f94d2ea 43264 [BZ #11724]
968dad0a
UD
43265 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43266 of constructors.
43267 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43268 of destructors.
43269 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43270
43271 [BZ #11724]
43272 * elf/Makefile: Add rules to build and run new test.
43273 * elf/tst-initorder.c: New file.
43274 * elf/tst-initorder.exp: New file.
43275 * elf/tst-initordera1.c: New file.
43276 * elf/tst-initordera2.c: New file.
43277 * elf/tst-initordera3.c: New file.
43278 * elf/tst-initordera4.c: New file.
43279 * elf/tst-initorderb1.c: New file.
43280 * elf/tst-initorderb2.c: New file.
43281 * elf/tst-order-a1.c: New file.
43282 * elf/tst-order-a2.c: New file.
43283 * elf/tst-order-a3.c: New file.
43284 * elf/tst-order-a4.c: New file.
43285 * elf/tst-order-b1.c: New file.
43286 * elf/tst-order-b2.c: New file.
43287 * elf/tst-order-main.c: New file.
43288 New test case by George Gensure <werkt0@gmail.com>.
43289
86e92359
UD
432902010-10-01 Andreas Schwab <schwab@redhat.com>
43291
43292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43293 decoding ACE if AI_CANONIDN.
43294
5d5732b0
UD
432952011-01-18 Ulrich Drepper <drepper@gmail.com>
43296
43297 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43298
a77e8cbc
UD
432992011-01-17 Ulrich Drepper <drepper@gmail.com>
43300
6392473f
UD
43301 * version.h (RELEASE): Bump for 2.13 release.
43302 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43303
620a0529
UD
43304 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43305
18ba70a5
UD
43306 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43307 MADV_NOHUGEPAGE.
32465c3e
UD
43308 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43309 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43310 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43311 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43312 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43313 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43314
c0dafcf1
UD
43315 * posix/getconf.c: Update copyright year.
43316 * catgets/gencat.c: Likewise.
43317 * csu/version.c: Likewise.
43318 * debug/catchsegv.sh: Likewise.
43319 * debug/xtrace.sh: Likewise.
43320 * elf/ldconfig.c: Likewise.
43321 * elf/ldd.bash.in: Likewise.
43322 * elf/sprof.c (print_version): Likewise.
43323 * iconv/iconv_prog.c: Likewise.
43324 * iconv/iconvconfig.c: Likewise.
43325 * locale/programs/locale.c: Likewise.
43326 * locale/programs/localedef.c: Likewise.
43327 * malloc/memusage.sh: Likewise.
43328 * malloc/mtrace.pl: Likewise.
43329 * nscd/nscd.c (print_version): Likewise.
43330 * nss/getent.c: Likewise.
43331
a77e8cbc
UD
43332 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43333 PF_CAIF, and PF_ALG.
43334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43335
77e8bddf
AS
433362011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43337
1f20b93a
AS
43338 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43339 (modules-names): Use them.
43340 (ifunc-test-modules, ifunc-pie-tests): Define.
43341 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43342 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43343 (test-extras): Likewise.
43344 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43345 $(compile-command.c).
43346 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43347 (all-built-dso): Define.
43348 (check-textrel.out, check-execstack.out): Depend on it.
43349
77e8bddf
AS
43350 * configure.in: Don't override --enable-multi-arch.
43351
bc425b33
UD
433522011-01-15 Ulrich Drepper <drepper@gmail.com>
43353
43354 [BZ #6812]
43355 * nscd/hstcache.c (tryagain): Define.
43356 (cache_addhst): Return tryagain not notfound for temporary errors.
43357 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43358 failed.
43359
794c3ad3
UD
433602011-01-14 Ulrich Drepper <drepper@gmail.com>
43361
70181fdd
UD
43362 [BZ #10563]
43363 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43364 to make the syscall.
43365 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43366
794c3ad3
UD
43367 [BZ #12378]
43368 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43369 and fall back to matching as normal character if the string ends before
43370 the matching ']' is found. This is what POSIX requires.
43371 * posix/testfnm.c: Adjust test result.
43372 * posix/globtest.sh: Adjust test result. Add new test.
43373 * posix/tst-fnmatch.input: Likewise.
43374 * posix/tst-fnmatch2.c: Add new test.
43375
68dc9497
AS
433762010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43377
43378 * elf/Makefile (check-execstack): Revert last change. Depend on
43379 check-execstack.h.
43380 (check-execstack.h): New target.
43381 (generated): Add check-execstack.h.
43382 * elf/check-execstack.c: Include "check-execstack.h".
43383 (main): Revert last change.
43384 (handle_file): Return zero if GNU_STACK is absent and
43385 DEFAULT_STACK_PERMS doesn't include PF_X.
43386
451f001b
UD
433872011-01-13 Ulrich Drepper <drepper@gmail.com>
43388
cfa28e56
UD
43389 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43390 in child fails because the descriptor is already closed.
8cf8ce17
UD
43391 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43392 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43393 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43394
1086d70d
UD
43395 [BZ #12397]
43396 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43397 syscall.
43398
451f001b
UD
43399 [BZ #10484]
43400 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43401 temporary buffer used to handle multi lookups locally.
a85b5cb4 43402 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43403
08769175
UD
434042011-01-12 Ulrich Drepper <drepper@gmail.com>
43405
43406 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43407 loader is ld.so.
43408
5e49c52e
UD
434092011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43410
43411 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43412 alignment for SSE2.
43413
60522a5f
UD
434142011-01-12 Ulrich Drepper <drepper@gmail.com>
43415
43416 [BZ #12394]
43417 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43418 characters. When rounding increased number of integer digits recompute
43419 number of groups.
43420 * stdio-common/tst-grouping.c: New file.
43421 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43422
f257bbd7
UD
434232011-01-09 Ulrich Drepper <drepper@gmail.com>
43424
43425 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43426 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43427
43428 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43429 void.
43430 * bits/select.h: Likewise.
43431
fa9c15cb
UD
434322011-01-08 Ulrich Drepper <drepper@gmail.com>
43433
43434 * po/ja.po: Update from translation team.
43435
16c2895f
DM
434362011-01-04 David S. Miller <davem@sunset.davemloft.net>
43437
43438 [BZ #11155]
43439 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43440 implementation just like for lxstat, fxstatat, et al.
43441
2543fef2
JM
434422010-12-27 Jim Meyering <meyering@redhat.com>
43443
43444 [BZ #12348]
43445 * posix/regexec.c (build_trtable): Return failure indication upon
43446 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43447
98727dbe
UD
434482010-12-25 Ulrich Drepper <drepper@gmail.com>
43449
5bd6dc5c
UD
43450 [BZ #12201]
43451 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43452 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43453 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43454 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43455
97983464
UD
43456 [BZ #12207]
43457 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43458
98727dbe
UD
43459 [BZ #12204]
43460 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43461 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43462
4a531bb0
L
434632010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43464
43465 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43466 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43467 script has SORT_BY_INIT_PRIORITY.
43468 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43469 NO_CTORS_DTORS_SECTIONS is defined.
43470 * elf/soinit.c: Likewise.
43471 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43472 NO_CTORS_DTORS_SECTIONS is defined.
43473 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43474 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43475 * sysdeps/sh/init-first.c: Likewise.
43476 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43477
07eb4b71
UD
434782010-12-24 Ulrich Drepper <drepper@gmail.com>
43479
43480 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43481 always use the slow path.
43482
30950a5f
RA
434832010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43484
43485 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43486 similar rule which adds the sysdep directories to the header search in
43487 order to pick up the correct platform stackinfo.h.
43488 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43489 perform test if it is, otherwise return successfully without testing.
43490 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43491 DEFAULT_STACK_PERMS define in stackinfo.h.
43492 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43493 defined in stackinfo.h.
43494 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43495 DEFAULT_STACK_PERMS defined in stackinfo.h.
43496 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43497 * sysdeps/ia64/stackinfo.h: Likewise.
43498 * sysdeps/s390/stackinfo.h: Likewise.
43499 * sysdeps/sh/stackinfo.h: Likewise.
43500 * sysdeps/sparc/stackinfo.h: Likewise.
43501 * sysdeps/x86_64/stackinfo.h: Likewise.
43502 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43503 PF_X for powerpc64. Retain PF_X for powerpc32.
43504
db753e2c
UD
435052010-12-19 Ulrich Drepper <drepper@gmail.com>
43506
14b697f7
UD
43507 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43508 accurately.
db753e2c
UD
43509 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43510 GETDENTS_64BIT_ALIGNED.
43511
28300719
UD
435122010-12-14 Ulrich Drepper <dreper@gmail.com>
43513
14b697f7 43514 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43515
4f197237
AS
435162010-12-10 Andreas Schwab <schwab@redhat.com>
43517
dbb0472f
AS
43518 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43519 _GNU_SOURCE.
43520
4f197237
AS
43521 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43522 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43523 Remove __restrict.
43524 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43525 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43526
fb88ac72
UD
435272010-12-09 Ulrich Drepper <drepper@gmail.com>
43528
43529 [BZ #11655]
43530 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43531 are initialized.
43532
42acbb92
JJ
435332010-12-09 Jakub Jelinek <jakub@redhat.com>
43534
43535 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43536
c038d98d
UD
435372010-12-03 Ulrich Drepper <drepper@gmail.com>
43538
43539 * po/it.po: Update from translation team.
43540
3a4a2499
L
435412010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43542
43543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43544 unused codes.
43545
1e24cf6e
UD
435462010-11-30 Ulrich Drepper <drepper@gmail.com>
43547
43548 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43549
a7690819
AS
435502010-11-24 Andreas Schwab <schwab@redhat.com>
43551
43552 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43553 specially.
43554 (gaih_getanswer_slice): Likewise.
43555
3bf8d1b1
JJ
435562010-10-20 Jakub Jelinek <jakub@redhat.com>
43557
43558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43559
6db52fbb
PB
435602010-05-31 Petr Baudis <pasky@suse.cz>
43561
43562 [BZ #11149]
43563 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43564 silently even in the chroot mode.
43565
eaca7569
UD
435662010-11-22 Ulrich Drepper <drepper@gmail.com>
43567
43568 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43569 last patch a bit. Pretty printing
43570
3056dcdb
UD
435712010-05-31 Petr Baudis <pasky@suse.cz>
43572
43573 [BZ #10085]
43574 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43575 initialization of skip_initgroups_dyn.
43576
cf7c9078
UD
435772010-11-19 Ulrich Drepper <drepper@gmail.com>
43578
43579 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43580 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43581
a1fb5e3e
UD
435822010-11-16 Ulrich Drepper <drepper@gmail.com>
43583
43584 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43585
3540d66b
AS
435862010-11-11 Andreas Schwab <schwab@redhat.com>
43587
43588 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43589 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43590 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43591 ($(objpfx)tst-fnmatch-mem): New rule.
43592 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43593 * posix/tst-fnmatch.c (main): Call mtrace.
43594
13b69574
L
435952010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43596
43597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43598 Support Intel processor model 6 and model 0x2c.
43599
da93d214
LM
436002010-11-10 Luis Machado <luisgpm@br.ibm.com>
43601
43602 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43603 signed comparison.
43604
8ca52c6e
L
436052010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43606
43607 [BZ #12205]
43608 * string/test-strncasecmp.c (check_result): New function.
43609 (do_one_test): Use it.
43610 (check1): New function.
43611 (test_main): Use it.
43612 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43613 Support strcasecmp and strncasecmp.
43614
69da074d
UD
436152010-11-08 Ulrich Drepper <drepper@gmail.com>
43616
43617 [BZ #12194]
43618 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43619 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43620
ff02d528
L
436212010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43622
43623 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43624 IFUNC support.
43625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43626 memset-x86-64.
43627 * sysdeps/x86_64/multiarch/bzero.S: New file.
43628 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43629 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43630 * sysdeps/x86_64/multiarch/memset.S: New file.
43631 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43633 Set bit_Prefer_SSE_for_memop for Intel processors.
43634 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43635 Define.
43636 (index_Prefer_SSE_for_memop): Define.
43637 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43638
344d0b54
LM
436392010-11-04 Luis Machado <luisgpm@br.ibm.com>
43640
43641 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43642 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43643
c0dde15b
UD
436442010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43645
43646 [BZ #12191]
43647 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43648 (__x86_64_raw_data_cache_size_half): Likewise.
43649 (__x86_64_raw_shared_cache_size): Likewise.
43650 (__x86_64_raw_shared_cache_size_half): Likewise.
43651
43652 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43653 (__x86_64_raw_data_cache_size_half): Likewise.
43654 (__x86_64_raw_shared_cache_size): Likewise.
43655 (__x86_64_raw_shared_cache_size_half): Likewise.
43656 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43657 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43658 and __x86_64_raw_shared_cache_size_half. Round
43659 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43660 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43661 to multiple of 256 bytes.
43662
0e516e0e
MS
436632010-11-03 Ulrich Drepper <drepper@gmail.com>
43664
43665 [BZ #12167]
43666 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43667 of inacessible symlinks. Verify result of symlink before returning it.
43668 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43669 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43670
0e012e87
ER
436712010-10-28 Erich Ritz <erichritz@gmail.com>
43672
43673 * math/math.h (isinf): Fix typo in comment.
43674
de0ff7bc
UD
436752010-11-01 Ulrich Drepper <drepper@gmail.com>
43676
43677 * po/da.po: Update from translation team.
43678
fa41c84d
UD
436792010-10-26 Ulrich Drepper <drepper@gmail.com>
43680
43681 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43682 is added to the list.
43683
f0967738
AK
436842010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43685 Ulrich Drepper <drepper@gmail.com>
43686
43687 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43688 the global list here. Move code to...
43689 (_dl_add_to_namespace_list): ...here. New function.
43690 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43691 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43692 * elf/dl-load.c (lose): Don't remove the element from the list.
43693 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43694 (_dl_map_object): Likewise.
43695
436962010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43697
43698 [BZ #12159]
43699 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43700 into all bytes of SSE register.
43701 Patch by Richard Li <richardpku@gmail.com>.
43702
f0967738 437032010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43704
43705 [BZ #12140]
43706 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43707 perturbing.
43708
d0b9e94f
MB
437092010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43710
43711 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43712 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43713 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43714 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43716 submachine.
43717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43718
8e9f92e9
AS
437192010-10-22 Andreas Schwab <schwab@redhat.com>
43720
43721 * include/dlfcn.h (__RTLD_SECURE): Define.
43722 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43723 mode & __RTLD_SECURE instead.
43724 (open_path): Rename preloaded parameter to secure.
43725 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43726 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43727 * elf/dl-deps.c (openaux): Likewise.
43728 * elf/rtld.c (struct map_args): Remove is_preloaded.
43729 (map_doit): Don't use it.
43730 (dl_main): Likewise.
43731 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43732 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43733
bc96fbda
AS
437342010-09-09 Andreas Schwab <schwab@redhat.com>
43735
43736 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43737 (sysd-rules-targets): Remove duplicates.
43738 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43739 rtld-%.$o dependency.
43740
22cd1c9b
AS
437412010-10-18 Andreas Schwab <schwab@redhat.com>
43742
43743 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43744 _dl_map_object do it.
43745
18edac48
UD
437462010-10-19 Ulrich Drepper <drepper@gmail.com>
43747
43748 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43749 fast fma builtins, define the macros in the C99 standard.
43750 (FP_FAST_FMAF): Likewise.
43751 (FP_FAST_FMAL): Likewise.
43752 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43753
43754 * bits/mathdef.h: Update copyright year.
43755 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43756
d2050124
MM
437572010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43758
43759 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43760 builtins, define the macros in the C99 standard.
43761 (FP_FAST_FMAF): Likewise.
43762 (FP_FAST_FMAL): Likewise.
43763 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43764 multiply/add.
43765 (FP_FAST_FMAF): Likewise.
43766
475facd1
JJ
437672010-10-15 Jakub Jelinek <jakub@redhat.com>
43768
43769 [BZ #3268]
43770 * math/libm-test.inc (fma_test): Some new testcases.
43771 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43772 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43773 y and infinite z. Do multiplication by C already in long double.
43774 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43776 y and infinite z. Do bitwise or of inexact bit into u.d.
43777 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43778 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43779 * sysdeps/i386/fpu/s_fma.S: Removed.
43780 * sysdeps/i386/fpu/s_fmal.S: Removed.
43781
7c08a05c
JJ
437822010-10-16 Jakub Jelinek <jakub@redhat.com>
43783
43784 [BZ #3268]
43785 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43786 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43787 computation is not scheduled after fetestexcept. Fix value
43788 of minimum denormal long double.
43789
f3f7372d
JJ
437902010-10-14 Jakub Jelinek <jakub@redhat.com>
43791
43792 [BZ #3268]
43793 * math/libm-test.inc (fma_test): Add some more tests.
43794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43795 correctly.
43796
14d43591
AS
437972010-10-15 Andreas Schwab <schwab@redhat.com>
43798
43799 * scripts/data/localplt-s390-linux-gnu.data: New file.
43800 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43801
5e908464
JJ
438022010-10-13 Jakub Jelinek <jakub@redhat.com>
43803
43804 [BZ #3268]
43805 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43806 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43807 instead of dbl-64.
43808 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43809 inlines.
43810 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43812 if one of x and y is very large and the other is subnormal.
43813 * sysdeps/s390/fpu/s_fmaf.c: New file.
43814 * sysdeps/s390/fpu/s_fma.c: New file.
43815 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43816 * sysdeps/powerpc/fpu/s_fma.S: New file.
43817 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43818 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43819 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43820
438212010-10-12 Jakub Jelinek <jakub@redhat.com>
43822
43823 [BZ #3268]
43824 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43825 fma tests.
43826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43827 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43828 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43829 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43830 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43831 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43832 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43833
b833d51f
UD
438342010-10-12 Ulrich Drepper <drepper@redhat.com>
43835
43836 [BZ #12078]
43837 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43838 * posix/bug-regex31.input: Add test case.
43839
1751705d
UD
438402010-10-11 Ulrich Drepper <drepper@gmail.com>
43841
e9b9cbf5
UD
43842 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43843 * posix/bug-regex31.input: New file.
43844
43845 [BZ #12078]
43846 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43847 (parse_sub_exp): Fix last change, use postorder.
43848
ef06edbe
UD
43849 * posix/bug-regex31.c: New file.
43850 * posix/Makefile: Add rules to build and run bug-regex31.
43851
a129c80d
UD
43852 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43853
43854 [BZ #12078]
43855 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43856
b76b818e
UD
43857 [BZ #12108]
43858 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43859 to have entries in sys_siglist.
43860
1751705d
UD
43861 [BZ #12093]
43862 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43863 be NULL.
43864
9ff8d36f
JJ
438652010-10-07 Jakub Jelinek <jakub@redhat.com>
43866
43867 [BZ #3268]
43868 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43869 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43870 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43871 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43872 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43873 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43874 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43875 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43876 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43877 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43878 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43879 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43880 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43881 * math/ftestexcept.c (fetestexcept): Likewise.
43882 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43883 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43884 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43885 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43886 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43887 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43888 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43889
af325969
UD
438902010-10-11 Ulrich Drepper <drepper@gmail.com>
43891
c579b202 43892 [BZ #12107]
af325969
UD
43893 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43894 newline.
43895
67a67b95
UD
438962010-10-06 Ulrich Drepper <drepper@gmail.com>
43897
43898 * string/bug-strstr1.c: New file.
43899 * string/Makefile: Add rules to build and run bug-strstr1.
43900
5fb308bc
EB
439012010-10-05 Eric Blake <eblake@redhat.com>
43902
43903 [BZ #12092]
43904 * string/str-two-way.h (two_way_long_needle): Always clear memory
43905 when skipping input due to the shift table.
43906
45db99c7
UD
439072010-10-03 Ulrich Drepper <drepper@gmail.com>
43908
3b111893
UD
43909 [BZ #12005]
43910 * malloc/mcheck.c: Handle large requests.
43911
45db99c7
UD
43912 [BZ #12077]
43913 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43914 for strncmp and strncasecmp.
43915 * string/stratcliff.c: Add tests for strcmp and strncmp.
43916 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43917
cf7a1eb8
NI
439182010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43919
43920 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43921 __set_fpscr.
43922
6484ba5e
AJ
439232010-09-30 Andreas Jaeger <aj@suse.de>
43924
43925 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43926 (CGROUP_SUPER_MAGIC): Define.
43927 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43928 Handle btrfs and cgroup file systems.
43929 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43930 Likewise.
43931
91c42559
LM
439322010-09-27 Luis Machado <luisgpm@br.ibm.com>
43933
43934 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43935 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43936
87a97932
AK
439372010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43938
43939 [BZ #12067]
43940 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43941 trying to locate the ELF header.
43942
c21cc9bc
AS
439432010-09-27 Andreas Schwab <schwab@redhat.com>
43944
43945 [BZ #11611]
43946 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43947 Mask out sign-bit copies when constructing f_fsid.
43948
315970f6
PB
439492010-09-24 Petr Baudis <pasky@suse.cz>
43950
43951 * debug/stack_chk_fail_local.c: Add missing licence exception.
43952 * debug/warning-nop.c: Likewise.
43953
1ac7a2c7
JM
439542010-09-15 Joseph Myers <joseph@codesourcery.com>
43955
43956 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43957 implementing getdents64 using getdents syscall, set d_type if
43958 __ASSUME_GETDENTS32_D_TYPE.
43959
56801c50
AS
439602010-09-16 Andreas Schwab <schwab@redhat.com>
43961
43962 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43963 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43964
dda51327
UD
439652010-09-21 Ulrich Drepper <drepper@redhat.com>
43966
43967 [BZ #12037]
43968 * posix/unistd.h: Undo change of feature selection for ftruncate from
43969 2010-01-11.
43970
8ffcee4a
UD
439712010-09-20 Ulrich Drepper <drepper@redhat.com>
43972
a545ecd9 43973 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43974 detection.
43975
e24f0a8b
AS
439762010-09-20 Andreas Schwab <schwab@redhat.com>
43977
43978 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43979 fanotify_mark.
43980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43981
7291c56f
AS
439822010-09-14 Andreas Schwab <schwab@redhat.com>
43983
43984 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43985 variables after CHECK_SP call.
43986 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43987
bc5fb037
AS
439882010-09-13 Andreas Schwab <schwab@redhat.com>
43989 Ulrich Drepper <drepper@redhat.com>
43990
43991 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43992 re-relocationg ld.so.
43993 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43994 _dl_init_paths call.
43995 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43996 here anymore.
43997
e66e7419
UD
439982010-09-14 Ulrich Drepper <drepper@redhat.com>
43999
44000 * resolv/res_init.c (__res_vinit): Count the default server we added.
44001
c044aa75
CLT
440022010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44003 Ulrich Drepper <drepper@redhat.com>
44004
44005 [BZ #11968]
44006 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44007 (____longjmp_chk): Use %ebx for saving value across system call.
44008 Add unwind info.
44009
32cf4069
AS
440102010-09-06 Andreas Schwab <schwab@redhat.com>
44011
44012 * manual/Makefile: Don't mix pattern rules with normal rules.
44013
817328ee
AS
440142010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44015
44016 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44017 operation.
44018 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44019 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44020 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44021 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44023 Likewise.
44024
29fddf61
UD
440252010-09-04 Ulrich Drepper <drepper@redhat.com>
44026
44027 [BZ #11979]
44028 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44029 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44030
0959ffc9
UD
440312010-09-02 Ulrich Drepper <drepper@redhat.com>
44032
44033 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44034 * sysdeps/x86_64/addmul_1.S: Likewise.
44035 * sysdeps/x86_64/lshift.S: Likewise.
44036 * sysdeps/x86_64/mul_1.S: Likewise.
44037 * sysdeps/x86_64/rshift.S: Likewise.
44038 * sysdeps/x86_64/sub_n.S: Likewise.
44039 * sysdeps/x86_64/submul_1.S: Likewise.
44040
ece29840
ST
440412010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44042
0959ffc9
UD
44043 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44044 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44045 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44046 * bits/sched.h [__need_schedparam]
ece29840 44047 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44048 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44049 (__defined_schedparam): Define to 1.
ece29840
ST
44050 (__sched_param): New structure, identical to sched_param.
44051 (__need_schedparam): Undefine.
44052
e53a31fe
MF
440532010-08-31 Mike Frysinger <vapier@gentoo.org>
44054
fdc0c10d
MF
44055 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44056 (epoll_create1): Declare.
44057
e53a31fe
MF
44058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44059
a726d796
AS
440602010-08-31 Andreas Schwab <schwab@redhat.com>
44061
44062 [BZ #7066]
44063 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44064 shifting retval into place.
44065
2f3e3dc7
UD
440662010-09-01 Ulrich Drepper <drepper@redhat.com>
44067
f2933da9
UD
44068 * nis/rpcsvc/nis.h: Update copyright notice.
44069 * nis/rpcsvc/nis.x: Likewise.
44070 * nis/rpcsvc/nis_callback.h: Likewise.
44071 * nis/rpcsvc/nis_callback.x: Likewise.
44072 * nis/rpcsvc/nis_object.x: Likewise.
44073 * nis/rpcsvc/nis_tags.h: Likewise.
44074 * nis/rpcsvc/yp.h: Likewise.
44075 * nis/rpcsvc/yp.x: Likewise.
44076 * nis/rpcsvc/ypupd.h: Likewise.
44077 * nis/yp_xdr.c: Likewise.
44078 * nis/ypupdate_xdr.c: Likewise.
44079
2f3e3dc7
UD
44080 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44081 mainly the body of pmap_getport. Add parameters to specify timeouts.
44082 (pmap_getport): Use __libc_rpc_getport.
44083 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44084 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44085 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44086
f3dcc2f9
AS
440872010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44088
44089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44090 fanotify_mark.
44091
6d34eb5b
RM
440922010-08-27 Roland McGrath <roland@redhat.com>
44093
44094 * sysdeps/i386/i686/multiarch/Makefile
44095 (CFLAGS-varshift.c): New variable.
44096
9ea3de11
UD
440972010-08-27 Ulrich Drepper <drepper@redhat.com>
44098
c96d23fc
UD
44099 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44100 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44101
9ea3de11
UD
44102 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44103
44104 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44105
623aac7f
L
441062010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44107
44108 * sysdeps/x86_64/strlen.S: Unroll the loop.
44109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44110 strlen-sse2 strlen-sse2-bsf.
44111 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44112 __strlen_no_bsf if bit_Slow_BSF is set.
44113 (__strlen_sse42): Removed.
44114 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44115 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44116
8b2b7715
RM
441172010-08-25 Roland McGrath <roland@redhat.com>
44118
44119 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44120 * sysdeps/x86_64/multiarch/varshift.c: New file.
44121 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44122 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44123 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44124 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44125
e73015f2
L
441262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44127
44128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44129 strlen-sse2 strlen-sse2-bsf.
44130 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44131 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44132 (__strlen_sse2): Removed.
44133 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44134 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44136 bit_Slow_BSF for Atom.
44137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44138 (index_Slow_BSF): Define.
44139 (HAS_SLOW_BSF): Define.
44140
df24a73e
UD
441412010-08-25 Ulrich Drepper <drepper@redhat.com>
44142
44143 [BZ #10851]
44144 * resolv/res_init.c (__res_vinit): When no server address at all
44145 is given default to loopback.
44146
f2ac4868
RM
441472010-08-24 Roland McGrath <roland@redhat.com>
44148
09055553
RM
44149 * configure.in: Remove config-name.h generation.
44150 * configure: Regenerated.
44151 * config-name.in: File removed.
44152 * scripts/config-uname.sh: New file.
44153 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44154 ($(objdir)config-name.h): New target.
44155
f2ac4868
RM
44156 * sunrpc/rpc_parse.h: Avoid nested comment.
44157
73f27d5e
RH
441582010-08-24 Richard Henderson <rth@redhat.com>
44159 Ulrich Drepper <drepper@redhat.com>
44160 H.J. Lu <hongjiu.lu@intel.com>
44161
44162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44164 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44165 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44166 _mm_alignr_epi8 with _mm_loadu_si128.
44167 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44168 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44169 (__m128i_shift_right): Removed.
44170 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44171 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44172 * sysdeps/x86_64/multiarch/varshift.h: New file.
44173 * sysdeps/x86_64/multiarch/varshift.S: New file.
44174
84b9230c
MF
441752010-08-21 Mike Frysinger <vapier@gentoo.org>
44176
44177 * configure.in: Move assembler checks to before sysdep dir checking.
44178
9bbd0ddc
PB
441792010-08-20 Petr Baudis <pasky@suse.cz>
44180
44181 * LICENSES: Sync the sunrpc license.
44182
9da4bb31
UD
441832010-08-19 Ulrich Drepper <drepper@redhat.com>
44184
a7ab6ec8
UD
44185 * sunrpc/auth_des.c: Update copyright notice once again.
44186 * sunrpc/auth_none.c: Likewise.
44187 * sunrpc/auth_unix.c: Likewise.
44188 * sunrpc/authdes_prot.c: Likewise.
44189 * sunrpc/authuxprot.c: Likewise.
44190 * sunrpc/bindrsvprt.c: Likewise.
44191 * sunrpc/clnt_gen.c: Likewise.
44192 * sunrpc/clnt_perr.c: Likewise.
44193 * sunrpc/clnt_raw.c: Likewise.
44194 * sunrpc/clnt_simp.c: Likewise.
44195 * sunrpc/clnt_tcp.c: Likewise.
44196 * sunrpc/clnt_udp.c: Likewise.
44197 * sunrpc/clnt_unix.c: Likewise.
44198 * sunrpc/des_crypt.c: Likewise.
44199 * sunrpc/des_soft.c: Likewise.
44200 * sunrpc/get_myaddr.c: Likewise.
44201 * sunrpc/getrpcport.c: Likewise.
44202 * sunrpc/key_call.c: Likewise.
44203 * sunrpc/key_prot.c: Likewise.
44204 * sunrpc/openchild.c: Likewise.
44205 * sunrpc/pm_getmaps.c: Likewise.
44206 * sunrpc/pm_getport.c: Likewise.
44207 * sunrpc/pmap_clnt.c: Likewise.
44208 * sunrpc/pmap_prot.c: Likewise.
44209 * sunrpc/pmap_prot2.c: Likewise.
44210 * sunrpc/pmap_rmt.c: Likewise.
44211 * sunrpc/rpc/auth.h: Likewise.
44212 * sunrpc/rpc/auth_unix.h: Likewise.
44213 * sunrpc/rpc/clnt.h: Likewise.
44214 * sunrpc/rpc/des_crypt.h: Likewise.
44215 * sunrpc/rpc/key_prot.h: Likewise.
44216 * sunrpc/rpc/netdb.h: Likewise.
44217 * sunrpc/rpc/pmap_clnt.h: Likewise.
44218 * sunrpc/rpc/pmap_prot.h: Likewise.
44219 * sunrpc/rpc/pmap_rmt.h: Likewise.
44220 * sunrpc/rpc/rpc.h: Likewise.
44221 * sunrpc/rpc/rpc_des.h: Likewise.
44222 * sunrpc/rpc/rpc_msg.h: Likewise.
44223 * sunrpc/rpc/svc.h: Likewise.
44224 * sunrpc/rpc/svc_auth.h: Likewise.
44225 * sunrpc/rpc/types.h: Likewise.
44226 * sunrpc/rpc/xdr.h: Likewise.
44227 * sunrpc/rpc_clntout.c: Likewise.
44228 * sunrpc/rpc_cmsg.c: Likewise.
44229 * sunrpc/rpc_common.c: Likewise.
44230 * sunrpc/rpc_cout.c: Likewise.
44231 * sunrpc/rpc_dtable.c: Likewise.
44232 * sunrpc/rpc_hout.c: Likewise.
44233 * sunrpc/rpc_main.c: Likewise.
44234 * sunrpc/rpc_parse.c: Likewise.
44235 * sunrpc/rpc_parse.h: Likewise.
44236 * sunrpc/rpc_prot.c: Likewise.
44237 * sunrpc/rpc_sample.c: Likewise.
44238 * sunrpc/rpc_scan.c: Likewise.
44239 * sunrpc/rpc_scan.h: Likewise.
44240 * sunrpc/rpc_svcout.c: Likewise.
44241 * sunrpc/rpc_tblout.c: Likewise.
44242 * sunrpc/rpc_util.c: Likewise.
44243 * sunrpc/rpc_util.h: Likewise.
44244 * sunrpc/rpcinfo.c: Likewise.
44245 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44246 * sunrpc/rpcsvc/key_prot.x: Likewise.
44247 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44248 * sunrpc/rpcsvc/mount.x: Likewise.
44249 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44250 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44251 * sunrpc/rpcsvc/rex.x: Likewise.
44252 * sunrpc/rpcsvc/rstat.x: Likewise.
44253 * sunrpc/rpcsvc/rusers.x: Likewise.
44254 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44255 * sunrpc/rpcsvc/spray.x: Likewise.
44256 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44257 * sunrpc/rtime.c: Likewise.
44258 * sunrpc/svc.c: Likewise.
44259 * sunrpc/svc_auth.c: Likewise.
44260 * sunrpc/svc_authux.c: Likewise.
44261 * sunrpc/svc_raw.c: Likewise.
44262 * sunrpc/svc_run.c: Likewise.
44263 * sunrpc/svc_simple.c: Likewise.
44264 * sunrpc/svc_tcp.c: Likewise.
44265 * sunrpc/svc_udp.c: Likewise.
44266 * sunrpc/svc_unix.c: Likewise.
44267 * sunrpc/svcauth_des.c: Likewise.
44268 * sunrpc/xcrypt.c: Likewise.
44269 * sunrpc/xdr.c: Likewise.
44270 * sunrpc/xdr_array.c: Likewise.
44271 * sunrpc/xdr_float.c: Likewise.
44272 * sunrpc/xdr_mem.c: Likewise.
44273 * sunrpc/xdr_rec.c: Likewise.
44274 * sunrpc/xdr_ref.c: Likewise.
44275 * sunrpc/xdr_sizeof.c: Likewise.
44276 * sunrpc/xdr_stdio.c: Likewise.
44277
9da4bb31
UD
44278 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44279 handling.
44280
bdaa77bc
AS
442812010-08-19 Andreas Schwab <schwab@redhat.com>
44282
44283 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44284
fe2f79db
LM
442852010-08-19 Luis Machado <luisgpm@br.ibm.com>
44286
44287 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44288 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44289 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44290 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44291 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44292 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44293 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44294 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44295 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44296 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44297 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44298 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44299 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44300 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44301
b9b42ee0
AB
443022010-07-26 Anton Blanchard <anton@samba.org>
44303
44304 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44305 * malloc/arena.c (heap_trim): Likewise.
44306
1c06ba31
UD
443072010-08-16 Ulrich Drepper <drepper@redhat.com>
44308
44309 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44310 here. Not...
44311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44312 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44313
f8392f40
L
443142010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44315
44316 * sysdeps/i386/elf/Makefile: New file.
44317
3162f12e
AS
443182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44319
44320 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44321 from fanotify_init.
44322 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44324
28c90b2c
UD
443252010-08-15 Ulrich Drepper <drepper@redhat.com>
44326
44327 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44328 of strncasecmp_l.
1feccb6c 44329 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44330
ca6bb004
UD
443312010-08-14 Ulrich Drepper <drepper@redhat.com>
44332
e9f82e0d
UD
44333 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44334 strncase_l-nonascii.
44335 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44336 Add strncase_l-ssse3.
44337 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44338 * sysdeps/x86_64/strcmp.S: Likewise.
44339 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44340 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44341 * sysdeps/x86_64/strncase.S: New file.
44342 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44343 * sysdeps/x86_64/strncase_l.S: New file.
44344 * string/Makefile (strop-tests): Add strncasecmp.
44345 * string/test-strncasecmp.c: New file.
44346
44347 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44348 warning.
44349
ca6bb004
UD
44350 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44351 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44352
052fa7b3
AS
443532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44354
44355 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44356
962dba78
UD
443572010-08-12 Ulrich Drepper <drepper@redhat.com>
44358
44359 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44360 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44361 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44362
bebff237
AM
443632010-05-01 Alan Modra <amodra@gmail.com>
44364
44365 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44366 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44367 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44368 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44369 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44370 tidying. Don't tail-call __sigjmp_save for static lib.
44371 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44372 save location.
44373 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44374 (CALL_MCOUNT): Add eh info, and nop after bl.
44375 (TAIL_CALL_SYSCALL_ERROR): New macro.
44376 (PSEUDO_RET): Use it.
44377 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44378 Correct save location of integer regs and cr.
44379 (_dl_profile_resolve): Correct cr save location. Delete nops
44380 after bl when SHARED. Reduce cfi size a little by better
44381 placement of cfi directives.
44382 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44383 make a stack frame. Instead use parm save area as a temp.
44384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44385 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44387 Don't make a stack frame for parent, use parm save area.
44388 Increase child stack frame to 112 bytes. Don't save unused reg,
44389 and adjust reg usage. Set up cfi on error recovery and
44390 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44392 (__makecontext): Add dummy nop after jump to exit.
44393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44394 Use correct parm save area and cr save, reduce stack frame.
44395 Correct cfi for possible PSEUDO_RET frame setup.
44396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44397 Branch to local label emitted by PSEUDO_RET rather than
44398 __syscall_error.
44399
02637374
AS
444002010-08-12 Andreas Schwab <schwab@redhat.com>
44401
44402 [BZ #11904]
44403 * locale/programs/locale.c (print_assignment): New function.
44404 (show_locale_vars): Use it.
44405
c3e2f19b
UD
444062010-08-11 Ulrich Drepper <drepper@redhat.com>
44407
3cdaa6ad
UD
44408 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44409 field.
44410 (struct statfs64): Likewise.
44411 (_STATFS_F_FLAGS): Define.
44412 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44413 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44414 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44415 (ST_VALID): Define locally.
44416 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44417 __statvfs_getflags, use the provided value.
44418 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44419 __ASSUME_STATFS_F_FLAGS.
44420
754f7da3
UD
44421 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44422
10b3bedc
UD
44423 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44424 Add sys/fanotify.h.
44425 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44426 fanotify_mask for GLIBC_2.13.
44427 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44428 fanotify_init and fanotify_mark.
44429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44430 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44431
c08fb0d7
UD
44432 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44433 Add prlimit.
44434 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44435 prlimit64 for GLIBC_2.13.
44436 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44437 prlimit64.
44438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44439 syscall.
44440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44441 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44442 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44443 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44444 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44445 add prlimit alias.
44446 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44447
15bac72b
UD
44448 [BZ #11903]
44449 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44450 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44451
c3e2f19b
UD
44452 * nss/Makefile: Add rules to build and run tst-nss-test1.
44453 * shlib-versions: Add entry for libnss_test1.
44454 * nss/nss_test1.c: New file.
44455 * nss/tst-nss-test1.c: New file.
44456
44457 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44458 (__nss_configure_lookup): Set appropriate entry in
44459 __nss_configure_lookup to true.
44460 * nss/nsswitch.h: Define enum with indeces of databases in
44461 databases and __nss_database_custom arrays. Declare
44462 __nss_database_custom.
44463 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44464 to avoid using nscd when custom rules are installed.
44465 * nss/getXXbyYY_r.c: Likewise.
44466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44467
44468 * nss/nss_files/files-parse.c: Whitespace fixes.
44469
f15ce4d8
UD
444702010-08-09 Ulrich Drepper <drepper@redhat.com>
44471
44472 [BZ #11883]
44473 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44474 * posix/fnmatch_loop.c: Likewise.
44475
d22e4cc9
AK
444762010-07-17 Andi Kleen <ak@linux.intel.com>
44477
44478 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44479 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44480 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44481 * Versions.def [GLIBC_2.13]: Add.
44482
805bc17d
UD
444832010-08-06 Ulrich Drepper <drepper@redhat.com>
44484
44485 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44486 Also fail if tpwd after pwuid call is NULL.
44487
5a42321d
ST
444882010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44489
44490 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44491 when converting to ms.
44492
fd3ebeda
ST
444932010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44494
44495 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44496 EOPNOTSUPP errors with ENOTTY.
44497 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44498 EOPNOTSUPP errors with ENOTTY.
44499
73507d3a
UD
445002010-07-31 Ulrich Drepper <drepper@redhat.com>
44501
44502 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44503 Add strcasecmp_l-ssse3.
44504 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44505 strcasecmp.
44506 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44507 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44508 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44509
fe36dd02
UD
445102010-07-30 Ulrich Drepper <drepper@redhat.com>
44511
66f6765a
UD
44512 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44513
42e08a54
UD
44514 * string/Makefile (strop-tests): Add strcasecmp.
44515 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44516 strcasecmp_l-nonascii.
44517 (gen-as-const-headers): Add locale-defines.sym.
44518 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44519 * sysdeps/x86_64/strcasecmp.S: New file.
44520 * sysdeps/x86_64/strcasecmp_l.S: New file.
44521 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44522 * sysdeps/x86_64/locale-defines.sym: New file.
44523 * string/test-strcasecmp.c: New file.
44524
fe36dd02
UD
44525 * string/test-strcasestr.c: Test both ends of the range of characters.
44526 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44527
48cbc0d6
RM
445282010-07-29 Roland McGrath <roland@redhat.com>
44529
76e6d6bc 44530 [BZ #11856]
48cbc0d6
RM
44531 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44532
880113d9
UD
445332010-07-27 Ulrich Drepper <drepper@redhat.com>
44534
44535 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44536 for ld.so.
44537
deb9cabb
AS
445382010-07-27 Andreas Schwab <schwab@redhat.com>
44539
44540 * manual/memory.texi (Malloc Tunable Parameters): Document
44541 M_PERTURB.
44542
1c7570ff
RM
445432010-07-26 Roland McGrath <roland@redhat.com>
44544
44545 [BZ #11840]
44546 * configure.in (-fgnu89-inline check): Set and substitute
44547 gnu89_inline, not libc_cv_gnu89_inline.
44548 * configure: Regenerated.
44549 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44550
24fb0f88
UD
445512010-07-26 Ulrich Drepper <drepper@redhat.com>
44552
44553 * string/test-strnlen.c: New file.
44554 * string/Makefile (strop-tests): Add strnlen.
44555 * string/tester.c (test_strnlen): Add a few more test cases.
44556 * string/tst-strlen.c: Better error reporting.
44557
44558 * sysdeps/x86_64/strnlen.S: New file.
44559
8e96b93a
UD
445602010-07-24 Ulrich Drepper <drepper@redhat.com>
44561
44562 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44563 lower-latency instructions.
44564
dbc676d4
UD
445652010-07-23 Ulrich Drepper <drepper@redhat.com>
44566
44567 * string/test-strcasestr.c: New file.
44568 * string/test-strstr.c: New file.
44569 * string/Makefile (strop-tests): Add strstr and strcasestr.
44570 * string/str-two-way.h: Don't undefine MAX.
44571 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44572
f6a31e0e
AS
445732010-07-21 Andreas Schwab <schwab@redhat.com>
44574
44575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44576 strcasestr-nonascii.
44577 (CFLAGS-strcasestr-nonascii.c): Define.
44578 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44579 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44580 Remove unused attribute.
44581
5dbc3b6c
RM
445822010-07-20 Roland McGrath <roland@redhat.com>
44583
44584 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44585 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44586 ld.so.cache was broken. With it, there is no way to disable dsocaps
44587 like LD_HWCAP_MASK can disable hwcaps.
44588
23d101d8
EPM
445892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44590
44591 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44592
cc9f2e47
UD
445932010-07-16 Ulrich Drepper <drepper@redhat.com>
44594
44595 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44596 call in strcasestr.
44597 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44598 __strcasestr_sse42_nonascii.
44599 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44600 strcasestr-nonascii.c.
44601 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44602
77c1b069
LM
446032010-06-15 Luis Machado <luisgpm@br.ibm.com>
44604
44605 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44606 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44607 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44608 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44609
440566c3
UD
446102010-07-09 Ulrich Drepper <drepper@redhat.com>
44611
44612 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44613 fcntl.
44614
5be9d05d
AS
446152010-07-06 Andreas Schwab <schwab@redhat.com>
44616
c30b7ee2 44617 [BZ #11577]
5be9d05d
AS
44618 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44619 dl_signal_cerror.
44620
8a492a67
UD
446212010-07-06 Ulrich Drepper <drepper@redhat.com>
44622
44623 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44624 _PC_PIPE_BUF using F_GETPIPE_SZ.
44625
713df3d5
RM
446262010-07-05 Roland McGrath <roland@redhat.com>
44627
44628 * manual/arith.texi (Rounding Functions): Fix rint description
44629 implicit in round description.
44630
702e8f14
UD
446312010-07-02 Ulrich Drepper <drepper@redhat.com>
44632
44633 * elf/Makefile: Fix linking for a few tests to make recent linker
44634 happy.
44635
52ed8be9
AS
446362010-06-30 Andreas Schwab <schwab@redhat.com>
44637
44638 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44639 $(common-objpfx)libc_nonshared.a.
44640
f47c9a11
LM
446412010-06-21 Luis Machado <luisgpm@br.ibm.com>
44642
44643 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44644 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44645 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44646 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44647 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44648 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44649 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44650 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44665 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44666 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44667 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44668 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44669 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44670 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44671 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44672 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44673 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44674 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44675 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44676 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44691
6fb8cbcb
L
446922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44693
44694 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44695 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44696 * string/memmove.c (memmove): Renamed to ...
44697 (MEMMOVE): ...this. Default to memmove.
44698 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44699 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44700 (END_CHK): Define.
44701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44702 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44703 mempcpy-ssse3-back memmove-ssse3-back.
44704 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44705 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44706 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44707 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44708 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44709 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44710 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44711 * sysdeps/x86_64/multiarch/memmove.c: New file.
44712 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44713 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44714 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44715 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44716 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44718 Define.
44719 (index_Fast_Copy_Backward): Define.
44720 (HAS_ARCH_FEATURE): Define.
44721 (HAS_FAST_REP_STRING): Define.
44722 (HAS_FAST_COPY_BACKWARD): Define.
44723
4e733bac 447242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44725
44726 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44727 Restore proper fallback handling.
44728
63c4ed22
UD
447292010-06-19 Ulrich Drepper <drepper@redhat.com>
44730
ac2b484c
UD
44731 [BZ #11701]
44732 * posix/group_member.c (__group_member): Correct checking loop.
44733
63c4ed22
UD
44734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44735 OOM in getpwuid_r correctly. Return error number when the caller
44736 should return, otherwise -1.
44737 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44738 call returning > 0 value.
44739 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44740
765ade4b
AS
447412010-06-07 Andreas Schwab <schwab@redhat.com>
44742
44743 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44744 libc_nonshared.a from targets in modules-names.
44745
80da2e09
KS
447462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44747
44748 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44749 requires it.
44750
158db122
LM
447512010-06-10 Luis Machado <luisgpm@br.ibm.com>
44752
44753 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44754 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44756 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44757
caa78cf8
AS
447582010-06-02 Andreas Schwab <schwab@redhat.com>
44759
44760 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44761
b2ef2c01
UD
447622010-06-14 Ulrich Drepper <drepper@redhat.com>
44763
44764 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44765 and F_GETPIPE_SZ.
44766 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44772
fbd643b6
RM
447732010-06-14 Roland McGrath <roland@redhat.com>
44774
44775 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44776
f32f2869
JJ
447772010-06-07 Jakub Jelinek <jakub@redhat.com>
44778
44779 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44780 __REDIRECT followed by __THROW.
44781 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44782 * posix/getopt.h (getopt): Likewise.
44783
2a50c078
EPM
447842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44785
44786 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44787 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44788 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44789 in AT_FLAGS.
44790 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44791 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44792
eb5ad2eb
LM
447932010-05-28 Luis Machado <luisgpm@br.ibm.com>
44794
44795 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44796
3c88fe1e
L
447972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44798
44799 [BZ #11640]
44800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44801 Properly check family and model.
44802
d2f73151
TY
448032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44804
44805 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44806
ebd2e13d
LM
448072010-05-24 Luis Machado <luisgpm@br.ibm.com>
44808
44809 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44810
b32b8b45
UD
448112010-05-21 Ulrich Drepper <drepper@redhat.com>
44812
44813 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44814 symbol reference.
44815
9acbe24d
AS
448162010-05-19 Andreas Schwab <schwab@redhat.com>
44817
44818 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44819 symbol reference.
44820
f0ccf6ea
AS
448212010-05-21 Andreas Schwab <schwab@redhat.com>
44822
3d04ff3a
AS
44823 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44824 and internal_recvmmsg.
44825 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44826 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44827 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44828 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44829
f0ccf6ea
AS
44830 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44831 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44832 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44833
5b08ac57
AS
448342010-05-20 Andreas Schwab <schwab@redhat.com>
44835
44836 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44837
4828935d
LM
448382010-05-17 Luis Machado <luisgpm@br.ibm.com>
44839
44840 POWER7 optimizations.
44841 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44842 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44843
373d545e
UD
448442010-05-19 Ulrich Drepper <drepper@redhat.com>
44845
44846 * version.h: Update for 2.13 development version.
44847
21a2b1ae
AS
448482010-05-12 Andrew Stubbs <ams@codesourcery.com>
44849
44850 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44851 exceptions. Return 0.
44852
3f7dcb2b
RM
448532010-05-07 Roland McGrath <roland@redhat.com>
44854
44855 * elf/ldconfig.c (main): Add a const.
44856
5f24d53a 448572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44858
a160f8d8
UD
44859 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44860 (args_options): Add no-idn option.
44861 (ahosts_keys_int): Add idn_flags to ai_flags.
44862 (parse_option): Handle 'i' option to clear idn_flags.
44863
5f24d53a
UD
44864 * malloc/malloc.c (_int_free): Possible race in the most recently
44865 added check. Only act on the data if no current modification
44866 happened.
265bb1ce
UD
44867
44868See ChangeLog.17 for earlier changes.